testing for RPi chroot's kernel arch -- getting different results (anrv7l vs armv6l) depending on how I test. why?
Stephen Warren
swarren at wwwdotorg.org
Thu Sep 4 20:20:03 PDT 2014
On 09/04/2014 08:43 PM, grantksupport at operamail.com wrote:
> Hi
>
> On Thu, Sep 4, 2014, at 07:19 PM, Stephen Warren wrote:
>> I would suspect that. Try removing or comment that line and retesting.
>
> Bingo. That ENV var is the 'culprit',
>
> chroot /opt/raspbian-chroot bash -c "uname -rm"
> 3.16.1-7.g90bc0f1-desktop armv7l
>
> chroot /opt/raspbian-chroot bash -c "QEMU_CPU=arm1176 uname -rm"
> 3.16.1-7.g90bc0f1-desktop armv6l
>
> Since, for RPi, 'armv6l' is the correct arch, what/where in this ^^ setup can the default arch be set so that 'just'
>
> chroot /opt/raspbian-chroot bash -c "uname -rm"
>
> would correctly return
>
> 3.16.1-7.g90bc0f1-desktop armv6l
I don't know. Hopefully "man qemu" or "man qemu-arm-static" would say.
More information about the linux-rpi-kernel
mailing list