android_kernel_xiaomi_sm7250/arch/powerpc/boot
David Gibson ecc6cd73b7 [POWERPC] Start removing linux,network-index in favour of aliases
This patch alters the bootwrapper for a number of machines (roubhly
all 4xx based cuboot or treeboot platforms) to use aliases instead of
the linux,network-index hack to work out which MAC address to attach
to which ethernet device node.

The now obsolete linux,network-index properties are removed from the
corresponding device trees.  This won't break backwards compatiblity,
because in cases where this fixup code is relevant, the device tree is
part of the kernel image.

The references to linux,network-index are removed from
booting-without-of.txt.  Not only is it now deprecated, but as a hack
applicable only when the device tree blob and fixup code were in the
same image, this property never belonged in booting-without-of.txt
which describes the interface between the kernel and firmware or
bootloaders which produce a device tree.  By the time the device tree
reaches the kernel, all the MAC addresses must be fully filled in.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2008-03-26 07:19:16 -05:00
..
dtc-src [POWERPC] Update .gitignore files 2008-01-17 14:57:09 +11:00
dts [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
libfdt [POWERPC] Merge libfdt upstream source 2007-12-11 13:46:13 +11:00
.gitignore [POWERPC] 8xx: Analogue & Micro Adder875 board support. 2008-01-23 19:34:40 -06:00
4xx.c [POWERPC] 4xx: logical/bitand typo in powerpc/boot/4xx.c 2008-01-25 07:13:39 -06:00
4xx.h [POWERPC] 4xx: Add 405GPr and 405EP support in boot wrapper 2008-01-08 07:58:09 -06:00
44x.h [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
addnote.c
addRamDisk.c
bamboo.c [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
cpm-serial.c [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
crt0.S [POWERPC] Fix building of COFF zImages 2007-06-07 22:21:31 +10:00
cuboot-8xx.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
cuboot-52xx.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
cuboot-83xx.c [POWERPC] bootwrapper: convert cuboot-8{3,5}xx to dt_fixup_mac_address_by_alias 2008-01-23 19:32:47 -06:00
cuboot-85xx-cpm2.c [POWERPC] Add a cuboot wrapper for 85xx with CPM2 2008-01-27 14:10:36 -06:00
cuboot-85xx.c [POWERPC] bootwrapper: convert cuboot-8{3,5}xx to dt_fixup_mac_address_by_alias 2008-01-23 19:32:47 -06:00
cuboot-824x.c [POWERPC] Add initial iomega StorCenter board port. 2008-01-23 19:54:36 -06:00
cuboot-bamboo.c [POWERPC] 4xx: Use correct board info structure in cuboot wrappers 2008-02-28 08:16:27 -06:00
cuboot-ebony.c [POWERPC] 4xx: Use correct board info structure in cuboot wrappers 2008-02-28 08:16:27 -06:00
cuboot-katmai.c [POWERPC] 4xx: Use correct board info structure in cuboot wrappers 2008-02-28 08:16:27 -06:00
cuboot-mpc7448hpc2.c [POWERPC] bootwrapper: Build multiple cuImages 2008-02-07 11:40:19 +11:00
cuboot-pq2.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
cuboot-rainier.c [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
cuboot-sequoia.c [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
cuboot-taishan.c [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
cuboot-warp.c [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
cuboot.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot.h [POWERPC] Consolidate cuboot initialization code 2007-06-14 22:30:16 +10:00
dcr.h [POWERPC] 4xx: Add 405GPr and 405EP support in boot wrapper 2008-01-08 07:58:09 -06:00
devtree.c [POWERPC] bootwrapper: Add find_node_by_alias and dt_fixup_mac_address_by_alias 2008-01-23 19:32:44 -06:00
div64.S
dummy.c
ebony.c [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
elf_util.c [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
elf.h [POWERPC] Move bootwrapper ELF parsing routines to a file 2007-04-13 03:55:16 +10:00
ep88xc.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
ep405.c [POWERPC] 4xx: EP405 boards support for arch/powerpc 2007-12-23 13:13:14 -06:00
ep8248e.c [POWERPC] 82xx: Embedded Planet EP8248E support 2008-01-23 19:34:43 -06:00
fixed-head.S [POWERPC] 8xx/wrapper: Embedded Planet EP88xC support 2007-10-04 11:02:40 -05:00
flatdevtree_env.h Fix file references in documentation and Kconfig 2008-01-22 10:43:36 -08:00
fsl-soc.c [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
fsl-soc.h [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
gunzip_util.c [POWERPC] boot: Simplify gunzip_finish 2007-10-03 11:48:43 +10:00
gunzip_util.h [POWERPC] Add documentation for the zImage's gunzip convenience functions 2007-03-16 16:38:19 +11:00
hack-coff.c
holly.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
install.sh
io.h [POWERPC] bootwrapper: Add 16-bit I/O, sync(), eieio(), and barrier() 2007-08-22 15:21:48 +10:00
libfdt_env.h [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
libfdt-wrapper.c [POWERPC] bootwrapper: Add find_node_by_compatible 2008-01-27 14:07:37 -06:00
main.c [POWERPC] Kill flatdevtree.c 2007-12-11 13:46:15 +11:00
Makefile [POWERPC] Fix build failure for tqm8540 and sbc85xx defconfigs 2008-03-20 10:15:00 +11:00
mktree.c [POWERPC] Support for the Ebony 440GP reference board in arch/powerpc 2007-05-08 14:47:32 +10:00
mpc8xx.c [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
mpc8xx.h [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
mpc52xx-psc.c [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
mpsc.c [POWERPC] bootwrapper: Declare udelay() in ops.h 2007-08-22 15:21:49 +10:00
mv64x60_i2c.c [POWERPC] bootwrapper: Declare udelay() in ops.h 2007-08-22 15:21:49 +10:00
mv64x60.c [POWERPC] Add bootwrapper support for Marvell/mv64x60 hostbridge 2007-05-12 11:32:49 +10:00
mv64x60.h [POWERPC] Add bootwrapper support for Marvell/mv64x60 hostbridge 2007-05-12 11:32:49 +10:00
ns16550.c [POWERPC] bootwrapper: Add dt_xlate_reg(), and use it to find serial registers. 2007-04-13 03:55:15 +10:00
of.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
of.h [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
ofconsole.c [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
oflib.c [POWERPC] Make more OF-related bootwrapper functions available to non-OF platforms 2007-06-28 19:19:28 +10:00
ops.h [POWERPC] bootwrapper: Add find_node_by_compatible 2008-01-27 14:07:37 -06:00
page.h
planetcore.c [POWERPC] bootwrapper: Add PlanetCore firmware support 2007-10-03 11:48:43 +10:00
planetcore.h [POWERPC] bootwrapper: Add PlanetCore firmware support 2007-10-03 11:48:43 +10:00
ppc_asm.h
ppcboot.h [POWERPC] bootwrapper: Add TARGET_HAS_ETHn tests to ppcboot.h 2007-08-22 15:21:48 +10:00
pq2.c [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
pq2.h [POWERPC] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions. 2007-10-03 20:36:35 -05:00
prpmc2800.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
ps3-head.S PS3: Fix build with 32-bit toolchains 2007-07-21 17:49:16 -07:00
ps3-hvcall.S [POWERPC] PS3: Fix bootwrapper hang bug 2008-02-14 22:11:01 +11:00
ps3.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
README
redboot-8xx.c [POWERPC] 8xx: Analogue & Micro Adder875 board support. 2008-01-23 19:34:40 -06:00
redboot.h [POWERPC] 8xx: Analogue & Micro Adder875 board support. 2008-01-23 19:34:40 -06:00
reg.h [POWERPC] 4xx: Add mfspr/mtspr inline macros to 4xx bootwrapper 2007-12-23 13:14:22 -06:00
rs6000.h
serial.c [POWERPC] mpc5200: make dts files conform to generic names recommended practice 2008-01-26 15:32:11 -07:00
simple_alloc.c [POWERPC] bootwrapper: Use `unsigned long' for malloc sizes 2007-04-24 22:06:54 +10:00
stdio.c [POWERPC] Add u64 printf to bootwrapper 2007-06-28 19:16:48 +10:00
stdio.h [POWERPC] Add gcc format warnings to zImage printf() 2007-03-26 15:11:20 +10:00
stdlib.c [POWERPC] bootwrapper: Add strtoull() 2007-09-14 01:33:23 +10:00
stdlib.h [POWERPC] bootwrapper: Add strtoull() 2007-09-14 01:33:23 +10:00
string.h [POWERPC] Add memchr() to the bootwrapper 2007-10-12 14:13:44 +10:00
string.S [POWERPC] Add memchr() to the bootwrapper 2007-10-12 14:13:44 +10:00
treeboot-bamboo.c [POWERPC] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
treeboot-ebony.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
treeboot-walnut.c [POWERPC] Start removing linux,network-index in favour of aliases 2008-03-26 07:19:16 -05:00
types.h [POWERPC] Add signed types to bootwrapper 2007-06-28 19:16:47 +10:00
uartlite.c [POWERPC] Uartlite: bootwrapper bug fix, getc loops forever 2007-10-10 09:14:35 -06:00
util.S
wrapper [POWERPC] Fix build failure for tqm8540 and sbc85xx defconfigs 2008-03-20 10:15:00 +11:00
zImage.coff.lds.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
zImage.lds.S [POWERPC] zImage: Cleanup and improve zImage entry point 2007-03-13 13:35:03 +11:00
zImage.ps3.lds.S [POWERPC] PS3: Bootwrapper support. 2007-07-10 21:56:40 +10:00

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