From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] new image rules (Was: PTXdist 2014.05.0 released)
Date: Wed, 26 Nov 2014 10:54:02 +0100 [thread overview]
Message-ID: <20141126095402.GD19664@pengutronix.de> (raw)
In-Reply-To: <12ff834efa2ac2ef3cc70f10e8680dcb@localhost>
Hi,
On Tue, Nov 25, 2014 at 02:49:06PM +0100, Alexander Dahl wrote:
> >>> What's the difference between the old and the new image rules and why
> >>> should one use the one or the other?
> >>
> >> First of all, long-term I'd like to remove the old rules. So use the new
> >> rules and yell here if you have a use-case that the new rules cannot
> >> handle.
> >
> > We are using ubi and ubifs here and I tried it today after migration to
> > ptxdist 2014.06.0. It does not work yet, I get a kernel panic after a
> > factory reset with a new image. Digging deeper into this needs time I do
> > not have at the moment. I'll have a look later if you don't mind.
>
> I had time for this today and I found the reason for this: with the old
> rules there was PTXCONF_IMAGE_UBI_ROOT_VOL_NAME which was set to
> 'rootfs0' here. With the new rules this parameter is gone and instead
> there's a line 'name = "root"' hardcoded in config/images/ubifs.config
> which lead to not mounting this and not finding that and so on. I could
> fix this by adapting our uboot environment and startup scripts.
>
> I suppose I could also have copied the config/images/ubifs.config to our
> BSP and edit the name there?
Correct. That's the idea with the new image rules: Not to many options in
the menu, but you can always overwrite the config file in the BSP.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2014-11-26 9:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 10:56 [ptxdist] [ANNOUNCE] PTXdist 2014.05.0 released Michael Olbrich
2014-05-21 14:30 ` Alexander Dahl
2014-06-02 10:42 ` Michael Olbrich
2014-06-13 12:54 ` [ptxdist] new image rules (Was: PTXdist 2014.05.0 released) Alexander Dahl
2014-11-25 13:49 ` Alexander Dahl
2014-11-25 14:31 ` Alexander Dahl
2014-11-26 9:54 ` Michael Olbrich [this message]
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=20141126095402.GD19664@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--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