Hello, how to flash system image created by buildroot to internal eMMC memory in BBB?
Here is what I'm doing: 1. Build image with buildroot 2. Write sdcard.img to SD card 3. Boot BBB from SD card 4. Increase root partition on SD card: resize2fs /dev/mmcblk0p2 5. scp sdcard.img from PC to BBB: scp output/images/sdcard.img [email protected]:/root/ 6. Boot BBB from SD card 7. Write sdcard.img to internal eMMC od BBB: dd if=sdcard.img of=/dev/mmcblk1 8. Poweroff BBB 9. Remove SD card from BBB 10. Power on BBB. Here is the output from console: U-Boot SPL 2019.07 (Jun 02 2020 - 16:55:38 +0200) > Trying to boot from MMC2 > > U-Boot 2019.07 (Jun 02 2020 - 16:55:38 +0200) > CPU : AM335X-GP rev 2.1 > Model: TI AM335x BeagleBone Black > DRAM: 512 MiB > NAND: 0 MiB > MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 > Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse > MAC > Net: eth0: ethernet@4a100000 > Warning: usb_ether MAC addresses don't match: > Address in ROM is de:ad:be:ef:00:01 > Address in environment is 0c:b2:b7:cd:44:35 > , eth1: usb_ether > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc1(part 0) is current device > SD/MMC found on device 1 > ## Error: "bootcmd_nand0" not defined > starting USB... > Bus usb@47401800: Port not available. > ethernet@4a100000 Waiting for PHY auto negotiation to complete... done > link up on port 0, speed 100, full duplex > BOOTP broadcast 1 > DHCP client bound to address 192.168.1.213 (6 ms) > Using ethernet@4a100000 device > TFTP from server 192.168.1.1; our IP address is 192.168.1.213 > Filename 'zImage'. > Load address: 0x82000000 > Loading: T What should I fix to properly run my BBB from eMMC? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7cf87e6c-8df7-40e2-beb4-6381329c3275%40googlegroups.com.
