I think this can help you :)
1. Check out the newest source via CVS from handhelds.org^M
2. Search 0xa0000000 in arch/arm/mach-pxa/aximx30/aximx30.c (two
places, at the bottom of this file), change \
them to 0xa8000000^M
3. This step stands for getting serial output, if you don't have a
serial cable, just ignore it.^M
Add this code into your /arch/arm/boot/compressed/head.S file
(after the two #include line)^M
--------------------------------------------------------------------------------------------------^M
#define DEBUG^M
mov r4, r1^M
^M
^M
^M
^M
^M
@ldr r1, #0x40100000^M
mov r1,#0x40000000^M
orr r1,r1,#0x00100000^M
^M
mov r0, #0^M
str r0, [r1, #0x04]^M
^M
^M
mov r0, #(1 << 7)^M
str r0, [r1, #0x0C]^M
^M
mov r0, #0x8^M
str r0, [r1, #0x00]^M
mov r0, #0x0^M
str r0, [r1, #0x04]^M
^M
mov r0, #((1 << 1)|(1 << 0))^M
^M
str r0, [r1, #0x0C]^M
^M
^M
@mov r0, #0x0111^M
mov r0, #0x0100^M
add r0, r0, #0x0011^M
str r0, [r1, #0x08 mov
r0,#(1 << 6)^M
str r0,[r1, #0x04]^M
mov r1, r4^M
mov r7, r1^M
mov r0, #0^M
-------------------------------------------------------------
4. Fix arch/arm/mach-pxa/Makefile.boot, change 0xa0008000 to 0xa8008000.^M
5. Fix include/asm-arm/arch-pxa/memory.h ,change PHYS_OFFSET
0xa0008000 to 0xa8008000.^M
6. make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux- aximx30_defconfig^M
change the CROSS_COMPILE path to yours.^M
7. make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux- zImage.^M
^M
^M
If your kernel doesn't work after done these steps, just tell me ,
maybe there is somthing I don't remember c\
learly :)
-- Fisherss fisherss_at_gmail.comReceived on Wed Jun 15 2005 - 01:54:57 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 18:10:03 EDT