Hey, I've been really struggling through getting an AM3352 board booted and I really have no idea why. It's not a complex board. I have u-boot 100% up and running, and what I think is a good dtb. I used the SDK create-sdcard script to create an SD card based on existing files, then used my customized u-boot and dtb and I can't seem to get it to boot. Below is my boot log:
CPU : AM335X-GP rev 2.1 DRAM: 256 MiB Reset Source: Global external warm reset has occurred. Reset Source: Global warm SW reset has occurred. Reset Source: Power-on reset has occurred. RTC 32KCLK Source: External. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from EXT4... ** Unable to use mmc 0:1 for loading the env ** board_name: EPN11291 <ethaddr> not set. Validating first E-fuse MAC eth0: ethaddr: F4:E1:1E:A9:AF:89 Net: eth0: RGMII MODE cpsw Press SPACE to abort autoboot in 5 seconds switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 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 4280832 bytes read in 696 ms (5.9 MiB/s) loading /am335x-epn11291.dtb ... data abort pc : [<8ffba55e>] lr : [<8ffba597>] reloc pc : [<8083355e>] lr : [<80833597>] sp : 8df66478 ip : 8fffffff fp : 00000001 r10: 00000002 r9 : 8df66eb8 r8 : 8ffd4200 r7 : 8ffd41fc r6 : 00000000 r5 : 8df6f84c r4 : 00000000 r3 : 00000010 r2 : 00000010 r1 : 8df66484 r0 : 00000000 Flags: nZCv IRQs off FIQs on Mode SVC_32 Code: f0135cd3 d0120f44 600b2310 2b10680b (7803d10c) Resetting CPU ... resetting ...
I don't know what all the stuff post data abort is all about I'm using the include/config/am335x_evm.h file as is, with the lds line changed to point to my lds. It seems like it may not be trying to boot from the right partition?
Here's a grab of "mmc info" for the mmc0 device (the SD card)
=> mmc info Device: OMAP SD/MMC Manufacturer ID: 2 OEM: 544d Name: SA04G Bus Speed: 48000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 3.6 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes => mmc part Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 143360 2e6ff7b8-01 0c Boot 2 145408 7448576 2e6ff7b8-02 83 =>
It looks like everything in am335x_evm.h points to partition 2 so I have no idea what's going on. I can't be all that far off from making this work and I really need some help.
Adam