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.

Booting AM1806 from NAND on WinCE BSP

Other Parts Discussed in Thread: AM1808, AM1806, OMAPL138

 Hi Jatin,

I am the customer who inquired about the above mentioned issue (reference: http://e2e.ti.com/support/embedded/f/353/p/65307/235688.aspx#235688 ).

We are planning to use an AM1806 instead of an AM1808 .In that case we cannot download the Nk.bin from Ram to flash.(since this is only possible through the EMAC boot ).


  1. I would like to know is it possible to have the Nk.bin in the SD card and flash it to the NAND when I boot the system for the first time.?????
  2. How can I place the NK.bin in the NAND flash if  the method (1) doesnt work??


Siddharth.

  • Siddharth,

    Flashing NK.bin from SD card to NAND is currently not supported in the WinCE BSP.  You will need to make changes in eboot to support this feature.  

    I believe all the code needed to do so is already there.  The idea should not be too much different from the case when NK.bin is downloaded over ethernet.  Take a look at C:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\BLCOMMON\blcommon.c\DownloadImage( ).  This function is provided by WinCE which calls OEMWriteFlash( ) to write download image to flash under certain conditions (a flag is enabled etc) during system boot up.  The function OEMWriteFlash( ) is implemented in BSP PLATFORM\OMAPL138_AM18X\SRC\BOOT\EBOOT\NANDFLASH\flash.c in the case of NAND. You will then implement similar idea when the boot device is "NK from SD" as defined in boot_cfg.h\g_bootDevices[].

    Hope this helps.

    WM