I'm about to give up, cannot get it to work (headless). RPi 4GB v1.2
1) Make sure the RPi4 firmware supports USB boot (000137ad or above; latest 000138a1) -> use the "stable" distribution. Using the AUR rpi-eeprom package (through an SD card with moonman's aarch64).
2) follow the official guide for aarch64 and prepare the SSD (other machine)
3) connect SSD to the RPi4 + SD card with aarch64 (moonman's kernel in my case) and chroot into the freshly installed SSD
4) finish the official guide and do a full system update
5) edit /etc/mkinitcpio.conf and add pcie_brcmstb to MODULES i.e MODULES=(pcie_brcmstb)
6) run mkinitcpio -P
7) edit /boot/boot.txt and add the new root partition to root= e.g. root=PARTUUID=XXXXXXXXXXX (run blkid to get the partuuid)
8) run ./mkscr
9) install uboot 2020.10 provided by mrtux (thank you)
Shut down, remove sd card, boot again. Power led is on, ACT led is off, network leds are on but do not flicker. RPi is listed in the DHCP client list, so it is booted?, cannot ping, NMAP reports the host as up:
$this->bbcode_second_pass_code('', 'nmap -v -sn -Pn [IP RPi]
Starting Nmap 7.80 ( https://nmap.org ) at 2020-10-18 09:54 CEST
Initiating Parallel DNS resolution of 1 host. at 09:54
Completed Parallel DNS resolution of 1 host. at 09:54, 0.01s elapsed
Nmap scan report for [IP RPi]
Host is up.
Nmap done: 1 IP address (1 host up) scanned in 0.01 seconds')
cannot ssh, cannot ping.
I also tried to delay the systemd-networkd service to get the network up but it had no effect.
Disconnect power, put SD card back in, boot, chroot, journalctl -m is empty. I do not have a serial console to attach. Not sure it is a boot/network issue.
Anything i have missed?(i had USB boot working using moonman's kernel without issues but since he dropped support i wanted to switch to the official release; regrets)
Sources:
- this thread
-
viewtopic.php?t=14742-
viewtopic.php?t=14774