TI论坛
直播中

康选谦

8年用户 228经验值
私信 关注
[问答]

OMAPL138 NOR FLASH启动 uboot移植的资料求分享?

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

回帖(2)

李波

2020-8-13 08:07:15
 
参照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.

  • 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.
                                                                         http://processors.wiki.ti.com/index.php/Main_Page
Think Over Before Asking.
http://www.catb.org/~esr/faqs/smart-questions.html#goal
举报

解丽娟

2020-8-13 08:25:45
引用: lifei639156 发表于 2020-8-13 08:07
 
参照wiki上的说明,改一下配置即可:
http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#Rebuilding_U-Boot

我看了相关说明,但是好像没有提及到怎么下载啊
举报

更多回帖

发帖
×
20
完善资料,
赚取积分