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 06:51:58 PDT 2014


I've created & populated a Raspbian/*jessie* chroot on my openSUSE host.  It'll be used for cross-building for my RPi.

When checking the chroot's kernel arch, I get different results.

>From my hosts' shell,

	chroot /opt/raspbian-chroot bash -c "uname -rm"
		3.16.1-7.g90bc0f1-desktop armv7l

or, 1st entering the chroot,

	chroot /opt/raspbian-chroot
	uname -rm
		3.16.1-7.g90bc0f1-desktop armv6l


Notice -- 'armv7l' vs 'armv6l'.

IIUC, Raspbian is built specifically for the RPi, which is armv*6l*.

I've no idea why I get different results here.  What's the correct way to test for / return the chroot's kernel arch?

GrantK




More information about the linux-rpi-kernel mailing list