Current-Users archive

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

Re: Raspberry Pi 3 aarch64 -current fails to find root fs label and boot.



On 05/04/2023 15:14, Michael van Elst wrote:
bbartlomiej.mail%gmail.com@localhost (Bartek Krawczyk) writes:

My /boot/cmdline.txt has only:
root=NAME=netbsd-root

You can use    'ofctl /chosen'   to find out what bootargs
are passed to the kernel.


10.0_BETA:

[Caching 124 nodes and 786 properties]
bootargs 62636d32 3730385f 66622e66 62776964 bcm2708_fb.fbwid 0010: 74683d36 35362062 636d3237 30385f66 th=656 bcm2708_f 0020: 622e6662 68656967 68743d34 31362062 b.fbheight=416 b 0030: 636d3237 30385f66 622e6662 73776170 cm2708_fb.fbswap 0040: 3d312064 6d612e64 6d616368 616e733d =1 dma.dmachans= 0050: 30783766 33352062 636d3237 30392e62 0x7f35 bcm2709.b 0060: 6f617264 7265763d 30786130 32306433 oardrev=0xa020d3 0070: 2062636d 32373039 2e736572 69616c3d bcm2709.serial= 0080: 30786365 62313635 39642062 636d3237 0xceb1659d bcm27 0090: 30392e75 6172745f 636c6f63 6b3d3438 09.uart_clock=48 00a0: 30303030 30302062 636d3237 30392e64 000000 bcm2709.d 00b0: 69736b5f 6c65645f 6770696f 3d323920 isk_led_gpio=29 00c0: 62636d32 3730392e 6469736b 5f6c6564 bcm2709.disk_led 00d0: 5f616374 6976655f 6c6f773d 3020736d _active_low=0 sm 00e0: 73633935 78782e6d 61636164 64723d42 sc95xx.macaddr=B 00f0: 383a3237 3a45423a 42313a36 353a3944 8:27:EB:B1:65:9D 0100: 2076635f 6d656d2e 6d656d5f 62617365 vc_mem.mem_base 0110: 3d307833 65633030 30303020 76635f6d =0x3ec00000 vc_m 0120: 656d2e6d 656d5f73 697a653d 30783430 em.mem_size=0x40 0130: 30303030 30302020 726f6f74 3d4e414d 000000 root=NAM 0140: 453d6e65 74627364 2d726f6f 7400.... E=netbsd-root.
kaslr-seed              a13996ff 1117f038 ........ ........   .9.....8
name                    63686f73 656e00.. ........ ........   "chosen"
stdout-path 73657269 616c313a 31313532 30306e38 serial1:115200n8
            0010:       00...... ........ ........ ........   .


10.99.2 -current:

rpi3# ofctl /chosen
[Caching 124 nodes and 786 properties]
bootargs 62636d32 3730385f 66622e66 62776964 bcm2708_fb.fbwid 0010: 74683d36 35362062 636d3237 30385f66 th=656 bcm2708_f 0020: 622e6662 68656967 68743d34 31362062 b.fbheight=416 b 0030: 636d3237 30385f66 622e6662 73776170 cm2708_fb.fbswap 0040: 3d312064 6d612e64 6d616368 616e733d =1 dma.dmachans= 0050: 30783766 33352062 636d3237 30392e62 0x7f35 bcm2709.b 0060: 6f617264 7265763d 30786130 32306433 oardrev=0xa020d3 0070: 2062636d 32373039 2e736572 69616c3d bcm2709.serial= 0080: 30786365 62313635 39642062 636d3237 0xceb1659d bcm27 0090: 30392e75 6172745f 636c6f63 6b3d3438 09.uart_clock=48 00a0: 30303030 30302062 636d3237 30392e64 000000 bcm2709.d 00b0: 69736b5f 6c65645f 6770696f 3d323920 isk_led_gpio=29 00c0: 62636d32 3730392e 6469736b 5f6c6564 bcm2709.disk_led 00d0: 5f616374 6976655f 6c6f773d 3020736d _active_low=0 sm 00e0: 73633935 78782e6d 61636164 64723d42 sc95xx.macaddr=B 00f0: 383a3237 3a45423a 42313a36 353a3944 8:27:EB:B1:65:9D 0100: 2076635f 6d656d2e 6d656d5f 62617365 vc_mem.mem_base 0110: 3d307833 65633030 30303020 76635f6d =0x3ec00000 vc_m 0120: 656d2e6d 656d5f73 697a653d 30783430 em.mem_size=0x40 0130: 30303030 30302020 726f6f74 3d4e414d 000000 root=NAM 0140: 453d6e65 74627364 2d726f6f 7400.... E=netbsd-root.
kaslr-seed              f8f620b9 0601e0a0 ........ ........   .. .....
name                    63686f73 656e00.. ........ ........   "chosen"
stdout-path 73657269 616c313a 31313532 30306e38 serial1:115200n8
            0010:       00...... ........ ........ ........   .
rpi3# uname -a
NetBSD rpi3 10.99.2 NetBSD 10.99.2 (GENERIC64) #0: Sun Apr 2 15:06:06 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm

I see both get root=NAME=netbsd-root and -current also detects this dk1 wedge with the same "netbsd-root" name. I got the same issue 2-3 weeks ago but disregarded it thinking "oh well, -current" but seems something is not right. Does this qualify for a PR or am I doing something wrong?

--
Regards
Bartłomiej Krawczyk



Home | Main Index | Thread Index | Old Index