Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread English
Howto Run RT-Thread 0.4.0 on QEMU/mini2440
发布于 2010-12-01 21:36:03 浏览:6782
订阅该版
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
被浏览
6.8k
关于作者
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
机器人操作系统 (ROS2) 和 RT-Thread 通信
4
国产MCU移植系列教程汇总,欢迎查看!
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 Vision Board - Bare Metal Project with VSCode/PyOCD/Cortex-Debug
2
【学习分享】libc切换 -- 从newlib切换到mlibc
3
FRDM-MCXN947开发板之i2c应用
4
esp32 s3使用cherryusb cdc
5
【Vision Board 创客营】Vision Board上的DAC实践
热门标签
RT-Thread Studio
串口
LWIP
SPI
Env
Bootloader
AT
ART-Pi
Hardfault
CAN总线
FinSH
USB
文件系统
DMA
RT-Thread
SCons
线程
RT-Thread Nano
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
ota在线升级
WIZnet_W5500
I2C_IIC
UART
flash
cubemx
packages_软件包
freemodbus
潘多拉开发板_Pandora
PWM
定时器
ADC
BSP
中断
编译报错
socket
keil_MDK
GD32
MicroPython
msh
Debug
ulog
SFUD
flashDB
SDIO总线
rt_mq_消息队列_msg_queue
本月问答贡献
用户名由3_15位
19
个答案
3
次被采纳
xiaorui
7
个答案
3
次被采纳
sakumisu
4
个答案
3
次被采纳
踩姑娘的小蘑菇
15
个答案
2
次被采纳
三世执戟
32
个答案
1
次被采纳
本月文章贡献
比特饼干
3
篇文章
8
次点赞
Z_Y
2
篇文章
5
次点赞
Alipay
2
篇文章
3
次点赞
xusiwei1236
2
篇文章
3
次点赞
yinxiangxv
2
篇文章
3
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部