Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

AM335x MLO boot issue

$
0
0

Our custom board MLO can't boot correct , hang in second read u-boot.img stage.

I know maybe is hardware issue , but i don't have any idea to check what happen.

==== Error ===============================================================

in mmc_load_image_fat() function :

file_fat_read #1(64 Bytes) -> Read u-boot.img header
reading u-boot.img to address : 0x800fffc0 , size : 64

...................

spl: payload image: U-Boot 2011.09 for am335x board load addr: 0x800fffc0 size: 259200  -> spl_parse_image_header() can parse correct info.

When return mmc_load_image_fat() , i try show the spl_image struct info : 

debug("*** spl: payload image: %s load addr: 0x%x size: %d\n", spl_image.name, spl_image.load_addr, spl_image.size);

The result is  : *** spl: payload image: <NULL> load addr: 0x0 size: 0


reading u-boot.img to address : 0x800fffc0 , size : 64 -> I try fix the load_addr in 0x800fffc0

do_fat_read() ...Error: reading block

==== Full log  =============================================================


U-Boot SPL 2011.09 (Mar 28 2013 - 11:36:57)
Texas Instruments Revision detection unimplemented
### Use AM335x_SK V1.2 setting ###
>>board_init_f()
>>spl:board_init_r()
### Use AM335x_SK V1.2 setting ###
No daughter card present
Use [SK_BOARD 5] pin mux
boot device - 8
spl_mmc_load_image()
OMAP SD/MMC: 0
find_mmc_device()
mmc_init()
find_mmc_device()
spl_mmc_load_image() : boot_mode = 2
boot mode - FAT
mmc_load_image_fat()
find_mmc_device()
find_mmc_device()
file_fat_read #1(64 Bytes)
reading u-boot.img to address : 0x800fffc0 , size : 64
do_fat_read() ...find_mmc_device()
success
VFAT Support enabled
FAT32, fat_sect: 6060, fatlength: 1066
Rootdir begins at cluster: 2, sector: 8192, offset: 400000
Data begins at: 8190
Cluster size: 1
FAT read sect=8192, clust_size=1, DIRENTSPERBLOCK=16
find_mmc_device()
Rootvfatname: ||
RootMismatch: |boot||
RootMismatch: |mlo||
Rootvfatname: |u-boot.img|
RootName: u-boot.img, start: 0x2153, size: 0x3f480
Filesize: 259200 bytes
64 bytes
gc - clustnum: 8531, startsect: 16721
gc - clustnum: 8531, startsect: 16721
find_mmc_device()
Size: 0, got: 64
spl: payload image: U-Boot 2011.09 for am335x board load addr: 0x800fffc0 size: 259200
*** spl: payload image: <NULL> load addr: 0x0 size: 0
reading u-boot.img to address : 0x800fffc0 , size : 64
do_fat_read() ...Error: reading block
Error: reading boot sector
spl: error reading image u-boot.img, err - -1
### ERROR ### Please RESET the board ###


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>