Hey there, has anyone managed to run a Leap/Tumbleweed installation on a Raspberry 4 Compute Module yet? I have a Raspberry 4 CM (8GB/noWifi/noEMMC) and a Mini Base Board [1]. My setup is to boot the installation ISO from SD-Card and then install the System on the NVME disk attached to the board. However I cannot get the USB and network to run within the installer. In Grub the USB keyboard works fine, however once the YaST installer comes up, neither the network interface nor any USB devices work. Multiple resources explain that by default the USB 2 ports are disabled by default [2-4]. The solution is to set some custom parameters in /boot/config.txt: dtoverlay=dwc2,dr_mode=host I wonder how I can do this while booting from an ISO and not from an image. I played around with different kernel parameters but so far no luck. Also ssh and/or VNC installation is not possible, because the network is not coming up either. Anyone a good idea how to advance from here? Best, Felix [1] https://www.waveshare.com/cm4-io-base-a.htm [2] https://www.jeffgeerling.com/blog/2020/usb-20-ports-not-working-on-compute-m... [3] https://www.pcguide.com/raspberry-pi/how-to/set-up-compute-module-4-cm4/ [4] https://forums.raspberrypi.com/viewtopic.php?t=309755
Hi,
-----Original Message----- From: Felix Niederwanger <felix.niederwanger@suse.de> Sent: 10 May 2022 11:06 To: arm@lists.opensuse.org Subject: Raspberry 4 CM
Hey there,
has anyone managed to run a Leap/Tumbleweed installation on a Raspberry 4 Compute Module yet?
I have a Raspberry 4 CM (8GB/noWifi/noEMMC) and a Mini Base Board [1]. My setup is to boot the installation ISO from SD-Card and then install the System on the NVME disk attached to the board. However I cannot get the USB and network to run within the installer. In Grub the USB keyboard works fine, however once the YaST installer comes up, neither the network interface nor any USB devices work.
Multiple resources explain that by default the USB 2 ports are disabled by default [2-4]. The solution is to set some custom parameters in /boot/config.txt:
dtoverlay=dwc2,dr_mode=host
I wonder how I can do this while booting from an ISO and not from an image. I played around with different kernel parameters but so far no luck.
Also ssh and/or VNC installation is not possible, because the network is not coming up either.
Anyone a good idea how to advance from here?
You can mount the ISO, modify the file, unmount it, with something like this: kpartx -av openSUSE-Tumbleweed-NET-aarch64-Current.iso mount /dev/mapper/loop0p1 /mnt vim /mnt/config.txt umount /mnt kpartx -dv openSUSE-Tumbleweed-NET-aarch64-Current.iso Then, dd the ISO to your USB stick or uSD card. Cheers, Guillaume
Best, Felix
[1] https://www.waveshare.com/cm4-io-base-a.htm [2] https://www.jeffgeerling.com/blog/2020/usb-20-ports-not-working-on- compute-module-4-check-your-overlays [3] https://www.pcguide.com/raspberry-pi/how-to/set-up-compute-module-4- cm4/ [4] https://forums.raspberrypi.com/viewtopic.php?t=309755
On Tue, 2022-05-10 at 10:07 +0000, Guillaume Gardet wrote:
You can mount the ISO, modify the file, unmount it, with something like this: kpartx -av openSUSE-Tumbleweed-NET-aarch64-Current.iso mount /dev/mapper/loop0p1 /mnt vim /mnt/config.txt umount /mnt kpartx -dv openSUSE-Tumbleweed-NET-aarch64-Current.iso
Then, dd the ISO to your USB stick or uSD card.
Thank Guillaume, that works, at least I was able to install openSUSE to the nvme and need now to figure out a way to actually boot it from there. Still, one step further, thnx! :-)
Cheers, Guillaume
Best, Felix
[1] https://www.waveshare.com/cm4-io-base-a.htm [2] https://www.jeffgeerling.com/blog/2020/usb-20-ports-not-working-on- compute-module-4-check-your-overlays [3] https://www.pcguide.com/raspberry-pi/how-to/set-up-compute-module-4 - cm4/ [4] https://forums.raspberrypi.com/viewtopic.php?t=309755
Am Dienstag, 10. Mai 2022, 16:59:43 CEST schrieb Felix Niederwanger:
Thank Guillaume, that works, at least I was able to install openSUSE to the nvme and need now to figure out a way to actually boot it from there.
FWIW, boot codes are here: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#config...
participants (3)
-
Axel Braun
-
Felix Niederwanger
-
Guillaume Gardet