cros:bundle_firmware: Update RW A/B FDTs with blob positions
Since we now support passing a different FDT to RW firmware, we must make
sure that this includes the blob positions so that software sync can find
the required information.
BUG=chrome-os-partner:14545
BRANCH=link
TEST=manual
$ cros_bundle_firmware -b link -O out
$ fdtdump out/updated-rwa.dtb
Look at the rw-a-boot and rw-b-boot sections. Make sure that they have
sub-sections for boot, ecbin and dtb-rwa.
rw-a-boot {
#size-cells = <0x00000001>;
#address-cells = <0x00000001>;
label = "fw-main-a";
reg = <0x00210000 0x000dffc0>;
type = "blob boot,dtb-rwa,ecbin";
boot {
reg = <0x00000000 0x000644d8>;
};
ecbin {
reg = <0x000669c0 0x00000005>;
};
dtb-rwa {
reg = <0x000644d8 0x000024e7>;
};
};
Change-Id: I1524574b1fc3c78d2c39da193d256b20d43f9304
(cherry picked from commit 8bc1fb1b2bfc6fa7f5bd6ee70c095b6d90b0c184)
Reviewed-on: https://gerrit.chromium.org/gerrit/36443
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
1 file changed