RaspberryPi 4B 4G aarch64 not booting

This is for ARMv8 based devices

RaspberryPi 4B 4G aarch64 not booting

Postby babbarc » Sat May 08, 2021 7:55 am

Hi,

I recently tried to install the aarch64 following complete instructions on the page https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4. Also, did the final step to change mmcblk0 to mmcblk1.

Somehow, when I insert the SD card and try to boot my rpi, it doesn't seem to connect to the internet and I suspect it's not correctly booting up. My router doesn't show any new wired device connected to my network.

PS: armv7 installation works without any issues

Is there any new changes to the aarch64 package that's causing this issue?
babbarc
 
Posts: 4
Joined: Sat May 08, 2021 7:39 am

Re: RaspberryPi 4B 4G aarch64 not booting

Postby graysky » Sat May 08, 2021 9:47 am

The image is from Feb of this year and since you have not booted successfully the first time, package breakage is not an option. Do you have a monitor/keyboard hooked up? What is the output of systemctl status systemd-networkd
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RaspberryPi 4B 4G aarch64 not booting

Postby babbarc » Sat May 08, 2021 12:18 pm

Thank you for the prompt response.

I do not have keyboard or a monitor attached to my Pi. I managed to create the sdcard image from another arch linux box.
babbarc
 
Posts: 4
Joined: Sat May 08, 2021 7:39 am

Re: RaspberryPi 4B 4G aarch64 not booting

Postby graysky » Sat May 08, 2021 1:02 pm

I have created fresh images on headless devices many times. If you're experiencing an issue, you will need some data for troubleshooting. Since you are experiencing troubles, you need to hook up a monitor at a minimum.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RaspberryPi 4B 4G aarch64 not booting

Postby babbarc » Sun May 09, 2021 12:52 pm

The system keeps rebooting with a blank screen. Moreover, there are not journal logs created in /var/log/journal folder.
babbarc
 
Posts: 4
Joined: Sat May 08, 2021 7:39 am

Re: RaspberryPi 4B 4G aarch64 not booting

Postby graysky » Sun May 09, 2021 1:10 pm

So you're in a reboot loop with literally nothing displayed on the screen at all ever?
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RaspberryPi 4B 4G aarch64 not booting

Postby umbrellarunaround » Mon May 10, 2021 8:17 am

Hi babbarc

If it helps to know, yesterday I successfully installed archlinux arm (armv8) to my micro sd card with the commands below from the default install instructions.

I could then to boot my Raspberry Pi 4 Model B 8GB from the micro sd card.

$this->bbcode_second_pass_code('', '
fdisk /dev/mmcblk0
Type o
Type n, then p for primary, press ENTER, type +200M.
Type t, then c.
Type n, then p for primary, 2 and press ENTER twice.
type w.
cd /mnt
mkdir boot
mkdir root
mkfs.vfat /dev/mmcblk0p1
mkfs.ext4 /dev/mmcblk0p2
mount /dev/mmcblk0p1 boot
mount /dev/mmcblk0p2 root
bsdtar -xpf [b]ArchLinuxARM-rpi-aarch64-latest.tar.gz [/b]-C root
sync
mv root/boot/* boot
sync
sed -i 's/mmcblk0/mmcblk1/g' root/etc/fstab
umount boot root')

It boots successfully and I can access with SSH without a monitor or keyboard attached.

Did you definitely download the aarch64 tar.gz? I missed this once and it caused some confusion. :D
Last edited by umbrellarunaround on Fri May 21, 2021 2:58 pm, edited 1 time in total.
umbrellarunaround
 
Posts: 14
Joined: Fri Mar 12, 2021 12:31 pm

Re: RaspberryPi 4B 4G aarch64 not booting

Postby babbarc » Sat May 15, 2021 3:55 pm

This is indeed very weird. I have followed the exact instructions as above and yes the screen is blank. Could it be that the bsdtar is not correctly extracting files? I am using an archlinux box to create the micro sd card image.
babbarc
 
Posts: 4
Joined: Sat May 08, 2021 7:39 am

Re: RaspberryPi 4B 4G aarch64 not booting

Postby graysky » Sat May 15, 2021 4:25 pm

Not even a rainbow screen? I believe the PI4 will display stuff even if you try to boot it without media in the uSD slot. Does it?

If so, you must be making some systemic mistake. Those instructions and the image are good. Did you end up with the two partitions and are the files as expected on the card?
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RaspberryPi 4B 4G aarch64 not booting

Postby Amphitryon » Sat May 15, 2021 6:19 pm

I have the 8Gb Pi4. Upon turning it on what appears on the screen is as follows:
1. Some messages which very quicky disappear.
2. A rainbow pattern.
3. The kernel screen. On mine, with the Raspberry Pi-specific kernel it has four raspberries at the top. With the package you are installing you should get four penguins.
4. The login screen.

Do any of these appear, even briefly?

If none of them do it could be a hardware of cabling issue. Do you get either of the LEDs on the Pi come on?

If, with the power off, you put the SD card back into our working Linux system and mount the two partitions, what do you see in them. In the boot partition you should see something like:
$this->bbcode_second_pass_code('', 'bcm2710-rpi-2-b.dtb bcm2837-rpi-cm3-io3.dtb fixup_db.dat
bcm2710-rpi-3-b.dtb bootcode.bin initramfs-linux.img
bcm2710-rpi-3-b-plus.dtb cmdline.txt kernel8.img
bcm2710-rpi-cm3.dtb config.bak overlays
bcm2711-rpi-400.dtb config.txt start4cd.elf
bcm2711-rpi-4-b.dtb fixup4cd.dat start4db.elf
bcm2711-rpi-cm4.dtb fixup4.dat start4.elf
bcm2837-rpi-3-a-plus.dtb fixup4db.dat start_cd.elf
bcm2837-rpi-3-b.dtb fixup_cd.dat start_db.elf
bcm2837-rpi-3-b-plus.dtb fixup.dat start.elf
')
and in the root partition you should see something like:
$this->bbcode_second_pass_code('', 'bin dev home net proc run srv tmp var
boot etc lib opt root sbin sys usr
')
Amphitryon
 
Posts: 19
Joined: Fri Apr 30, 2021 7:17 pm

Next

Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 5 guests