Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread English
Howto Run RT-Thread 0.4.0 on QEMU/mini2440
发布于 2010-12-01 21:36:03 浏览:7042
订阅该版
1.Get RT-Thread RTOS source code ?[http://code.google.com/p/rt-thread/downloads/detail?name=rt-thread-0.4.0%20beta1.zip](http://code.google.com/p/rt-thread/downloads/detail?name=rt-thread-0.4.0%20beta1.zip) 2. Install scons build system ?Make sure you have installed python 2.5.x and scons 1.x or 2.x, belowing is the download URL of the software for windows users: 1.[http://www.rt-thread.org/download/python-2.5.2.msi](http://www.rt-thread.org/download/python-2.5.2.msi) 2.[http://www.rt-thread.org/download/scons-2.0.1.win32.exe](http://www.rt-thread.org/download/scons-2.0.1.win32.exe) 3. Install compiler ?You can choose to GNU GCC or armcc as compiler. ?If using gcc compiler, CodeSourcery? toolchain is one of the choice. ?If using armcc, Keil MDK 3.8 IDE is the choice. Make sure you have installed one of them. 4. Edit "bspmini2440 tconfig.py" to configure devlopement environment ?if using gcc compiler, set CROSS_TOOL = 'gcc', else CROSS_TOOL = 'armcc' ?set EXEC_PATH to your toolchains' install path, for example, my EXEC_PATH = E:/Program Files/CodeSourcery/Sourcery G++ Lite/bin [attach]515[/attach] 5. Compile RT-Thread RTOS ?open command line console, suppose you unzip RT-Thread 0.4.0 beta1 under d: t-thread, and install Python 2.5 in C:Python25: cd rt-threadspmini2440 set PATH=C:python25script;%PATH% scons ?rtthread-mini2440.axf and rtthread-mini2440.bin would be created in "bsp/mini2440" direcotry when compiling successfully  6. Run in QEMU/mini2440 emulator ?make sure rtthread-mini2440.axf have been created in "bsp/mini2440" direcotry ?unzip SDCARD.zip file which located in "tools" directory to current directory ?run run-mini2440-sdcard.bat and RT-Thread RTOS would be run  7. Run in mini2440 dev board ?use supervivi's command "d" to load rt-thread.bin from PC to board's SDRAM, load address should be set to 0x30000000. RT-Thread RTOS would be run when loaded sucessfully.  8.burn rt-thread.bin to dev board's nandflash ?install uboot on NANDFLASH ?boot from NANDFLASH ?using uboot's "loadb command" to load rt-thread.bin to 0x30000000 ?then execute command "nand write 0x30000000 0x100000 0x120000" ?then execute command "set bootcmd nand read 0x30000000 0x100000 0x120000/;go 0x30000000" ?then execute command "saveenv" ?then reset and boot from NANDFLASH, rt-thread would be loaded from NANDFLASH to SDRAM's 0x30000000 address by uboot and start running from there. 
查看更多
1
个回答
默认排序
按发布时间排序
撰写答案
登录
注册新账号
关注者
0
被浏览
7k
关于作者
shaolin
这家伙很懒,什么也没写!
提问
115
回答
444
被采纳
0
关注TA
发私信
相关问题
1
Welcome to RT-Thread RTOS English discussion
2
good!
3
The speed of external SRAM of STM32
4
RT-Thread on ST Forum
5
Splay Tree
6
More RTGUI screenshot
7
STM32 pimer2
8
mini2440 support
9
RT-Gui : how can use it?
10
RT-Gui : a simple example
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
MCAX-156 ADC测评
2
【FRDM-MCXA156测评】- CherryUSB与hid鼠标设备模仿
3
【FRDM-MCXA156测评】- 硬件SPI模块
4
【NXP-MCXA156】恩智浦A156上的 IIC(硬件) 实践
5
【FRA156测评DM-MCX】- PWM模块
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
DMA
USB
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
rt-smart
FAL
I2C_IIC
UART
ESP8266
cubemx
WIZnet_W5500
ota在线升级
PWM
BSP
flash
freemodbus
packages_软件包
潘多拉开发板_Pandora
定时器
GD32
ADC
flashDB
编译报错
socket
中断
Debug
rt_mq_消息队列_msg_queue
keil_MDK
ulog
SFUD
msh
C++_cpp
MicroPython
本月问答贡献
出出啊
1520
个答案
343
次被采纳
小小李sunny
1444
个答案
290
次被采纳
张世争
813
个答案
178
次被采纳
crystal266
552
个答案
162
次被采纳
whj467467222
1222
个答案
149
次被采纳
本月文章贡献
出出啊
1
篇文章
5
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
3
次点赞
crystal266
2
篇文章
1
次点赞
whj467467222
2
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部