0.6版本是只能在windows下烧录到sd卡的吗?不能在Linux下用dd刷入?
D
darkgeek
@darkgeek
1
Reputation
10
Posts
3
Profile views
0
Followers
0
Following
Best posts made by darkgeek
This user hasn't posted anything yet.
Latest posts made by darkgeek
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
最近这两天,咱们的这个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?
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
还想再问个问题哈。一般内核镜像文件是放/boot的,但我看/boot目录下是空的,那么kernel放在哪个分区了呢?
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
发现了一个小问题:mac地址并不固定,重启后会变化。
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
@王哥 谢谢,明白了,第八个分区确实可以利用起来做home。不过我也想补充下哈,在mkfs格式化之前,还需要扩充一下GPT 分区信息(sgdisk -e /dev/sda,参考:https://wiki.archlinux.org/title/GPT_fdisk ),删除第八个分区,再重新创建第八个分区,否则仍然不能利用那空闲的空间:
# sgdisk -e /dev/sda Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully. # partprobe Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 41430 blocks) or continue with the current setting? # gdisk /dev/sda ... Command (? for help): d 8 Command (? for help): n Using 8 First sector (58478646-124694024, default = 58478646) or {+-}size{KMGTP}: Last sector (58478646-124694024, default = 124694024) or {+-}size{KMGTP}: Current type is 'Linux filesystem' Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem' Command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): Y OK; writing new GUID partition table (GPT) to /dev/sda. The operation has completed successfully. # /sbin/mkfs.ext4 /dev/sda8 -F
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
@王哥 还有一个问题,我用的是64G的SD卡,但系统刷完后只能用32G,那我怎么样才能把那“空闲”的32G给利用起来(分给rootfs或者再挂载一个分区)?我尝试用gdisk去新增分区,但提示我partition table已经满了。
# sudo gdisk /dev/sda GPT fdisk (gdisk) version 1.0.3 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): n No table partition entries left
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
@王哥 和那位老哥类似,我这边用的也是dd刷到sd卡启动的,报错如下:
[00.440]DRAM: Unhandled exception: Store/AMO access fault EPC: 0000000042070462 TVAL: 00000000beacffb8 ### ERROR ### Please RESET the board ###
dd的方法:
gunzip RVBoards_D1_Debian_lxde_img_linux_v0.3.gz sudo dd if=RVBoards_D1_Debian_lxde_img_linux_v0.3 of=/dev/sda bs=1M status=progress
-
RE: 「RVBoards-哪吒」D1 Debian系统镜像和安装方法
板子刚下单,还没收到。我看文档里写的是需要用专门的工具去烧sd卡,但我手边没有windows机器,可否用dd去写入呢?