MPC82xx -- DPRAM1
morten.banzon at axxessit.no
morten.banzon at axxessit.no
Tue Nov 16 03:10:42 EST 2004
Hi,
I am using 2.6.9 for a mpc8280 project, and am having trouble using dpram1
from offset zero, which I need for a mcc hdlc driver.
In the file include/asm-ppc/cpm2.h there is a constant CPM_DATAONLY_BASE
In the same file the code comment say that the first 128 bytes are used
for SMC1 and SMC2.
When I examine the smc (cpm_uart) driver i do not find any reference to
this region of the dpram1.
I have replaced the calls to cpm_dpalloc with cpm_dpalloc_fixed and an
adress way up in the dpram1 region.
My question is; do you know which code is using the dpram1 addresses below
CPM_DATAONLY_BASE ?
This region must be used by something (smc ?), because when I clear from
offset 0x00 to 0x80 the serial port stop responding.
I can ssh to the device and things seems to be normal util I try to reboot
the system, whereupon everything hangs.
I am stuck, so if you have any suggestions, please advice.
Regards,
Morten
More information about the Linuxppc-embedded
mailing list