NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RPI4_UEFI_Firmware_v1.51.zip and NetBSD 11.0_RC3 issues



Hello,


Yesterday I upgraded my Raspberrypi4 system to 11.0_RC3 under ssh session as usual.

I used sysupgrade to upgrade the kernel and modules first. Also copied all boot  files from arm64.img to /boot
Then I uncompressed RPI4_UEFI_Firmware_v1.51.zip from github/pftf over /boot as usual.
I rebooted to the new kernel and it came back with RC3 kernel running fine.

After that, I made sysupgrade sets and etcupdate and posinstall phase.

When I rebooted it did not came back to life. I arrived home, I connected HDMI monitor It was stuck at the raspberry image, It did not load the NetBSD bootloader. After some trials, I could boot into NetBSD two or three times but strangely network did not worked. I remember one of them in which the system did not have my "spanish" keyboard keys even though wscons.conf was ok in place. I made several boots, many of them did not reach the raspberry icon, others were a black screen. Everything was erratic, sometimes it hang inside "BIOS" config screen when doing "continue" or "reset" inside it after disabling the 3 GB RAM limit.

I mounted the SD card in my PC and unpacked previous v1.50 firmware on /boot, everything came back to normal behaviour.


I have it almost automated in a simple sh script but here I post the general concept steps.



MINI-HOWTO FOR RAPBERRY PI 4 NETBSD UPGRADE

# pkgin install sysupgrade
edit config file /usr/pkg/etc/sysupgrade.conf to point to the desired release directory

# sysupgrade fetch

# cd /root
# wget https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/evbarm-aarch64/binary/gzimg/arm64.img.gz
# mkdir particion_fat
# gunzip arm64.img.gz
# vndconfig vnd0 arm64.img
# mount /dev/dk2 particion_fat/
# cp /boot/config.txt /boot/config.txt-bak
# cp /boot/cmdline.txt /boot/cmdline.txt-bak
# cp -av particion_fat/* /boot
# umount /dev/dk2
# vndconfig -u vnd0

check changes in file  config.txt.bak
check changes in file cmdline.txt.bak

# sysupgrade kernel
# sysupgrade modules
#
#
#
#
#
# wget https://github.com/pftf/RPi4/releases/download/v1.51/RPi4_UEFI_Firmware_v1.37.zip
# cp -v /boot/RPI_EFI.fd /boot/RPI_EFI.fd-bak
# unzip -d /boot RPi4_UEFI_Firmware_v1.51.zip
#
#
#
# reboot

# sysupgrade sets
# sysupgrade etcupdate
# sysupgrade postinstall
# reboot


Have you ever experienced anything similar?

Thanks.
Ramiro.



Home | Main Index | Thread Index | Old Index