All of lore.kernel.org
 help / color / mirror / Atom feed
* [raspberry] MACHINE var value and boards compatibilities
@ 2017-04-14 13:06 Andrea Benini
  0 siblings, 0 replies; only message in thread
From: Andrea Benini @ 2017-04-14 13:06 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

Hi List,
As suggested from Andrei I'm posting my issue here to get some help.

I'm able to compile a basic yocto image (rpi-hwup-image.bb) for RaspberryPi
(1/2/3/0) boards just by changing the MACHINE var, but when I set it to
"raspberrypi" my image boots just only on v1 boards (B and B+), the same
happens for "raspberrypi3" boards (3 only) and so on. Boot partition for
each image is basically the same and has its kernel.img (or kernel7.img)
only.
Is there a way to create an universal image (P1, P2, P3 support) that goes
on each board just like what raspbian does ? I mean, I can compile with
MACHINE set to "raspberrypi" and generate various kernels (1,2,3,0) to
match the destination board, It's not heavily optimized but at least it
runs on each single machine
On a cleaned up installation I have left busybox and kernel configs
untouched because I'm doing just bare tests on them, each single image
works but I wish to combine them. I might be able to compile each single
kernel and with a dirty batch hack I can merge them, but, is there a Yocto
way to do it ?

Thanks in advance for your reply
Ben

[-- Attachment #2: Type: text/html, Size: 1900 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-14 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14 13:06 [raspberry] MACHINE var value and boards compatibilities Andrea Benini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.