I have just got a linux kernel running on EBSA285
I wrote a small hexdump program to dump the contents of FLASH
I think that the FLASH on this board is at physical address 0x41000000 which maps to virtual address 0xd8000000.
My program causes a segmentation fault like this...
 
bash-2.01# flashdump 0x100000 0x100100
 
flashdump: permission fault on section, address=0xd8100000, code 3
flashdump: permission fault on section, address=0xd8100000, code 3
Segmentation fault
bash-2.01#
 
I thought that as root I would have access to system space.
What is the easiest way around the problem?
 
Thanks for your continued support,
 
Paul Robertson
LocSoft Limited
"The key to your embedded solutions"
www.locsoft.com
Phone +44 (0) 1793 432557
Fax     +44 (0) 1793 432727

Reply via email to