Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread English
Howto Run RT-Thread 0.4.0 on QEMU/mini2440
发布于 2010-12-01 21:36:03 浏览:6988
订阅该版
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
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
2
RT-Thread 发布 EtherKit开源以太网硬件!
3
rt-thread使用cherryusb实现虚拟串口
4
《C++20 图形界面程序:速度与渲染效率的双重优化秘籍》
5
《原子操作:程序世界里的“最小魔法单位”解析》
热门标签
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
ESP8266
I2C_IIC
WIZnet_W5500
UART
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
at_device
ulog
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
a1012112796
13
个答案
2
次被采纳
张世争
9
个答案
2
次被采纳
rv666
5
个答案
2
次被采纳
用户名由3_15位
11
个答案
1
次被采纳
本月文章贡献
程序员阿伟
7
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
大龄码农
1
篇文章
3
次点赞
ThinkCode
1
篇文章
1
次点赞
Betrayer
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部