**** BEGIN LOGGING AT Mon May 16 02:59:59 2016 May 16 15:00:04 av500: for wednesday's meeting, I may be a few minutes late. just prior to the gsco meeting I have an irl meeting to learn how to use our new time reporting system which uses Microsoft Dynamics (so I assume it'll be complicated as hell and run long) May 16 15:00:23 we're replacing SAP, so it shouldn't be worse :) May 16 15:01:15 av500: On Wednesday I have an exam an hour after the meeting starts, so I can be present May 16 15:01:16 only on the first 15 minutes. May 16 15:53:58 Hi there.. did I miss something?? May 16 16:33:13 sunday? May 16 17:23:06 hi m_w May 16 17:28:04 hey pmezydlo May 16 17:28:24 you figure out the networking and debugging issues yet? May 16 17:29:42 be right back... just installed the 4.6.0 kernel on my PC, gonna reboot and see if it works May 16 17:32:30 Linux version 4.6.0 (michael@deathstar) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Mon May 16 12:07:22 CDT 2016 May 16 17:32:46 m_w:yes I still have a problem May 16 17:33:07 okay May 16 17:33:18 so lets troubleshoot the problems now May 16 17:34:10 which problem do you want to fix first? May 16 17:34:15 m_w:now I write driver because I have no idea what is the static ip May 16 17:34:28 m_w: dynamic debug is important May 16 17:34:55 okay May 16 17:35:11 is your current code available on github? May 16 17:35:53 yes, is here https://github.com/pmezydlo/SPI_slave_driver_implementation/blob/master/driver/spi-mcspi-slave.c May 16 17:36:52 is this the line that is having the issue? - https://github.com/pmezydlo/SPI_slave_driver_implementation/blob/master/driver/spi-mcspi-slave.c#L53 May 16 17:36:57 line: 33, 53 is ok but but I do not know how to check the logs May 16 17:38:18 cat /sys/kernel/debug/dynamic_debug/control May 16 17:40:13 it looks like a log: [spi_mcspi_slave]mcspi_slave_probe =_ "Start:%x End:%x Size:%d Offset:%x \012 " May 16 17:40:20 dmesg May 16 17:41:35 ooo yeah thanks it works May 16 17:41:39 ;) May 16 17:43:00 https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt May 16 17:43:50 Do you can cross compilation arm 32bit to 64bit system x86? May 16 17:43:59 yes May 16 17:44:14 I do it almost every day. May 16 17:44:35 it's not important May 16 17:44:54 you want to compile on your PC to go faster? May 16 17:45:53 Usually I compile ARM kernels on my PC. May 16 17:46:46 m_w: I'm wondering if I should use travis ci May 16 17:47:21 well I think the other mentors mentioned it being required May 16 17:49:39 I must write to script but it's difficult because beaglebone linux headers is custom May 16 17:50:08 hmmmm May 16 17:51:40 on my github this is script .travis.yml May 16 17:53:43 I can do cross-compilation my driver but I have a problem with install headers. Headers on my PC is copy from beagle May 16 17:54:30 you may have to specify the target root May 16 17:57:07 I will deal with this. I will try wget and install headers manually. After that try cross-compilation. May 16 17:57:58 okay May 16 17:58:14 My second problem it's static ip and it already will be all for now May 16 18:00:04 okay May 16 18:00:12 so lets figure it out May 16 18:01:06 Hey Wormo ! May 16 18:01:22 busy with exams :( May 16 18:01:32 saw your mail there .. May 16 18:01:47 The address is correct .. May 16 18:03:04 http://bugs.elinux.org/issues/91 May 16 18:03:20 do you have a /opt/scripts/boot/am335x_evm.sh? May 16 18:03:34 Wormo: So there will be 2 different parcels ? one with BBB and other with the ADC EVM ? May 16 18:04:47 no I don't have am335x_evm.sh May 16 18:05:16 oooh sorry May 16 18:05:20 I have it May 16 18:05:40 disable usb? May 16 18:05:44 yeah May 16 18:06:37 oh .. ahh .. I didnt see _av500_'s mail. Okay . got it now . May 16 18:08:09 comment out anything that is changing the network interface in question May 16 18:10:21 wow this am335x_evm.sh thing is a mess May 16 18:11:30 but I am pretty sure it is part of your issue May 16 18:12:56 I think is everything, reboot? May 16 18:14:32 give it a try May 16 18:16:23 did we kill your target? :) May 16 18:18:51 I'm not that everything is commented out but USB continues to operate and further eth0 is not static :( May 16 18:19:44 they are doing some crazy stuff on the BBB debian May 16 18:20:44 https://github.com/RobertCNelson/boot-scripts/blob/master/boot/autoconfigure_usb0.sh May 16 18:21:15 this script is being called from am335x_evm.sh May 16 18:25:25 I changed name this file now usb does not work but still no static ip May 16 18:27:19 I think I am confused as to what interface you are dealing with May 16 18:27:44 what exactly are you trying to accomplish? May 16 18:29:40 static eth0? May 16 18:30:12 yes, exactly May 16 18:31:32 okay so the usb changes can be reverted May 16 18:33:15 ok, be right back in 20-30 minutes May 16 18:33:38 I will dig into this a bit and see if I can find out more May 16 18:33:46 I'm going to dinner May 16 18:34:00 send a message when you are back May 16 18:34:12 ok, thanks May 16 19:17:16 m_w: I came back May 16 19:24:08 so I don't appear to have a 4GB MicroSD card to install the OS May 16 19:24:14 :-/ May 16 19:24:49 my BBB has angstrom on it May 16 19:25:52 does the new image use connman? May 16 19:28:34 I do not know May 16 19:29:17 I can not find anything like this May 16 19:34:09 systemctl -t service -a May 16 19:34:25 see what it lists that is network related May 16 19:40:57 looking at the email you just sent it is running connman May 16 19:41:21 I sent to you query result systemctl -t service -a May 16 19:42:15 yes I see here May 16 19:43:57 so either remove connman of configure it for static IP May 16 19:44:06 or May 16 19:44:34 systemctl disable connman.service May 16 19:45:03 systemctl enable net.service May 16 19:45:29 reboot May 16 19:46:25 it works, thanks May 16 19:46:35 no problem May 16 19:47:23 well that I started earlier May 16 19:48:36 pmezydlo need anything else while I am here? May 16 19:50:02 That's all, Thanks, May 16 19:50:50 you ever resumbit your staging patch? May 16 19:51:24 I forgot about that May 16 19:52:18 I can do it now May 16 19:53:36 remember to bump the revision of the patch and note your changes below the -- May 16 19:55:38 http://kernelnewbies.org/FirstKernelPatch#head-5c81b3c517a1d0bbc24f92594cb734e155fcbbcb May 16 20:00:39 when it comes to my driver now I write allocation memory and structures for device. May 16 20:00:56 This is the plan for this week May 16 20:01:05 okay this sounds good May 16 20:01:21 keep me updated May 16 20:01:42 I also started to use vim May 16 20:01:59 nice May 16 20:02:29 don't let the emacs guys fool you vim is better ;) May 16 20:04:00 When I first started doing Linux driver I hated vim and emacs. Just hated vim less. May 16 20:05:07 http://www.vim.org/scripts/script.php?script_id=4369 May 16 20:05:32 ^^ This is a nice plugin to help keep to the kernel coding style. May 16 20:06:38 I will tell about vim on my presentation. I need to improve 3 slides. May 16 20:07:39 I already have it installed May 16 20:07:52 kernel coding style script May 16 20:08:11 nice May 16 20:11:18 I have to go, thanks again, bye May 16 20:11:32 np bye May 17 01:23:45 * nerdboy still playing (grumpy) toolchain dev **** ENDING LOGGING AT Tue May 17 02:59:58 2016