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.

OMAPL138 NOR FLASH启动 uboot移植

Other Parts Discussed in Thread: OMAP-L138, OMAP-L137

TI专家,大家好:

        手头有块板子,OMAPL138外接的是NOR FLASH,我想自己移植个uboot从NOR  FLASH启动,我google了一下,发现OMAPL138 关于从NOR FLASH启动,移植uboot的资料很少,跪求TI专家、各位大神推荐一些资料,对于uboot我完全小白,请大家指引,谢谢!

  •  

    参照wiki上的说明,改一下配置即可:

    http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#Rebuilding_U-Boot

    The compiled u-boot.bin file will be created in the same directory.

    1. To change the default options, the EVM configuration file needs to be edited.
      • for OMAP-L138 (or DA850, AM18xx) EVM are specified in the include file include/configs/da850evm.h
      • for OMAP-L137 (or DA830, AM17xx) EVM are specified in the include file include/configs/da830evm.h

    To change U-Boot environment area location or size:

    • CONFIG_ENV_SIZE Configures the environment variable size.
    • CONFIG_ENV_OFFSET Configures the environment variable offset.

    Choice of Flash supported. Note: Only one of these Flash options should be defined at a time. Defining more than one Flash option results in a compilation error when you build U-Boot:

    • CONFIG_USE_SPIFLASH If this flag is defined, U-Boot supports the SPI flash on the EVM board. The environment variables are stored on the SPI flash. This option is switched on by default.
    • CONFIG_SYS_USE_NAND If this flag is defined, U-Boot supports U-Boot NAND flash access using the OMAP-L1 SoC. Environment variables are also stored on the NAND flash.
    • CONFIG_SYS_USE_NOR If this flag is defined, U-Boot supports U-Boot NOR flash access using the OMAP-L1 SoC. Environment variables are also stored on the NOR flash.
  • 我看了相关说明,但是好像没有提及到怎么下载啊