Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH 06/14] Pramfs: Include files | Date | Tue, 23 Jun 2009 23:55:32 +0200 |
| |
On Tuesday 23 June 2009, David Woodhouse wrote: > And dd on /dev/mem would work, surely?
Actually, reading from /dev/mem is only valid on real RAM. If the nvram is part of an IO memory mapping, you have to do mmap()+memcpy() rather than read(). So dd won't do it, but it's still easy to read from user space.
> I'd definitely recommend making it fixed-endian. Not doing so for JFFS2 > was a mistake I frequently regretted.
Right.
Arnd <><
| |