Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Prepare the Arch Linux installation

mkdir <arch_linux_root>/boot (if not already present)
mkdir <arch_linux_root>/var/lib/machines

Copy the following files from the RCE SDK to the Arch Linux filesystem:

cp arm-linux/tgt/linux/fstab.diskless <arch_linux_root>/etc/fstab
cp arm-linux/tgt/linux/kernel/uImage to <arch_linux_root>/boot
cp arm-linux/tgt/linux/kernel/devicetree.dtb to <arch_linux_root>/boot
cp arm-linux/tgt/linux/boot/<rce_type>/fpga.bit, or your own firmware file, to <arch_linux_root>/boot/fpga.bit

Remove the following service file links:

rm /etc/systemd/system/sockets.target.wants/systemd-networkd.socket
rm /etc/systemd/system/multi-user.target.wants/systemd-networkd.service

For console or SSH login, allow read access to shadow:

chmod a+r <arch_linux_root>/etc/shadow

For SSH usage, allow root login permission by modifying the SSH daemon configuration:

edit <arch_linux_root>/etc/sshd_config - PermitRootLogin yes

For SSH usage, allow read/write access for ssh key generation:

chmod a+rw <arch_linux_root>/etc/ssh

Change back to read-only after first boot

...