Hi Greg,
The failed behavior is bad data; all registers (e.g. GPIO) will read 0xffffffff.
The test value of MCF_SCM_MPR was 0x76666666
Thanks a bunch
Greg Ungerer gerg at snapgear.com wrote:
> What is the failed behavior?
> Kernel trap?
> Bad data?
>
> Regards
> Greg
Ted Victorio wrote:
> I would like to access MCF5329 registers directly while in user space of
> 2.6 kernel (uClinux-dist-20060803).
>
> I have tried modifying MCF_SCM_MPR = 0x77777777 to MCF_SCM_MPR =
> 0x66666666 in the "linux-2.6.x/arch/m68knommu/platform/532x/config.c"
> file. I also made a similar change in DBUG. However, these two
> modifications do not allow me to access registers directly.
> The reference I consulted is Chapter 11 - System Control Module (SCM) of
> MCF5329
> Reference Manual.
>
> Am I doing this correctly?
>
> Thanks
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev