**** BEGIN LOGGING AT Tue Jul 23 02:59:59 2013 Jul 23 07:36:05 morning Jul 23 15:07:37 panto, ping Jul 23 15:08:09 mluckham, pong Jul 23 15:08:14 hi Jul 23 15:08:25 i'm having trouble with your kernel i built Jul 23 15:08:43 it uncompresses but doesn't run, when I install it on an SD card linked to uImage Jul 23 15:08:44 what kind of trouble? Jul 23 15:09:01 it does run when loaded with uboot via tftp Jul 23 15:09:17 that's cause the sequence is different when run from mmc Jul 23 15:09:26 you don't include the dtb in the kernel Jul 23 15:09:45 you put the *.dtb file in the place u-boot expects it Jul 23 15:10:16 ok Jul 23 15:10:38 the uImage-dtb.am335x-boneblack is a combined uImage+dtb Jul 23 15:10:45 which you need when you tftpboot Jul 23 15:11:09 u-boot sequence loads a dtb too from /boot in the rootfs Jul 23 15:11:56 i did put a copy of your .dtb into /boot Jul 23 15:12:35 what is the mechanism that makes it different, between the tftp method and disk method? whether .dtb is included in the uImage or not? Jul 23 15:12:47 tftp can only load a single file Jul 23 15:12:55 so you need the uImage+dtb in a single one Jul 23 15:13:48 so the uImage itself (with dtb included) is modified to look for the dtb as part of the memory image only? Jul 23 15:14:17 is there a default dtb, in every uImage? Jul 23 15:14:18 for it to load over mmc you don't need the combined image Jul 23 15:14:20 just uImage Jul 23 15:14:24 ok Jul 23 15:15:04 what about the start memory address, when using tftp one is specified 0x80200000 Jul 23 15:15:09 $ make uImage & use it Jul 23 15:15:21 understood Jul 23 15:15:29 mluckham, the u-boot is set up to load it at the correct address Jul 23 15:16:06 another question, about uEnv.txt Jul 23 15:16:29 there are three of those (eMMC FAT partition, eMMC Linux /boot, SD Linux /boot) Jul 23 15:16:44 are the ones in /boot just ignored, always? Jul 23 15:17:11 the one used is in the fat partition Jul 23 15:17:42 what about if I hold the BOOT button while starting up the BBB, and it boots from the SD card? Jul 23 15:18:10 no Jul 23 15:18:16 it loads it from sd card Jul 23 15:18:34 but for the boot order to change there has to be a cold power boot Jul 23 15:18:37 i.e. plug in Jul 23 15:18:49 so if BOOT button is held, only the SD card is involved and it's /boot/uEnv.txt is used Jul 23 15:19:00 otherwise, the eMMC FAT partition uEnv.txt is used Jul 23 15:19:26 right Jul 23 15:19:38 if you want to make sure just rename the MLO in emmc to something else Jul 23 15:19:55 that will stop uboot from working? Jul 23 15:20:31 so it could only be booted from SD card (while holding the BOOT button) Jul 23 15:20:48 yes Jul 23 15:20:56 there's a boot order Jul 23 15:21:18 boot order, yes, but more partitions and block storage devices are involved than meets the eye :) Jul 23 15:21:39 the partitions are irrelevant for the ROM Jul 23 15:21:47 it only uses the first partition of each device Jul 23 15:21:58 the FAT partition Jul 23 15:22:13 yes Jul 23 15:22:29 it's the only partition type it can read Jul 23 15:22:59 I have read that uImage resides on the FAT partition, but I have not seen it there only in the ext4 /boot Jul 23 15:23:09 no, it doesn't Jul 23 15:23:17 it doesn't on u-boot config Jul 23 15:23:39 a long long time ago u-boot couldn't access ext2 and maybe that's when that doc was written about Jul 23 15:24:05 there are many sources talking about what look like the same things, that conflict with each other Jul 23 15:24:08 it's a jungle out there Jul 23 15:24:31 dog eat dog world Jul 23 15:24:37 :) Jul 23 15:24:37 cat and dogs living together Jul 23 15:24:39 mass hysteria Jul 23 15:24:46 hissy fits Jul 23 15:25:13 thanks for your info, I'll see if I can get the kernel working now Jul 23 15:25:21 i already got jj2baile's PRU demo stuff working, the other day Jul 23 15:25:36 did you see the logic analyzer screen shot? Jul 23 15:26:29 yes Jul 23 15:26:31 cool stuff Jul 23 15:26:45 it should get even cooler :) Jul 23 15:26:51 :) Jul 23 15:26:56 talk to you later Jul 23 15:28:00 cya Jul 23 16:59:16 mluckham: oh, awesome! Jul 23 18:37:17 jj2baile, I have Panto's kernel booting up on the SD and your PRU Boundary demo running - I hope by the end of the day to have Panto's PRU vring demo code working too Jul 23 18:42:42 all my instructions collected so far are at https://www.dropbox.com/s/rx24a1khb823lj2/panto_build.sh Jul 23 19:24:31 ping ka6sox Jul 23 19:28:20 jj2baile - Maker Faire Detroit this weekend Jul 23 19:39:43 panto, ping Jul 23 19:39:55 pong Jul 23 19:40:06 you said for PRU compiler i need to contact kridner Jul 23 19:40:15 yes you do Jul 23 19:40:16 to build prutest Jul 23 19:40:18 jkrinder Jul 23 19:40:58 does he monitor this channel? Jul 23 19:41:04 he should Jul 23 19:41:08 beagle is his baby Jul 23 19:41:14 shoot him an email Jul 23 19:41:28 i think i've seen jkridner in the list, but not currently Jul 23 19:41:32 @ti.com? Jul 23 19:41:36 yes Jul 23 19:41:40 perfect, thanks Jul 23 19:41:59 should i coordinate with ka6sox? Jul 23 19:45:08 cc him Jul 23 19:45:16 tx Jul 23 19:45:19 anyway, time to go for the night Jul 23 19:45:21 ttyt Jul 23 19:45:32 gudnite Jul 23 19:50:40 email address bounces Jul 23 19:52:43 jkridner, ping? Jul 23 19:57:20 he's probally at MF Jul 23 19:57:59 yah, i'll have to be patient Jul 23 19:58:42 what are you looking for? Jul 23 19:58:45 administrative stuff? Jul 23 19:58:50 PRU compiler Jul 23 19:59:04 the github site no longer works or you need somethign newer? Jul 23 19:59:28 panto said I need to ask him, the only github site I know of only has the assembler Jul 23 19:59:37 oh C compiler Jul 23 19:59:38 n/m Jul 23 19:59:40 yes Jul 23 22:35:42 ka6sox, piong Jul 23 22:35:45 ping :) Jul 23 23:23:59 mluckham, pong? Jul 23 23:38:18 hi Jul 23 23:38:27 I got panto's kernel booted up from the SD card Jul 23 23:39:53 and posted a new version of the information of the other day http://pastebin.com/zQpkR3da Jul 23 23:40:10 I need to get in touch with kridner, about the PRU Compiler Jul 23 23:41:59 to build panto's prutest Jul 23 23:44:13 right Jul 23 23:44:17 I saw the email Jul 23 23:44:38 can you get in touch with him? Jul 23 23:44:53 you will probably find him here @ noon your time tomorrow. Jul 23 23:45:02 ok Jul 23 23:46:14 has jj2baile built panto's kernel yet? Jul 23 23:53:31 jj2baile, have you done so? Jul 24 00:06:04 mluckham, I just replied to the email Jul 24 00:06:06 try that Jul 24 00:07:00 Tx, I will Jul 24 00:07:46 np **** ENDING LOGGING AT Wed Jul 24 02:59:59 2013