Hi,

> -----Original Message-----
> From: Felix Niederwanger <[email protected]>
> Sent: 10 May 2022 11:06
> To: [email protected]
> 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

Reply via email to