History log of /arch/sparc/boot/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e33936451484b06b61b259172fa3761a7d1cd4dc 16-Mar-2012 Stephen Warren <swarren@wwwdotorg.org> Kbuild: centralize MKIMAGE and cmd_uimage definitions

All ARCHs have the same definition of MKIMAGE. Move it to Makefile.lib
to avoid duplication.

All ARCHs have similar definitions of cmd_uimage. Place a sufficiently
parameterized version in Makefile.lib to avoid duplication.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Mike Frysinger <vapier@gentoo.org> [Blackfin]
Tested-by: Michal Simek <monstr@monstr.eu> [Microblaze]
Tested-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [unicore32]
Signed-off-by: Michal Marek <mmarek@suse.cz>
akefile
684151a75bf25f5aeb8a23010da91a34e17b7353 26-Jan-2011 Daniel Hellstrom <daniel@gaisler.com> sparc32: added U-Boot build target: uImage

This is only for LEON as u-boot for SPARC only supports LEON.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
050855887236701c5e7ff803b42265824ce99885 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: update copyright in piggyback.c

Update copyright info in piggyback.c to include
info from piggyback_64.c.
Include my own copyright too.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Josip Rodin <joy@entuzijast.net>
Cc: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
iggyback.c
9202db2202288f0013c3285b291d8281a8190962 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: unify strip command in boot/Makefile

Include an additional "Kernel is ready" print for zImage

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
56818a6f9105ac016ecf5907f7cb63bcdab639fe 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: rename piggyback_32 to piggyback

Now that we use the same piggyback for 32 and 64 bit
we can drop the _32 suffix.
Include some trivial unification in the Makefile
now that 32 and 64 bit can share the same piggyback command.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
iggyback.c
iggyback_32.c
1075c4ef707ca83afbeb0950094436eb0245ec86 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: fix tftpboot.img for sparc64 on little-endian host

piggyback_32 adapted to support sparc64:
- locating "HdrS" differs for sparc and sparc64
- sparc64 updates a_text, a_data + a_bss in the final a.out header

Updated Makefile to use piggyback_32 for sparc64.
Deleted the now unused piggyback_64.c

piggyback_32.c is host endian neutral and works on both
little-endian and big-endian hosts.
This fixes a long standing bug where sparc64 could not
generate tftpboot.img on a x86 host.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
iggyback_32.c
iggyback_64.c
a020bb17b7046cd97ea6924ca99325b6e516bc2d 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: add $BITS to piggyback arguments

Add new option to piggyback that identify if this is
for 32 or 64 bit.
Use this information to determine the alignment used.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
iggyback_32.c
571e08f6e2ddd6ec5d547358f55342726c063072 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: remove obsolete ELF support in piggyback_32.c

As we always convert to a.out there is no need to
support ELF.

Removing ELF support because:
- it is not used
- it simplifies code to support a.out only

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
iggyback_32.c
9c239053045568abf960b01e4eb2c7205e3cd7d6 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: additional comments to piggyback_32.c

While reverse engineering the functionality of piggyback
I missed that the code was actually commented.
So I added a few comments.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
iggyback_32.c
b2a39b0d8ec2ce2bdcff4e01572b4e885220254d 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: use _start for the start entry (like 64 bit does)

We use "_start" in 64 bit - do the same in 32 bit.
It is always good to be consistent.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
iggyback_32.c
2fe74fa9662f8df51e6ef18227089f54cc07e16a 04-Jan-2011 Sam Ravnborg <sam@ravnborg.org> sparc: refactor piggy_32.c

