From: "DEMIRDJIAN, Antoine" <antoine.demirdjian@airliquide.com>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Why /dev/mem has null size?
Date: Mon, 14 Dec 2020 19:38:37 +0100 [thread overview]
Message-ID: <CAEuS4-1tDsyz9EgZMyXiZQ7s-yQdTcnP=x4edjLEe4MUQE+-pw@mail.gmail.com> (raw)
In-Reply-To: <75571783-3a55-bb7a-eda7-ce906832ad6d@pengutronix.de>
Hello Ahmad,
Le lun. 14 déc. 2020 à 19:13, Ahmad Fatoum <a.fatoum@pengutronix.de> a écrit :
>
> Hello Antoine,
>
> On 14.12.20 18:51, DEMIRDJIAN, Antoine wrote:
> > Dear all,
> >
> > I'm trying to "addpart" to /dev/mem in order to copy my raw boot image inside.
>
> The normal usage is to let barebox worry about memory allocation:
>
> bootm /image and go /image both memory map /image for you.
I did not know that it was possible to use bootm on a device.
I tried to use "bootm /dev/mmc2" and it works.
Awesome :-)
I thought I had to create a partition in /dev/mem to copy my binary
inside in order to boot...
Sorry for the noise,
Best regards,
Antoine
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2020-12-14 18:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 17:51 DEMIRDJIAN, Antoine
2020-12-14 18:13 ` Ahmad Fatoum
2020-12-14 18:38 ` DEMIRDJIAN, Antoine [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='CAEuS4-1tDsyz9EgZMyXiZQ7s-yQdTcnP=x4edjLEe4MUQE+-pw@mail.gmail.com' \
--to=antoine.demirdjian@airliquide.com \
--cc=a.fatoum@pengutronix.de \
--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