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 WinCE 6.0 Nk.bin and FAT on NAND Flash

Other Parts Discussed in Thread: AM1808, OMAPL138

Dear sir,

I have Am1808 EVM from Logic PD.I want to use it with WINCE 6.0 BSP supplied by Texas. I want to use SPI flash to store ais file and Eboot and NAND flash for 

Nk.bin and USER data partition(Eg FAT). For booting it is all right with ais-Eboot in SPI flash and i can download nk.bin from network and also mount whole  NAND  as

partition.

1) But i don't have any idea about how to make raw space in nand for nk.bin and remaining as FAT partition.

2) Can i Put some code in Eboot to store nk.bin at starting of flash and make FAT partition of remaining ?

 

  • Rashmin,

    The code (currently commented out) for functions ReadNKFromNAND() and WriteNKToNAND() in platform\omapl138_am18x\src\boot\eboot\spiflash\flash.c is probably what you are asking for.  Take a look and it may give you a start.

    Regards,

    WM

  • Thanks sir,

    i will try this on my new build.One more question,

    1) There is option in EBOOT to write downloaded NK.bin to flash, when i flash eboot to NAND and then enable Write NK.bin to flash, it download image from network and flash it to internal NAND after that OS is started but when i reboot my board and enable to boot from NAND it reads from NAND and nothing happens. I will try 2 times again but      there is nothing else. I think there is problem in image load addressing.