Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
rt-smart
全志_RISCV_D1_D1S
目前最新版的userapps如何安装D1s环境
发布于 2024-01-09 15:07:54 浏览:545
订阅该版
https://club.rt-thread.org/ask/article/bd9c5cb55e0bc8f5.html 目前按照这个指南安装D1s的环境 1. 最新代码直接找不到 tools/get_toolchain.py 和 smart-env.sh,按照最新代码的Readme.md去安装,在xmake f -a riscv64时hui'chu'xian'bao'cu会出现报错,报错信息如下: ```shell xmake f -a riscv64 note: install or modify (m) these packages (pass -y to skip confirm)? in repo: -> ffmpeg 5.1.3 -> zlib v1.2.13 [from:sdl2_image,libpng] -> busybox 1.35.0 -> micropython 1.20.0 -> sdl2 2.0.16 [from:sdl2_image] -> libpng v1.6.39 [from:sdl2_image] -> libjpeg v9e [from:sdl2_image] -> sdl2_image 2.0.5 please input: y (y/n/m) y => install zlib v1.2.13 .. failed bad argument #1 to 'gsub' (string expected, got nil) if you want to get more verbose errors, please see: -> /home/oxlm/.xmake/cache/packages/2401/z/zlib/v1.2.13/installdir.failed/logs/install.txt => install busybox 1.35.0 .. failed bad argument #1 to 'gsub' (string expected, got nil) if you want to get more verbose errors, please see: -> /home/oxlm/.xmake/cache/packages/2401/b/busybox/1.35.0/installdir.failed/logs/install.txt => download https://github.com/micropython/micropython/releases/download/v1.20.0/micropython-1.20.0.tar.xz .. failed we can also download these packages manually: - https://github.com/micropython/micropython/releases/download/v1.20.0/micropython-1.20.0.tar.xz to the local search directories: - micropython-1.20.0.tar.xz and we can run `xmake g --pkg_searchdirs=/xxx` to set the search directories. => install ffmpeg 5.1.3 .. failed bad argument #1 to 'gsub' (string expected, got nil) if you want to get more verbose errors, please see: -> /home/oxlm/.xmake/cache/packages/2401/f/ffmpeg/5.1.3/installdir.failed/logs/install.txt error: install failed! ``` 2. 切换回和D1s差不多的版本安装环境,目前也是存在问题的,报错信息如下: ```shell oxlm@IT000:~/workspace/rt-smart/userapps$ python3 tools/get_toolchain.py riscv64 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 666, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 388, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.8/http/client.py", line 1256, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output self.send(msg) File "/usr/lib/python3.8/http/client.py", line 951, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 187, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError:
: Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 720, in urlopen retries = retries.increment( File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='117.143.63.254', port=9012): Max retries exceeded with url: /www/rt-smart/riscv64/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu_latest.tar.bz2 (Caused by NewConnectionError('
: Failed to establish a new connection: [Errno 110] Connection timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "tools/get_toolchain.py", line 63, in
ci.downloadFile(zfile, URL) File "/home/oxlm/workspace/rt-smart/userapps/tools/ci.py", line 25, in downloadFile r = requests.get(url, stream=True, headers=headers) File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 648, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='117.143.63.254', port=9012): Max retries exceeded with url: /www/rt-smart/riscv64/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu_latest.tar.bz2 (Caused by NewConnectionError('
: Failed to establish a new connection: [Errno 110] Connection timed out')) ``` 疑问,是否有什么办法可以安装上D1s的开发环境?
查看更多
1
个回答
默认排序
按发布时间排序
yzwguet
2024-01-16
活到老学到老
看了下,好像之前的python脚本都换成lua脚本了,脚本路径也发生了变化。希望RT-Thread官网大牛给个搭建说明。
撰写答案
登录
注册新账号
关注者
1
被浏览
545
关于作者
oxlm
这家伙很懒,什么也没写!
提问
10
回答
103
被采纳
8
关注TA
发私信
相关问题
1
rt-smart发布时间
2
rt-smart qemu-vexpress-a9 编译报错
3
rt-smart分支编译rasp4-32bsp报错
4
rt-smart qemu-vexpress-a9 win10编译脚本问题
5
rt-smart qemu-vexpress-a9 linux 下crtl+c
6
rt-smart + pthread 编译报错
7
rt-smart的rt_channel实现问题
8
关于rt-smart的musl-libc
9
RT-Smart Windows 编译 qemu-vexpress-a9 出错
10
用户程序在RT-Smart存在的方式
推荐文章
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
本月问答贡献
出出啊
1518
个答案
343
次被采纳
小小李sunny
1444
个答案
290
次被采纳
张世争
813
个答案
177
次被采纳
crystal266
547
个答案
161
次被采纳
whj467467222
1222
个答案
149
次被采纳
本月文章贡献
出出啊
1
篇文章
5
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
3
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部