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.

AM1808 U-Boot Specification

Other Parts Discussed in Thread: AM1808, OMAP-L138

Hi,

I have Calixto TI Board based on AM1808. Board has two boot modes, UART2 and NAND.

I have flushed UBL binary file "ubl_AM1808_NAND.bin using AISgen utility.

Here is the console prompt me u-boot.

------------------------------------------------------------------------------------------------------------------------------------------------------------------

U-Boot 2009.11 (May 07 2011 - 10:41:02)

I2C:   ready
DRAM:  128 MB
NAND:  128 MiB
MMC:   davinci: 0
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00

Hit any key to stop autoboot:  3  2  1  0
Card did not respond to voltage select!
U-Boot >

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Serial flash utility (OMAP-L138_FlashAndBootUtils_2_30) in PSP didn't work to flush binary file.

Upto this step Do i need further to NAND flush u-boot.bin ?

If yes then How? May i use NAND commands at u-boot prompt to NAND flush u-boot binary (big doubts).

If no then should i proceed with uImage via tftpboot option in between  host (PC) target (Board).

Please help me.

Thank you

Regards,

Shweta

 

 

  • The best way would be to flash the NAND itself. You can do this in u-boot by TFTP'ing the boot image over and writing it to the NAND.

    Or alternatively you can use the serial flasher. You will have to modify and rebuild to work with your board (different DDR timings, possibily different peripheral numbers) but it should work.

    Jeff

  • Hi,

     

    I have tried to NAND flush kernel image using TFTP server on ubuntu.

    I have also configured file system to mount via NFS on ubuntu.

    Here is the command line procedure i followed..........

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------

    >setenv nfshost 192.100.100.123

    >setenv rootpath /usr/local/tisdk.../targetNFS

    >setenv serverip 192.100.100.123

    >setenv autoload no

    >dhcp

    >setenv bootfile uImage-2.6.33-rc4

    >setenv tftpblocksize 512

    >tftp 0xc0700000 uImage-2.6.33-rc4

    >nand erase 0x200000 0x200000

    >nand write.e 0xc0700000 0x200000 0x200000

    >setenv bootcmd 'dhcp;bootm'

    >setenv bootargs console=ttyD0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=${nfshost}:${rootpath},nolock mem=32M

    >saveenv

    >boot

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Here i am facing one problem ?

    When i restart the board in NAND boot mode, kernel boot image is not located.

    bootm failure occur and kernel does not boot.

    Although i am trying to make SD card bootable with kernel in boot partition and file system in second partition but still i want to know in above procedure if something i need to take care writing kernel in NAND flash.

    Thanks a lot to reply me

    Regards,

    Sweta Ruhela

  • What boot mode were you using to get to the U-boot prompt when you set the boot arguments?

    So when you type "boot" in U-boot it will boot, but when you restart the board it fails, is that corrrect? Try doing a NAND read from U-boot manually and seeing if you can boot that way.

    Jeff