From: "DEMIRDJIAN, Antoine" <antoine.demirdjian@airliquide.com>
To: barebox@lists.infradead.org
Subject: Why /dev/mem has null size?
Date: Mon, 14 Dec 2020 18:51:52 +0100 [thread overview]
Message-ID: <CAEuS4-2u1BDx0DKn1g4DP1P9H1=OyWxzVH0amhaMbihDE4wDGA@mail.gmail.com> (raw)
Dear all,
I'm trying to "addpart" to /dev/mem in order to copy my raw boot image inside.
But I noticed that /dev/mem doesn't really exists :
From devinfo :
`-- mem1
`-- 0x00000000-0xffffffffffffffff ( 0 Bytes): /dev/mem
And more specifically :
barebox@MyBoard:/ devinfo mem1
Resources:
num: 0
name: mem
start: 0x00000000
size: 0x00000000
Driver: mem
Bus: platform
As a consequence, my addpart fails with "partition end is beyond device".
Do you have any idea why my /dev/mem size is 0x0 ?
Thanks,
--
Antoine D
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2020-12-14 17:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 17:51 DEMIRDJIAN, Antoine [this message]
2020-12-14 18:13 ` Ahmad Fatoum
2020-12-14 18:38 ` DEMIRDJIAN, Antoine
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-2u1BDx0DKn1g4DP1P9H1=OyWxzVH0amhaMbihDE4wDGA@mail.gmail.com' \
--to=antoine.demirdjian@airliquide.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