Re: booting linux on arm problem
- From: Janaka <janakas@xxxxxxxxxxxx>
- Date: Mon, 08 Oct 2007 17:51:26 -0700
On Oct 9, 6:03 am, Wei Wang <camww...@xxxxxxxxx> wrote:
On Oct 8, 8:37 pm, Juergen Beisert <jbeis...@xxxxxxxxxxxx> wrote:
Wei Wang wrote:
My boot code is located at addr 0x0 and kernel at 0x8000. The boot
code initialize uart and print out OK on a terminal correctly, but
when it jumps to 0x8000 to start the kernel, the PC was set to
0xEA00009A, which is nowhere in my memory map and caused read abort.
The boot code and kernel is supposed to run in the first 64MB DRAM
space. I checked the kernel code and found that the kernel died at the
vprintk subroutine, but I couldn't pin down the actual problem, I
suppose the kernel code should be all right, the only problems should
remain with my boot code. The only printout in terminal after OK was
<<5> which seemed right compared with successful boots. Just wondering
what could be causing this probelm I am seeing, many thanks!
-Wei
What is your memory map? Means to what address ranges are your flash and RAM
mapped?
Juergen
Flash mapped from address 0x0 when booting to 0x4000_0000 after
booting (16MB).
SRAM at 0x4800_0000(32MB).
SDRAM mapped from 0x7000_0000 when booting to 0x0000_0000 after
booting (64MB), and both the boot code and kernel reside here at
address 0x0000_0000.
What does your boot code do in summary ? Is it passing any arguments
to the kernel ? Is the number of arguments you specify match with
whats on the stack ? Is your flash on chip or on the local/IO bus ?
.
- Follow-Ups:
- Re: booting linux on arm problem
- From: Wei Wang
- Re: booting linux on arm problem
- References:
- booting linux on arm problem
- From: Wei Wang
- Re: booting linux on arm problem
- From: Juergen Beisert
- Re: booting linux on arm problem
- From: Wei Wang
- booting linux on arm problem
- Prev by Date: Re: booting linux on arm problem
- Next by Date: Re: booting linux on arm problem
- Previous by thread: Re: booting linux on arm problem
- Next by thread: Re: booting linux on arm problem
- Index(es):
Relevant Pages
|