1、重新编译库代码:这里是以开发板evmAM335x为例
Step 4: Rebuilding board library for the modified board
- Setup build environment:
C:\ti\pdk_am335x_1_0_17\packages>pdksetupenv.bat
- Rebuild board library:
C:\ti\pdk_am335x_1_0_17\packages\ti\board>gmake LIMIT_SOCS=am335x LIMIT_BOARDS=evmAM335x
(指令可以看我以前的文章)
2、重新编译出BootLoader
Step 5: Rebuilding the boot loader
After the board library is rebuilt, the application can be built against the new board library. If the secondary boot loader is used to initialize the board, the boot loader will also need to be rebuilt according to section Building AM335x/AM437x Bootloader.
For example, issue following command under <PDK_INSTALL_PATH>/packages/ti/starterware to build MMCSD boot loader for AM335x:
gmake bootloader BUILDCFG=boot BOOTMODE=mmcsd PLATFORM=am335x-evm PROFILE=release -s KW_BUILD=no