Difference between revisions of "Quartz64 Installing Arch Linux ARM"

Jump to navigation Jump to search
(Hooray, 5.18 brings with it the required config changes)
(Add Model B instructions)
Line 97: Line 97:
   
   
  label l0
  label l0
  menu label Boot Arch Kernel SDMMC
  menu label Boot Arch Kernel
  linux /Image
  linux /Image
  fdt /dtbs/rockchip/rk3566-quartz64-a.dtb
  fdt /dtbs/rockchip/rk3566-quartz64-a.dtb
  append initrd=/initramfs-linux.img earlycon=uart8250,mmio32,0xfe660000 console=ttyS2,1500000n8 root=/dev/mmcblk0p5 rw rootwait
  append initrd=/initramfs-linux.img earlycon=uart8250,mmio32,0xfe660000 console=ttyS2,1500000n8 root=LABEL=rootfs rw rootwait


For eMMC instead of SD, replace <code>/dev/mmcblk0p5</code> with <code>/dev/mmcblk1p5</code>.
==== For Model B ====


For a different type of Quartz64 device (e.g. Model B) replace the <tt>fdt</tt> line with the appropriate <tt>/boot</tt>-relative path to the device tree.
Kernel 5.18 and 5.19 do not yet have the Quartz64 Model B device tree, however, you can add it manually to your install and adjust <tt>extlinux.conf</tt>:
 
Download it from here: https://overviewer.org/~pillow/up/b9b797a76f/rk3566-quartz64-b.dtb
 
Copy it to <tt>/mnt/alarm-root/boot/dtbs/rockchip/rk3566-quartz64-b.dtb</tt>
 
Then adjust your <tt>/mnt/alarm-root/boot/extlinux/extlinux.conf</tt>'s <tt>fdt</tt> line as follows:
 
  fdt /dtbs/rockchip/rk3566-quartz64-'''b'''.dtb
 
=== Finishing Up ===


Once done, unmount the partitions:
Once done, unmount the partitions: