diff options
| author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-01-29 09:23:57 -0800 |
|---|---|---|
| committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-01-29 09:27:29 -0800 |
| commit | d2cccbabeceec246e92132151d71831f50f74bf1 (patch) | |
| tree | 7faa21270aeeb0d2d441330e06c7457763779e40 | |
| parent | c42016e2e6ca13e133fdb877785ec8aa2bd82f16 (diff) | |
| download | meta-xilinx-d2cccbabeceec246e92132151d71831f50f74bf1.tar.gz | |
README.building.md: Update regarding pmu-firmware patch for SPL flow
Update README to include the required pmu-firmware patch for SPL flow
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
| -rw-r--r-- | meta-xilinx-bsp/README.building.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/README.building.md b/meta-xilinx-bsp/README.building.md index 54d61c3d..b127db36 100644 --- a/meta-xilinx-bsp/README.building.md +++ b/meta-xilinx-bsp/README.building.md | |||
| @@ -32,6 +32,27 @@ Build the target file system image using `bitbake`: | |||
| 32 | Once complete the images for the target machine will be available in the output | 32 | Once complete the images for the target machine will be available in the output |
| 33 | directory `tmp/deploy/images/<machine name>/`. | 33 | directory `tmp/deploy/images/<machine name>/`. |
| 34 | 34 | ||
| 35 | Using SPL flow to build ZU+ | ||
| 36 | ------------------------------ | ||
| 37 | |||
| 38 | The pmufw needs a "configuration object" to know what it should do, and it | ||
| 39 | expects to receive it at runtime. | ||
| 40 | |||
| 41 | With the U-Boot SPL workflow there's no FSBL, and passing a cfg obj to pmufw is | ||
| 42 | just not implemented in U-Boot | ||
| 43 | |||
| 44 | To work around this problem a small patch has been developed so that | ||
| 45 | pm_cfg_obj.c is linked into pmufw and loaded directly, without waiting for it | ||
| 46 | from the outside. Find the original patch on the meta-topic layer [1] and the | ||
| 47 | patch updated for pmufw 2018.x here [2]. | ||
| 48 | |||
| 49 | [1] | ||
| 50 | https://github.com/topic-embedded-products/meta-topic/blob/master/recipes-bsp/pmu-firmware/pmu-firmware_2017.%25.bbappend | ||
| 51 | |||
| 52 | [2] | ||
| 53 | https://github.com/lucaceresoli/zynqmp-pmufw-builder/blob/master/0001-Load-XPm_ConfigObject-at-boot.patch | ||
| 54 | |||
| 55 | |||
| 35 | Using multiconfig to build ZU+ | 56 | Using multiconfig to build ZU+ |
| 36 | ------------------------------ | 57 | ------------------------------ |
| 37 | 58 | ||
| @@ -62,6 +83,7 @@ Workaround: | |||
| 62 | There is additional workaround required in u-boot-xlnx recipe. Add the below dependency | 83 | There is additional workaround required in u-boot-xlnx recipe. Add the below dependency |
| 63 | do_compile[mcdepends] = "multiconfig:zcu102:pmu:pmu-firmware:do_deploy" | 84 | do_compile[mcdepends] = "multiconfig:zcu102:pmu:pmu-firmware:do_deploy" |
| 64 | 85 | ||
| 86 | |||
| 65 | Additional Information | 87 | Additional Information |
| 66 | ---------------------- | 88 | ---------------------- |
| 67 | 89 | ||
