Skip to contentSkip to conversation

bootm shows Kernel info but reset

U-Boot-Users Ingo Swieter 4 participants 6 messages Jun 14, 2007 – Jun 19, 2007

lore
Share & tools
lore
#0 lore raw

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

#

Signature · 15 lines
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
#1 lore raw

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: [email protected] [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

#

Signature · 26 lines
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
#2 lore raw

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

Quoted 5 lines · Leonid

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.

#3 lore raw
In reply to Ingo Swieter
Quoted 1 line · In message <[email protected]> you wrote:

i have a problem starting Linux from U-Boot.

...

Quoted 3 lines

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.

...

Quoted 1 line
# bootm 100000

Tried reading the FAQ? Why not?

See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError

Best regards,

Wolfgang Denk

Signature · 4 lines
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?
#4 lore raw

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

Quoted 17 lines · Wolfgang Denk
Quoted 1 line · In message <[email protected]> you wrote:

i have a problem starting Linux from U-Boot.

...

Quoted 3 lines

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.

...

Quoted 1 line
# bootm 100000

Tried reading the FAQ? Why not?

See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError

Best regards,

Wolfgang Denk

#5 lore raw

Hi!

Quoted 11 lines · Ingo Swieter

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