kernel-ark/arch/powerpc/boot
David Gibson 22258fa40e [POWERPC] Enable RTC for Ebony and Walnut (v2)
This patch extends the Ebony and Walnut platform code to instantiate
the existing ds1742 RTC class driver for the DS1743 RTC/NVRAM chip
found on both those boards.  The patch uses a helper function to scan
the device tree and instantiate the appropriate platform_device based
on it, so it should be easy to extend for other boards which have mmio
mapped RTC chips.

Along with this, the device tree binding for the ds1743 chips is
tweaked, based on the existing DS1385 OF binding found at:
	http://playground.sun.com/1275/proposals/Closed/Remanded/Accepted/346-it.txt
Although that document covers the NVRAM portion of the chip, whereas
here we're interested in the RTC portion, so it's not entirely clear
if that's a good model.

This implements only RTC class driver support - that is /dev/rtc0, not
/dev/rtc, and the low-level get/set time callbacks remain
unimplemented.  That means in order to get at the clock you will
either need a modified version of hwclock which will look at
/dev/rtc0, or you'll need to configure udev to symlink rtc0 to rtc.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2008-01-25 07:07:26 -06:00
..
dtc-src [POWERPC] Update .gitignore files 2008-01-17 14:57:09 +11:00
dts [POWERPC] Enable RTC for Ebony and Walnut (v2) 2008-01-25 07:07:26 -06: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: Add 405GPr and 405EP support in boot wrapper 2008-01-08 07:58:09 -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] 4xx: Rework clock probing in boot wrapper 2007-12-23 13:14:48 -06: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
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.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] cuimage for Bamboo board 2007-09-19 21:13:16 -05:00
cuboot-ebony.c
cuboot-hpc2.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
cuboot-katmai.c [POWERPC] 4xx: Base support for 440SPe "Katmai" eval board 2007-12-23 13:14:57 -06:00
cuboot-pq2.c [POWERPC] Use embedded libfdt in the bootwrapper 2007-12-11 13:46:14 +11:00
cuboot-rainier.c [POWERPC] 4xx: libfdt and pci fixes for Rainier 2007-12-23 13:28:40 -06:00
cuboot-sequoia.c [POWERPC] 44x: Sequoia and Rainier updates for 2.6.25 2007-12-23 13:27:58 -06:00
cuboot-taishan.c [POWERPC] 4xx: Rework clock probing in boot wrapper 2007-12-23 13:14:48 -06:00
cuboot.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
cuboot.h
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] 4xx: Rework clock probing in boot wrapper 2007-12-23 13:14:48 -06:00
elf_util.c
elf.h
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
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] wrapper: Treat NULL as root node in devp_offset; add devp_offset_find() 2007-12-20 16:11:46 +11:00
main.c [POWERPC] Kill flatdevtree.c 2007-12-11 13:46:15 +11:00
Makefile [POWERPC] Add initial iomega StorCenter board port. 2008-01-23 19:54:36 -06:00
mktree.c
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
mv64x60.h
ns16550.c
of.c [POWERPC] bootwrapper: Move linker symbols into ops.h 2007-08-22 15:27:28 +10:00
of.h
ofconsole.c
oflib.c
ops.h [POWERPC] bootwrapper: Add find_node_by_alias and dt_fixup_mac_address_by_alias 2008-01-23 19:32:44 -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-hvcall.S
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] Xilinx: updated device tree compatibility to match uboot bsp generator. 2008-01-09 07:56:31 -07:00
simple_alloc.c
stdio.c
stdio.h
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] 4xx: Adds decoding of 440SPE memory size to boot wrapper library 2007-12-23 13:14:13 -06:00
types.h
uartlite.c [POWERPC] Uartlite: bootwrapper bug fix, getc loops forever 2007-10-10 09:14:35 -06:00
util.S
wrapper [POWERPC] 82xx: Embedded Planet EP8248E support 2008-01-23 19:34:43 -06:00
zImage.coff.lds.S
zImage.lds.S
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