mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] new image rules (Was: PTXdist 2014.05.0 released)
Date: Tue, 25 Nov 2014 14:49:06 +0100	[thread overview]
Message-ID: <12ff834efa2ac2ef3cc70f10e8680dcb@localhost> (raw)
In-Reply-To: <539f895a8febf8fd659beb7aa510c4e2@idefix.lespocky.dyndns.org>

Hei hei, 

>>> 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?

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-11-25 13:49 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 [this message]
2014-11-25 14:31         ` Alexander Dahl
2014-11-26  9:54         ` 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=12ff834efa2ac2ef3cc70f10e8680dcb@localhost \
    --to=post@lespocky.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