**** BEGIN LOGGING AT Sat Apr 03 02:59:57 2021 Apr 03 05:56:06 cool, in this eclipse project xml file I found an opening tag that's 136 KB Apr 03 05:58:17 It is me! Apr 03 05:58:39 What are you guys doing? Apr 03 06:00:07 Anyway...Buildroot and building blocks over here. Argh. My arm is better! Apr 03 06:03:10 HI Apr 03 06:03:22 15 minutes until party time! Apr 03 06:04:21 Applyin' the necessary files to the first partition and then applyin' the image to my super gb'd imagery. Apr 03 06:05:15 Hello Abhi: I am working on making Buildroot work on images. Enjoy life! Apr 03 06:05:51 Hi, I am using a beabglebone black board. I initially booted it with a SD card which had a debian image. Then i leant about updating emmc with latest image. I followed the steps in the beaglebone website, after updating emmc, the board doesnt boot Apr 03 06:06:09 Oh. Apr 03 06:06:23 the board doesnt boot neither from emmc nor from SD card Apr 03 06:06:40 when i power it up, just the power led glows Apr 03 06:07:01 Yea. Boot w/ the latest image at bbb.io/latest-images. One of the images is for BBB and another is for the BBAI. Apr 03 06:07:10 i tried formatiing the sd card, flashed new OS image, and tried to boot from the SD card, but tit still doesnt boot up Apr 03 06:07:36 Pick the correct one, flasher or SD Card version, and then boot it! Apr 03 06:07:56 Do you have internet? Apr 03 06:08:45 yes Apr 03 06:08:48 am57xx-debian-10.3-iot-tidl-armhf-2020-04-06-6gb.img Apr 03 06:08:53 Do you have an Ethernet cable plugged into...no. Apr 03 06:08:59 this was the version i used Apr 03 06:09:00 Use the am335x one. Apr 03 06:09:03 no ethernet cable Apr 03 06:09:38 Use the am335x version of the images b/c the TI Chip on the BBB is a am335x derivative. Apr 03 06:09:53 oh damn Apr 03 06:09:55 Abhi: that's thee wrong image Apr 03 06:10:00 beaglebone black is am335x Apr 03 06:10:04 not am57xx Apr 03 06:10:04 Yep! Apr 03 06:10:08 any chance that i would have burnt by BBB Apr 03 06:10:20 Abhi: also, download a flasher image, that makes things easier Apr 03 06:10:21 no Apr 03 06:10:25 here's what happened: Apr 03 06:10:46 you tried to boot from sd card, but in fact you didn't since the sd card isn't bootable Apr 03 06:11:09 i use balena etcher Apr 03 06:11:13 then you tried to modify the card to a flasher (by modifying /boot/uEnv.txt) Apr 03 06:11:27 (because you didn't download a pre-made flasher image) Apr 03 06:11:48 Nine minutes! Apr 03 06:11:52 yes i modified  /boot/uEnv.txt Apr 03 06:12:05 however since you had in fact booted from eMMC, you modified its /boot/uEnv.txt .. and then after reboot the eMMC attempted to flash itself onto itself, and that's how you ended up with a system that doesn't boot anymore ;) Apr 03 06:12:17 @zmatt is smart, man. He knew! Apr 03 06:12:49 got it Apr 03 06:12:54 Boot! Apr 03 06:12:55 Abhi: from https://beagleboard.org/latest-images download the "AM3358 Debian 10.3 2020-04-06 4GB eMMC IoT Flasher" image under Flasher Debian images Apr 03 06:13:23 yup Apr 03 06:13:23 if you boot your beaglebone from that card, it should immediately proceed to reflash eMMC Apr 03 06:13:56 cool i will try that Apr 03 06:14:43 cfdisk is sort of cheating but I used it. Apr 03 06:14:48 if eMMC is really messed up right now, it's possible it doesn't manage to boot from sd card automatically, in that hold down the S2 button (the one closest to the sd card slot) during power-up Apr 03 06:14:52 these are the steps that i will follow: Apr 03 06:14:53 1) Download the image specified Apr 03 06:14:53 2) Extract the compressed file Apr 03 06:14:54 3) Use balena etcher to flash Apr 03 06:14:54 4) Boot BBB from SD card Apr 03 06:14:55 5) Open by beer Apr 03 06:15:05 (you can let go of the S2 button once the power led turns on) Apr 03 06:15:27 got it Apr 03 06:15:35 powering on the beaglebone with the S2 button held down causes bootrom to completely ignore the eMMC Apr 03 06:16:36 the first time when emmc boots from SD card, the image gets transferred to emmc right? Apr 03 06:16:54 After which i can remove my SD card Apr 03 06:17:12 since this is a "flasher" image, if you boot a BBB from that sd card, it will erase and reflash the eMMC Apr 03 06:17:54 This is longest nine minutes of my life! Apr 03 06:18:02 i.e. after a few seconds of led activity you'll see that flashing is in progress: this has a very recognizable back-and-forth led pattern ("cylon" / "knight rider") Apr 03 06:18:18 yes i could see that earlier Apr 03 06:18:34 once it's done the board should power off Apr 03 06:18:56 The board powers itself down. Smart... Apr 03 06:18:56 be sure to remove the sd card before powering it back on, otherwise it'll start reflashing again Apr 03 06:19:18 (and maybe wipe the sd card on your computer so you don't end up booting a beaglebone from it by accident ;) Apr 03 06:19:43 sure, got it Apr 03 06:19:53 thank you so much Apr 03 06:20:02 Two minutes and then sufferin' suckatash and party time! Apr 03 06:21:04 zImage, MLO, u-boot.img, and the .dtb for the boot partition! Apr 03 06:21:48 set_: you don't need to narrate everything you're doing Apr 03 06:21:52 Oh. Apr 03 06:21:55 Okay. Apr 03 06:22:09 Sorry. I keep forgetting that people want help. Apr 03 06:22:16 I am in the way, sort of. Apr 03 06:22:26 <<< Hushing now! Apr 03 07:07:56 zmatt the device booted from SC card now Apr 03 07:08:07 but it did not power off Apr 03 07:08:48 through my debug port i can see the terminal of BBB Apr 03 07:11:49 is it because my /boot/uenv.txt has these lines : Apr 03 07:11:49 ##enable Generic eMMC Flasher: Apr 03 07:11:50 ##make sure, these tools are installed: dosfstools rsync Apr 03 07:11:50 #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh Apr 03 07:12:01 Abhi: what image did you download? Apr 03 07:12:28 because that looks like you didn't the flasher image Apr 03 07:12:38 bone-debian-10.3-iot-armhf-2020-04-06-4gb.img Apr 03 07:12:46 yeah that's not what I told you to download Apr 03 07:12:52 but it's okay Apr 03 07:12:59 you can change this one into a flasher by uncommenting that last line Apr 03 07:13:13 (that's the only difference between a flasher image and a normal bootable image) Apr 03 07:13:20 oh i see Apr 03 07:13:32 i am sorry Apr 03 07:13:37 new to linux Apr 03 07:13:50 if i uncomment #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh Apr 03 07:13:56 and reboot the system Apr 03 07:14:16 then image should flash to emmc right? Apr 03 07:14:20 (this isn't a "linux" thing btw, this is rather specific to the beaglebone) Apr 03 07:14:40 i meant "embedded linux" Apr 03 07:14:42 yes, but just as a sanity check, first confirm you've booted from sd card using the "findmnt /" command Apr 03 07:14:59 which should show /dev/mmcblk0p1 if you've booted from SD card Apr 03 07:15:38 in this case you know you did because you hosed the system on eMMC, but doing that check would have kept you from hosing it in the first place Apr 03 07:15:39 source is /dev/mmcblk0p1 Apr 03 07:15:50 (when booted from eMMC it'll show /dev/mmcblk1p1) Apr 03 07:15:59 got it Apr 03 10:07:52 Whelp... Apr 03 10:24:50 * MortyFell that was not it! **** ENDING LOGGING AT Sun Apr 04 03:00:03 2021