Date: Thu, 10 Aug 2017 15:51:03 +0200 From: Sylvain Garrigues <sylvain@sylvaingarrigues.com> To: Mark Millard <markmi@dsl-only.net> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: armv6 kernel support for Raspberry Pi 3 in default aarch32 mode Message-ID: <CAKT8nAiJBv5mRKPfoiENkw%2B_Vur__AcaK-W%2BDtc50Dgk5_D=3w@mail.gmail.com> In-Reply-To: <8910A9FB-E936-4576-97B1-B2EDCB1ED1AE@dsl-only.net> References: <CAKT8nAiUYBOzvCoHz_rx4npMVvisqQgQLX1jRWhYzq5hk6wcGQ@mail.gmail.com> <AA7A410C-CED5-48C5-B62F-1FCD679DF317@dsl-only.net> <CAKT8nAgciFjG2iBVCFnUEQEMQ94mi80Sk%2BH_qmG_V31V=ks%2BJg@mail.gmail.com> <8910A9FB-E936-4576-97B1-B2EDCB1ED1AE@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 2017-08-10 1:58 GMT+02:00 Mark Millard <markmi@dsl-only.net>: > > Overall: Supporting aarch32 is not automatic > even if one starts from armv7 or specifically > a cortex-a53 context unless one was lucky > enough to happen to not touch or depend on > any of the differences at any stage. Thanks. I guess though that it's quite easily feasible for someone familiar with arm lower level initialization. I can see NetBSD managed to make the armv7 kernel boot on Raspberry Pi 3 with one commit: Get the RPI3 working (in aarch32 mode) by recognising Cortex A53 CPUs. - https://github.com/IIJ-NetBSD/netbsd-src/commit/00335f7adc380a125d045279c1a0f5525fb557da Same for OpenBSD folks: http://marc.info/?l=openbsd-tech&m=145692659524971&w=2 Plus FreeBSD's RPI2 armv6 kernel does boot and recognize the cortex-a53 with qemu-aarch64: qemu-system-aarch64 -M raspi2 -cpu cortex-a53 -m 1024 -smp 4 -kernel kernel.bin -serial stdio -dtb rpi2.dtb So I guess we too are really not far to boot RPI2 "armv6" kernel on raspberry pi 2 v1.2 and raspberry pi 3. I wish I could help. Sylvain
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKT8nAiJBv5mRKPfoiENkw%2B_Vur__AcaK-W%2BDtc50Dgk5_D=3w>