Comment 2 for bug 506761

Revision history for this message
Alexander Sack (asac) wrote :

i can get a working image it seems using the following steps:

 1. get a current redboot lucid image; put that on the sd card

 2. get the current uboot.bin from archive

 3. sudo dd conv=notrunc if=uboot-imx51_to3.bin of=/dev/mmcblk0 bs=512 skip=1 seek=1

 4. copy the uImage produced by our script uboot-image-script to the fat partition:
        cp uImage /media/4B4C-AB5E/

 5. check the uImage: (optional step)

mkimage -l /media/4B4C-AB5E/uImage
Image Name: LinuxRocks
Created: Mon Jan 11 15:54:24 2010
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3062156 Bytes = 2990.39 kB = 2.92 MB
Load Address: 0x90008000
Entry Point: 0x90008000

 6. umount, plug sd into board and load to success:

U-Boot 2009.08 (Jan 11 2010 - 11:22:01)

CPU: Freescale i.MX51 family 2.0V at 400 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 BABBAGE 3.0 [POR]
Boot Device: MMC
DRAM: 512 MB
MMC: FSL_ESDHC: 0
JEDEC ID: 0xbf:0x25:0x41
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC0 [PRIME]
Hit any key to stop autoboot: 0
BBG U-Boot > mmcinfo
Device: FSL_ESDHC
Manufacturer ID: 3
OEM: 5344
Name: SD04G
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 1945882623
Bus Width: 4-bit
BBG U-Boot > fatls mmc 0:2 /
            casper/
            dists/
            pics/
            .disk/
            install/
            preseed/
            pool/
     3246 md5sum.txt
      228 readme.diskdefines
  3062220 uimage

3 file(s), 7 dir(s)

BBG U-Boot > fatload mmc 0:2 0x90008000 /uimage
reading /uimage

3062220 bytes read
BBG U-Boot > iminfo 0x90008000

## Checking Image at 90008000 ...
   Legacy image found
   Image Name: LinuxRocks
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3062156 Bytes = 2.9 MB
   Load Address: 90008000
   Entry Point: 90008000
   Verifying Checksum ... OK