This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3354: U-boot error message

Part Number: AM3354

Tool/software: Linux

Hi

  i'm porting u-boot-2016 from sdk 03.02.00.05 to our customized board.

  And i found there's an error message when SPL is booting from SD card:

U-Boot SPL 2016.05 (Sep 03 2018 - 15:52:06)
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05 (Sep 03 2018 - 15:52:06 +0800)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x EVM
       Watchdog enabled
DRAM:  512 MiB
NAND:  1024 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
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 SROM is         de:ad:be:ef:00:01
Address in environment is  0c:b2:b7:ab:35:52
, eth1: usb_ether
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
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
3595824 bytes read in 254 ms (13.5 MiB/s)
40566 bytes read in 19 ms (2 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x36de30 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff3000, end 8ffffe75 ... OK

Starting kernel ...


I don't know what cause this:

spl_load_image_fat_os: error reading image args, err - -1

 

I remember when i was porting u-boot on AM57xx, there's no such message.

What is this error and how to solve it?

thanks