Milkv-duo duo-debian-full.7z (519M) Download

Milkv-duo duo-debian-full.7z (519M) Download

A lot of Debian community software that can use apt to install gcc gdb
Debian porting notes by Milkv Duo: Milkv Duo 的 Debian 移植笔记 – TaterLi 个人博客

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-linux-gnu/13/lto-wrapper
Target: riscv64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 13.1.0-9' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=riscv64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --disable-multilib --with-arch=rv64gc --with-abi=lp64d --enable-checking=release --build=riscv64-linux-gnu --host=riscv64-linux-gnu --target=riscv64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.1.0 (Debian 13.1.0-9)

6 Likes

English (google translate) readme.txt:

Release Notes

Username: root Password: riscv

There are probably the following modifications.

1 LED driven by kernel
2 Fixed MAC address of network card
3 USB default Host mode
4 Add SWAP
5 Integrated simple development environment
6 Using dropbear
7 domestic sources
8 Basically pure
9 Streamlining functionality through the device tree
10 Release memory (C906 APP CORE Unavailable)

RISCV64 is not currently mainly supported by Debian. The beta version has many bugs, so it can only be used for fun.

Spread it casually without any special explanation, and no one cares who did it anyway.

!!! Don’t have too high expectations, just this configuration and this ecology. !!!

Thanks a lot for the disk image! Could you add dnsmasq so we could RNDIS working as well?
Update: it seems dnsmasq package isn’t built yet in the repo.

Here the files to make RNDIS working: milkv-duo-rndis.tar.xz - Google Drive (milkv-duo-rndis.tar.xz)

-rw-rw-r-- spirit/spirit    85 2023-10-30 08:31 dnsmasq.conf
-rwxr-xr-x spirit/spirit   504 2023-10-20 15:51 usb-rndis.sh
-rw-rw-r-- spirit/spirit   188 2023-10-20 15:48 rndis.service
-rwxrwxr-x spirit/spirit   176 2023-10-19 11:34 duo-init.sh
-rw-r--r-- spirit/spirit  1450 2023-10-19 10:47 dhcpcd.conf
-rwxr-xr-x spirit/spirit  7511 2023-10-19 10:35 run_usb.sh
-rwxr-xr-x spirit/spirit  2246 2023-10-19 10:35 uhubon.sh
-rwxr-xr-x spirit/spirit    67 2023-10-19 10:34 usb-host.sh

The rndis.service belongs in /lib/systemd/system/ and then systemctl enable rndis for ether over usb.

I ran /etc/usb-rndis.sh (connected with serial) and then on the host ifconfig enx______ 192.168.42.2 and was able to ssh root@192.168.42.1:

1 Like

不用锡焊给Milkv-duo绑一个RJ45网口联网,Iperf3 测速稳定在100Mbs

The author of this image deleted RNDIS in order to reserve more memory, you can refer to the picture to make an Ethernet cable at 0 cost

启用 /etc/usb-rndis.sh 会浪费很多内存,所以舍弃了。

1 Like

image
大佬,请教下用这个镜像,使用网线直连电脑后,怎么获取板子ip,目前我通过arp扫描也没扫出来