rv64alpine:/etc/apk# uname -a
Linux rv64alpine 6.5.3-0-starfive #1-Alpine SMP PREEMPT Fri, 15 Sep 2023 06:52:05 +0000 riscv64 Linux
rv64alpine:/etc/apk# lsmod
Module Size Used by
af_packet 86016 0
loop 40960 0
rv64alpine:/etc/apk# ip link set dev eth0 up
ip: ioctl 0x8913 failed: No such device
rv64alpine:/etc/apk# ip link set dev eth1 up
ip: ioctl 0x8913 failed: No such device
rv64alpine:/etc/apk#
According to your list ethernet drivers are not loaded.
Could you look in /lib/modules/6.5.3-0-starfive/kernel/drivers/net/ethernet/stmicro/stmmac
dir do you have modules there?
lsmod
should show at least these
motorcomm
dwmac_starfive
stmmac_platform
btw, which packages you added?
rv64alpine:/lib/modules/6.5.3-0-starfive/kernel/drivers/net/ethernet/stmicro/stmmac# ls -lasth
total 637K
1.0K drwxr-xr-x 2 root root 1.0K Sep 17 2023 .
1.0K drwxr-xr-x 3 root root 1.0K Sep 17 2023 ..
13.0K -rw-r--r-- 1 root root 12.2K Sep 14 2023 dwmac-generic.ko
13.0K -rw-r--r-- 1 root root 12.4K Sep 14 2023 dwmac-starfive.ko
13.0K -rw-r--r-- 1 root root 12.4K Sep 14 2023 stmmac-pci.ko
44.0K -rw-r--r-- 1 root root 43.3K Sep 14 2023 stmmac-platform.ko
552.0K -rw-r--r-- 1 root root 551.9K Sep 14 2023 stmmac.ko
Added bunch of stuff. mg (text editor), sudo, binutils, …
Modules are there and I wonder why they are not loaded on boot.
I don’t have more ideas how to solve this problem on your board because I don’t have same version to test.
Anyway, you can join us on #alpine-riscv64
discussion IRC channel on OFTC, maybe someone there have same board and/or have ideas or advice
Thanks much for your time on this.
Just re-reflashed sd, booted, and ran setup-alpine
; rebooted fine.
Anyway, you can join us on
#alpine-riscv64
discussion IRC channel on OFTC
Never used IRC and no idea how to get there…
Ah. I did try setup-desktop
. That may be the problem…
OK: 25391 distinct packages available
ERROR: unable to select packages:
eudev-libs-3.2.12-r4:
conflicts: libudev-zero-1.0.3-r3[so:libudev.so.1=1.6.3]
satisfies: eudev-3.2.12-r4[eudev-libs=3.2.12-r4]
xorg-server-21.1.8-r3[so:libudev.so.1]
libinput-libs-1.24.0-r0[so:libudev.so.1]
libinput-udev-1.24.0-r0[so:libudev.so.1]
eudev-3.2.12-r4:
conflicts: libudev-zero-1.0.3-r3[udev=176]
satisfies: world[eudev]
libudev-zero-1.0.3-r3:
conflicts: eudev-3.2.12-r4[udev] eudev-libs-3.2.12-r4[so:libudev.so.1=1]
satisfies: world[libudev-zero] xorg-server-21.1.8-r3[so:libudev.so.1]
libinput-libs-1.24.0-r0[so:libudev.so.1]
libinput-udev-1.24.0-r0[so:libudev.so.1]
ERROR: unable to select packages:
eudev-libs-3.2.12-r4:
conflicts: libudev-zero-1.0.3-r3[so:libudev.so.1=1.6.3]
satisfies: eudev-3.2.12-r4[eudev-libs=3.2.12-r4]
eudev-3.2.12-r4:
conflicts: libudev-zero-1.0.3-r3[udev=176]
satisfies: world[eudev]
libudev-zero-1.0.3-r3:
conflicts: eudev-3.2.12-r4[udev] eudev-libs-3.2.12-r4[so:libudev.so.1=1]
satisfies: world[libudev-zero]
rv64alpine:~#
Don’t spend more time on this. Thanks much again.
-KenD
ah, you added eudev, this is why modules are not loaded.
apk del libudev-zero
apk add eudev
maybe will solve problem.
But desktop will not work because kernel doesn’t have drivers
Yep. Need /dev/fb0
and /dev/input/event*
for Smalltalk IDE.
Will look for it! Thanks!