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/AM5728: U-Boot fails on IDK

Part Number: AM5728
Other Parts Discussed in Thread: PMP

Tool/software: Linux

Hi,

I am trying to use the latest u-boot 2018.1 on the AM572x IDK board.
I compiled and when Im trying to load the application image, it either crashes(Prefetch abort) or just hangs at "loading the application.."
I used "am57xx_evm_defconfig" for compiling and generating the MLO and u-boot images.
Could you please help me understand the probelm and probably a fix for this issue?

I took the u-boot from latest Linux SDK release for AM572x (4.02) and the result is same

U-Boot SPL 2018.01 (Feb 28 2018 - 14:32:42)
DRA752-GP ES2.0
Trying to boot from MMC1
MMC Device 1 not found
*** Warning - No MMC card found, using default environment

reading u-boot.img
reading u-boot.img

U-Boot 2018.01 (Feb 28 2018 - 14:32:42 -0500)

CPU : DRA752-GP ES2.0
Model: TI AM5728 IDK
Board: AM572x IDK REV 1.3B
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:

## Starting application at 0x84100000 ...
data abort
pc : [<84104718>] lr : [<00000000>]
reloc pc : [<049d3718>] lr : [<808cf000>]
sp : 4037fce8 ip : 00000000 fp : 00000002
r10: 841004fc r9 : fdf10ed8 r8 : 00000000
r7 : fff3542d r6 : 84000000 r5 : 00000000 r4 : fdf1a51c
r3 : 00000000 r2 : 00000000 r1 : e1a0a001 r0 : 00020000
Flags: Nzcv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

resetting ...


NOTE:
I have 2016.9 version of precompiled binaries, they boot the AM572x IDK fine.

I also tried commenting out the line "#CONFIG_SPL_LOAD_FIT=y" in 2018.1

Thanks in advance.
Rohit