rt-thread/bsp/nxp/imx/imx6ull-smart/README.md

86 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# RT-Thread Smart for i.MX6ULL
这是一份ART-pi smart开发板的BSP支持smart模式
ART-pi smart采用了米尔科技的imx6ull核心板硬件由韦东山团队完成由社区来完成整体的BSP。硬件规格情况如下
![硬件资源](figures/hw_resources.png)
> ## 当前支持情况
> ### 内核
> * [ ] rt-thread
> * [x] rt-smart
>
> ### 驱动
> * [x] uart
> * [x] SPI
> * [x] GPIO
> * [x] sdcard
> * [x] RW007
> * [x] enet
> * [ ] usb
> * [x] emmc
>
> ### 组件
> * [x] fat文件系统
> * [x] LWIP网络协议栈
> * [x] wlan
>
> ### 应用
> * [x] xmake 构建环境
> * [x] busybox
> * [x] smart-apps
>
> ### 待完善、修复
> * [ ] ash 支持ash开机自启动
> * [ ] 网络 以太网网络问题修复
> * [ ] emmc 从emmc启动内核、挂载文件系统
## 应用编译
参考https://github.com/RT-Thread/userapps.git的README.md搭建xmake编译环境并编译smart应用
生成的应用在userapps/apps/build/rootfs文件夹中将它们拷贝到sd卡中
## 内核编译
* 注意请使用xmake下载下来的工具链工具链具体位置在
```bash
~/.xmake/packages/a/arm-smart-musleabi/211536-3de435f234/f5d0c3febbd2497fa950eb569871a3c0
```
* 更新在线wifi软件包
```bash
source ~/.env/env.sh
pkgs --update
```
* 进入到rt-thread/bsp/nxp/imx/imx6ull-smart目录执行
```bash
scons -j12
```
## 启动内核
* 从eMMC中加载运行(目前不推荐)
```bash
bootcmd=fatload mmc 1:1 0x80001000 /kernel/rtthread.bin; dcache flush; go 0x80001000
```
* 网络方式启动
```bash
tftp 0x80001000 rtthread.bin
dcache flush
go 0x80001000
```
* 从sd卡启动 (目前推荐)
```bash
fatload mmc 0:1 0x80001000 rtthread.bin; dcache flush; go 0x80001000
```