「RVBoards-哪吒」D1 Debian系统镜像和安装方法



  • RVBoards提供D1上运行Debian系统镜像。

    效果图如下所示:

    运行效果 !

    RVBoards还架设了Debian RISC-V源国内镜像,各位可以测试哦

    编辑/etc/apt/sources.list,增加如下

    deb http://mirrors.perfxlab.cn/debian-ports/ sid main
    deb http://mirrors.perfxlab.cn/debian-ports/ unreleased main
    

    版本 : V0.6

    时间:2021年9月30日
    更新说明:

    • u-boot、env、dtb可以通过脚本程序,更换相应文件,例:

          (1) 更新uboot.bin
      	/RVBoards_demo/rvboards_img/uboot_flush.sh uboot.bin
          (2) 更新uboot env
      	/RVBoards_demo/rvboards_img/uboot_env_flush.sh env.fex
          (3) 更新board.dtb
          /RVBoards_demo/rvboards_img/dtb_flush.sh board.dtb
      
    • sd卡存储空间分布

        (1)文件系统根目录10GB
        (2)扩展存储分区19GB,系统启动后,自动挂载到目录"/opt"
        (3)启动镜像配置,系统启动后,自动挂载到目录"/RVBoards_demo/rvboards_img/bootImg"
            
      
    • 板载led灯设定为心跳灯,每秒闪烁一次

    • 下载方式

          (1)链接:https://pan.baidu.com/s/12jHjOSQvfi57JpypF_N1ug
                提取码:xgb3
          (2)http://perfxlab.cn:8080/rvboards/
      

    镜像烧写方式:

    • (1)windowns系统中PhoenixCard.exe工具烧写

    版本:V0.5

    时间:2021年6月20日
    更新说明:

    • 支持dtb overlay;
    • 优化系统;
    • 预装pinpong库;

    链接:https://pan.baidu.com/s/181WrWBv6mD5pkNVK-CLntw
    提取码:3o5v
    复制这段内容后打开百度网盘手机App,操作更方便哦



    版本:V0.4.1

    时间:2021年6月5日
    更新说明:

    • 整个系统镜像缩减到4GB;
    • 引出设备spidev;

    下载方式:
    链接:https://pan.baidu.com/s/1leAXR2VPHvTqkaDqfeY9ag
    提取码:3o5v

    或者

    PerfXLab小水管



    版本:V0.4

    时间:2021年6月1日
    更新说明:



    版本:V0.3

    时间:2021年5月25日
    更新说明:

    • 更新烧录方式选择;
    • 分别提供LInux环境下烧录镜像和Windows环境下烧录镜像;
    • 更新了wifi;

    下载方法:
    链接:https://pan.baidu.com/s/1kWPPV9SFfGVL5392DaGkYg
    提取码:3o5v
    复制这段内容后打开百度网盘手机App,操作更方便哦


    版本:V0.2

    时间:2021年5月12日
    更新说明:

    • 更新SD卡烧录方式, 烧录SD卡文档
    • 分别提供GUI Desktop镜像和不带GUI Console镜像

    下载方法:

    • 百度网盘, 提取码: 3o5v
    • PerfXLab网站小水管:

    PhoenixCard烧录工具 (md5:3d37138fa27cdb9c60663423215fda29)

    RVBoards D1 Debian LXDE Desktop镜像 (md5:d1a5108113f431831075b5e38123e52d)

    RVBoards D1 Debian Console (无GUI) 镜像 (md5:f05cab99fbdb483a778b81ad48b9011a)


    版本:V0.1

    时间:2021年5月2日
    更新说明:

    • Debian 系统,Linux 5.4, LXDE桌面环境

    • 下载方法:
      首选:百度网盘 提取码:2gdp


    如果有使用问题,请在本贴回复提问,谢谢。



  • 加上 [trusted=yes] 就好了

    deb [trusted=yes] http://mirrors.perfxlab.cn/debian-ports/ sid main
    deb [trusted=yes] http://mirrors.perfxlab.cn/debian-ports/ unreleased main
    


  • E: The repository 'http://mirrors.perfxlab.cn/debian-ports sid Release' no longer has a Release file.



  • This post is deleted!


  • @chshwei「RVBoards-哪吒」D1 Debian系统镜像和安装方法 中说:

    新下载镜像制作,现在已扩展到10GB,可以满足

    好的好的



  • @aixb 请重新下载镜像制作,现在已扩展到10GB,可以满足大部分人的需求,后续会推出自动扩展内存空间的版本,谢谢反馈



  • 我说的是刚发布的0.6版本



  • This post is deleted!


  • 系统分区5g太小了,能够把系统调大,5g装一些依赖就没有空间了,希望能对python的pip支持



  • @phebe
    弄清楚了,镜像分为两种版本,windows和linux,目前0.4版本提供了win和linux两种平台的烧录镜像。

    而0.4.1和0.5目前只提供了linux平台的烧录镜像。

    上图中,在windows平台,使用了linux的烧录镜像,所以报错



  • 7a374162-d714-4496-98da-272bb4be8886-image.png

    各位怎么解决啊?



  • @traits v0.5 版本的 win 版本下载镜像什么时候可以释放出来?



  • 使用官方推荐的PhoenixCard烧写SD卡出错。如图:1.png



  • @aiminick 复议,谢谢



  • @traits 请在新版系统加上内核模块 nf_nat.ko 的支持,以便可以测试docker



  • @darkgeek 删除包 connman
    apt purge connman -y
    然后编辑 /etc/network/interfaces 为固定地址就好



  • @darkgeek 我也是,但是用wget手动下载可以



  • 最近这两天,咱们的这个mirror好像不能更新了哈,很多包缺失了:

    Hit:1 http://mirrors.perfxlab.cn/debian-ports sid InRelease
    Hit:2 http://mirrors.perfxlab.cn/debian-ports unreleased InRelease
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    44 packages can be upgraded. Run 'apt list --upgradable' to see them.
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      cups-common exim4-base exim4-config exim4-daemon-light git git-man
      golang-1.15-go golang-1.15-src isc-dhcp-client isc-dhcp-common
      keyboard-configuration libcups2 libdebconfclient0 libgcrypt20
      libgnutls-dane0 libgnutls30 libgtk2.0-0 libgtk2.0-common libmariadb3
      libnginx-mod-http-geoip libnginx-mod-http-image-filter
      libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream
      libnginx-mod-stream-geoip libqt5core5a libudfread0 libx11-6 libx11-data
      libx11-dev libx11-xcb1 libxml2 linux-libc-dev mariadb-common nginx
      nginx-common nginx-core openjdk-17-jdk openjdk-17-jdk-headless
      openjdk-17-jre openjdk-17-jre-headless python3-yaml tasksel tasksel-data
    44 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 242 MB/249 MB of archives.
    After this operation, 91.1 kB of additional disk space will be used.
    Err:1 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libdebconfclient0 riscv64 0.259
      404  Not Found [IP: 47.99.187.160 80]
    Err:2 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libgcrypt20 riscv64 1.8.7-6
      404  Not Found [IP: 47.99.187.160 80]
    Err:3 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libgnutls-dane0 riscv64 3.7.1-5
      404  Not Found [IP: 47.99.187.160 80]
    Err:4 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libgnutls30 riscv64 3.7.1-5
      404  Not Found [IP: 47.99.187.160 80]
    Err:5 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 isc-dhcp-client riscv64 4.4.1-2.3
      404  Not Found [IP: 47.99.187.160 80]
    Err:6 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 isc-dhcp-common riscv64 4.4.1-2.3
      404  Not Found [IP: 47.99.187.160 80]
    Err:7 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 exim4-daemon-light riscv64 4.94.2-6
      404  Not Found [IP: 47.99.187.160 80]
    Err:8 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 exim4-base riscv64 4.94.2-6
      404  Not Found [IP: 47.99.187.160 80]
    Err:9 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 git riscv64 1:2.32.0~rc2-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:10 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 golang-1.15-src riscv64 1.15.9-4
      404  Not Found [IP: 47.99.187.160 80]
    Err:11 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 golang-1.15-go riscv64 1.15.9-4
      404  Not Found [IP: 47.99.187.160 80]
    Err:12 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libcups2 riscv64 2.3.3op2-3+deb11u1
      404  Not Found [IP: 47.99.187.160 80]
    Err:13 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libx11-dev riscv64 2:1.7.1-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:14 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libx11-xcb1 riscv64 2:1.7.1-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:15 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libx11-6 riscv64 2:1.7.1-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:16 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libgtk2.0-0 riscv64 2.24.33-2
      404  Not Found [IP: 47.99.187.160 80]
    Err:17 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libmariadb3 riscv64 1:10.5.10-2
      404  Not Found [IP: 47.99.187.160 80]
    Err:18 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 nginx-core riscv64 1.18.0-6.1
      404  Not Found [IP: 47.99.187.160 80]
    Err:19 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libnginx-mod-stream-geoip riscv64 1.18.0-6.1
      404  Not Found [IP: 47.99.187.160 80]
    Err:20 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libnginx-mod-stream riscv64 1.18.0-6.1
      404  Not Found [IP: 47.99.187.160 80]
    Err:21 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libnginx-mod-mail riscv64 1.18.0-6.1
      404  Not Found [IP: 47.99.187.160 80]
    Err:22 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libxml2 riscv64 2.9.10+dfsg-6.7
      404  Not Found [IP: 47.99.187.160 80]
    Err:23 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libnginx-mod-http-xslt-filter riscv64 1.18.0-6.1
      404  Not Found [IP: 47.99.187.160 80]
    Err:24 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libnginx-mod-http-geoip riscv64 1.18.0-6.1
      404  Not Found [IP: 47.99.187.160 80]
    Err:25 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libnginx-mod-http-image-filter riscv64 1.18.0-6.1
      404  Not Found [IP: 47.99.187.160 80]
    Err:26 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libqt5core5a riscv64 5.15.2+dfsg-6
      404  Not Found [IP: 47.99.187.160 80]
    Err:27 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 libudfread0 riscv64 1.1.2-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:28 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 linux-libc-dev riscv64 5.10.40-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:29 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 openjdk-17-jdk riscv64 17~24-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:30 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 openjdk-17-jdk-headless riscv64 17~24-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:31 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 openjdk-17-jre riscv64 17~24-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:32 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 openjdk-17-jre-headless riscv64 17~24-1
      404  Not Found [IP: 47.99.187.160 80]
    Err:33 http://mirrors.perfxlab.cn/debian-ports sid/main riscv64 python3-yaml riscv64 5.3.1-4
      404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/c/cdebconf/libdebconfclient0_0.259_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/libg/libgcrypt20/libgcrypt20_1.8.7-6_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/g/gnutls28/libgnutls-dane0_3.7.1-5_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/g/gnutls28/libgnutls30_3.7.1-5_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/i/isc-dhcp/isc-dhcp-client_4.4.1-2.3_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/i/isc-dhcp/isc-dhcp-common_4.4.1-2.3_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/e/exim4/exim4-daemon-light_4.94.2-6_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/e/exim4/exim4-base_4.94.2-6_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/g/git/git_2.32.0~rc2-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/g/golang-1.15/golang-1.15-src_1.15.9-4_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/g/golang-1.15/golang-1.15-go_1.15.9-4_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/c/cups/libcups2_2.3.3op2-3+deb11u1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/libx/libx11/libx11-dev_1.7.1-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/libx/libx11/libx11-xcb1_1.7.1-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/libx/libx11/libx11-6_1.7.1-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/g/gtk+2.0/libgtk2.0-0_2.24.33-2_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/m/mariadb-10.5/libmariadb3_10.5.10-2_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/n/nginx/nginx-core_1.18.0-6.1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/n/nginx/libnginx-mod-stream-geoip_1.18.0-6.1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/n/nginx/libnginx-mod-stream_1.18.0-6.1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/n/nginx/libnginx-mod-mail_1.18.0-6.1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/libx/libxml2/libxml2_2.9.10+dfsg-6.7_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/n/nginx/libnginx-mod-http-xslt-filter_1.18.0-6.1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/n/nginx/libnginx-mod-http-geoip_1.18.0-6.1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/n/nginx/libnginx-mod-http-image-filter_1.18.0-6.1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/q/qtbase-opensource-src/libqt5core5a_5.15.2+dfsg-6_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/libu/libudfread/libudfread0_1.1.2-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/l/linux/linux-libc-dev_5.10.40-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/o/openjdk-17/openjdk-17-jdk_17~24-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/o/openjdk-17/openjdk-17-jdk-headless_17~24-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/o/openjdk-17/openjdk-17-jre_17~24-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/o/openjdk-17/openjdk-17-jre-headless_17~24-1_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Failed to fetch http://mirrors.perfxlab.cn/debian-ports/pool-riscv64/main/p/pyyaml/python3-yaml_5.3.1-4_riscv64.deb  404  Not Found [IP: 47.99.187.160 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    


  • @darkgeek 第四个分区,如果你有全志sdk的源码的话,你可以看见分区表里第四个分区里的文件时kernel生成的boot.img文件



  • 还想再问个问题哈。一般内核镜像文件是放/boot的,但我看/boot目录下是空的,那么kernel放在哪个分区了呢?


Log in to reply