mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Balasa, Bogdan" <BBalasa@Morganschaffer.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: bareboxenv-target
Date: Sat, 15 Nov 2014 18:54:17 +0100	[thread overview]
Message-ID: <20141115175417.GX30369@pengutronix.de> (raw)
In-Reply-To: <4C598A31AEBE214FB619D7F2DC3BD8AB013B08B107@MSI0E01.MSI.Local>

On Fri, Nov 14, 2014 at 06:44:30PM +0000, Balasa, Bogdan wrote:
> Hi,
> 
> I'm using barebox 2014.11.0, kernel 3.14 on phyFlex imx6 and when loading barebox environment from userspace I get a wrong magic:
> -------
> ./bareboxenv-target -l /mnt/bbox /dev/mtd1
> envfs: wrong magic
> -------
> root@imx6q-pbab01:~# cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 00400000 00020000 "barebox"
> mtd1: 00020000 00020000 "barebox-environment"
> mtd2: 00800000 00020000 "kernel"
> mtd3: 3f3e0000 00020000 "root"

This seems to be your Nand flash, so if you have your environment in NOR
FLash,

> mtd4: 01000000 00010000 "spi2.0"

it should be here. However, the NOR Flash is not partitioned, so the
partitions get lost somewhere between barebox and the kernel.

Sascha


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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2014-11-15 17:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 18:44 bareboxenv-target Balasa, Bogdan
2014-11-15 17:54 ` Sascha Hauer [this message]
2020-10-28 11:09 bareboxenv-target Barbier, Renaud
2020-11-02 13:13 ` bareboxenv-target Roland Hieber
2020-11-04 10:05   ` bareboxenv-target Barbier, Renaud
2020-11-06  9:55   ` bareboxenv-target Barbier, Renaud
2020-11-06 12:25     ` bareboxenv-target Roland Hieber
2020-11-06 13:12       ` bareboxenv-target Barbier, Renaud
2020-11-06 12:06   ` bareboxenv-target Barbier, Renaud
2020-11-06 12:31     ` bareboxenv-target Roland Hieber
2021-03-23 12:33 ` bareboxenv-target Ahmad Fatoum
2021-03-23 14:44   ` bareboxenv-target Barbier, Renaud
2021-03-23 15:47     ` bareboxenv-target Ahmad Fatoum
2021-05-31 17:10       ` bareboxenv-target Ahmad Fatoum

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=20141115175417.GX30369@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=BBalasa@Morganschaffer.com \
    --cc=barebox@lists.infradead.org \
    /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