Skip to contentSkip to conversation

Kernel boot

DISCUSSION Srini Amble 3 participants 3 messages Feb 10, 2003 – Feb 11, 2003

lore
Share & tools
lore
#0 lore raw

I am using ELDK-2.0 to create a bootable kernel image for PPC8xx. I have PPCBoot on my target and I want to download the kernel from the host to the target using TFTP boot. I have verified that I can transfer the image via TFTP boot. I am creating the initrd image using the following sequence of commands.

1. make config
2. make dep
3. make clean
4. make zImage.initrd
5. Compress the "zvmlinux.initrd" executable using "gzip"
6. Execute mkimage command to prepare it for "ppcboot"

After the image is downloaded the kernel image is uncompressed without any errors. But then I get the messsage "No initrd" and the system no longer responds. Can one of you please point to where I may be going wrong?

Thanks in anticipation

Srini

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · In message <[email protected]> you wrote:

I am using ELDK-2.0 to create a bootable kernel image for PPC8xx. I have PPCBoot on my target and I want to download the kernel from the host to the target using TFTP boot. I have verified that I can transfer the image via TFTP boot. I am creating the initrd image using the following sequence of commands.

There is basicly zero relevance to Linux so this is off topic on this list. You should ask this on the U-Boot-Users mailing list instead.

Quoted 3 lines

1. make config
2. make dep
3. make clean

OK so far.

Quoted 1 line

4. make zImage.initrd

Wrong. Please see the README for instructions how to build a Linux image for use with U-Boot / PPCBoot.

Quoted 1 line

5. Compress the "zvmlinux.initrd" executable using "gzip"

Twice wrong.

Quoted 1 line

6. Execute mkimage command to prepare it for "ppcboot"

Completely bogus.

Quoted 1 line

responds. Can one of you please point to where I may be going wrong?

Please read the available documentation.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] No question is too silly to ask. Of course, some questions are too silly to to answer... - L. Wall & R. L. Schwartz, _Programming Perl_

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Srini Amble
Quoted 10 lines

-- Original Message --
From: Srini Amble <[email protected]>
Reply-To: [email protected]
To: Linuxppc-Embedded <[email protected]>
Subject: Kernel boot
Date: Mon, 10 Feb 2003 16:44:53 -0600

Quoted 2 lines

I am using ELDK-2.0 to create a bootable kernel image for PPC8xx. I have PPCBoot on my target and I want to download the kernel from the host to

the

Quoted 11 lines

target using TFTP boot. I have verified that I can transfer the image via TFTP boot. I am creating the initrd image using the following sequence of commands.

1. make config
2. make dep
3. make clean
4. make zImage.initrd
5. Compress the "zvmlinux.initrd" executable using "gzip"
6. Execute mkimage command to prepare it for "ppcboot"

Quoted 3 lines

After the image is downloaded the kernel image is uncompressed without any errors. But then I get the messsage "No initrd" and the system no longer responds. Can one of you please point to where I may be going wrong?

For PPCBoot you normally build a pImage with:

make pImage

and building a RAMDisk image is done differently as well. Have a
look to chapter 5 and 6 of the DENX PPCBoot and Linux Guide at http://www.denx.de/doc/TQM8xxL/.
The ELDK 2.0 comes already with
a working pRamdisk image provided by the RPM package SELF.It can
be found in "ppc_8xx/images". You need the SRPM if you want to
modify it. Also check ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SELF/.

Hope it helps,

Wolfgang.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/