Aarch64 image does not boot on compute module 4

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: Aarch64 image does not boot on compute module 4

Postby robg » Sun Jan 29, 2023 5:56 pm

As zekromisblack says, the "dtoverlay=dwc2,dr_mode=host" entry is required as USB host mode is disabled by default for power saving.

Regarding this thread's topic, I can confirm that ALARM runs on my Compute Module 4 with the following settings:
$this->bbcode_second_pass_code('', '$ cat /boot/config.txt
# See /boot/overlays/README for all available options

dtoverlay=vc4-kms-v3d
initramfs initramfs-linux.img followkernel

display_auto_detect=1

# Uncomment to enable bluetooth
#dtparam=krnbt=on

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[cm4]
dtoverlay=dwc2,dr_mode=host')

$this->bbcode_second_pass_code('', '$ pacman -Qs rpi
local/linux-rpi 5.15.89-3
RPi Foundation patched Linux kernel and modules
$ pacman -Qs rasp
local/firmware-raspberrypi 20230125-1
Additional firmware for Raspberry Pi
local/raspberrypi-bootloader 20230124-1
Bootloader files for Raspberry Pi
local/raspberrypi-firmware 20230124-1
Firmware tools, libraries, and headers for Raspberry Pi')
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: Aarch64 image does not boot on compute module 4

Postby uhhyeahbret » Sun Jan 29, 2023 8:45 pm

Ok cool, following robg's example, everything seems to be working, and it's running an aarch64 kernel. Thanks of your help!

To summarize getting an aarch64 alarm install working on a emmc CM4:

- Follow The raspi4 AArch64 Installation instructions.
- Skip the section on modifying fstab. It doesn't seem to be necessary in this case.
- Remove the linux-aarch64 uboot-raspberrypi packages.
- Add linux-rpi raspberrypi-bootloader firmware-raspberrypi.
- Modify /boot/config.txt to include the CM4 block to enable USB.

Might be worth adding a new section or page for the CM4.
uhhyeahbret
 
Posts: 12
Joined: Thu Sep 03, 2015 11:10 am

Previous

Return to User Questions

Who is online

Users browsing this forum: ffaille and 9 guests