Skip to contentSkip to conversation

docs: aspeed: Minor updates

PATCH In review Joel Stanley 3 participants 7 messages Nov 17, 2021 – Nov 29, 2021 Arm/Aspeed machine support

lore
Share & tools
lore

Joel Stanley

author maintainer
#0 lore raw

v2 cover docs: aspeed: Minor updates

Here are some small updates to the aspeed docs.

v2: Tweak board changes, add patch to move ADC to the supported list

Joel Stanley (4):
docs: aspeed: Add new boards
docs: aspeed: Update OpenBMC image URL
docs: aspeed: Give an example of booting a kernel
docs: aspeed: ADC is now modelled

 docs/system/arm/aspeed.rst | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)
Signature · 1 line
2.33.0
author maintainer
#1 lore raw

PATCH v2 1/4 docs: aspeed: Add new boards

Add X11, FP5280G2, G220A, Rainier and Fuji. Mention that Swift will be removed in v7.0.

---
v2:
- Add POWER10 to Rainier description
- Include Fuji
- Mention Swift to be removed

---
 docs/system/arm/aspeed.rst | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
docs/system/arm/aspeed.rst +6 -1
index cec87e3743d0..41a9bd5608e8 100644
@@ -14,6 +14,7 @@ AST2400 SoC based machines :
 
 - ``palmetto-bmc``         OpenPOWER Palmetto POWER8 BMC
 - ``quanta-q71l-bmc``      OpenBMC Quanta BMC
+- ``supermicrox11-bmc``    Supermicro X11 BMC
 
 AST2500 SoC based machines :
 
@@ -21,12 +22,16 @@ AST2500 SoC based machines :
 - ``romulus-bmc``          OpenPOWER Romulus POWER9 BMC
 - ``witherspoon-bmc``      OpenPOWER Witherspoon POWER9 BMC
 - ``sonorapass-bmc``       OCP SonoraPass BMC
-- ``swift-bmc``            OpenPOWER Swift BMC POWER9
+- ``swift-bmc``            OpenPOWER Swift BMC POWER9 (to be removed in v7.0)
+- ``fp5280g2-bmc``         Inspur FP5280G2 BMC
+- ``g220a-bmc``            Bytedance G220A BMC
 
 AST2600 SoC based machines :
 
 - ``ast2600-evb``          Aspeed AST2600 Evaluation board (Cortex-A7)
 - ``tacoma-bmc``           OpenPOWER Witherspoon POWER9 AST2600 BMC
+- ``rainier-bmc``          IBM Rainier POWER10 BMC
+- ``fuji-bmc``             Facebook Fuji BMC
 
 Supported devices
 -----------------
Signature · 1 line
2.33.0
Reviewed-by on v2 1/4
#2 lore raw

Re: [SPAM] [PATCH v2 1/4] docs: aspeed: Add new boards

Quoted 4 lines · Joel Stanley

Add X11, FP5280G2, G220A, Rainier and Fuji. Mention that Swift will be removed in v7.0.

Thanks

C.

Quoted 40 lines

---
v2:
- Add POWER10 to Rainier description
- Include Fuji
- Mention Swift to be removed

---
  docs/system/arm/aspeed.rst | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)
docs/system/arm/aspeed.rst +6 -1
index cec87e3743d0..41a9bd5608e8 100644
@@ -14,6 +14,7 @@ AST2400 SoC based machines :
 
  - ``palmetto-bmc``         OpenPOWER Palmetto POWER8 BMC
  - ``quanta-q71l-bmc``      OpenBMC Quanta BMC
+- ``supermicrox11-bmc``    Supermicro X11 BMC
 
  AST2500 SoC based machines :
 
@@ -21,12 +22,16 @@ AST2500 SoC based machines :
  - ``romulus-bmc``          OpenPOWER Romulus POWER9 BMC
  - ``witherspoon-bmc``      OpenPOWER Witherspoon POWER9 BMC
  - ``sonorapass-bmc``       OCP SonoraPass BMC
-- ``swift-bmc``            OpenPOWER Swift BMC POWER9
+- ``swift-bmc``            OpenPOWER Swift BMC POWER9 (to be removed in v7.0)
+- ``fp5280g2-bmc``         Inspur FP5280G2 BMC
+- ``g220a-bmc``            Bytedance G220A BMC
 
  AST2600 SoC based machines :
 
  - ``ast2600-evb``          Aspeed AST2600 Evaluation board (Cortex-A7)
  - ``tacoma-bmc``           OpenPOWER Witherspoon POWER9 AST2600 BMC
