Skip to contentSkip to conversation

help - loading linux kernel

U-Boot-Users Ronen Shitrit 2 participants 2 messages Nov 4, 2003 – Nov 5, 2003

lore
Share & tools
lore
#0 lore raw

Hi

I have a U-Boot which is working just fine,
and I'm trying to boot a kernel(ver 2.4) image with it , after I load the uImage to the DRAM by using the tftp as it is described in the README file, I'm doing bootm to the uImage location,
I see that the code is getting to the kernel code , but there it get lost after we disable the MMU in head.S.

(I know that the kernel version I have should be stable on my board cause with the DINK monitor
I can load it just fine.)

Are there any special changes I should make to the Kernel in order for it to be able to boot from the U-Boot??
If so, where can I find a good reference for it??

Thanks a lot

Signature · 15 lines
Ronen Shitrit

M.S.I.L
D.N. Misgav  20184
Tel:   +972-4-9951000
Fax:   +972-4-9951001
Email: mailto: ronen.shitrit at il.marvell.com
_____________________________________________________________
This message may contain confidential, proprietary or legally privileged 
information. The information is intended only for the use of the individual 
or entity named above. If the reader of this message is not the intended 
recipient, you are hereby notified that any dissemination, distribution 
or copying of this communication is strictly prohibited. If you have 
received this communication in error, please notify us immediately by 
telephone, or by e-mail and delete the message from your computer.
#1 lore raw

Dear Ronen,

Quoted 7 lines · in message <[email protected]> you wrote:

I have a U-Boot which is working just fine,
and I'm trying to boot a kernel(ver 2.4) image with it , after I load the uImage to the DRAM by using the tftp as it is described in the README file, I'm doing bootm to the uImage location,
I see that the code is getting to the kernel code , but there it get lost after we disable the MMU in head.S.

...in other words, you see no output on the console after passing control to the Linux kernel.

Quoted 3 lines

Are there any special changes I should make to the Kernel in order for it to be able to boot from the U-Boot??
If so, where can I find a good reference for it??

Well, I think it is especially useful to read

(1) the README file which comes with U-Boot

(2) the FAQ section of the DULG at
http://www.denx.de/twiki/bin/view/DULG/Manual
Pay special attention to question "12.1.3. Linux hangs ..."
at http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
egrep patterns are full regular expressions; it uses a fast  determi-
nistic algorithm that sometimes needs exponential space.
- unix manuals