Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread English
Howto Run RT-Thread 0.4.0 on QEMU/mini2440
发布于 2010-12-01 21:36:03 浏览:7034
订阅该版
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 ![scons.jpg](/uploads/88_862c4c6c0b08d2bf28e504e2c4f8c6cf.jpg) 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 ![rtconfig.jpg](/uploads/88_72fe6288f914af6c811f14d2eb07dddf.jpg) 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. ![friendly.jpg](/uploads/88_dab4887479fce051acf410e955a1aea2.jpg) 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. ![qemu.jpg](https://oss-club.rt-thread.org/uploads/88_ce629d7ae8a1e1cc31b040c76e4ceb6e.jpg)
查看更多
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
【RT-Thread】【ci】【scons】将ci.attachconfig.yml和scons结合使用
2
Rt-thread中OTA下载后,bootloader不搬程序
3
ulog 日志 LOG_HEX 输出时间改为本地日期时间
4
在RT-Thread Studio中构建前执行python命令
5
研究一了一段时间RTT,直接标准版上手太难,想用nano,但又舍不得组件
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
I2C_IIC
ESP8266
UART
WIZnet_W5500
ota在线升级
cubemx
PWM
flash
freemodbus
BSP
packages_软件包
潘多拉开发板_Pandora
定时器
ADC
flashDB
GD32
socket
编译报错
中断
Debug
rt_mq_消息队列_msg_queue
SFUD
msh
keil_MDK
ulog
C++_cpp
MicroPython
本月问答贡献
xusiwei1236
8
个答案
2
次被采纳
踩姑娘的小蘑菇
1
个答案
2
次被采纳
用户名由3_15位
9
个答案
1
次被采纳
bernard
4
个答案
1
次被采纳
RTT_逍遥
3
个答案
1
次被采纳
本月文章贡献
聚散无由
2
篇文章
15
次点赞
catcatbing
2
篇文章
5
次点赞
Wade
2
篇文章
4
次点赞
Ghost_Girls
1
篇文章
7
次点赞
xiaorui
1
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部