testing for RPi chroot's kernel arch -- getting different results (anrv7l vs armv6l) depending on how I test. why?
grantksupport at operamail.com
grantksupport at operamail.com
Thu Sep 4 19:43:03 PDT 2014
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
?
Grant
More information about the linux-rpi-kernel
mailing list