[yocto] [meta-yocto-bsp][PATCH] beaglebone.conf: update KERNEL_IMAGETYPE to match u-boot

Maciek Borzecki maciej.borzecki at open-rnd.pl
Tue Dec 9 09:59:35 PST 2014


On wto, 2014-12-09 at 10:51 -0500, Bruce Ashfield wrote:
> On 12/09/2014 10:44 AM, Maciej Borzecki wrote:
> > U-boot 2014.07 in Poky expects a zImage kernel image, thus a build done with
> > current machien config will not be directly useable. Update machine config to
> > produce a zImage.
> 
> poky's README.hardware should be updated as well. When we wrote the 
> instructions
> (and tested on 3.14) the uImage worked, so that is what is referenced
> in the instructions :)

Actually README.hardware section about BBB can be updated with info
about wic. Starting with 1.7 working SD card images for BBB can be built
out of the box, without going through manual partitiong, untarring,
etc. 

AFAIK the same applies to x86 images, though Tom would be the best
person to comment here.


> Bruce
> 
> >
> > Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
> > Signed-off-by: Maciek Borzecki <maciek.borzecki at gmail.com>
> > ---
> >   meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf
> > index a316207..fb0189d 100644
> > --- a/meta-yocto-bsp/conf/machine/beaglebone.conf
> > +++ b/meta-yocto-bsp/conf/machine/beaglebone.conf
> > @@ -24,7 +24,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
> >   PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> >   PREFERRED_VERSION_linux-yocto ?= "3.14%"
> >
> > -KERNEL_IMAGETYPE = "uImage"
> > +KERNEL_IMAGETYPE = "zImage"
> >   KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
> >   KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
> >
> >
> 


-- 
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland
www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem
lub poufne informacje i została wysłana wyłącznie do wiadomości i
użytku osób, do których została zaadresowana. Jeśli wiadomość została
otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do
osób trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej
sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.

This message, including any attachments hereto, may contain privileged
or confidential information and is sent solely for the attention and
use of the intended addressee(s). If you are not an intended addressee,
you may neither use this message nor copy or deliver it to anyone. In
such case, you should immediately destroy this message and kindly notify
the sender by reply email. Thank you.





More information about the yocto mailing list