Port-arm archive

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

Re: CURRENT broken on Raspberry Pi 2?



On Mon, Feb 11, 2019 at 12:24:31PM +0000, Nick Hudson wrote:
> On 10/02/2019 23:07, Herbert J. Skuhra wrote:
> > On Sun, Feb 10, 2019 at 09:39:54PM -0000, Michael van Elst wrote:
> > > herbert%gojira.at@localhost ("Herbert J. Skuhra") writes:
> > > 
> > > > > > I am trying upgrade my Raspberry Pi 2 from 8.99.30 to 8.99.34 (earmv6hf)
> > > > > > but the new kernel does not boot. All I see on serial console is:
> > > > > > 
> > > > > > [   1.0000000] NetBSD/evbarm (fdt) booting ...
> > > > > > [   1.0000000] [ Kernel symbol table missing! ]
> > > 
> > > 
> > > > | Modified Files:
> > > > |         src/sys/dev/usb: if_mue.c if_muereg.h if_muevar.h
> > > 
> > > 
> > > RPI2 doesn't use mue. So it's probably something else.
> > 
> > What I did:
> > 
> > % cvs -q update -D "2019-02-03 13:02:00 GMT" -PdAC
> > % ./build.sh -j2 -m evbarm -a earmv6hf -O ../obj -T ../tools -U tools
> > % ./build.sh -j2 -m evbarm -a earmv6hf -O ../obj -T ../tools -U kernel=RPI2
> > 
> > Transfered "../obj/sys/arch/evbarm/compile/RPI2/netbsd.img" to my RPI2
> > and copied the file to /boot/kernel7.img. RPI2 boots.
> > 
> > % cvs -q update -D "2019-02-03 13:12:00 GMT" -PdAC
> > P sys/dev/usb/if_mue.c
> > P sys/dev/usb/if_muereg.h
> > P sys/dev/usb/if_muevar.h
> > % ./build.sh -j2 -m evbarm -a earmv6hf -O ../obj -T ../tools -U tools
> > % ./build.sh -j2 -m evbarm -a earmv6hf -O ../obj -T ../tools -U kernel=RPI2
> > 
> > Transfered "../obj/sys/arch/evbarm/compile/RPI2/netbsd.img" to my RPI2
> > and copied the file to /boot/kernel7.img. RPI2 does not boot.
> > 
> > "git bisect" also showed 839ba011cca6e199499bcf85a7beddbfb5369dc6 as the
> > first bad commit.
> > 
> 
> Did the kernel grow beyond 8MB?

No, the size is 7.3 MB (7604952 Bytes).

I can reproduce this issue with a RPI2 kernel built on a NetBSD-current VM (8.99.34).
I'll try NetBSD 8.0-STABLE next. This version is obviously used to build
the daily snapshots.

Btw. when I do a cross-build on FreeBSD or GNU/Linux two symbolic links are
created in src:

sys/external/gpl2/dts/dist/arch/arm/boot/dts/dts
(symbolic link to sys/external/gpl2/dts/dist/arch/arm/boot/dts)

sys/external/gpl2/dts/dist/arch/arm64/boot/dts/dts
(symbolic link to sys/external/gpl2/dts/dist/arch/arm64/boot/dts)

-- 
Herbert


Home | Main Index | Thread Index | Old Index