I've found the way to boot the kernel in the CLPS7500 Evaluation board:
I've modified the head-armv.S in the asm/arch/kernel directory adding some
code to
disable the MMU on the microprocessor.
I report it to help other people with my problem.
Here is my modified file:
ENTRY(stext)
mov r12, r0
mov r3, r1
mov r0, #F_BIT | I_BIT | MODE_SVC @ make sure svc mode
msr cpsr_c, r0 @ and all irqs disabled
/* This is my code to turn off MMU: */
adr lr, 1f
add lr, lr, #0x10000000 @ address after MMU off
mov r1, #0
mcr p15, 0, r1, c7, c0, 0 @ flush cache
mcr p15, 0, r1, c5, c0, 0 @ flush TLB
mov r1, #0x30
mcr p15, 0, r1, c1, c0, 0 @ turn off MMU etc
mov r0, r0
mov pc, lr
1:
mov r1, r3
/* ****** */
This disable the MMU and ad 0x10000000 to PC because the angel remap the RAM
in 0x00000000.
After that, with the console on ttyS1 I can see the kernel messages.
I use the angelboot with the r0=0 and r1=14.
Thanks for the help.
Gabriele
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.