linux-rpi 6.1.28-5 not working on Rasperry Pi 4 Model B

This is for ARMv8 based devices

linux-rpi 6.1.28-5 not working on Rasperry Pi 4 Model B

Postby nicheosala » Tue May 23, 2023 7:41 pm

I tried installing the package linux-rpi 6.1.28-5 on my Raspberry Pi 4 Model B.
Then, I rebooted the system: the boot process fails and I can't connect to the Pi.

Steps to reproduce the behaviour (after a clean install of http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz) :
$this->bbcode_second_pass_code('', '
pacman -S linux-rpi
:: linux-rpi and linux-aarch64 are in conflict (linux). Remove linux-aarch64? [y/N] y
:: linux-rpi and uboot-raspberrypi are in conflict. Remove uboot-raspberrypi? [y/N] y
pacman -S --needed raspberrypi-bootloader raspberrypi-firmware
reboot
')

This is the output of uname -a before trying to change the kernel:

$this->bbcode_second_pass_code('', 'Linux pi 6.2.10-1-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Fri Apr 7 10:32:52 MDT 2023 aarch64 GNU/Linux')

The Pi runs in headless mode, I connect to it through SSH. I use an SSD instead of an SD card.
I've noticed user @MaximGun reporting a very similar issue here.
nicheosala
 
Posts: 4
Joined: Tue May 23, 2023 7:22 pm

Re: linux-rpi 6.1.28-5 not working on Rasperry Pi 4 Model B

Postby MaximGun » Tue May 23, 2023 10:20 pm

Thanks for making this thread, I was planning on making my own but decided to search first instead ;)

Yes, I'm getting the same issue. I first tried with graysky's testing kernel and then with the repo linux-rpi kernel and got the same issue with both.

Here's my post from the testing kernel thread describing my issue:

$this->bbcode_second_pass_quote('', 'I') updated my RPi 4B using the instructions. The kernel loads but immediately after the screenshot below I'm left with a black screen--the monitor receives no signal. I'm booting from a USB to mSATA adapter. Ethernet cable is plugged in but no network (can't ssh, can't ping, doesn't show up in my router). It's not completely locked up though; num lock responds and the network adapter lights respond to a cable being plugged in/out but don't show any activity. I can ctrl-alt-delete to reboot. Any suggestions would be appreciated.


Here's a screenshot of the last output I see before the screen goes black, as well as a video recorded in 8x slow mo

Screenshot (grabbed from the slow mo video) https://i.imgur.com/PmO4dCj.jpg
1/8th speed video https://files.catbox.moe/90l03c.avi
MaximGun
 
Posts: 9
Joined: Mon May 22, 2023 2:34 am

Re: linux-rpi 6.1.28-5 not working on Rasperry Pi 4 Model B

Postby solskogen » Wed May 24, 2023 7:50 am

How does your /etc/fstab and /boot/cmdline.txt look like?
solskogen
 
Posts: 161
Joined: Mon Nov 18, 2013 10:41 am

Re: linux-rpi 6.1.28-5 not working on Rasperry Pi 4 Model B

Postby nicheosala » Wed May 24, 2023 10:34 am

Thank you! The error was in the /boot/cmdline.txt file: I had to change the initial part to `root=/dev/sda2`.
I already made the correct change in the /etc/fstab file, but I didn't know I had to do "the same" in /boot/cmdline.txt.
With the correct /boot/cmdline.txt and /etc/fstab, everything works fine.
nicheosala
 
Posts: 4
Joined: Tue May 23, 2023 7:22 pm

Re: linux-rpi 6.1.28-5 not working on Rasperry Pi 4 Model B

Postby MaximGun » Wed May 24, 2023 12:54 pm

This is my fstab

$this->bbcode_second_pass_code('', '# <file system> <dir> <type> <options> <dump> <pass>
/dev/disk/by-uuid/d6a5bab0-4fab-4b4a-b4f8-9ffaa14b3ab2 / ext4 defaults 0 0
/dev/disk/by-uuid/8493-C259 /boot vfat defaults 0 0')

I don't have a /boot/cmdline.txt. Googling tells me I will need root= and maybe rootfstype=. Should this do it?

$this->bbcode_second_pass_code('', 'root=PARTUUID=d6a5bab0-4fab-4b4a-b4f8-9ffaa14b3ab2 rootfstype=ext4')

EDIT: actually more googling makes it seem like i will need the PARTUUID, not the UUID:

$this->bbcode_second_pass_code('', '$ sudo lsblk -o PARTUUID,NAME 09:30:07
PARTUUID NAME
sda
e7ae3c2f-30e2-214f-9344-ee23de12fcf5 ├─sda1
75324dd5-81d0-5546-890f-12b255f9c090 └─sda2')

so we have (after some other additions)

$this->bbcode_second_pass_code('', 'console=serial0,115200 console=tty1 root=PARTUUID=75324dd5-81d0-5546-890f-12b255f9c090 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait')
MaximGun
 
Posts: 9
Joined: Mon May 22, 2023 2:34 am

Re: linux-rpi 6.1.28-5 not working on Rasperry Pi 4 Model B

Postby MaximGun » Wed May 24, 2023 8:36 pm

For anyone googling, my edit above worked.
MaximGun
 
Posts: 9
Joined: Mon May 22, 2023 2:34 am


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 6 guests