Port-arm archive

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

NetBSD 10.0 RC1 issues on Raspberry Pi



Hello list.

One of the features of the upcoming NetBSD 10.0 is supposed to be
support for Raspberry Pi 4.  For my use case this would be a welcome
feature, which would remove my current dependency on RPI3B(+) (I prefer
to use release versions when possible).  However, my test result shows
there is at least one combination of RPI4B-8GB hardware revision and
EEPROM that is not compatible with NetBSD 10.0 RC1.

The board is RPI4B-8GB rev. 1.5 (0xd03115) upgraded to the latest
stable EEPROM from 2023-01-11.  The problem reproduces for both
arm64.img.gz and arm64mbr.img.gz as follows (the messages appear on the
HDMI output, but not on the serial console, so this is a copy from a
monitor shot):

MSD [02:00] 3.16 000000:02 register MSD
MSD [02:00] 3.16 000000:02 LUN 0
MSD INQUIRY [02:00] 3.16 000000:02
HUB [01:00] 2.16 000000:01 init port 4 speed 2
HID [03:01] 2.00 000004:01 register HID
MSD [02:00] 3.16 000000:02 lun 0 block-count 121536512 block-size 512
Trying partition: 0
type: 32 lba: 32768 oem: 'NetBSD  ' volume: ' NETBSD     '
rsc 32 fat-sectors 635 c-count 81269 c-size 2
root dir cluster 2 sectors 0 entries 0
Trying partition: 0
type: 32 lba: 32768 oem: 'NetBSD  ' volume: ' NETBSD     '
rsc 32 fat-sectors 635 c-count 81269 c-size 2
root dir cluster 2 sectors 0 entries 0
Read config.txt bytes      155 hnd 0x58cb
Read start4.elf bytes  2778880 hnd 0xb8ac
Read fixup4.dat bytes     6196 hnd 0x55d1
0x00d03115 0x00000000 0x00000001
Firmware: f6ae361f091fe2c1b8a2e7d6fa7ae80237884fc3 Dec 11 2019 15:09:36
start4.elf: is not compatible
This board requires newer software
Get the latest software from https://www.raspberrypi.com/software/

On RPI3B the same SD card with arm64.img.gz boots successfully, as it
used to be the case with NetBSD 9.3.  I did not do any more substantial
testing, but this crash dump on poweroff looks new:

arm64# poweroff
Nov  6 02:02:16 arm64 poweroff: powered off by root
Nov  6 02:02:16 arm64 syslogd[1076]: Exiting on signal 15
[ 164.3673454] syncing disks... done
[ 164.3973564] unmounting file systems...
[ 164.8374097] unmounting done
[ 164.8574142] WARNING: powerdown failed
[ 164.8674159] The operating system has halted.
[ 164.8674159] Please press any key to reboot.
[ 164.9274201] Skipping crash dump on recursive panic
[ 164.9274201] panic: usbd_transfer: not done
[ 164.9446455] cpu0: Begin traceback...
[ 164.9523870] trace fp ffffc000aae4db50
[ 164.9623971] fp ffffc000aae4db80 vpanic() at ffffc000004ee668 netbsd:vpanic+0x178
[ 164.9749256] fp ffffc000aae4dbe0 panic() at ffffc000004ee774 netbsd:panic+0x44
[ 164.9824012] fp ffffc000aae4dc70 usbd_transfer() at ffffc00000175c50 netbsd:usbd_transfer+0x3dc
[ 165.0056883] fp ffffc000aae4dcb0 usbd_do_request_len() at ffffc00000176d20 netbsd:usbd_do_request_len+0xa0
[ 165.0256955] fp ffffc000aae4dd10 smsc_readreg.part.0() at ffffc000001c298c netbsd:smsc_readreg.part.0+0x3c
[ 165.0456979] fp ffffc000aae4dd50 smsc_wait_for_bits() at ffffc000001c2a64 netbsd:smsc_wait_for_bits+0x74
[ 165.0657023] fp ffffc000aae4dd90 smsc_uno_miibus_readreg() at ffffc000001c2f00 netbsd:smsc_uno_miibus_readreg+0x50
[ 165.0864629] fp ffffc000aae4ddd0 smscphy_service() at ffffc0000034c628 netbsd:smscphy_service+0xd4
[ 165.1071029] fp ffffc000aae4de10 mii_tick() at ffffc0000033f044 netbsd:mii_tick+0x44
[ 165.1269631] fp ffffc000aae4de30 usbnet_tick_task() at ffffc0000017c6d4 netbsd:usbnet_tick_task+0x70
[ 165.1469693] fp ffffc000aae4de80 usb_task_thread() at ffffc00000174134 netbsd:usb_task_thread+0x84
[ 165.1669731] tf ffffc000aae4ded0 el0_trap() at ffffc000000aaff0 netbsd:el1_trap_exit+0x68
[ 165.1772523] cpu0: End traceback...

-- 
    Denis Ovsienko


Home | Main Index | Thread Index | Old Index