[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel
From: |
Qin, Laigui (GE EntSol, Security) |
Subject: |
RE: [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel |
Date: |
Tue, 3 Jun 2008 14:57:33 +0530 |
Hi Kurt,
As you suggested, I step into the head.S with the debugger. The head.S
gets hit, so does the cf_early_init(), even the start_kernel() is hit.
However, everytime executing the printk(), no output from the console.
Do you know what is going wrong?
Mike Qin
-----Original Message-----
From: Kurt Mahan [mailto:address@hidden
Sent: Tuesday, June 03, 2008 12:15 AM
To: Qin, Laigui (GE EntSol, Security)
Cc: Stuart Hughes; address@hidden
Subject: Re: [Ltib] Puzzle: Booting hangs after tranferring from U-boot
to Kernel
Hi Mike
Qin, Laigui (GE EntSol, Security) wrote:
> Hi Kurt,
>
> Thanks for the pointing. My final goal is to build the Linux kernel
> with Ltib, so I posted it here at the beginning..
>
> Yes, I finally found this message in the cf_early_init(). The problem
> is that current booting hangs before this message... I think the Uboot
> parameter transferring maybe a cause. I have made a post in Uboot
> maillist and waiting for reponse...
>
> I have a Greenhill BDM degugger on hand, but since the source code is
> maintained by Makefile, I can only trace the steps in assembly :-(..
>
Well -- one of the first things to do is to figure out if you are
executing the kernel code after the handoff from uboot. I would put a
halt instruction in linux/arch/m68k/coldfire/head.S and then see if it
gets hit. And then step through head.S with the debugger.
> For the clock, you mean the external RTC? The memory map is a little
> different, I handled the difference in Uboot, but in Ltib, I am not
> sure where the change should happen and how. Can you give me a guide?
>
I meant the processor clock rate -- if you change that you need to
change some params in the kernel config file.
--Kurt
> Thanks,
> Mike Qin
>
> -----Original Message-----
> From: Kurt Mahan [mailto:address@hidden
> Sent: Monday, June 02, 2008 11:29 PM
> To: Stuart Hughes
> Cc: Qin, Laigui (GE EntSol, Security); address@hidden
> Subject: Re: [Ltib] Puzzle: Booting hangs after tranferring from
> U-boot to Kernel
>
> Hi Mike,
>
> You probably want to ask in the Freescale Coldfire Forums. I monitor
> it and answer questions about the M5445x BSP there.
> http://forums.freescale.com/freescale/board?board.id=CFCOMM
>
> The/ "Bumping USB Priority"/ message is emitted from the kernel very
> early on to indicate that the memory crossbar switch is being
> reprogrammed to give USB the highest access priority to the memory
bus.
> This is needed to address an issue with usb disconnects in certain
> situations.
>
> As for your issues with transferring control to the kernel. It could
> be a number of things. Do you have a debugger that you can attach to
> your board?
>
> Also -- is your hardware clock/memory map/etc the same as the
M54455EVB?
>
> --Kurt
>
> Stuart Hughes wrote:
>
>> Hi Mike,
>>
>> It could be many things. Check for instance that you have the right
>> tty type and also baud rate set.
>>
>> Your best bet would be to try the linuxppc mailing list as this looks
>> like a kernel/setup problem.
>>
>> Regards, Stuart
>>
>> On Mon, 2008-06-02 at 14:38 +0530, Qin, Laigui (GE EntSol, Security)
>> wrote:
>>
>>> Hi all,
>>>
>>> I have successfully porting U-boot for my custom board. Now, I am
>>> trying to boot the uImage built from the Ltib for M54454EVB (I plan
>>> to modify Ltib based on the M54454EVB, while I am not using its
>>> Uboot
>>>
>
>
>>> in Ltib). The booting hangs after tranferring from U-boot to Linux
>>> Kernel. Any one can help on this?
>>>
>>>
---------------------------------------------------------------------
>>> /baudrate = 115200 bps/
>>> /No initrd/
>>> /## Transferring control to Linux (at address 40020000) ../ */(HANGS
>>> HERE)/*
>>> --------------------------------------------------------------------
>>> -
>>>
>>> And anyone knows the "Bumping USB Priority"? This come before the
>>> "Linux version 2.6.23..." in M54454EVB booting...
>>>
>>>
---------------------------------------------------------------------
>>> / Verifying Checksum ... OK/
>>> /OK/
>>> /Bumping USB Priority/
>>> /Linux version 2.6.23 (address@hidden) (gcc version 4.2.0 20070318
>>> (prerelease) (Sourcery G++ Lite 4.2-35)) #2 Wed May 21 06:59:31 PDT
>>> 2008/
>>>
>>> --------------------------------------------------------------------
>>> -
>>>
>>> Thanks,
>>>
>>> *Mike Qin*
>>>
>>>
>>> _______________________________________________
>>> LTIB home page: http://bitshrine.org
>>>
>>> Ltib mailing list
>>> address@hidden <mailto:address@hidden>
>>> http://lists.nongnu.org/mailman/listinfo/ltib
>>>
>>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> _______________________________________________
>> LTIB home page: http://bitshrine.org
>>
>> Ltib mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/ltib
>>
>>
>
>
- [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel, Qin, Laigui (GE EntSol, Security), 2008/06/02
- Re: [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel, Kurt Mahan, 2008/06/02
- RE: [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel, Qin, Laigui (GE EntSol, Security), 2008/06/02
- Re: [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel, Kurt Mahan, 2008/06/02
- RE: [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel,
Qin, Laigui (GE EntSol, Security) <=
- Re: [Ltib] Puzzle: Booting hangs after tranferring from U-boot to Kernel, Kurt Mahan, 2008/06/03