> What you mean by nothing happen!! Is that mean you dont see anything on
> the vga. IF so try enabling serial console option ( disable vga) and see
> if you can get somthing.
>

I mean that I don't see anything in the ttyS0. The kernel is configured to
have the console on ttyS0 (console=ttyS0,9600 8n1).
I don't have any VGA or frame buffer configured for now.
(It will be possible to have the frame buffer on the VGA after the kernel
starts succesfully ?????)

> What is your options file.
>
> The one that works is here..
>
> base 0x008000
> entry 0x008000
> device /dev/ttyS0
> options "9600 8N1"
> baud 115200
> #otherfile rootfs.gz
> #otherbase 0x800000
> exec minicom
>

My option file is the same, I have only two more options:

r0 0x00000000
r1 0x0000000e

angelboot -f opts zImage

I've written a little debug function in /arch/arm/boot/compressed/misc.c to
trace what happen in the decompress_kernel function, and I've seen that with
the original configuration the stack don't work (the functions are called
but never return correctly). I've seen that the linker call the functions at
address 0x10008000+offset. In the my evaluation board the Angel remap the
DRAM to address 0x00000000 and at the address 0x10000000 there are nothing.
(0x10000000 is the physical address of DRAM with MMU off).
So at this point I've modified the Makefile in the /arch/arm/boot directory
whit the ZTEXTADDR=0x00008000.
After that, my debugging function works well and running angelboot i see:

decompress_kernel
Args: 0x0006CC8C, 0x0005CC8C, 0x0006CC8C, 0x000000E
(my debug messages), then

Uncompressing Linux....
A lot of '.' and then:

crc error
 -- System halted

The gunzip function put data from 0x00074C8C to 0x0010CC8C.
So, what is wrong in my kernel ?
Why I can't use the original configuration at adress 0x10008000 ?
Does it mean that i need to remap the DRAM at 0x10000000 before loading the
kernel image ? It's that possible with Angel ? I don't think so!



Thanks in advance.

Gabriele



_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to