+- ``rainier-bmc``          IBM Rainier POWER10 BMC
+- ``fuji-bmc``             Facebook Fuji BMC
 
  Supported devices
  -----------------
author maintainer
#3 lore raw

PATCH v2 2/4 docs: aspeed: Update OpenBMC image URL

In reply to Joel Stanley

This is the latest URL for the OpenBMC CI. The old URL still works, but redirects.

---
 docs/system/arm/aspeed.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/arm/aspeed.rst +1 -1
index 41a9bd5608e8..b87697fcf0b1 100644
@@ -82,7 +82,7 @@ The Aspeed machines can be started using the ``-kernel`` option to
 load a Linux kernel or from a firmware. Images can be downloaded from
 the OpenBMC jenkins :
 
-   https://jenkins.openbmc.org/job/ci-openbmc/lastSuccessfulBuild/distro=ubuntu,label=docker-builder
+   https://jenkins.openbmc.org/job/ci-openbmc/lastSuccessfulBuild/
 
 or directly from the OpenBMC GitHub release repository :
 
Signature · 1 line
2.33.0
author maintainer
#4 lore raw

PATCH v2 3/4 docs: aspeed: Give an example of booting a kernel

In reply to Joel Stanley

A common use case for the ASPEED machine is to boot a Linux kernel. Provide a full example command line.

---
 docs/system/arm/aspeed.rst | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
docs/system/arm/aspeed.rst +12 -3
index b87697fcf0b1..6aafd611e9a5 100644
@@ -78,9 +78,9 @@ Missing devices
 Boot options
 ------------
 
-The Aspeed machines can be started using the ``-kernel`` option to
-load a Linux kernel or from a firmware. Images can be downloaded from
-the OpenBMC jenkins :
+The Aspeed machines can be started using the ``-kernel`` and ``-dtb`` options
+to load a Linux kernel or from a firmware. Images can be downloaded from the
+OpenBMC jenkins :
 
    https://jenkins.openbmc.org/job/ci-openbmc/lastSuccessfulBuild/
 
@@ -88,6 +88,15 @@ or directly from the OpenBMC GitHub release repository :
 
    https://github.com/openbmc/openbmc/releases
 
+To boot a kernel directly from a Linux build tree:
+
+.. code-block:: bash
+
+  $ qemu-system-arm -M ast2600-evb -nographic \
+        -kernel arch/arm/boot/zImage \
+        -dtb arch/arm/boot/dts/aspeed-ast2600-evb.dtb \
+        -initrd rootfs.cpio
+
 The image should be attached as an MTD drive. Run :
 
 .. code-block:: bash
Signature · 1 line
2.33.0
author maintainer
#5 lore raw

PATCH v2 4/4 docs: aspeed: ADC is now modelled

In reply to Joel Stanley

Move it to the supported list.

---
v2: New patch

---
 docs/system/arm/aspeed.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/arm/aspeed.rst +1 -1
index 6aafd611e9a5..d8b102fa0ad0 100644
@@ -56,13 +56,13 @@ Supported devices
  * Front LEDs (PCA9552 on I2C bus)
  * LPC Peripheral Controller (a subset of subdevices are supported)
  * Hash/Crypto Engine (HACE) - Hash support only. TODO: HMAC and RSA
+ * ADC
 
 
 Missing devices
 ---------------
 
  * Coprocessor support
- * ADC (out of tree implementation)
  * PWM and Fan Controller
  * Slave GPIO Controller
  * Super I/O Controller
Signature · 1 line
2.33.0
#6 lore raw
In reply to Joel Stanley
Quoted 10 lines · Joel Stanley

Here are some small updates to the aspeed docs.

v2: Tweak board changes, add patch to move ADC to the supported list

Joel Stanley (4):
docs: aspeed: Add new boards
docs: aspeed: Update OpenBMC image URL
docs: aspeed: Give an example of booting a kernel
docs: aspeed: ADC is now modelled

Hi; I've added this patchset to my set of things to apply to target-arm.next for 7.0; thanks.

-- PMM