All of lore.kernel.org
 help / color / mirror / Atom feed
* uImage generation: kernel.bbclass vs linux.inc
@ 2008-03-28 18:45 Jeremy Lainé
  2008-03-28 19:06 ` Thomas Kunze
  2008-03-28 19:30 ` Koen Kooi
  0 siblings, 2 replies; 5+ messages in thread
From: Jeremy Lainé @ 2008-03-28 18:45 UTC (permalink / raw)
  To: openembedded-devel

With the recent changes to kernel.bbclass it seems that uboot-mkimage is
called twice:

linux.inc: do_compile_append()

1/ uses uboot-mkimage to generate generates arch/${ARCH}/boot/uImage


kernel.bbclass: do_deploy()

1/ copies arch/${ARCH}/boot/uImage to
${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin

2/ does package_stagefile_shell
${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin

3/ uses uboot-mkimage to generate
${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}.bin

This seems pretty inconsistent! Also, why the hard-coded uImage-xyz file
name, shouldn't we be using KERNEL_IMAGE_BASE_NAME?

To make things a bit more interesting, KERNEL_IMAGE_BASE_NAME is set
differently in kernel.bbclass and linux.inc:

kernel.bbclass :
KERNEL_IMAGE_BASE_NAME =
${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}"

linux.inc:
KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}"

Where do we go from here?

Cheers,
Jeremy



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-31  9:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-28 18:45 uImage generation: kernel.bbclass vs linux.inc Jeremy Lainé
2008-03-28 19:06 ` Thomas Kunze
2008-03-31  8:32   ` Jeremy Lainé
2008-03-28 19:30 ` Koen Kooi
2008-03-31  9:19   ` Jeremy Lainé

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.