Hi
We are Planing to Design our IoT Gateway and for this, we are planning to us AM335x Processor and We are developing our Proto Model in Beaglebone Black and we are facing lot of issue in booting from SD card please have a look into the Build process and U-boot log
Toolchain Used for Compiling - gcc-linaro-6.5.0-2018.12- arm-linux-gnueabihf
For Cloning the U-Boot We used - git clone git://git.denx.de/u-boot.git u-boot/
For Compiling U-Boot we Follow below-listed steps -
1. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
2. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_defconfig
3.make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
after that, we successfully generate the required MLO and u-boot.img file and copy it to the boot partition (FAT32) of the SD Card
but we can't access the u-boot terminal
Please find the log
Trying to boot from MMC1
U-Boot 2020.01-00613-gd7bb6aceb2-dirty (Jan 23 2020 - 13:46:53 +0530)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
WDT: Started with servicing (60s timeout)
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
<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 c8:df:84:c9:7d:06
, eth1: usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
370 bytes read in 5 ms (72.3 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
Running uenvcmd ...
Wrong Image Format for bootm command
ERROR: can't get kernel image!
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
mmc_init_stream: timedout waiting for cc!
omap_hsmmc_send_cmd : timeout: No status update
mmc_init_stream: timedout waiting for cc!
omap_hsmmc_send_cmd : timeout: No status update
SD/MMC found on device 1
mmc_init_stream: timedout waiting for cc!
omap_hsmmc_send_cmd : timeout: No status update
## Error: "bootcmd_nand0" not defined
starting USB...
Bus usb@47401800: Port not available.
ethernet@4a100000 Waiting for PHY auto negotiation to complete.....................................................................................................................................................
Thanks in advance