problem when read internal memory
Alan Wang
wung_y at sina.com
Thu Apr 12 02:41:45 EST 2001
Hi, all
we're porting linux-2.2.13 to our customized board(MPC823e). I modified some head file according
the specification of our board such as memory map. the IMMR is set to 0xff000000. now, the kernel
can be loaded by bootloader(written by ourselves). but inm8xx_cpm_reset() which is called in
setup_arch:
void m8xx_cpm_reset(uint host_page_addr)
{
volatile immap_t *imp;
volatile cpm8xx_t *commproc;
pte_t *pte;
imp = (immap_t *)IMAP_ADDR;
commproc = (cpm8xx_t *)&imp->im_cpm;
this line generates a machine check exception when write/read to internal memory.
why? any suggestion and comment are welcome. thank you.
A.W.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list