I’m trying to built TrueFFS driver for AMD MirrorBit NOR.
Platform - ARM9 (AT91RM9200).
To obtain access to connected flash I use
memsegPtr = mmap_device_memory(
PROT_READ | PROT_WRITE | PROT_NOCACHE,
If size is 16MB (or more) function return ENOMEM error.
If size ~14MB or less function says OK.
Why? What can be wrong here?