**** BEGIN LOGGING AT Mon Dec 23 03:00:01 2019 Dec 23 07:06:09 Hello Dec 23 07:07:44 I have a beagle bone AI. I changed the dtb file and now the device is not booting up. Dec 23 07:07:54 How do i recover my device ? Dec 23 07:22:26 Adish: you could boot from sd? Dec 23 07:43:45 After booting from SD card , can i change the dtb in eMMC? Dec 23 07:44:40 Adish: yes, you can mount the filesystem Dec 23 07:44:47 Also how to boot from SD card in Beagle Bone AI,Can you please educate ? Dec 23 07:45:31 I am totally new to using Beagle Bone Dec 23 07:47:07 Adish: basically you download the image, put it on sdcard, insert it and apply power Dec 23 07:47:48 Okay ,i will try that. Should i hold any button on power up, so that it boots from SD card ? Dec 23 07:48:15 Adish: https://beagleboard.org/getting-started Dec 23 07:48:33 it should default to boot from sd when inserted Dec 23 07:50:06 Will try that n get back ! Thank you ! **** BEGIN LOGGING AT Mon Dec 23 08:30:38 2019 Dec 23 09:25:39 I flashed an SD card.But it doesn't boot completely. The LEDs start blinking, and the starting screen with beaglebone icon appears.After that , its struck there. Dec 23 09:51:31 break into U-boot with the serial console and go from there Dec 23 09:57:19 How do i do that ? Dec 23 10:03:35 use a 3.3V UART to USB cable Dec 23 10:03:58 the AI is annoying in that it needs a connector adapter (think D/K may have that) Dec 23 13:23:53 ds2 the Rev A1 change on the AI with a 1.5mm connector? ... that was a bit annoying. I can see why it was done but ... Dec 23 13:31:30 Hey , i flashed my SD card with image https://debian.beagleboard.org/images/am57xx-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz Dec 23 13:32:11 When i power it doesnt boot up. It shows error as below Dec 23 14:10:25 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.12.23 19:38:36 =~=~=~=~=~=~=~=~=~=~=~= Dec 23 14:10:40 don't try to paste multiline text into chat, use a paste service like pastebin.com Dec 23 14:13:11 Hey Dec 23 14:13:54 to illustrate, this is all that got through: https://pastebin.com/G8NB5Ga0 Dec 23 14:14:02 I have flashed https://debian.beagleboard.org/images/am57xx-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz image to an SD card and inserted it into BeagleBone AI Dec 23 14:14:09 yes so you said Dec 23 14:14:13 But it is not booting up Dec 23 14:14:26 yes I can read Dec 23 14:14:36 I connected the serial debug uart. Dec 23 14:15:05 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.12.23 19:38:36 =~=~=~=~=~=~=~=~=~=~=~= Dec 23 14:15:21 please read what I just said so I don't have to repeat myself Dec 23 14:16:25 what did you use to flash the sd card? Dec 23 14:17:01 I am using a beagleboneAI Dec 23 14:17:24 I flashed a SD card with the image https://debian.beagleboard.org/images/am57xx-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz Dec 23 14:17:37 but it is not booting up with the SD card Dec 23 14:17:57 I am getting error in serial debug console Dec 23 14:18:16 you already said all of these things, please stop repeating yourself Dec 23 14:18:20 [ 3.568468] omapdss error: HDMI I2C timeout reading EDID Dec 23 14:18:22 1:1.22.0-19+b3) built-in shell (ash) Dec 23 14:18:33 if you want to share multiline output, use a paste service like pastebin.com, don't try to paste it into chat Dec 23 14:18:57 Above is my error log Dec 23 14:19:05 can you please help me with this Dec 23 14:19:14 your error log is not above, only one line of it that looks irrelevant Dec 23 14:20:01 what software did you use to flash the image to SD card? Dec 23 14:21:23 Balena etcher Dec 23 14:21:28 o Dec 23 14:21:29 ok Dec 23 14:21:46 Should i follow any specific steps Dec 23 14:21:47 ? Dec 23 14:22:21 Etcher should be pretty straightforward Dec 23 14:22:46 ya,i just downloaded it and flashed. then inserted the SD card . Dec 23 14:23:20 But after flashing the image, SD card has only rootfs partition, but no boot Dec 23 14:24:24 that is normal Dec 23 14:25:17 oh,acutally my it changed some files in boot of emmc, n it does not boot with emmc now Dec 23 14:25:30 thats y iam using SD card Dec 23 14:26:02 if SD card has just rootfs , how will it boot ? Dec 23 14:26:05 it shouldn't have changed anything on eMMC, but the first thing you said when you came here was " I have a beagle bone AI. I changed the dtb file and now the device is not booting up." Dec 23 14:26:26 ya. Dec 23 14:26:39 the bootloader (on both eMMC and on SD) is located in the space before the first (and only) partition Dec 23 14:26:57 i did it by mistake Dec 23 14:27:21 n my beagle bone is not working with just emmc Dec 23 14:27:31 can i now get it working with SD card ? Dec 23 14:27:54 it should just work. unfortunately I don't really have time right now to verify it works for me Dec 23 14:28:02 Please educate me with the steps Dec 23 14:28:28 of getting it done with SD card Dec 23 15:13:26 So, if I git clone https://github.com/RobertCNelson/bb-kernel, git checkout am33x-v4.9, modify bb-kernel/KERNEL/drivers/video/logo/logo_linux_clut224.ppm and build, I should have replaced the penguin boot logo, right? Or is that somehow in u-boot? Dec 23 15:13:51 Because I did those steps and somehow that panguin is still there Dec 23 15:15:07 the logo is entirely the kernel, u-boot has no influence over it afaik Dec 23 15:16:54 you know what, I don't think I'm booting the right kernel, "uname -a" doesn't seem to be reporting the correct build date Dec 23 15:17:22 that won't help :D Dec 23 15:17:58 that's another reason to add a custom suffix to the version number to ensure your customized kernel can't be confused with the standard one Dec 23 15:18:11 yup Dec 23 15:19:03 after installing the .deb it should be automatically selected though, there's a kernel post-install script that updates uname_r in /boot/uEnv.txt Dec 23 15:19:32 yeah, I'm looking at /boot/uEnv and it's not updated Dec 23 15:19:52 Is that the only thing I'd need to change to select the other kernel? Dec 23 15:19:59 yes Dec 23 15:20:08 oh, look, having reinstalled, it's updated Dec 23 15:20:15 okay Dec 23 15:20:15 but I'm more concerned with why it didn't update Dec 23 15:20:19 * n8vi crosses fingers Dec 23 15:20:32 I blame mental fatigue Dec 23 15:20:49 I have a good backup if this explodes Dec 23 15:20:52 did you reboot or power-cycle ? be careful to avoid cutting power after installing something without at least doing a manual "sync" to flush disk cache Dec 23 15:21:09 well, I'm rebooting this time Dec 23 15:21:46 (on our systems I've also tweaked some sysctl parameters to avoid leaving writes in cache for more than 10 second) Dec 23 15:21:57 and it works Dec 23 15:21:59 whoo Dec 23 15:38:03 ah, there's the problem Dec 23 15:38:44 the custom package I install after that to fix the device tree after a new kernel install apparently also changes uname_r in uEnv.txt for some reason Dec 23 15:39:41 ah, because it replaces uEnv.txt Dec 23 15:39:50 uhh, why would you need to install anything to "fix the device tree" ? Dec 23 15:40:17 just give the DT a custom name, place it in /boot/dtbs/ (rather than any kernel-specific subdir) and configure its name in the dtb variable in /boot/uEnv.txt **** ENDING LOGGING AT Tue Dec 24 02:59:57 2019