mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
291ab91935
Both SHA1 and (especially) MD5 are no longer as safe as they once were for cryptographic use. Replaces examples which use them with examples using SHA256 instead. This will provide more-secure defaults for users who use documentation examples as a base for their own use. This is not too necessary for non-verified-boot scenarios (since someone could just replace the checksum), but I wanted to be complete. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
28 lines
633 B
ReStructuredText
28 lines
633 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0+
|
|
|
|
Automatic software update
|
|
=========================
|
|
|
|
Make sure the flashing addresses ('load' prop) is correct for your board!
|
|
|
|
::
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Automatic U-Boot update";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
update-1 {
|
|
description = "U-Boot binary";
|
|
data = /incbin/("./u-boot.bin");
|
|
compression = "none";
|
|
type = "firmware";
|
|
load = <0xFFFC0000>;
|
|
hash-1 {
|
|
algo = "sha256";
|
|
};
|
|
};
|
|
};
|
|
};
|