Port-arm archive

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

Re: 2019-09-28-netbsd9-raspi-earmv6hf.img



logix%foobar.franken.de@localhost (Harold Gutch) writes:

>> http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/rpi4boot.tgz

>It boots for me with an arm64.img from 201909221140Z .  It crashes
>upon reboot but cold boots work so far.  Ethernet does not work, that
>was expected, but I can log in via serial console.

Yes, cold boot crashes after loading the kernel in pmapboot_protect()
when accessing the mmu tables. Maybe some stale TLB entry.


>Wifi does not work for me either:

>  [   2.4495996] sdmmc0: SDIO function
>  [   2.4495996] bwfm0 at sdmmc0 function 1
>  [   2.4595997] bwfm0: WARNING: power management not supported
>  [   2.4595997] (manufacturer 0x2d0, product 0xa9a6) at sdmmc0 function 2 not configured
>  [   2.4696005] (manufacturer 0x2d0, product 0xa9a6, standard function interface code 0x2) at sdmmc0 function 3 not configured
>[...]

That part is fine, only function 1 attaches (and implicitely uses the other
functions).

>  [   3.1196345] bwfm0: failed firmware_open of file brcmfmac43455-sdio.bin
>Shouldn't 0xa9a6 be looking for brcmfmac43430-sdio.bin?

You need the files for bcm43455.


>Anyway, with the firmware files in place (both .bin and .txt for both
>43430 and 43455) it doesn't work either, I get:

>  [   3.3805690] sdhc0: cmd crc error (cmd=353a)
>  [   3.3805690] sdhc0: cmd timeout error (cmd=353a)
>  [   3.3805690] sdmmc0: extended I/O error 60, r=62336 p=0xffffffc003c16380 l=64 w=1
>  [   3.3905677] bwfm_sdio_buf_write: error 60
>  [   3.3905677] bwfm_sdio_ram_read_write: error 60
>  [   3.4005686] bwfm0: could not load microcode

I also see some sdhc0 errors, but not in this place. Maybe wrong firmware
files ?

-rw-r--r--  1 root  wheel  488193 Aug 31 19:56 brcmfmac43455-sdio.bin
-rw-r--r--  1 root  wheel    1864 Aug 31 19:56 brcmfmac43455-sdio.txt
MD5 (brcmfmac43455-sdio.bin) = 0324fe9ce34b6c6c44cc5fd77a669d39
MD5 (brcmfmac43455-sdio.txt) = 62d3e3bad57b074d6853f02270a8610e

The txt file is for pi3b+ which uses the same chip.

>The exact errors vary from boot to boot, something I got just now was:

>  [     3.401040] sdmmc0: autoconfiguration error: extended I/O error 60, r=49408 p=0xffffffc003c13100 l=64 w=1

That's just the same as above. The firmware is written in 64 byte chunks.


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index