Hi Gilles, I found the problem.
There seems to be a sw-workaround needed to access the peripherals in user-mode. It is implemented in cpu.c, which the bsp for the iMX25 did not have, but the iMX3 has. I implemented the post_cpu_init() call for the iMX25 and now the access is fine. Thanks for your reply! On Wed, Oct 28, 2009 at 4:19 PM, Gilles Chanteperdrix <[email protected]> wrote: > Henri Roosen wrote: >> Hi Gilles, >> >> Thanks for the quick response! Please find attached the .config > > Ok. I can not find anything about /dev/mem in the kernel configuration. > I wonder where I saw this. > > If you are sure that the physical address is correct, then maybe the MMU > parameter are incorrect. In xeno_arm_features_check, could you try to > open /dev/mem without the O_SYNC flag, and see if it does not change > anything ? > > If it does not work, I am afraid you will have to configure Xenomai > user-space with --enable-arm-mach=generic, in which case the tsc > emulation in user-space will be disabled. > > -- > Gilles > > _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
