**** BEGIN LOGGING AT Fri May 13 02:59:59 2016 May 13 13:06:14 I've been trying for the past 1 hour.. May 13 13:06:23 I am not able to log into elinux?? May 13 13:06:31 Does anybody know what the problem is? May 13 13:13:02 kiran4399: what's your username on elinux? May 13 13:13:09 Kiran4399 May 13 13:13:13 and Kiran.l13 May 13 13:13:19 I created both of them.. May 13 13:13:27 I am not able to get into any of them>. May 13 13:13:45 neither of those names are registered, according to the data I can see May 13 13:13:53 So what should I do? May 13 13:14:23 kiran4399: you filled out http://elinux.org/Special:RequestAccount ? May 13 13:14:49 yeah.. May 13 13:14:57 that is where I filled in my details.. May 13 13:14:59 and you clicked on the confirmation link in the confirmation email? May 13 13:15:09 Yeah.. May 13 13:15:12 hmmm. May 13 13:15:45 bradfa: do you see kiran4399? May 13 13:15:49 kiran4399: you can /msg wmat and ask if he can help you find out what's going on May 13 13:17:11 wmat is bill traynor, he's the admin of elinux.org May 13 13:18:30 kiran4399: you might also get answers or help in #elinux channel May 13 13:35:35 Thanks bradfa.. Done.. May 13 13:41:48 hey bradfa,Are you there? May 13 13:41:54 hi chanakya_vc May 13 13:43:01 bradfa,Just received a mail from jkridner regarding Jessie snapshots. May 13 13:43:43 bradfa, This just refers to the OS right?I mean Jessie==another flavour of linux? May 13 13:43:54 chanakya_vc: Jessie is a release of Debian May 13 13:44:11 current shipping bbb images are based on Jessie release of Debian May 13 13:44:20 Jessie is the current "stable" release of Debian May 13 13:44:26 bradfa, Okay got it :) May 13 13:44:44 I am assuming it will have the latest kernel as well? May 13 13:45:09 chanakya_vc: I believe they are running linux 4.1, but I can check, one sec May 13 13:45:23 Because the documentation on Remoteproc for the latest May 13 13:46:19 kernel is not there.I am not sure about the RPMsg Core in the latest release too. May 13 13:49:29 chanakya_vc: as far as I know, the PRU interfaces for remoteproc are not into mainline linux yet, they are still being carried by TI and bb.org in their own kernel trees May 13 13:49:58 chanakya_vc: TI says they will go into mainline real soon now, others in this channel have been asking similar questions about when this will happen May 13 13:50:08 bradfa, Ohh,then what do you suggest we do? May 13 13:50:46 chanakya_vc: do what ever jkridner tells you, from a kernel selection stand point May 13 13:50:49 bradfa, I can maybe start with the firmware code?Then later when TI does mainline it,write the drivers? May 13 13:51:27 chanakya_vc: it's unlikely that TI will be getting their changes upstream for linux 4.7 and 4.8 won't come out till after gsoc is over, so you should just follow the direction on kernel selection given by jkridner May 13 13:52:30 bradfa, Okay so Jessie is running 4.1 . I hope that everything regarding rproc is sorted in it. May 13 13:52:40 chanakya_vc: it should be sorted enough to do gsoc May 13 13:52:57 chanakya_vc: there are many pru gsoc projects, so if there's issues, y'all will have them together and we can work through them May 13 13:53:44 bradfa, Okay :) But do you think I should with my proposed timeline or you would want changes to it? May 13 13:53:52 chanakya_vc: but for now, I think your most immediate tasks should be getting your logic analyzer and getting a simple hello world PRU firmware running so that you ensure your tools are setup and working May 13 13:53:59 chanakya_vc: I think your timeline is fine for now May 13 13:55:04 bradfa, Okay. I will write a mail to you either today or tomorrow with further info regarding the driver and hardware. May 13 13:56:33 chanakya_vc: ok. and once you have your PRU firmware tools setup on your machine and can build a hello-world app to blink an led or something, it would be worthwhile to write up exact steps so taht I can follow them so that I ensure I have the same setup as you. May 13 13:56:54 chanakya_vc: that way when you want someone to test your firmware, I can do so easily May 13 13:57:59 bradfa, I did write a hello world program before but I wasn't able to compile it. I was trying to follow the steps on PRU hands on lab. May 13 13:58:28 chanakya_vc: ok. So please get that working and then write up how someone else can setup a toolchain the same way you have. May 13 13:58:47 bradfa, Check this out:http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs May 13 13:59:22 bradfa, What I don't understand is do we have to stop the kernel on the BBB using serial debug before we upload? May 13 14:00:19 chanakya_vc: my understanding is that if you want to debug the pru with ccs and set breakpoints and what not, then you need to ensure the main ARM is not going to get mad at you May 13 14:00:27 chanakya_vc: but try, and find out May 13 14:00:39 bradfa, I have set up all the toolchains as given here. I will May 13 14:01:07 bradfa,Going afk for sometime.Will talk to you again in about 3 hours. May 13 14:02:20 k May 13 17:50:08 bradfa, I will try out the code for PRU as given on the PRU hands on lab. Anything else that you think I should concentrate on? May 13 17:54:02 chanakya_vc: passing your exams :) May 13 17:54:51 bradfa, Haha .Even my parents are quite worried that I am not studying enough due to GSOC : ) : ) May 13 17:56:29 new debian images are great :) May 13 17:56:52 bradfa, During 23-27 I will brush up on SPI and I2C specs in linux. So that I am ready to get down to coding on the 27 itself and do some serious work to cover up. May 13 17:58:17 chanakya_vc: ok, short term, focus on getting the pru hello world running and making sure you can have a logic analyzer to use May 13 18:07:49 okay bradfa, I will get back to you with the mail. May 13 18:08:37 bradfa,Exams are really a headache. Bye for now! May 13 18:13:52 mdp: is there a way to build SPL with UMS gadget mode? May 13 18:14:12 mdp: also, where the heck is the UMS code in u-boot anyway? May 13 18:17:20 jkridner: you want u-boot to act like a flash drive? May 13 18:17:36 bradfa: yeah. May 13 18:17:44 ideally just an SPL. May 13 18:18:07 * jkridner is having difficulty figuring out how to build an SPL that loads u-boot from serial too. May 13 18:18:13 default is to load from eMMC. May 13 18:18:14 jkridner: interesting, does the usb gadget code fit into SPL? May 13 18:18:19 I think May 13 18:18:33 jkridner: if you make the rom code load from xmodem, SPL automatically will try to load u-boot from xmodem, too May 13 18:18:48 at least, that's what I recall from 2015 releases of u-boot... May 13 18:19:38 bradfa: k. right now, I'm sending the SPL over xmodem and I get no response from the SPL. :( May 13 18:19:58 jkridner: it's fun, its very slow to give you "C" chars May 13 18:20:16 jkridner: it can take a minute or two for SPL to realize you've started an xmodem transfer to it May 13 18:20:23 not sure why, haven't had time to debug that May 13 18:21:30 k, I'll try waiting a bit longer.... but, I've not had SPL print me a banner or send me any CCCC May 13 18:21:32 :( May 13 18:21:56 bradfa: how would SPL know it was loaded over serial? May 13 18:22:22 jkridner: ah, SPL should print you a banner reasonably quickly after your load it over xmodem May 13 18:22:24 still, I'd think it would print out something when loaded. :( May 13 18:23:02 k. other than hitting reset and sending a valid u-boot-spl.bin or MLO via X-modem, I really shouldn't have to do anything else, right? May 13 18:23:32 jkridner: you don't send MLO, you send spl.bin May 13 18:23:48 MLO has extra bytes which make it not work May 13 18:25:30 jkridner: what board are you building for? May 13 18:25:51 there are different hashing the rom wants May 13 18:26:27 am335x_boneblack_defconfig May 13 18:28:08 well. u-boot-spl.bin also doesn't give me anything. May 13 18:28:25 jkridner: which u-boot release or git hash are you working from? May 13 18:28:31 * bradfa can try to build and load and see what happens May 13 18:29:46 bradfa: tip of mainline May 13 18:30:04 jkridner: k, one sec lemme checkout and build May 13 18:30:13 1ea4fac5a346 May 13 18:31:05 jkridner: you sure that's the sha1 you're using? I don't see that sha May 13 18:31:52 that's the first of what 'git show' gives me. May 13 18:32:21 May 12 May 13 18:32:27 git show shows me e25b369c048b51b1feb79587750e7e160fc0bd73 as tip of git.denx.de/u-boot.git master May 13 18:32:36 * bradfa is confused... May 13 18:32:56 that was back at Apr 26. May 13 18:33:03 that's weird... May 13 18:33:14 git remote update already May 13 18:34:59 * bradfa is clearly having git issues... wtf? May 13 18:35:26 * bradfa clones again... May 13 18:35:49 bradfa, One last thing,regarding the logic analyzers. Aliexpress might not be an option,so the only way I guess is to get it either from Digikey or search ebay. May 13 18:35:55 revenge of the clones May 13 18:36:03 chanakya_vc: ebay will be your best bet then I think May 13 18:36:56 jkridner: k, no idea wtf my git issue was, building now May 13 18:37:19 bradfa, Yes hopefully find a one not being imported from China : / May 13 18:40:20 jkridner: loading u-boot-spl.bin over xmodem then u-boot.bin over xmodem works fine for me, one sec and I'll do it again and paste it for you May 13 18:42:36 yeah, you got an SPL response first? May 13 18:42:41 yes May 13 18:42:51 I'm using minicom.... just not sure what could be going wrong. May 13 18:43:21 jkridner: looks like this http://pastebin.com/ffXMY5hv May 13 18:43:24 ROM bootloader starts and I get the CCCC from the ROM, x-modem transfer of SPL completes, but nothing boots. May 13 18:43:36 compiler = gcc-4.9, gnueabihf May 13 18:44:01 how do you trigger the transfer in picocom? May 13 18:44:05 mine's built with gcc-4.9.2 May 13 18:44:23 jkridner: ctrl A, ctrl S May 13 18:44:27 on another TI part, there seemed to be a bug in x-modem where ROM didn't like one particular SPL build May 13 18:44:39 hmmmm.... that wasn't working for me... I'll try again. May 13 18:44:44 rebuilt the file to get new timestamp and that version worked... May 13 18:44:55 jkridner: I use lrzsz's 'sx' program to do xmodem May 13 18:45:10 minicom uses that too May 13 18:45:13 jkridner: make sure you're not doing zmodem May 13 18:45:44 bradfa, Wormo These are what Logic analyzers we are looking for right:http://www.ebay.in/sch/i.html?_odkw=fx2+logic+analyzers&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0.H0.Xfx2+LP++logic+analyzers.TRS0&_nkw=fx2+LP++logic+analyzers&_sacat=0 May 13 18:45:45 right.... I think I'd hit shift before. May 13 18:45:56 transfer complete.... no running SPL.:( May 13 18:46:43 http://pastebin.com/HbBEdRLb May 13 18:47:44 jkridner: your u-boot-spl.bin is bigger than mine... May 13 18:47:49 yours is 6 blocks smaller May 13 18:47:56 jkridner: one sec, I send you my files May 13 18:49:27 jkridner: https://www.dropbox.com/sh/l1k4aidrnhaioe8/AAAgKUrSdp10A1bUmKYi9AiHa?dl=0 May 13 18:51:12 does your u-boot support the ums command? May 13 18:51:24 chanakya_vc: the ones I've seen look more like http://www.ebay.in/itm/USB-LOGIC-ANALYZER-24M-8-CH-CHANNELS-Saleae-Compatiable-BE0162-/262401449029?hash=item3d18585c45:g:tNwAAOSwPc9Wvu2p May 13 18:51:44 jkridner: I built am335x_boneblack_defconfig so it supports what ever is in that May 13 18:53:02 * bradfa fixed git issue... seems the oe sdk was messing with some env vars which git cared about or something... dunno but fixed May 13 18:53:52 bradfa: k, doesn't seem like a toolchain issue... yours didn't boot for me either. May 13 18:54:16 bradfa, Okay will order this. Says it delivers within four days : ) May 13 18:54:24 bradfa, Thank you! May 13 18:54:25 jkridner: possibly your serial cable is bad? May 13 18:54:33 chanakya_vc: :) May 13 18:55:18 jkridner: are you using an ftdi? can you just use a normal serial port? May 13 18:55:25 ftdi May 13 18:55:39 wouldn't I get some kind of bit errors on x-modem? May 13 18:55:44 "normal" are getting to be kind of rare May 13 18:55:54 jkridner: I dunno, sorry May 13 18:56:16 Wormo: my year old Dell T1700 has one, most new Dell Precision have them still :) May 13 18:57:12 Hm! That's good May 13 18:57:14 k, I figured it out. May 13 18:57:28 at least I think... May 13 18:57:38 issue was that I had USB connected, I think. May 13 18:57:57 oh, wait, no... that's not it... May 13 18:58:12 what's different is now I have a bunch of serial noise and the transfer isn't even completing. May 13 18:58:15 :-( May 13 18:58:41 it just gets back to printing CCCCC much quicker. May 13 18:58:53 but the transfer never completes successfully. May 13 18:59:03 jkridner: can you try a different borad? May 13 18:59:12 or a bad cable like bradfa guessed May 13 19:06:21 on my 4th board. :) May 13 19:07:09 this one doesn't seem to generate the CCCC..... but, it has a programmed eMMC..... still, I held the BOOT button. :( May 13 19:12:57 bradfa: did you do anything special for a board with the eMMC programmed? May 13 19:13:40 jkridner: yea, dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1 first :) May 13 19:13:48 you can do that from a running image May 13 19:16:14 k, I found a board it worked on.... well, at least SPL.... still waiting on u-boot. May 13 19:23:02 jkridner: for your USB use case, why not use DFU? May 13 19:23:04 k, u-boot took a while to start. May 13 19:23:15 jkridner: yeah, it's very slow to start, not sure why May 13 19:23:16 because there aren't good apps for DFU. May 13 19:23:25 jkridner: sudo apt-get install dfu-utils May 13 19:23:26 works for me May 13 19:23:43 * bradfa is learning about dfu May 13 19:25:44 not part of Debian Jessie. May 13 19:26:07 dfu-util May 13 19:28:51 jkridner: https://packages.debian.org/jessie/dfu-util May 13 19:28:53 no? May 13 19:29:18 * bradfa added an 's' on the end before, sorry May 13 19:29:57 I'll try it. May 13 19:30:10 jkridner: exact steps: http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User's_Guide#Updating_an_SD_card_or_eMMC_using_DFU May 13 19:30:24 you have to have partitions laid out to match what u-boot wants, but it seems to work decently May 13 19:30:46 probably easier to deal with if using nand or nor flash than something that has a partition table but still May 13 19:34:16 yuck May 13 19:34:27 ums makes things easy... if it works. May 13 22:18:30 jkridner-debianp: sadly no, I am travelling out of state for my sister's graduation and will be unable to attend :( **** ENDING LOGGING AT Sat May 14 02:59:58 2016