??SA1110 kernel address help
In kernel 2.4.19 i modified the following addresses and values in the mentioned files . Same thing when i am trying in kernel 2.6 it is not working, how to make it work ,
any suggestions
Please
1) In include/asm-arm/arch-sa1100/memory.h
a) TASK_SIZE 0xC8000000UL //physical address starts from here
b) PHYS_OFFSET 0xC8000000UL
c) PAGE_OFFSET 0xC8000000UL
2) In arch/arm/Makefile
ifeq((CONFIG_ARCH_CPU32),y)
MACHINE = sa1100
endif
TEXTADDR := 0xC8608000//kernel start address
3) In arch/arm/boot/Makefile
ZTEXTADDR = 0xC0008000 // ?
ZRELADDR = 0xC0008000 //?
4) In arch/arm/kernel/head-armv.S
Add
#if 1
mov r1 , #MACH_TYPE_ASSABET
#endif
5) In arch/arm/mach-sa1100/arch.c
a) In fixup_assabet
i)t->u.mem.start = 0xC8000000 from 0xC0000000
ii)t->u.mem.size = 16*1024*1024 from 32*1024*1024
iii)t->u.initrd.start = 0xC8300000 from 0xC0800000
b) BOOT_MEM(0xC8000000,0x80000000,0xf8000000)
BOOT_PARAMS(0xC8000100)
|