**** BEGIN LOGGING AT Wed Mar 07 03:00:01 2018 Mar 07 03:06:20 apply the patch you have shown here to u-boot Mar 07 03:09:00 thanks, I need to learn a lot more about uboot/kernel stuff.. Mar 07 03:09:58 ds2: if SPL exceeds SRAM, there is a build error. Mar 07 03:11:02 jkridner: sorry, didn't understand you earlier, just saw your tftp parse code. Now I've placed opcode check code in request identification function Mar 07 03:11:05 after I get my PocketBeagle patch out, I plan to add NETCONSOLE. I kinda like to use it to issue the UMS command. Mar 07 03:11:22 ravikp7: seems you now have a different filename parse in there... Mar 07 03:11:27 and you didn't use the parsed filename to read file Mar 07 03:11:50 I was just thinking it should be fine for SPL/u-boot to have the same VID/PID... Mar 07 03:12:04 didn't quite catch u-boot TFTP vs. u-boot UMS. Mar 07 03:12:17 still, shouldn't impact the TFTP server aspect. Mar 07 03:13:05 I now parse the filename directly and use it to read the file Mar 07 03:15:17 the server currently looks for vid/pid of rom and spl to start claiming the interface, and since spl device has same ids as ums now, so script crashes as soon as device gets into ums mode as the script starts claiming its interface Mar 07 03:15:52 Maybe the device descriptors need to be further examined before claiming the interface... Mar 07 03:16:18 yeah, will do that now Mar 07 03:25:59 jkridner: still not getting bootp broadcast from spl? Mar 07 03:28:06 with am335x_evm_usbspl_defconfig, got it no problem. Mar 07 03:39:29 jkridner: Are you on u-boot tag v2018.01 or the latest master? Mar 07 03:41:07 Abhishek_: latest master Mar 07 03:41:13 on v2018.01 it's not working, just tried now, not getting past Mar 07 03:41:15 U-Boot SPL 2018.01-dirty (Mar 07 2018 - 09:06:36) Mar 07 03:41:15 Trying to boot from USB eth Mar 07 03:41:30 I'm happy though now, because the am335x_evm_usbspl_defconfig works. Mar 07 03:45:16 jkridner: using linux or osx? Mar 07 03:46:10 jkridner: Did you apply rcn-ee's patches on top of it? Mar 07 03:47:53 Ah now I see, rcn-ee has patches for v2018.03-rc4 Mar 07 04:16:35 doea hw? Mar 07 04:16:43 I hadn't used his patch at this point. Mar 07 04:16:59 s/doea hw/does he/ Mar 07 04:18:30 https://github.com/RobertCNelson/Bootloader-Builder/tree/master/patches/v2018.03-rc4 Mar 07 10:18:19 @zeekhuge will it be okay to contact StephanieLc directly since she isn't in this chat room Mar 07 10:18:31 i just want her to take a look at my proposal Mar 07 11:30:45 Pac23: Well, the best would be to post the message on mailing-list and CC the possible mentors. Mar 07 11:40:53 @zeekhuge thanks,will do Mar 07 13:55:05 <_stardust_> nerdboy: What are you expecting of a good proposal for the BeagleSat project? Mar 07 14:40:42 @nerdboy also for the weatherstation project what do you expect ? Mar 07 14:51:59 SPL overflows when I try to bring in configuration from am335x_usbspl_defconfig to am335x_evm_defconfig :( Mar 07 16:02:30 Abhishek_: what configs and reasons for doing so? Mar 07 16:11:34 I mean SPL fails to compile; overflows SRAM on the latest u-boot 2018.03-rc4 Mar 07 16:23:45 I'm asking what configs you are bringing from am335x_usbspl_defconfig to am335x_evm_defconfig and why? Mar 07 16:25:12 for usb boot, am335x_usbspl_defconfig works in 2018.03-rc4 Mar 07 16:27:33 I wanted to bring the USB SPL options and SPI options onto the am335x_evm_defconfig to have one SPL boot from both SPI and USB besides MMC Mar 07 16:27:59 This I can successfully do on the v2018.01 Mar 07 16:28:38 Release but the rc4 release causes it to overflow Mar 07 16:33:25 tried adding SPI options in am335x_usbspl_defconfig? Mar 07 16:41:16 Not yet Mar 07 16:41:37 I wonder what's causing SPL to overflow here Mar 07 16:54:45 I'm not sure what has changed or why it does so. Mar 07 17:00:48 jkridner: can you please elaborate more on this idea listed on gsoc ideas page "Integrate node-beagle-boot into Etcher.io" Mar 07 17:01:25 do you mean working with etcher team to get it integrated in thier app? Mar 07 17:03:41 one-step flashing experience. any beaglebone or pocketbeagle should boot and enable flashing from the etcher gui to either microSD or eMMC (selectable, if available ). Mar 07 17:04:31 For selectability I see there being "two" u-boot.img files, one for eMMC UMS and other for uSD UMS Mar 07 17:04:56 The boot sends either depending upon the selection Mar 07 17:06:50 jkridner: in the etcher.io's app or the app that I developed using etcher's modules? Mar 07 17:10:25 jkridner: if we want these features in etcher.io's official app, then one is supposed to work with etcher team and submit pull requests to their app for this during gsoc, right? Mar 07 17:16:04 or work on our own app by improving this https://github.com/ravikp7/BeagleBoot by adding features such as fetching latest images from beagleboard.org Mar 07 17:21:14 jkridner: a standalone app to manage(flash, connected board info, load ramdisk image etc) beaglebone still in plans? Mar 07 17:33:26 literally etcher.io. give them a pull request. Mar 07 17:34:04 a more flexible stand-alone app can follow on later. Mar 07 17:36:11 jkridner[m]: I tried v2018.03-rc4 of u-boot with both am335x_evm_usbspl_defconfig and am335x_evm_defconfig (with configs brought in from USBSPL defconfig) Mar 07 17:36:35 am335x_evm_defconfig with extra options for enabling USB SPL support overflows the SRAM Mar 07 17:37:05 am335x_evm_usbspl_defconfig fails to go past the SPL stage with the error - Mar 07 17:37:32 https://www.irccloud.com/pastebin/KYneGY8t/ Mar 07 17:49:05 _stardust_: did you look at beaglesat repo? there is is still an open pull request in bbio for the 9250 interface Mar 07 17:49:35 Abhishek_: am335x_evm_usbspl_defconfig works for me in v2018.03-rc4 https://pastebin.com/KD810Bjc Mar 07 17:49:39 maybe you can get that moving/merged and you should have an idea what needs to be done... Mar 07 17:51:01 Pac23: for the anemometer you mean? talk to to wormo/stephanie, i don't have much availability rith now... Mar 07 18:00:52 yes the anemometer,okay i will talk to stephanie Mar 07 18:02:53 jkridner: thanks for the clarification, have you talked to them about this? Mar 07 18:03:55 will start making proposal for this.. Mar 07 19:31:51 <_stardust_> nerdboy: is it this repo? https://github.com/nvisnjic/BeagleSat Mar 07 19:36:29 yup Mar 07 19:36:44 the pull request is in bbio repo Mar 07 19:38:04 https://github.com/nvisnjic/PyBBIO Mar 07 19:52:17 <_stardust_> nerdboy: I didn't find the pull request in this repo Mar 07 19:52:31 <_stardust_> Oh, nevermind. I found it Mar 07 19:56:22 at least after this you'll know if you really want to keep touching it... Mar 07 20:07:18 <_stardust_> nerdboy: I am lacking a big picture vision of the whole project. Is there more documentation somewhere? Mar 07 20:09:43 only the gsoc project stuff afaik Mar 07 20:10:12 the point of the pull request is because he needed a full-featured 9250 driver Mar 07 20:10:44 the octave stuff is about filtering magnetic data from imu magnetometer Mar 07 20:10:56 probably some python stuff too Mar 07 20:12:31 filtering using two imus, based on the nasa stuff, did you look at the 2015 project stuff? Mar 08 01:21:27 nice to see a few unfamiliar names Mar 08 02:01:32 Abhishek_ howdy! Mar 08 02:01:49 Abhishek_, ravikp7: I've got a little problem for my presentation tomorrow.... Mar 08 02:01:59 for my NETCONSOLE setup.... Mar 08 02:02:50 I think I might need a valid ARP response. Mar 08 02:03:07 not 100% sure if I need an ARP/BOOTP/DHCP/??? response or not. Mar 08 02:03:30 but, it isn't trivial to set it up on the host. Mar 08 02:05:28 Abhishek_ abhishek_[m]: yt? Mar 08 02:06:15 How does one set up a response? Mar 08 02:13:34 is this over ethernet or USB? Mar 08 02:13:57 USB Mar 08 02:14:50 If I enable the stderr/stdout/stdin to include the "nc" stream, it tries to grab an IP address over USB RNDIS it says Mar 08 02:15:07 I'm kinda surprised it is RNDIS rather than CDC Ethernet..., but I think that's what it says. Mar 08 02:15:07 "grab"? what protocol to grab it? Mar 08 02:15:19 Let me run it again and see. Mar 08 02:15:32 btw, ds2, are you at SCaLE this weekend? Mar 08 02:15:39 RNDIS and CDC are equivalent for this purpose...just different incantations of USB hokum Mar 08 02:15:53 jkriner|p: yeah... going to help with the EALF stuff Mar 08 02:16:24 cool.... didn't know behanw recruited you for it. very happy to hear. Mar 08 02:16:39 no, it was Drew/Tom/m_w Mar 08 02:17:06 I'll be there Friday...driving tomorrow Mar 08 02:17:21 well, even better that it happened so that next time it'll be behanw et. al. Mar 08 02:17:45 been a couple years since I've seen you, so looking forward to it! Mar 08 02:17:50 are you staying at the conference hotel? Mar 08 02:18:08 no, I'm at the Hilton Pasadena around the corner. Mar 08 02:18:26 I need to becareful to not miss the bus and have to walk colorado at midnight like last year :/ Mar 08 02:18:38 that's close enough Mar 08 02:22:14 btw - anything useful for me to bring along? Mar 08 02:28:36 k, it isn't when you edit stderr/stdout/stdin. Mar 08 02:28:43 it is when you first try something like 'ping' Mar 08 02:30:18 do you have a tcpdump or a pcap file of it? Mar 08 02:30:42 and it isn't trying do talk to something like 169.x.x.x, right? Mar 08 02:30:47 don't even know how to do it. Mar 08 02:31:12 http://paste.debian.net/1013695/ Mar 08 02:31:24 working on getting what u-boot is trying to send. Mar 08 02:31:44 guess I must have set server_ip and ipaddr before. Mar 08 02:33:24 what is on the other end? Windows or Linux? Mar 08 02:33:52 Linux Mar 08 02:33:59 Ubuntu 18.04 pre-release. Mar 08 02:34:09 er, "bionic" Mar 08 02:34:18 oh... I wonder if you can use wireshark or tcpdump -i usb0 Mar 08 02:34:34 just donno if it will wait as the device re-enumerate between SPL and UB Mar 08 02:34:52 alt. a USB sniffer and decode it Mar 08 02:35:44 yuck. Mar 08 02:35:49 k. Mar 08 02:36:01 do I know it is usb0?!? Mar 08 02:36:11 usually Mar 08 02:36:25 unless ubuntu has idiotic udev rules Mar 08 02:37:03 use ifconfig -a to see what you have Mar 08 02:37:23 It may be some other usb1 or usb2 depending upon which bus the device is on Mar 08 02:37:45 normal pure kernel behavior is first USB ethernet type device is usb0 Mar 08 02:38:01 Ah got it now Mar 08 02:38:07 kernel doesn't care about the bus....but sometimes idiotic udev rules can create that behavior Mar 08 02:38:16 hence the comment about that Mar 08 02:38:32 I was thinking usbmon and Wireshark Mar 08 02:38:36 http://paste.ubuntu.com/p/7r9sJgvF6y/ Mar 08 02:39:03 brain isn't in the right place to tackle this... Mar 08 02:39:28 I have u-boot with the patches I submitted to mainline loaded via USB (node-beagle-boot). Mar 08 02:39:36 blah... Mar 08 02:39:39 And I've got the serial interface up to the command-line Mar 08 02:39:46 I guess the first one is your USB device Mar 08 02:39:50 don't know if u-boot has the interface enabled. Mar 08 02:39:51 someone is ifrename happy Mar 08 02:40:00 welcome to Ubuntu land. Mar 08 02:40:23 I use mint ;) Mar 08 02:40:23 Dmesg may tell you more Mar 08 02:40:30 less ubuntu cruft Mar 08 02:43:05 Ugh. Chromium overflowed my dmesg log. :-( Mar 08 02:47:25 * ravikp7 sent a long message: ravikp7_2018-03-08_02:47:25.txt Mar 08 02:47:47 how to proceed with this error? Mar 08 02:50:38 I think I may abandon and go back to other stuff for now. :-( Mar 08 02:50:44 thanks ds2 for trying to help Mar 08 02:52:22 jkridner: script also crashes in opeining spl device during ping Mar 08 02:53:17 LIBUSB_ERROR_NO_DEVICE Mar 08 02:56:50 is there a serial console on the beagle side? Mar 08 02:58:33 Got SPL to compile with my changes to enable USB SPL in am335x_evm_defconfig Mar 08 02:59:02 Also added rcn-ee's patches **** ENDING LOGGING AT Thu Mar 08 03:00:02 2018