Re: Get machine type in user-space

Russell King - ARM Linux <[email protected]> Thu, 20 Jun 2013 20:43:11 +0100
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
On Thu, Jun 20, 2013 at 09:19:44PM +0200, Per Strandh wrote:
> Yes - When the kernel contained a match of the "machine type" the name
> (Hardware:) in /proc/cpuinfo can be used.
> 
> But my problem/question is...
> If a kernel that did NOT support the "machine type" that the
> bootloader reported has been used, the kernel will still load by
> choosing one of the ones it does support.

No it doesn't.  If the ID is not recognised, it fails to boot.