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.

Uboot nand support for OMAPl138

Other Parts Discussed in Thread: OMAPL138

hello, 

So I'm just experimenting with trying to get linux set up on our board, which we normally use WinCE for. I ran into a problem trying to start u-boot which apparently has some configuring for nand devices. I'm trying to find and setup the equivalent driver that matches the generic OmapL138 from eboot and the wince bsp.

Our board does not have a spi chip, and basically the only option is to boot from nand.

  • I'm pretty sure the driver we want is 

    Davinci_nand.c

    as far as i'm concerned I hate linux, I added it to the makefile (<3 catalog) 

    COBJS-y += davinci_nand.o

    I'm mostly guessing at this point :(

  • Kevin,

    There is support for nand boot mode OmapL138 in U-boot, you clone this tree http://git.denx.de/?p=u-boot.git;a=summary

    and perform following steps,

    1: in <src>/include/configs/da850evm.h edit this file,

    by default SPI is enabled so replace #definne CONFIG_USE_SPI to #undef CONFIG_USE_SPI

    and a the following stmt #define CONFIG_USE_NAND.

    2: Cross compile the u-boot.

    3: Flash the uboot onto your board and you are ready to boot from nand.

    Regards,

    --Prabhakar Lad

  • Awesome thanks

    I've got that working, and the next step is seeing if we can kernel debug. Are there any guides on how to set something like this up? I started reading about something called KGdboe module and being able to connect to it on a desktop through a serial port.

  • Kevin61479,

    I've got that working, and the next step is seeing if we can kernel debug. Are there any guides on how to set something like this up? I started reading about something called KGdboe module and being able to connect to it on a desktop through a serial port.

    Kernel debug in the sense you are asking more generic  do you want to debug a driver ? I haven't come

    across  KGdboe module so no idea about this stuff.

    Regards,

    --Prabhakar Lad