I have BBB board . I use this device with Buildroot. Some days ago i decide to switch on new release of Buildroot. Generated Image perfectly working from external SD card. But when i copy hhis Image to eMMC
boot is failed. Uboot tryed boot from another sysrems. But when, i type in uboot prompt "boot" system booted succesfully.
U-Boot 2020.04 (Nov 05 2020 - 22:34:11 +0700)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
WDT: Started with servicing (60s timeout)
NAND: nand_base: timeout while waiting for chip to become ready
nand_base: No NAND device found
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... MMC: no card present
mmc_init: -123, time 2
In: serial@44e09000
Out: serial@44e09000
Err: serial@44e09000
<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 7c:66:9d:0c:55:fb
, eth1: usb_ether
Hit any key to stop autoboot: 0
MMC: no card present
mmc_init: -123, time 1
MMC: no card present
mmc_init: -123, time 2
MMC: no card present
mmc_init: -123, time 2
MMC: no card present
mmc_init: -123, time 2
MMC: no card present
mmc_init: -123, time 2
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
40817 bytes read in 8 ms (4.9 MiB/s)
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
## Error: "bootcmd_nand0" not defined
starting USB...
When failed:
=> <INTERRUPT>
=> boot
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
340 bytes read in 2 ms (166 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
6090952 bytes read in 446 ms (13 MiB/s)
40817 bytes read in 8 ms (4.9 MiB/s)
bootargs=console=ttyS0,115200n8 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff3000, end 8fffff70 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
uboot config : am335x_evm_defconfig
uEnv.txt from
vfat partition eMMC
# cat /mnt/uEnv.txt
bootpart=1:1
devtype=mmc
bootdir=
bootfile=zImage
bootpartition=mmcblk1p2
console=ttyS0,115200n8
loadaddr=0x82000000
fdtaddr=0x88000000
set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
uenvcmd= run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}
#