by hossamyazeed » Mon Sep 18, 2023 7:26 am
i managed to boot successfully ,
1. installed aarch64 as per the official instructions below make_clickable_callback(MAGIC_URL_FULL, '
', 'https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4', '', ' class="postlink"')
2. then i followed this instructions below make_clickable_callback(MAGIC_URL_LOCAL, '
', 'https://archlinuxarm.org/forum', 'viewtopic.php?f=65&t=16463#p71398', ' class="postlink-local"')
""As a summary, as a temporary fix, you have to modify the /boot/boot.txt to replace ${fdt_addr_r} by ${fdt_addr} on the lines beginig by "booti" (2 lines) and then rebuild the boot.scr using the script ./mkscr (also in /boot). This script needs uboot-tools to be installed (and it's not true for a fresh install). No need to modify /etc/fstab (as said by jpnadas)."
3. install apt install u-boot-tools , cd /root/boot ( the location of /boot in your SD card )
4. mkimage -A arm -T script -O linux -d boot.txt boot.scr
reboot with the SD card inserted , it works
edit:
i forgot to mention that i had to copy bcm2711-rpi-cm4.dtb to /boot/dtbs/broadcom, i copied the .dtb file from a working armv7 SD Card
once i booted
pacman-key --init
pacman-key --populate archlinuxarm
pacman -Syu --noconfirm