mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Why /dev/mem has null size?
@ 2020-12-14 17:51 DEMIRDJIAN, Antoine
  2020-12-14 18:13 ` Ahmad Fatoum
  0 siblings, 1 reply; 3+ messages in thread
From: DEMIRDJIAN, Antoine @ 2020-12-14 17:51 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-14 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 17:51 Why /dev/mem has null size? DEMIRDJIAN, Antoine
2020-12-14 18:13 ` Ahmad Fatoum
2020-12-14 18:38   ` DEMIRDJIAN, Antoine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox