mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jon Ringle <jon@ringle.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] kernel with initramfs image
Date: Fri, 15 Jun 2018 23:29:17 -0400	[thread overview]
Message-ID: <CAMwGMjwJUsxd9csMDbDQoh=d6n5WjvT11bOwGb+m_HV9Ha2hgg@mail.gmail.com> (raw)

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

             reply	other threads:[~2018-06-16  3:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-16  3:29 Jon Ringle [this message]
2018-06-18  9:38 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMwGMjwJUsxd9csMDbDQoh=d6n5WjvT11bOwGb+m_HV9Ha2hgg@mail.gmail.com' \
    --to=jon@ringle.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox