Re: odd mmap behavior

2009-10-21 Thread Carl Banks
On Oct 21, 6:50 am, Brett wrote: > I also posted this question to the linux-omap list and received some > helpful (and timely) assistance. I'm running this on an ARM (omap > 3530, gumstix). Here is the take-home message (from the omap technical > reference and reported to me > herehttp://www.spin

Re: odd mmap behavior

2009-10-21 Thread Brett
On Oct 21, 8:02 am, Carl Banks wrote: > On Oct 20, 5:03 pm, Brett wrote: > > > > > I'm trying to read and write from /dev/mem on a linux system using the > > mmap module. When I run this minimal example: > > --- > > import os, mmap > > > MAP_MASK = mmap.PAGESIZE - 1 >

Re: odd mmap behavior

2009-10-21 Thread Carl Banks
On Oct 20, 5:03 pm, Brett wrote: > I'm trying to read and write from /dev/mem on a linux system using the > mmap module. When I run this minimal example: > --- > import os, mmap > > MAP_MASK = mmap.PAGESIZE - 1 > > addr = 0x48088024 > > f = os.open("/dev/mem", os.O_RDWR