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.

Error in creating a SD-card for am-1808 (Kernel Image not found)

Hi !

i am trying to create a sd card similar to the one that ships with the board, i followed these steps:

1. Created two partitions (boot and rootfs)

2. flash the uboot using uflash utility.

3. copy the file system to the rootfs

4. copy the uImage to boot

when i insert the card in the board and try to boot the card from sd card, i got the error "kernel image not found", here is the output of the uboot.

Booting with TI UBL
Device OPP (456MHz, 1.3V)

U-Boot 2009.11 (Apr 15 2011 - 13:22:24)

I2C:   ready
DRAM:  64 MB
MMC:   davinci: 0
In:    serial
Out:   serial
Err:   serial
ARM Clock : 456000000 Hz
DDR Clock : 132000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00

Hit any key to stop autoboot:  0
reading uImage
Invalid FAT entry

** Unable to read "uImage" from mmc 0:1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!

can anyone tell how to resolve this issue ?

In the documentation it is mentioned to simply copy the uImage to the /boot, but how would the u-boot know the address of the uImage ?

regards

usama

  • Usama,

    The process of creation of sd card has been automated using the mksdboot.sh script in the DVSDK. Please look at the software developers guide for details of creation of SD card. Can you also post your boot args so that we can confirm that for your setup.

    Generally such question get better answers on linux forums so let me will move this to the linux forum.

    Regards,

    Rahul

  • Rahul,

    I have followed the above procedure again, but now i am stuck here:

    Booting with TI UBL
    Device OPP (456MHz, 1.3V)

    U-Boot 2009.11 (Oct 05 2010 - 15:33:58)

    I2C:   ready
    DRAM:  64 MB

    Now even the u-boot is not properly loaded, i cannot post the u-boot args.

  • I tried the create-sdcard.sh (from the bin folder of the sdk) ,it gave me the following error:

    Copying boot partition

    MLO file not found

    u-boot.bin copied

    u-boot.img file not found

    uImage copied

    Copying rootfs System partition
    Written 100%  

    Syncing...
     
    Un-mount the partitions
    umount2: Invalid argument
    umount: boot: not mounted
     
    Remove created temp directories
     
    Operation Finished

    My sdk version is , 5.04.00.00

  • Update:

    i created u-boot.image file,and placed it in the sdk folder

    but still i got the same error

    Booting with TI UBL
    Device OPP (456MHz, 1.3V) Boot failed