Skip to content

doc: arch/powerpc: add architecture documentation

Bradley Morgan u-boot 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- fix the mpc8xxx contents, serdes, I2C and SPI do not live there

- CFG_RESET_VECTOR_ADDRESS is board specific, not always 0xfffffffc

- u-boot.bin is still built on RAMBOOT boards, the PBL wraps it

- only PBI is address/data pairs, RCW is 32 bit words

- mmc write block count 672, matching the board README

- add the booting and porting page

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4doc: arch/powerpc: add an overviewdoc/arch/index.rst doc/arch/powerpc/index.rst doc/arch/powerpc/powerpc.rst+177 -00 replies
2/4doc: arch/powerpc: document the mpc85xx boot imagesdoc/arch/powerpc/boot.rst doc/arch/powerpc/index.rst doc/arch/powerpc/powerpc.rst+63 -10 replies
3/4doc: arch/powerpc: add a PBL guidedoc/arch/powerpc/boot.rst doc/arch/powerpc/index.rst doc/arch/powerpc/pbl.rst +1 more+149 -00 replies
4/4doc: arch/powerpc: add a booting and porting guidedoc/arch/powerpc/index.rst doc/arch/powerpc/porting.rst doc/arch/powerpc/powerpc.rst+82 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] doc: arch/powerpc: add architecture documentation

There is almost nothing in doc/arch/ for powerpc, so this adds a folder like the x86 one, with four pages:

- an overview: what the port is, the cpu families, the boards, how to build it, the config options people ask about

- the mpc85xx boot images: the NOR, RAMBOOT and NAND layouts, and the CONFIG_SYS_MPC85XX_NO_RESETVEC and SPL/TPL knobs

- a PBL guide: the RCW and PBI files, what goes into u-boot.pbl, how to build and flash one, and the bits that are fun to poke at

- booting and porting: the boot flow from reset to prompt, booting a kernel, and the file by file steps to bring up a new board

v1 is here:

https://lore.kernel.org/u-boot/[email protected]/

Changes in v2:

- fix the mpc8xxx contents, serdes, I2C and SPI do not live there

- CFG_RESET_VECTOR_ADDRESS is board specific, not always 0xfffffffc

- u-boot.bin is still built on RAMBOOT boards, the PBL wraps it

- only PBI is address/data pairs, RCW is 32 bit words

- mmc write block count 672, matching the board README

- add the booting and porting page

Bradley Morgan (4):
doc: arch/powerpc: add an overview
doc: arch/powerpc: document the mpc85xx boot images
doc: arch/powerpc: add a PBL guide
doc: arch/powerpc: add a booting and porting guide

 doc/arch/index.rst           |   1 +
 doc/arch/powerpc/boot.rst    |  61 +++++++++++++
 doc/arch/powerpc/index.rst   |  13 +++
 doc/arch/powerpc/pbl.rst     | 145 +++++++++++++++++++++++++++++
 doc/arch/powerpc/porting.rst |  78 ++++++++++++++++
 doc/arch/powerpc/powerpc.rst | 171 +++++++++++++++++++++++++++++++++++
 6 files changed, 469 insertions(+)
 create mode 100644 doc/arch/powerpc/boot.rst
 create mode 100644 doc/arch/powerpc/index.rst
 create mode 100644 doc/arch/powerpc/pbl.rst
 create mode 100644 doc/arch/powerpc/porting.rst
 create mode 100644 doc/arch/powerpc/powerpc.rst
Signature · 1 line
2.47.3