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.

[omap3evm] nand boot

Other Parts Discussed in Thread: AM3517


Hi,

I'm trying to boot my mistral omap3evm board on NAND, but it doesn't work. I only get "40W" on UART3 and nothing else on any UART.
Where can I find x-load and u-boot images to write on NAND ?
Does anybody can tell me the modifications in x-load source code to make it booting on NAND ?

Regards,
David.

  • When following this : http://processors.wiki.ti.com/index.php/How_to_Flash_Linux_System_from_U-boot

    I get that at x-load launch :

    Texas Instruments X-Loader 1.46 (Apr 19 2011 - 15:27:20)
    ECC Failed, page 0x00080100
    0 28 e8 80 0 0 a0 e3 17 f 8 ee 15 f 7 ee 10 f 11 ee 2 a c0 e3 7 0 c0 e3 2 0 80 e3 2 b 80 e3 10 f 1 ee e c0 a0 e1 80 7 0 eb c e0 a0 e1 e f0 a0 e1 0 0 a0 e1 0 0 a0 e1 4 d1 1f e5 1 d7 4d e2 88 d0 4d e2 0 e0 8d e5 0 e0 4f e1 4 e0 8d e5 13 d0 a0 e3 d f0 69 e1 f e0 a0 e1 e f0 b0 e1 48 d0 4d e2 ff 1f 8d e8 34 21 1f e5 1 27 42 e2 88 20 42 e2 c 0 92 e8 48 0 8d e2 34 50 8d e2 e 10 a0 e1 f 0 85 e8 d 0 a0 e1 c0 a 0 eb 0 0 a0 e1 0 0 a0 e1 4 d0 4d e2 0 0 8d e5 6c 1 1f e5 1 7 40 e2 88 0 40 e2 0 e0 80 e5 0 0 4f e1 4 e0 80 e5 0 0 9d e5 4 d0 8d e2 48 d0 4d e2 ff 1f 8d e8 94 21 1f e5 1 27 42 e2 88 20 42 e2 c 0 92 e8 48 0 8d e2 34 50 8d e2 e 10 a0 e1 f 0 85 e8 d 0 a0 e1 a0 a 0 eb 0 0 a0 e1 0 0 a0 e1

    Does anybody have a clue ?

  • Ok, I solved my problem with a "nand erase" and the wiki page above

  • I'm using the LogicPD  AM3517EVM and have tried the procedure in listed in the wiki. Naturally, setting it to boot from NAND requires setting different DIP switches. Unfortunately, I am not able to see u-boot start.

    I have also tried using the flash tool and that results in ECC errors.

    The board does boot fine off the SD card and runs a full version of android-rowboat (gingerbread). I am trying to set the board to boot off NAND from the prebuilt images.

    Can anyone point me to instructions to do this?

  • If you are using 2.6.32 based release version (<=PSP03.00.01.06) then, you can refer to the PSP User Guide (http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_03.00.00.05_UserGuide) for how to get NAND boot mode working on AM3517.

    Thanks,

    Vaibhav

  • Hi David,

             Check whether the NAND is loaded with x-load and u-boot to boot the board with NAND.

    http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_03.00.00.05_UserGuide#Flashing_U-boot

     

    Regards,

    N.S.SriHarsha

  • I found the answer in a file called reflash-micron that detailed the correct memory locations. Once I used these, I was able to get u-boot running from NAND. Here's the code of interest.

    The procedure is to read memory blocks from the SD card and place into ram. Then, write to specific NAND locations. The code here reads into ram location 0x82000000.

    Write x-load:  nandecc hw; nand write.i 0x82000000 0 80000

    Write u-boot: nandecc sw; nand write.i 0x82000000 80000 1e0000

    Write kernel: nandecc sw; nand write.i 0x82000000 280000 500000

    The next test is to write the filesystem.

    Thanks for the replies.