**** BEGIN LOGGING AT Sun Dec 29 03:00:00 2019 Dec 29 03:31:36 refusenick: I mean, the error seems pretty self-explanatory: ** File not found /boot/am335x-boneblack.dtb ** Dec 29 03:32:20 also beware that you seem to be using u-boot from eMMC while your linux system is loaded from SD Dec 29 03:32:35 that can cause compatibility problems unless both contain a similar version of a similar distro Dec 29 03:33:36 you can prevent u-boot from being loaded from eMMC by powering on with the S2 button (the button closest to the μSD slot) held down. hold it while applying power, release after any led turns on Dec 29 03:33:50 That's what I did. Dec 29 03:34:31 hm maybe I'm misinterpreting SPL's output Dec 29 03:36:03 I'd assume that "Trying to boot from MMC1" means it's loading u-boot.img from MMC1 (i.e. eMMC) but it's not quite clear Dec 29 03:36:22 if this is the u-boot loaded from SD card... why is it so ancient? Dec 29 03:37:59 there's also an easy way to confirm eMMC has been bypassed: if no SD card is inserted, it will fail to boot entirely (serial console shows "CCCC"). you can then, without power cycling, insert an sd card and press reset and be 100% certain that u-boot is loaded from sd card Dec 29 03:39:14 (the boot mode is persistent across reboot/reset, the S2 button is only sampled at power-on) Dec 29 03:47:59 If I was going for P9.15 on the BBAI, would I need to use this math to solve the numerical value of that pin, 3 * 32 + 5 = 101? Dec 29 03:48:14 GPIO! Dec 29 03:48:47 no Dec 29 03:48:58 Or twice that w/ 3 * 32 + 10 = ? Dec 29 03:49:26 So, it would be 106? Dec 29 03:49:43 where are you getting those numbers from? it's 2 * 32 + 12 (well, technically that isn't guaranteed at all, but it works in practice) Dec 29 03:50:13 Well, gpiochip3. Dec 29 03:50:44 The schematic says gpio3_12. Dec 29 03:51:14 yeah but that 3 is off-by-one, a very obnoxious tendency in the numbering of peripherals on the AM572x Dec 29 03:51:24 Oh. Dec 29 03:51:33 So, I need 32? Dec 29 03:51:41 just like "uart3" is actually /dev/ttyS2 Dec 29 03:51:45 Right. Dec 29 03:51:47 Okay. Dec 29 03:51:58 since when is 2 * 32 + 12 equal to 32? Dec 29 03:51:58 I was not aware of these facts yet. Dec 29 03:52:22 I was adding 2 to 3 b/c of gpiochip32. Dec 29 03:52:42 no sense. I know. Dec 29 03:52:50 I am completely knew to this board. Dec 29 03:52:59 the sysfs gpiochip numbering uses the number of the first gpio (for some reason), that's not a hardware thing but a linux thing Dec 29 03:53:36 Okay. So, 2 * 32 + 12. Okay. So, P9.15 is 76. Got it. Dec 29 03:54:14 if there's be a gpio helper note in DT to declare the gpios then you could just use symlinks and not have to worry about any of this crap Dec 29 03:54:14 So, if I was to use that number in some form of source, 76 is my GPIO3_12. Dec 29 03:54:26 *there'd be Dec 29 03:54:28 Okay. Dec 29 03:54:31 I understood. Dec 29 03:54:52 I am testing older software on the new BBAI to update my understandings. Dec 29 03:55:06 Then, onto nice stuff. Dec 29 03:55:35 I just got the .pl script for the AI to see what belongs where. Dec 29 04:15:22 So, is gpio6_17, 5 * 32 + 17? Dec 29 04:16:01 Hey @zmatt, where did you find that info? Dec 29 04:21:12 hmmm https://0x0.st/zDRi.txt Dec 29 04:25:05 zmatt: Your tip for ensuring a clean boot from the card worked (serial console displayed CCCC), but it's repeating what's in my second paste. Dec 29 04:25:29 refusenick: well then the other comments I made still stand Dec 29 04:25:37 I checked, and the files it's looking for (uEnv.txt, zImage, etc) are definitely in the 1st partition. Dec 29 04:25:45 oh wait this is different Dec 29 04:25:48 Do I need to have everything in a single partition? Dec 29 04:25:53 kinda different Dec 29 04:26:29 so now it's not even attempting to boot a kernel anymore? what did you do? Dec 29 04:26:57 I tried a different .img on the card Dec 29 04:27:15 I know absolutely nothing about void linux so I can't tell you how they expect the sd card to be partitioned Dec 29 04:27:52 but if a premade image doesn't boot, that's not a great sign :P Dec 29 04:28:30 I know it works on the RasPi. Dec 29 04:28:44 Maybe it lacks a maintainer for the Beagle Dec 29 04:28:51 I'm pretty sure it's not possible to an image to boot on both the rpi and the bbb Dec 29 04:29:02 It's not the same image, ofc Dec 29 04:29:11 It does work on some ARM chips, though. Dec 29 04:29:25 well given that the image doesn't boot *at all*, hence it wasn't even tested once, I'd say there's probably indeed not a maintainer :P Dec 29 04:30:28 since I don't think I've seen anyone else ever mention this distro, it sounds like you're going to need to be the maintainer if you explicitly want this particular distro on your BBB **** BEGIN LOGGING AT Sun Dec 29 06:22:59 2019 Dec 29 21:37:22 wow what a miserable month, finally got a spare minute, wish me luck that I don't ruin my BB with my soldering iron Dec 29 21:43:42 soldering iron? what are you going to solder on the bbb ? Dec 29 21:48:16 probably a good question Dec 29 21:48:59 headers for the BBB pocket Dec 29 21:49:40 Oh yes headers not included. at least it's a only $25 if you mess up. Dec 29 21:50:10 yeah, and I have a spare, still though Dec 29 21:50:24 you hate destroying things? :D Dec 29 21:52:46 $25 and a long lead time from digikey heh Dec 29 21:56:22 Ademan: ah, technically not a BB but a PB ;P Dec 29 22:26:10 PB peanut beagle board :D Dec 30 00:11:22 well that was unexpected, the module gets in the way of the inner header... Dec 30 00:16:17 hmm? Dec 30 00:16:41 it does seem like it's necessary to solde pretty close to the SoC, yikes... https://www.macchina.cc/sites/default/files/IMG_6754.jpg Dec 30 00:16:48 *solder Dec 30 00:16:57 yep Dec 30 00:17:24 but also a female dupont header just plain doesn't fit straight in Dec 30 00:17:31 looks like it'll work at an angle Dec 30 00:17:36 huh? Dec 30 00:17:47 it should definitely be straight in Dec 30 00:18:15 it's probably less than 10 degrees, but it doesn't fit in straight Dec 30 00:18:37 otherwise it would never fit in "capes" for the pocketbeagle, for example that macchina cape in the image I just linked Dec 30 00:18:57 what do you mean "doesn't fit in straight" ? Dec 30 00:19:40 huh, I was planning to do it "arduino style" with female headers on top (rather than male on the bottom as in your picture) Dec 30 00:20:17 really didn't want to solder on the topside so close to the SoC Dec 30 00:20:25 that's... the wrong way around Dec 30 00:20:57 although I get why you'd want that, but as you just observed it doesn't fit... Dec 30 00:22:38 well, this is going to be miserable, and likely fatal for my PB lol Dec 30 00:22:59 (and obviously it breaks compatibility with any boards that you might want to plug into the PB, and you'd have to mentally reverse any pinout diagrams for the PB) Dec 30 01:13:31 well that was a disaster, I'm going to finish it tomorrow :-/ Dec 30 01:13:57 oof Dec 30 01:14:36 it's cold and I don't trust the temperature control on my iron heh Dec 30 01:36:40 If anything it forewarned me to not do the same thing Dec 30 01:38:06 I'm pre-emptively ordering two more pocket beagles haha Dec 30 01:44:27 also don't let my poor soldering skills dissuade you Dec 30 01:48:14 you should get a mini flame thrower I mean focused heat gun that allows you to remove large connectors without breaking things. It's dangerous to solder to the top of the board however as you can accidentally remove the SoC without some care Dec 30 01:51:04 meanwhile I will have to check if I can even use the pocket beagle for some of the things I was thinking of. I had better actually do something with my BBB in the meantime. Also a few other things. Anyhow the way it is shown in the image seems much better with connectors opposite the side with parts. Dec 30 02:58:37 on the BBAI, is there a way to use IPUs (M4s) w/ any libraries that are available? Dec 30 02:58:57 I saw that the bonescript language was gaining speed on the BBAI. **** ENDING LOGGING AT Mon Dec 30 02:59:57 2019