summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-01-29 09:23:57 -0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-29 20:40:55 -0500
commit2fa642679d96b4ad13c9586c74c9dbf4e089f43f (patch)
treec4cbc7812054040130d9e9b3c944e2e9b1f86da1
parentf058f4906e5eebc8753404c606393eb5a0999cec (diff)
downloadtalos-openbmc-2fa642679d96b4ad13c9586c74c9dbf4e089f43f.tar.gz
talos-openbmc-2fa642679d96b4ad13c9586c74c9dbf4e089f43f.zip
README.building.md: Update regarding pmu-firmware patch for SPL flow
Update README to include the required pmu-firmware patch for SPL flow (From meta-xilinx rev: d2cccbabeceec246e92132151d71831f50f74bf1) Change-Id: I440d0d59daab237b2262452a1d2fef86773e5426 Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--meta-xilinx/meta-xilinx-bsp/README.building.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-xilinx/meta-xilinx-bsp/README.building.md b/meta-xilinx/meta-xilinx-bsp/README.building.md
index 54d61c3d4..b127db363 100644
--- a/meta-xilinx/meta-xilinx-bsp/README.building.md
+++ b/meta-xilinx/meta-xilinx-bsp/README.building.md
@@ -32,6 +32,27 @@ Build the target file system image using `bitbake`:
Once complete the images for the target machine will be available in the output
directory `tmp/deploy/images/<machine name>/`.
+Using SPL flow to build ZU+
+------------------------------
+
+The pmufw needs a "configuration object" to know what it should do, and it
+expects to receive it at runtime.
+
+With the U-Boot SPL workflow there's no FSBL, and passing a cfg obj to pmufw is
+just not implemented in U-Boot
+
+To work around this problem a small patch has been developed so that
+pm_cfg_obj.c is linked into pmufw and loaded directly, without waiting for it
+from the outside. Find the original patch on the meta-topic layer [1] and the
+patch updated for pmufw 2018.x here [2].
+
+[1]
+https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/pmu-firmware/pmu-firmware_2017.%25.bbappend
+
+[2]
+https://github.com/lucaceresoli/zynqmp-pmufw-builder/blob/master/0001-Load-XPm_ConfigObject-at-boot.patch
+
+
Using multiconfig to build ZU+
------------------------------
@@ -62,6 +83,7 @@ Workaround:
There is additional workaround required in u-boot-xlnx recipe. Add the below dependency
do_compile[mcdepends] = "multiconfig:zcu102:pmu:pmu-firmware:do_deploy"
+
Additional Information
----------------------
OpenPOWER on IntegriCloud