From: Mark Glines <mark@glines.org>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linuxppc-dev@ozlabs.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] powerpc: linkstation uses uimage style zImages
Date: Mon, 25 Dec 2006 13:47:42 -0800 [thread overview]
Message-ID: <459046FE.9030008@glines.org> (raw)
In-Reply-To: <Pine.LNX.4.60.0612252128530.3424@poirot.grange>
[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]
Guennadi Liakhovetski wrote:
> On Mon, 25 Dec 2006, Mark Glines wrote:
>> Followup: Yeah, it looks like it just doesn't know which format of zImage to
>> produce for linkstation.
>>
>> I'm not sure what image should be used by default. I guess it depends on the
>> bootloader. Maybe default to uImage, as uBoot seems to be fairly common on
>> these devices?
>
> Yes, uImage is the format used on linkstation. Is there a way to cleanly
> specify this in the kernel sources apart from a comment in Kconfig?
Yep. Kconfig just needs to select DEFAULT_UIMAGE, and then the system
tries to build a uImage.
Once I tracked down and installed a "mkimage" command (dependency needed
by the WRAP line), my "make zImage" succeeded. So, I hope you guys
apply this.
...
GEN .version
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
WRAP arch/powerpc/boot/uImage
Image Name: Linux-2.6.20-rc2-kuroboxHG
Created: Sun Dec 24 19:24:12 2006
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1673973 Bytes = 1634.74 kB = 1.60 MB
Load Address: 0x00000000
Entry Point: 0x00000000
paranoid@kuro-2 /usr/src/linux $
Signed-off-by: Mark Glines <mark@glines.org>
[-- Attachment #2: linkstation-uses-uimage.diff --]
[-- Type: text/plain, Size: 447 bytes --]
--- linux-2.6.20-rc2/arch/powerpc/platforms/embedded6xx/Kconfig.orig 2006-12-24 19:13:49.000000000 -0800
+++ linux-2.6.20-rc2/arch/powerpc/platforms/embedded6xx/Kconfig 2006-12-24 19:14:02.000000000 -0800
@@ -79,6 +79,7 @@
select MPIC
select FSL_SOC
select PPC_UDBG_16550 if SERIAL_8250
+ select DEFAULT_UIMAGE
help
Select LINKSTATION if configuring for one of PPC- (MPC8241)
based NAS systems from Buffalo Technology. So far only
next prev parent reply other threads:[~2006-12-25 21:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.ne7N9dqjDz5qS4D/fowPKdPc4ZY@ifi.uio.no>
[not found] ` <fa.pM17YEcICUlveSt/vbSKGv6sFWk@ifi.uio.no>
2006-12-25 19:45 ` Linux 2.6.20-rc2: forgot how to make a zImage on powerpc? Mark Glines
2006-12-25 20:31 ` Guennadi Liakhovetski
2006-12-25 21:47 ` Mark Glines [this message]
2006-12-25 22:54 ` [PATCH] powerpc: linkstation uses uimage style zImages Guennadi Liakhovetski
2006-12-25 23:07 ` Mark Glines
2006-12-25 23:23 ` Guennadi Liakhovetski
2006-12-26 20:14 ` kurobox kernel Mark Glines
2006-12-26 21:23 ` Guennadi Liakhovetski
2006-12-28 20:53 ` Mark Glines
2006-12-28 21:02 ` Scott Wood
2006-12-28 21:07 ` Xianghua Xiao
2006-12-28 21:11 ` Guennadi Liakhovetski
2006-12-28 23:28 ` Mark Glines
2006-12-29 0:31 ` Guennadi Liakhovetski
2006-12-29 2:52 ` Mark Glines
2006-12-29 17:58 ` Mark Glines
2006-12-29 18:35 ` Guennadi Liakhovetski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=459046FE.9030008@glines.org \
--to=mark@glines.org \
--cc=g.liakhovetski@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).