共1条
1/1 1 跳转至页
Building Boot ROM images in Tornado 2.0
Building Boot ROM images in Tornado 2.0
DESCRIPTION: There is no provision in the project tool for building boot ROMs.
RESOLUTION: There are two ways to build boot ROMS.
In both cases we suggest copying your bsp located in target/config/bsp-name to another directory such as target/config/bsp-name_boot. This will allow you to preserve the original BSP. For the purposes of this summary I have copied the mv2700 bsp to target/config/mv2700_boot.
You will have to configure your BSP by hand in the same way you did in Tornado 1.0.1. Configuration changes in your project will not affect the bsp. However, if you do not make a copy of the bsp directory and make your changes to it, then all subsequent projects based upon this bsp will have these changes reflected in them.
To build from GUI:
From the menu select Build->Build Boot ROM. A dialog box named 'Build Boot ROM' will appear with two select boxes in it. In the 'Select a BSP' box, select mv2700_boot. In the 'Select an Image to build' box, select bootrom or whatever image you are trying to build. Click OK. You will now see the build process begin.
Note: Unlike a build of vxWorks image in the project tool where your object module will be located in target/proj/project-name/build-name/, a build of a boot ROM from this menu will be located in /target/config/bsp-name. In the example for this summary, the file was target/config/mv2700_boot/bootrom.
To build from command line:
Open an msDos window.
Change directories into host/x86-win32/bin and run torVars.bat
G:\Tornado2_PPC\host\x86-win32\bin>torVars
G:\Tornado2_PPC\host\x86-win32\bin>rem Command line build environments
G:\Tornado2_PPC\host\x86-win32\bin>set WIND_HOST_TYPE=x86-win32
G:\Tornado2_PPC\host\x86-win32\bin>set WIND_BASE=G:\Tornado2_PPC
G:\Tornado2_PPC\host\x86-win32\bin>set PATH=G:\Tornado2_PPC\host\x86-win32\bin;D
:\WINNT\system32;D:\WINNT;c:\diab\4.1a\win32\bin;C:\atria\bin;C:\Program Files\V
antive7.0
G:\Tornado2_PPC\host\x86-win32\bin>
Change directories to your bsp and type make bootrom.
关键词: Building images Tornado
共1条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 | |
【FRDM-MCXN947评测】核间通信MUTEX被打赏50分 |