Thread (3 messages) 3 messages, 3 authors, 2012-03-15

data abort in paging_init call in kernel

From: pcuser p <hidden>
Date: 2012-03-14 15:51:14

I'm doing kernel porting to arm926 based FPGA board,very minimal setup.
Only UART and timer devices are available as part of FPGA.

Below are the details
#define PLAT_PHYS_OFFSET       0x80000000 (with 128 MB SDRAM)
#define CONFIG_PAGE_OFFSET  0xc0000000

Kernel command parameter has 64MB for mem (mem=64M)

Memory layout:

0xc000_0000 - 0xc800_0000 (128MB virtual mapped SDRAM)
initramfs from 0xC200_0000 - 0xC280_0000 (8MB)
vmalloc is used from 0xc400_0000 - 0xc800_0000

CONFIG_HIGH_MEM not used

device registers are accessed by using ioremap() calls

If I enable data cache and debug with JTAG, Kernel ends up in data
abort exception vector address after paging_init() call.

I think there is some problem in memory setup.Can some one suggest how
to overcome this...


Thanks,
pcuser
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help