mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] kernel with initramfs image
@ 2018-06-16  3:29 Jon Ringle
  2018-06-18  9:38 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Ringle @ 2018-06-16  3:29 UTC (permalink / raw)
  To: ptxdist

Prior to ptxdist-2018.06.0 I was able to generate a linuximage with an
embedded initramfs image within it. That is no longer working, and I'm
not sure if this is because I haven't configured my ptxconfig properly
for the new image generation code introduced in this new version of
ptxdist, or if there is something broken with the new code...

Before ptxdist-2018.06.0, the images directory would contain something like:

-rw-r--r--  1 jringle-admin jringle-admin  5374872 Jun 15 22:31 linuximage
-rw-rw-r--  1 jringle-admin jringle-admin 10999296 Jun 15 22:30 root.cpio

The config contains:
$ sed -e 's/#.*$//' -e '/^$/d' configs/ec1k-kernel/platformconfig|grep IMAGE
PTXCONF_KERNEL_IMAGE_U=y
PTXCONF_KERNEL_IMAGE="uImage"
PTXCONF_IMAGE_CPIO=y
PTXCONF_IMAGE_IPKG_INDEX=y
PTXCONF_IMAGE_XPKG_EXTRA_ARGS=""
PTXCONF_IMAGE_KERNEL=y
PTXCONF_IMAGE_KERNEL_INITRAMFS=y
PTXCONF_IMAGE_KERNEL_INSTALL_LATE=y


However, with ptxdist-2018.06.0, the images directory would contain
something like:
-rw-r--r--  1 jringle-admin jringle-admin  2606848 Jun 15 17:16 linuximage
-rw-rw-r--  1 jringle-admin jringle-admin 13411840 Jun 15 17:15 root.cpio
-rw-rw-r--  1 jringle-admin jringle-admin  5507055 Jun 15 17:15 root.tgz

From the size of the linuximage, I can tell that it does not contain
the initramfs image within it.
The config for this contains:
$ sed -e 's/#.*$//' -e '/^$/d' configs/ec1c-kernel/platformconfig|grep IMAGE
PTXCONF_KERNEL_IMAGE_U=y
PTXCONF_KERNEL_IMAGE="uImage"
PTXCONF_IMAGE_KERNEL=y
PTXCONF_IMAGE_KERNEL_INITRAMFS=y
PTXCONF_IMAGE_KERNEL_INSTALL_LATE=y
PTXCONF_IMAGE_ROOT_CPIO=y
PTXCONF_IMAGE_ROOT_TGZ=y
PTXCONF_IMAGE_IPKG_INDEX=y
PTXCONF_IMAGE_XPKG_EXTRA_ARGS=""
PTXCONF_HOST_GENIMAGE=y

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-06-18  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-16  3:29 [ptxdist] kernel with initramfs image Jon Ringle
2018-06-18  9:38 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox