* ARM target not boot after remap memory
[not found] <AANLkTi=tWwaFHB0DY=j0UaqbYdYJpGJpmWdGC4aMufSw@mail.gmail.com>
@ 2010-09-13 12:07 ` Mike Rapoport
2010-09-13 12:40 ` Russell King - ARM Linux
0 siblings, 1 reply; 3+ messages in thread
From: Mike Rapoport @ 2010-09-13 12:07 UTC (permalink / raw)
To: linux-arm-kernel
(add LAKLM to CC)
Robin Theunis wrote:
> Dear (Embedded)-Kernel-Devs,
>
> I'm trying to build linux 2.6.34.1 for a AT91RM9200 target. The whole
> build process is successful because I get correct kernel images and
> also a uImage for U-boot.
> The U-boot version is 2010.08. I have build the whole system on a
> 64bit ubuntu machine. I use the latest buildroot to make the toolchain
> and etc. At this moment I have a
> openocd jtag dongle connected to my target for debug sessions.
> I have check that the machine id/type are correct. I have gotten those
> error messages of a unsupported target. I have resolved those errors.
> The target is self is a AT91RM9200 with 64MiB ram and 16MiB cfi flash.
> The boot args of u-boot are "console=ttyS0,115200n8
> root=/dev/mtdblock0 rootfstype=jffs2 mem=64M".
>
> The problem is now when linux kernel is booting, nothing happens.
>
> ---
> U-Boot> bootm
> ## Booting kernel from Legacy Image at 21000000 ...
> Image Name: Linux-2.6.34.1robin9200v1.0
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1811796 Bytes = 1.7 MiB
> Load Address: 20008000
> Entry Point: 20008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
> ---
>
> Here is stalls. With my jtag probe I can locate the problem.
>
> ---
>> halt
> target state: halted
> target halted in ARM state due to debug-request, current mode: Supervisor
> cpsr: 0x600000d3 pc: 0xc000af3c
> MMU: enabled, D-Cache: enabled, I-Cache: enabled
>> arm disassemble 0xc000af3c
> 0xc000af3c 0xeafffffe B 0xc000af3c
> ---
>
> This just loops at that address. Why does it that?
> You see that the mmu is enabled and the cpu has remapped the memory.
> Does someone have a clue what goes wrong?
>
> Here is the .config and board file.
> http://www.on8rth.be/wp-content/uploads/2010/09/dotconfig.txt
> http://www.on8rth.be/wp-content/uploads/2010/09/board-robin9200.c
>
> Thank you
>
> Robin Theunis
> ON8RTH
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Sincerely yours,
Mike.
^ permalink raw reply [flat|nested] 3+ messages in thread
* ARM target not boot after remap memory
2010-09-13 12:07 ` ARM target not boot after remap memory Mike Rapoport
@ 2010-09-13 12:40 ` Russell King - ARM Linux
[not found] ` <AANLkTi=dT1uMrRctB4=Hvh35zVc-DtReWmHj-18cd9XT@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2010-09-13 12:40 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Sep 13, 2010 at 02:07:51PM +0200, Mike Rapoport wrote:
> (add LAKLM to CC)
>> The problem is now when linux kernel is booting, nothing happens.
>>
>> ---
>> U-Boot> bootm
>> ## Booting kernel from Legacy Image at 21000000 ...
>> Image Name: Linux-2.6.34.1robin9200v1.0
>> Image Type: ARM Linux Kernel Image (uncompressed)
>> Data Size: 1811796 Bytes = 1.7 MiB
>> Load Address: 20008000
>> Entry Point: 20008000
>> Verifying Checksum ... OK
>> Loading Kernel Image ... OK
>> OK
>>
>> Starting kernel ...
>>
>> Uncompressing Linux... done, booting the kernel.
>> ---
>>
>> Here is stalls. With my jtag probe I can locate the problem.
>>
>> ---
>>> halt
>> target state: halted
>> target halted in ARM state due to debug-request, current mode: Supervisor
>> cpsr: 0x600000d3 pc: 0xc000af3c
>> MMU: enabled, D-Cache: enabled, I-Cache: enabled
>>> arm disassemble 0xc000af3c
>> 0xc000af3c 0xeafffffe B 0xc000af3c
Probably __error. Either your machine isn't supported, or the kernel
doesn't recognise your processor.
Is your version of uboot sufficiently recent that it passes the correct
machine ID in r1 ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* ARM target not boot after remap memory
[not found] ` <AANLkTi=dT1uMrRctB4=Hvh35zVc-DtReWmHj-18cd9XT@mail.gmail.com>
@ 2010-09-13 12:53 ` Russell King - ARM Linux
0 siblings, 0 replies; 3+ messages in thread
From: Russell King - ARM Linux @ 2010-09-13 12:53 UTC (permalink / raw)
To: linux-arm-kernel
BTW, Please do not drop CCs.
On Mon, Sep 13, 2010 at 02:48:18PM +0200, Robin Theunis wrote:
> Hi Russell,
>
> Yes I have tested it. I made a breakpoint at 0x2008000 and viewed that
> the r1 register and there in I found the correct ID.
>
> Robin
>
> 2010/9/13 Russell King - ARM Linux <linux@arm.linux.org.uk>:
> > On Mon, Sep 13, 2010 at 02:07:51PM +0200, Mike Rapoport wrote:
> >> (add LAKLM to CC)
> >
> >>> The problem is now when linux kernel is booting, nothing happens.
> >>>
> >>> ---
> >>> U-Boot> bootm
> >>> ## Booting kernel from Legacy Image at 21000000 ...
> >>> ? ?Image Name: ? Linux-2.6.34.1robin9200v1.0
> >>> ? ?Image Type: ? ARM Linux Kernel Image (uncompressed)
> >>> ? ?Data Size: ? ?1811796 Bytes = 1.7 MiB
> >>> ? ?Load Address: 20008000
> >>> ? ?Entry Point: ?20008000
> >>> ? ?Verifying Checksum ... OK
> >>> ? ?Loading Kernel Image ... OK
> >>> OK
> >>>
> >>> Starting kernel ...
> >>>
> >>> Uncompressing Linux... done, booting the kernel.
> >>> ---
> >>>
> >>> Here is stalls. With my jtag probe I can locate the problem.
> >>>
> >>> ---
> >>>> halt
> >>> target state: halted
> >>> target halted in ARM state due to debug-request, current mode: Supervisor
> >>> cpsr: 0x600000d3 pc: 0xc000af3c
> >>> MMU: enabled, D-Cache: enabled, I-Cache: enabled
> >>>> ? arm disassemble 0xc000af3c
> >>> 0xc000af3c ? 0xeafffffe ? ? ?B 0xc000af3c
> >
> > Probably __error. ?Either your machine isn't supported, or the kernel
> > doesn't recognise your processor.
> >
> > Is your version of uboot sufficiently recent that it passes the correct
> > machine ID in r1 ?
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-13 12:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AANLkTi=tWwaFHB0DY=j0UaqbYdYJpGJpmWdGC4aMufSw@mail.gmail.com>
2010-09-13 12:07 ` ARM target not boot after remap memory Mike Rapoport
2010-09-13 12:40 ` Russell King - ARM Linux
[not found] ` <AANLkTi=dT1uMrRctB4=Hvh35zVc-DtReWmHj-18cd9XT@mail.gmail.com>
2010-09-13 12:53 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).