kernel-ark/arch/powerpc/boot
Tony Breeds e32a03290c powerpc/boot: Add extended precision shifts to the boot wrapper.
The upcomming currituck patches will need to do 64-bit shifts which will
fail with undefined symbol without this patch.

I looked at linking against libgcc but we can't guarantee that libgcc
was compiled with soft-float.  Also Using ../lib/div64.S or
../kernel/misc_32.S, this will break the build as the .o's need to be
built with different flags for the bootwrapper vs the kernel.  So for
now the easyest option is to just copy code from
arch/powerpc/kernel/misc_32.S  I don't think this code changes too often ;P

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
2011-12-09 07:49:27 -05:00
..
dts powerpc/40x: Add APM8018X SOC support 2011-11-30 10:02:15 -05:00
.gitignore dtc/powerpc: remove obsolete .gitignore entries 2011-06-08 18:51:18 -06:00
4xx.c powerpc/44x: Fix UART clocks on 440SPe 2010-05-12 07:48:49 -04:00
4xx.h powerpc/405ex: provide necessary fixup function to support cuImage 2009-08-31 09:20:55 -04:00
44x.h
addnote.c powerpc: Use static const char arrays 2010-10-13 16:19:03 +11:00
bamboo.c
cpm-serial.c
crt0.S powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN 2011-04-20 16:59:20 +10:00
crtsavres.S
cuboot-8xx.c
cuboot-52xx.c
cuboot-83xx.c
cuboot-85xx-cpm2.c
cuboot-85xx.c powerpc/85xx: cuboot - Fix up ethernet3 MAC address on MPC85xx 2009-06-15 21:45:32 -05:00
cuboot-824x.c
cuboot-acadia.c
cuboot-amigaone.c
cuboot-bamboo.c
cuboot-c2k.c
cuboot-ebony.c
cuboot-hotfoot.c powerpc/40x: Add support for the ESTeem 195E (PPC405EP) SBC 2009-08-31 09:15:51 -04:00
cuboot-katmai.c
cuboot-kilauea.c powerpc/405ex: support cuImage via included dtb 2009-08-31 09:23:22 -04:00
cuboot-mpc7448hpc2.c
cuboot-pq2.c
cuboot-rainier.c
cuboot-sam440ep.c
cuboot-sequoia.c
cuboot-taishan.c
cuboot-warp.c
cuboot-yosemite.c
cuboot.c
cuboot.h
dcr.h powerpc/405ex: provide necessary fixup function to support cuImage 2009-08-31 09:20:55 -04:00
devtree.c
div64.S powerpc/boot: Add extended precision shifts to the boot wrapper. 2011-12-09 07:49:27 -05:00
dummy.c
ebony.c
elf_util.c
elf.h
ep88xc.c
ep405.c
ep8248e.c
epapr.c powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
fixed-head.S
flatdevtree_env.h
fsl-soc.c
fsl-soc.h
gamecube-head.S powerpc: gamecube: bootwrapper bits 2009-12-12 22:24:26 -07:00
gamecube.c powerpc: gamecube: bootwrapper bits 2009-12-12 22:24:26 -07:00
gunzip_util.c
gunzip_util.h
hack-coff.c
holly.c
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
io.h
libfdt_env.h
libfdt-wrapper.c
main.c
Makefile powerpc: Add skeleton PowerNV platform 2011-09-20 15:53:25 +10:00
mktree.c powerpc: use consistent types in mktree 2009-08-20 10:29:30 +10:00
mpc8xx.c
mpc8xx.h
mpc52xx-psc.c
mpsc.c
mv64x60_i2c.c
mv64x60.c
mv64x60.h
ns16550.c
of.c
of.h
ofconsole.c
oflib.c
ops.h
page.h
planetcore.c
planetcore.h
ppc_asm.h
ppcboot-hotfoot.h powerpc/40x: Add support for the ESTeem 195E (PPC405EP) SBC 2009-08-31 09:15:51 -04:00
ppcboot.h
pq2.c
pq2.h
prpmc2800.c
ps3-head.S
ps3-hvcall.S
ps3.c
README
redboot-8xx.c
redboot-83xx.c
redboot.h
reg.h
rs6000.h
serial.c
simple_alloc.c
simpleboot.c Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
stdio.c
stdio.h
stdlib.c
stdlib.h
string.h
string.S
treeboot-bamboo.c
treeboot-ebony.c
treeboot-iss4xx.c powerpc/44x: boot wrapper: allow kernel to load into non-zero address 2011-07-12 09:34:41 -04:00
treeboot-walnut.c
types.h
uartlite.c
ugecon.c powerpc/gamecube/wii: Fix off-by-one error in ugecon/usbgecko_udbg 2009-12-18 15:13:57 +11:00
ugecon.h powerpc: gamecube/wii: usbgecko bootwrapper console support 2009-12-12 22:24:26 -07:00
util.S
virtex405-head.S
virtex.c
wii-head.S powerpc: wii: bootwrapper bits 2009-12-12 22:24:29 -07:00
wii.c wii: bootwrapper: add fixup to calc useable mem2 2009-12-12 22:24:31 -07:00
wrapper powerpc: Call gzip with -n 2011-05-19 14:30:40 +10:00
zImage.coff.lds.S powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN 2011-04-20 16:59:20 +10:00
zImage.lds.S powerpc/boot: Allow building the zImage wrapper as a relocatable ET_DYN 2011-04-20 16:59:20 +10:00
zImage.ps3.lds.S

To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary:

objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz
objcopy -j .kernel:System.map -O binary zImage System.map.gz
objcopy -j .kernel:.config -O binary zImage config.gz
objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz


	Peter