Refactoring to increase readability (a little).
- sort includes
- spaces around operators
- small helpers introduced
- added a few comments

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
iggyback_32.c
f1bbbb6912662b9f6070c5bfc4ca9eb1f06a9d5b 16-Jun-2010 Jiri Kosina <jkosina@suse.cz> Merge branch 'master' into for-next
421f91d21ad6f799dc7b489bb33cc560ccc56f98 11-Jun-2010 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> fix typos concerning "initiali[zs]e"

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
tfixupprep.c
c273fb3b5d0490d3058f6cce77a92860671ee7b6 20-Feb-2010 Denys Vlasenko <vda.linux@googlemail.com> Rename .data.init to .data..init.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
tfixupprep.c
c843e315469a1519b83835628ca8906daf9a2c0a 16-Oct-2009 Josh Triplett <josh@joshtriplett.org> arch/sparc/boot/*.c: Mark various internal functions static

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
tfixupprep.c
iggyback_32.c
iggyback_64.c
48e46b7b311c54525712c28004f0a59f2c931d30 17-Aug-2009 Jurij Smakov <jurij@wooyd.org> sparc64: build compressed image (zImage) by default

Besides creating the uncompressed vmlinux image for sparc64, also
create a compressed zImage. This is more consistent with other
architectures and required to make the 'deb-pkg' target work.

Signed-off-by: Jurij Smakov <jurij@wooyd.org>
Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
8944146daa2c38dd85bc489d1b84fb9abc108837 23-Jun-2009 Julian Calaby <julian.calaby@gmail.com> sparc32: Fix makefile not generating required files

The tftpboot build was failing with missing file errors.

It turns out that $(obj)/image wasn't being generated which was causing the a.out conversion to be skipped and hence piggyback to be called with nonexistent files.

Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
3e05c5e2ce40066582dc34aa8335baa328815a09 21-Jun-2009 Julian Calaby <julian.calaby@gmail.com> sparc32: Fix tftpboot.img Makefile

Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
52da82cfb569b44e26e15395a6727277758580fe 21-Jun-2009 Sam Ravnborg <sam@ravnborg.org> sparc: fix tftpboot.img build

Kjetil Oftedal mentioned that piggyback_32 was failing
when building a sparc image.

I tracked this down to the fact that the kernel no longer
provided an absolute symbol named "end".

Commit 86ed40bd6fe511d26bb8f3fa65a84cb65c235366 ("sparc: unify sections.h")
renamed end to _end but failed to update piggyback_32.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Kjetil Oftedal <oftedal@gmail.com>
Cc: Robert Reif <reif@earthlink.net>
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
iggyback_32.c
22b096a8907e5184f25fafd1b73f0b3633d52495 21-Jun-2009 Robert Reif <reif@earthlink.net> sparc32: Fix obvious build issues for tftpboot.img build.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
iggyback_32.c
413ee282a510afb2f18975a189501f39d279a906 21-Jun-2009 Julian Calaby <julian.calaby@gmail.com> sparc64: Fix build warnings in piggyback_64.c

This patch fixes the following build warnings:
arch/sparc/boot/piggyback_64.c: In function 'main':
arch/sparc/boot/piggyback_64.c:44: warning: 'end' may be used uninitialized in this function
arch/sparc/boot/piggyback_64.c:44: warning: 'start' may be used uninitialized in this function

Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
iggyback_64.c
a8c601ca21e790f6a9d996bb0bf31f7496eb9509 03-Dec-2008 Sam Ravnborg <sam@ravnborg.org> sparc,sparc64: unify boot/

Simple unification:
o renamed piggyback to *_32.c/*_64.c
o copied content of Makefile from sparc64 to sparc and guard it
o updated sparc/boot/.gitignore
o deleted remaining files in sparc64/boot

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
gitignore
akefile
iggyback.c
iggyback_32.c
iggyback_64.c
14ae84c9933f22ccad34fa6375b8908389b304f0 30-Nov-2008 Sam Ravnborg <sam@ravnborg.org> sparc: gitignore a few files

With this 'git status' no longer reports any new files
At least not for a sparc allnoconfig build

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
gitignore
c489326939b28ca93a8cfcbda8adbeb328101682 30-Nov-2008 Sam Ravnborg <sam@ravnborg.org> sparc: clean boot/

Leave all cleaning to boot/Makefile
and delete zImage too when we do a 'make clean'

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
db5ea21a14b7c69bf495a741ae37ba15fb9eabd1 03-Dec-2008 Sam Ravnborg <sam@ravnborg.org> sparc: refactor Makefile

The btfixup step needs knowledge of all the .o files,
but there is no need to pass them in independent variables.
Simplify it to use only two variables.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
349101da8e1f8e5eb1476b02823da80495224485 19-Aug-2008 Martin Habets <errandir_news@mph.eclipse.co.uk> sparc: Add target for a stripped kernel

Add a target for a stripped kernel. This is used for the various
packaging targets (*-pkg).

Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
88278ca27a43ae503572b52ea2c171fbf45db5a2 20-May-2008 Adrian Bunk <bunk@kernel.org> sparc: remove CVS keywords

This patch removes the CVS keywords that weren't updated for a long time
from comments.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
akefile
tfixupprep.c
iggyback.c
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
akefile
tfixupprep.c
iggyback.c