mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Update P2020RDB board support to allow NFS booting.
@ 2013-09-03 14:54 Renaud Barbier
  2013-09-03 14:54 ` [PATCH 1/4] of: base: import of_find_node_by_type Renaud Barbier
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Renaud Barbier @ 2013-09-03 14:54 UTC (permalink / raw)
  To: barebox

This patchset addresses all the comments regarding the initial patch [2/4].
The comments in respect of the function fdt_stdout_setup have been addressed
by:
- Removing the check on the existence of the /chosen node.
- Returning an errno value instead of 1.

The comments in respect of the MAC fixup function have been addressed by:
- Removing the fixup function from the initial patch.
- Updating eth_of_fixup to set the MAC address based on the Ethernet device
  node alias.

Since eth_of_fixup is conditionally compiled, the P2020RDB configuration file
in patch [4/4] is updated to enable CONFIG_OFDEVICE.

Renaud Barbier (4):
  of: base: import of_find_node_by_type
  ppc: add and update device tree fixup functions
  ppc: bootm: relocate fdt to valid boot memory
  ppc: P2020RDB configuration update

 arch/ppc/boards/freescale-p2020rdb/env/bin/init |    3 +
 arch/ppc/boards/freescale-p2020rdb/env/config   |    2 +
 arch/ppc/boards/freescale-p2020rdb/p2020rdb.c   |    7 +
 arch/ppc/configs/p2020rdb_defconfig             |   14 ++-
 arch/ppc/include/asm/processor.h                |    2 +
 arch/ppc/lib/ppclinux.c                         |   49 ++++++++-
 arch/ppc/mach-mpc85xx/Makefile                  |    1 +
 arch/ppc/mach-mpc85xx/fdt.c                     |  146 +++++++++++++++++++++++
 drivers/of/base.c                               |   29 +++++
 include/of.h                                    |    2 +
 net/eth.c                                       |   20 ++--
 11 files changed, 264 insertions(+), 11 deletions(-)
 create mode 100644 arch/ppc/boards/freescale-p2020rdb/env/bin/init
 create mode 100644 arch/ppc/boards/freescale-p2020rdb/env/config
 create mode 100644 arch/ppc/mach-mpc85xx/fdt.c


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/4] Update P2020RDB board support to allow NFS booting.
@ 2013-08-30 13:34 Renaud Barbier
  2013-08-30 13:34 ` [PATCH 1/4] of: base: import of_find_node_by_type Renaud Barbier
  0 siblings, 1 reply; 10+ messages in thread
From: Renaud Barbier @ 2013-08-30 13:34 UTC (permalink / raw)
  To: barebox

This patchset updates the PPC and board support to enable NFS boot.

Device tree fixup functionality for SOC version specific properties has
been added, these were imported from U-Boot files commom/fdt_support.c
and arch/powerpc/cpu/mpc85xx/fdt.c - version git-2b26201.

Since the boot memory mapping for the MPC85xx is limited to the first
64MiB, support has been added to ensure that the device tree is located
in this region before booting.

The P2020RDB configuration is updated to have device tree support
to boot Linux and environment support for the user to automate the boot
mechanism.

These modifications have been tested using a recent kernel (3.7-rc8).
There is no guarantee that older kernel and dtb versions will boot
correctly since support for older device tree fixup properties has not
been included.


Renaud Barbier (4):
  of: base: import of_find_node_by_type
  ppc: add mpc85xx device tree fixup functions
  ppc: bootm: relocate fdt to valid boot memory
  ppc: P2020RDB configuration update

 arch/ppc/boards/freescale-p2020rdb/env/bin/init |    3 +
 arch/ppc/boards/freescale-p2020rdb/env/config   |    2 +
 arch/ppc/boards/freescale-p2020rdb/p2020rdb.c   |    7 +
 arch/ppc/configs/p2020rdb_defconfig             |   13 ++-
 arch/ppc/include/asm/processor.h                |    2 +
 arch/ppc/lib/ppclinux.c                         |   49 ++++++-
 arch/ppc/mach-mpc85xx/Makefile                  |    1 +
 arch/ppc/mach-mpc85xx/eth-devices.c             |    2 +-
 arch/ppc/mach-mpc85xx/fdt.c                     |  197 +++++++++++++++++++++++
 drivers/of/base.c                               |   29 ++++
 include/of.h                                    |    2 +
 11 files changed, 304 insertions(+), 3 deletions(-)
 create mode 100644 arch/ppc/boards/freescale-p2020rdb/env/bin/init
 create mode 100644 arch/ppc/boards/freescale-p2020rdb/env/config
 create mode 100644 arch/ppc/mach-mpc85xx/fdt.c


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-09-09 15:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-03 14:54 [PATCH v2 0/4] Update P2020RDB board support to allow NFS booting Renaud Barbier
2013-09-03 14:54 ` [PATCH 1/4] of: base: import of_find_node_by_type Renaud Barbier
2013-09-03 14:54 ` [PATCH 2/4] ppc: add and update device tree fixup functions Renaud Barbier
2013-09-03 14:54 ` [PATCH 3/4] ppc: bootm: relocate fdt to valid boot memory Renaud Barbier
2013-09-05 12:21   ` Sascha Hauer
2013-09-06 10:53     ` Renaud Barbier
2013-09-09 15:08       ` Sascha Hauer
2013-09-03 14:54 ` [PATCH 4/4] ppc: P2020RDB configuration update Renaud Barbier
2013-09-04  6:46 ` [PATCH v2 0/4] Update P2020RDB board support to allow NFS booting Sascha Hauer
  -- strict thread matches above, loose matches on Subject: below --
2013-08-30 13:34 [PATCH " Renaud Barbier
2013-08-30 13:34 ` [PATCH 1/4] of: base: import of_find_node_by_type Renaud Barbier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox