Hi there
I'm trying to run a self-built u-boot on a TO3 efikamx, but all my attempts at using a self-built u-boot or booting from SD have failed.
I understand that efikamx has SPI flash, external SD, and internal micro-SD and can boot on either depending on the DIP switches.
I tried setting the DIP switches to off, off, off, on as to boot from external SD, and dd-ed uboot-efikamx-1.1.8/u-boot.bin to SD; this is from uboot-efikamx-1.1.8.tar.lzma which was on
http://www.powerdeveloper.org/platforms ... x/firmware but pressing the power button, I get no serial output and the LED remain off.
NB:
http://www.powerdeveloper.org/platforms ... x/firmware is currently empty; not sure whether it's on purpose
I tried a self-built u-boot.bin from the gitorious u-boot tree at
http://www.gitorious.org/efikamx/uboot-efikamx which I build with:
Code:
make CROSS_COMPILE=arm-linux-gnueabi- distclean
make CROSS_COMPILE=arm-linux-gnueabi- efikamx_config
make CROSS_COMPILE=arm-linux-gnueabi- -j2
using the armel cross-compiler found in Ubuntu maverick (gcc-arm-linux-gnueabi package).
the resulting u-boot.bin is padded, so I'm dd-ing it straight to SD as well, but I get the same results.
I also tried loading a self-built u-boot.bin in memory: booting with the default SPI u-boot and loading my u-boot from SD with:
mmcinit; fatload mmc 0 ${loadaddr} u-boot.bin; go 0x900083C0
(0x900083C0 is ${loadaddr} + 0x400 since u-boot.bin is padded)
I would have tried loading an ELF u-boot instead, but bootelf isn't available in the default SPI u-boot.
I also tried loading the default SPI u-boot from SPI flash to ${loadaddr} just to confirm that works, and it does work somewhat:
Code:
U-Boot# sf probe 0:1 25000000 3
JEDEC ID: 0xbf:0x25:0x4a
4096 KiB SST25VF032B - 4MB at 0:1 is now current device
U-Boot# sf read ${loadaddr} ${uboot_addr} ${filesize}
Reading SPI NOR flash 0x0 [0x79c3b bytes] -> ram 0x90007fc0
SUCCESS
U-Boot# go 0x90007fc0
## Starting application at 0x9000�
U-Boot 2009.01-1.2.19-lange51 (May 06 2010 - 11:52:45)
CPU: Freescale i.MX51 family 3.0V at 800 MHz
mx51 pll1: 800MHz
mx51 pll2: 665MHz
mx51 pll3: 216MHz
ipg clock : 66500000Hz
ipg per clock : 665000000Hz
uart clock : 66500000Hz
cspi clock : 54000000Hz
Board: MX51 LANGE51 3.0 [POR]
DRAM: 512 MB
*** Warning - bad CRC, using default environment
but I don't get a prompt on the serial line.
Finally, I also tried u-boot.bin from u-boot mainline built for mx51evk (Babbage) as suggested by a co-worker, but this didn't work either.
Does someone have a procedure to build u-boot from source and run it?
Thanks!