Skip to contentSkip to conversation

boot problem

U-Boot-Users Alessio Raccis 4 participants 5 messages Nov 24, 2004 – Nov 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi all,

I have a problem and now, it's weird to say, I pray to a kernel panic !

I'm working on smdk2410 and I have a u-boot version modified to boot from smartmedia. I want, or better I hope to boot 2.6.7 linux kernel. So, I create a zImage by compiling kernel and then I make:

gzip -9 zImage
./mkimage -A arm -O linux -T kernel -C gzip -a 0x30008000 -e 0x30008000 -n "Linux Kernel Image" -d zImage.gz uimage

At this point, I download uimage at 33000000 address from a tftp server.

SMDK2410 # tftpboot 33000000 uimage

TFTP from server 10.124.7.161; our IP address is 10.124.7.50

Filename 'uimage'.

Load address: 0x33000000

Loading: #################################################################

#################################################################

########################################################

done

Bytes transferred = 950519 (e80f7 hex)

Now I boot the kernel and I have:

SMDK2410 # bootm

## Booting image at 33000000 ...

Image Name: Linux Kernel Image

Created: 2004-11-17 13:50:56 UTC

Image Type: ARM Linux Kernel Image (gzip compressed)

Data Size: 950455 Bytes = 928.2 kB

Load Address: 30008000

Entry Point: 30008000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

Starting kernel ...

Uncompressing Linux................................................................... done, booting the kernel.

Nothing else !! Can anyone help me, please ? Which is my mistake ?

thanks in advance.

Best regards,

Alex

#1 lore raw
Quoted 2 lines · In message <001e01c4d205$7e2ca120$cb077c0a@bart> you wrote:

I have a problem and now, it's weird to say, I pray to a kernel panic !

Alternatively, try a post-mortem dump of the log_buf area, see
http://www.denx.de/twiki/bin/view/DULG/LinuxPostMortemAnalysis

Or even better: attach your BDI2000 and debug the Linux kernel code.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If God had a beard, he'd be a UNIX programmer.
#4 lore raw
In reply to Alessio Raccis
Quoted 4 lines · Alessio Raccis

Hi all,

I have a problem and now, it's weird to say, I pray to a kernel panic !

[...]

Quoted 6 lines

Uncompressing Linux................................................................... done, booting the kernel.

Nothing else !! Can anyone help me, please ? Which is my mistake ? thanks in advance.

http://www.denx.de/twiki/bin/view/DULG/LinuxHangsAfterUncompressingKernel ?

Cheers
Detlev

Signature · 2 lines
Q:  What does FAQ stand for?
A:  We are Frequently Asked this Question, and we have no idea.
#2 lore raw

[U-Boot-Users] Problem about Image Linux-2.4.25 running on Lite5200

In reply to Wolfgang Denk

Hello Wolfgang,
Sorry for bothering your again.
I burn Uboot to Lite5200 board, and build the Linux-2-4.25 with
following steps:

1) make mrproper
2) make icecube_5200_config
3) make oldconfig
4) make dep
5) make uImage
6) cp uImage to /tftp/MPC5200.
Then I download and run kernel as following :
1) tftp
2) bootm
After this, the linux kernel stop at the following lines:
//////////////////////////////////////////////////////
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
eth0: config: auto-negotiation off, 100FDX, 100HDX, 10FDX, 10HDX.
eth0: Waiting for the link to be up...
eth0: status: link up, 10 Mbps Half Duplex, auto-negotiation
complete.

    IP-Config: Complete:
      device=eth0, addr=222.28.219.55, mask=255.255.254.0,      

gw=222.28.218.1,
host=icecube, domain=, nis-domain=(none), bootserver=222.28.219.18, rootserver=222.28.219.18, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Looking up port of RPC 100003/2 on 222.28.219.18 Looking up port of RPC 100005/1 on 222.28.219.18
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 76k init
Warning: unable to open an initial console.
========(Message Stop here .........)======
////////////////////////////////////////////

Could you give me some tips about how to solve the situation,thanks.

Best Regards,
Xueming, zhang

#3 lore raw

[U-Boot-Users] Re: Problem about Image Linux-2.4.25 running on Lite5200

Quoted 3 lines · In message <[email protected]> you wrote:

I burn Uboot to Lite5200 board, and build the Linux-2-4.25 with
following steps:

...

Quoted 1 line

Then I download and run kernel as following :

...

Quoted 1 line

After this, the linux kernel stop at the following lines:

Actually all this is off topic here... LInux questions go to another mailing list, please.

...

Quoted 2 lines

Freeing unused kernel memory: 76k init
Warning: unable to open an initial console.

...

Quoted 1 line

Could you give me some tips about how to solve the situation,thanks.

The situation can be solved by reading the error messages, and trying to understand what they might mean. "unable to open an initial console" means that the kernel was not able to open the /dev/console device. Why not? Maybe it does not exist? Did you check if there is a /dev/console in your target's root filesystem?

<speculation on>
You are using the ELDK but did not read / follow the documentation, i. e. you did not run the ELDK_MAKEDEV scriot (and probably also not the ELDK_FIXOWNER script). Please see
http://www.denx.de/twiki/bin/view/DULG/ELDKMountingTargetComponentsViaNFS
</speculation off>

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Calm down, it's *__only* ones and zeroes.