* [U-Boot-Users] bootm shows Kernel info but reset
@ 2007-06-14 11:21 Ingo Swieter
2007-06-14 16:34 ` Leonid
2007-06-14 21:23 ` Wolfgang Denk
0 siblings, 2 replies; 6+ messages in thread
From: Ingo Swieter @ 2007-06-14 11:21 UTC (permalink / raw)
To: u-boot
Hello,
i have a problem starting Linux from U-Boot.
I compile my Linux-Kernel with the make uImage command
and copy it to my tftpboot directory.
With U-Boot i can load the image through tftp and the
bootm command shows the correct information. But after
a while, around half second, it restarts U-Boot again.
Do you have any hint for that problem?
Best Regards,
Ingo
---
# t 100000 uImage
Using FEC ETHERNET device
TFTP from server 172.16.102.78; our IP address is 172.16.102.79
Filename 'uImage'.
Load address: 0x100000
Loading: #################################################################
#################################################################
###
done
Bytes transferred = 679637 (a5ed5 hex)
# bootm 100000
## Booting image at 00100000 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 679573 Bytes = 663.6 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
U-Boot 1.2.0 (Jun 14 2007 - 11:03:06) BCS_EPDEV_P01-00
CPU: MPC885ZPnn at 100 MHz [40.0...133.0 MHz]
8 kB I-Cache 8 kB D-Cache FEC present
Board: EP88xC 1.1 CPLD revision 2
Watchdog enabled
DRAM: 64 MB
FLASH: 32 MB
In: serial
Out: serial
Err: serial
Net: FEC ETHERNET, FEC2 ETHERNET
#
--
Ingo Swieter
Tel: 05121/1760-821
Mail: ingo.swieter at brunel.de
Brunel GmbH
Bereich Communications
Daimlerring 9
31135 Hildesheim
Fax: 05121/1760-999
Internet: http://www.brunel.de
Hauptsitz: Airport City, Hermann-K?hl-Str. 1 a, 28199 Bremen
Amtsgericht Bremen HRB 16935
General Manager: Carsten Siebeneich
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] bootm shows Kernel info but reset
2007-06-14 11:21 [U-Boot-Users] bootm shows Kernel info but reset Ingo Swieter
@ 2007-06-14 16:34 ` Leonid
2007-06-18 10:54 ` Ingo Swieter
2007-06-14 21:23 ` Wolfgang Denk
1 sibling, 1 reply; 6+ messages in thread
From: Leonid @ 2007-06-14 16:34 UTC (permalink / raw)
To: u-boot
First, try to uncomment DEBUG in cmd_bootm.c - you may see useful output.
Second, see how your serial connection is initialized - why there is no any output on console? What is command line u-boot provides for the kernel?
Leonid.
-----Original Message-----
From: u-boot-users-bounces@lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Ingo Swieter
Sent: Thursday, June 14, 2007 4:22 AM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] bootm shows Kernel info but reset
Hello,
i have a problem starting Linux from U-Boot.
I compile my Linux-Kernel with the make uImage command
and copy it to my tftpboot directory.
With U-Boot i can load the image through tftp and the
bootm command shows the correct information. But after
a while, around half second, it restarts U-Boot again.
Do you have any hint for that problem?
Best Regards,
Ingo
---
# t 100000 uImage
Using FEC ETHERNET device
TFTP from server 172.16.102.78; our IP address is 172.16.102.79
Filename 'uImage'.
Load address: 0x100000
Loading: #################################################################
#################################################################
###
done
Bytes transferred = 679637 (a5ed5 hex)
# bootm 100000
## Booting image at 00100000 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 679573 Bytes = 663.6 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
U-Boot 1.2.0 (Jun 14 2007 - 11:03:06) BCS_EPDEV_P01-00
CPU: MPC885ZPnn at 100 MHz [40.0...133.0 MHz]
8 kB I-Cache 8 kB D-Cache FEC present
Board: EP88xC 1.1 CPLD revision 2
Watchdog enabled
DRAM: 64 MB
FLASH: 32 MB
In: serial
Out: serial
Err: serial
Net: FEC ETHERNET, FEC2 ETHERNET
#
--
Ingo Swieter
Tel: 05121/1760-821
Mail: ingo.swieter at brunel.de
Brunel GmbH
Bereich Communications
Daimlerring 9
31135 Hildesheim
Fax: 05121/1760-999
Internet: http://www.brunel.de
Hauptsitz: Airport City, Hermann-K?hl-Str. 1 a, 28199 Bremen
Amtsgericht Bremen HRB 16935
General Manager: Carsten Siebeneich
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] bootm shows Kernel info but reset
2007-06-14 11:21 [U-Boot-Users] bootm shows Kernel info but reset Ingo Swieter
2007-06-14 16:34 ` Leonid
@ 2007-06-14 21:23 ` Wolfgang Denk
2007-06-18 11:02 ` Ingo Swieter
1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2007-06-14 21:23 UTC (permalink / raw)
To: u-boot
In message <467124D6.2080105@brunel.de> you wrote:
> i have a problem starting Linux from U-Boot.
...
> With U-Boot i can load the image through tftp and the
> bootm command shows the correct information. But after
> a while, around half second, it restarts U-Boot again.
...
> # bootm 100000
Tried reading the FAQ? Why not?
See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How come everyone's going so slow if it's called rush hour?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] bootm shows Kernel info but reset
2007-06-14 16:34 ` Leonid
@ 2007-06-18 10:54 ` Ingo Swieter
0 siblings, 0 replies; 6+ messages in thread
From: Ingo Swieter @ 2007-06-18 10:54 UTC (permalink / raw)
To: u-boot
Hi Leonid,
i uncommented DEBUG but that doesn't
show to much information yet:
## cmdline at 0x007FFF00 ... 0x007FFF85
so i had a look at that address:
# md 7fff00
.. console=ttyS0,11
.. 5200 console=tty
.. S0 root=/dev/nfs
.. ip=172.16.102.7
.. 9:::255.255.255.
.. 0::eth0 nfsroot=
.. 172.16.102.78:/e
.. pdev/tools/ppc_8
.. xx rw.L;.2D..&.3
which show exactly the expected information, the command line
for the kernel.
/Ingo
Leonid schrieb:
> First, try to uncomment DEBUG in cmd_bootm.c - you may see useful output.
> Second, see how your serial connection is initialized - why there is no any output on console? What is command line u-boot provides for the kernel?
>
> Leonid.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] bootm shows Kernel info but reset
2007-06-14 21:23 ` Wolfgang Denk
@ 2007-06-18 11:02 ` Ingo Swieter
2007-06-19 22:22 ` Thomas Jansson
0 siblings, 1 reply; 6+ messages in thread
From: Ingo Swieter @ 2007-06-18 11:02 UTC (permalink / raw)
To: u-boot
Hi Wolfgang,
sorry for posting a HTML Mail.
I have read the FAQ but didn't find my problem solved there.
The Link which you gave me do not solve my problem neither,
because there is no problem with uncompressing Linux, i guess.
As you can see here, my output looks like that:
# bootm fd000000
## Booting image at fd000000 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 677865 Bytes = 662 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## cmdline at 0x007FFF00 ... 0x007FFF85
I have tried both, booting from flash and ram with the same
result.
I also tried to load an zImage directly with the go command,
but that gives me just junk on the serial console.
I am realy sure, that the linux image can start, because a
zImage works with the old bootload 'planet core'.
But i have no clue what to check for differences in the
registers, which can help me to find the problem.
Best regards,
Ingo
Wolfgang Denk schrieb:
> In message <467124D6.2080105@brunel.de> you wrote:
>> i have a problem starting Linux from U-Boot.
> ...
>> With U-Boot i can load the image through tftp and the
>> bootm command shows the correct information. But after
>> a while, around half second, it restarts U-Boot again.
> ...
>> # bootm 100000
>
> Tried reading the FAQ? Why not?
>
> See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError
>
> Best regards,
>
> Wolfgang Denk
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] bootm shows Kernel info but reset
2007-06-18 11:02 ` Ingo Swieter
@ 2007-06-19 22:22 ` Thomas Jansson
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Jansson @ 2007-06-19 22:22 UTC (permalink / raw)
To: u-boot
Hi!
On 18 jun 2007, at 13:02, Ingo Swieter wrote:
>
> I have tried both, booting from flash and ram with the same
> result.
> I also tried to load an zImage directly with the go command,
> but that gives me just junk on the serial console.
>
> I am realy sure, that the linux image can start, because a
> zImage works with the old bootload 'planet core'.
>
> But i have no clue what to check for differences in the
> registers, which can help me to find the problem.
There can be a number of reasons to why it doesn't start. If you have
access to JTAG/BDM, try debugging the booting image with GDB and see
what you can find.
/Thomas
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-19 22:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-14 11:21 [U-Boot-Users] bootm shows Kernel info but reset Ingo Swieter
2007-06-14 16:34 ` Leonid
2007-06-18 10:54 ` Ingo Swieter
2007-06-14 21:23 ` Wolfgang Denk
2007-06-18 11:02 ` Ingo Swieter
2007-06-19 22:22 ` Thomas Jansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox