summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx53-ppd-uboot.dtsi
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-07-15 14:20:34 +0200
committerMichal Simek <michal.simek@xilinx.com>2020-08-20 09:49:20 +0200
commit2d06361a11e88e6ca5bbd11e3ed5717d7715bfe1 (patch)
tree1a4030d4e369ddc7b041b8b337d17294d419403c /arch/arm/dts/imx53-ppd-uboot.dtsi
parent9643000e1402b7f1bb2961166d4ab03785893b7a (diff)
xilinx: zynqmp: Enable DFU tftp support
Enable DFU tftp support for firmware update. Fill dfu_ram_tftp variable to have command present for showing how to use it. boot FIT image has been created from below fragment. Key part is that type of image has to be firmware. Also based on experiment load property is completely ignored and base addresses are taken from dfu_alt_info variable. $ cat update_uboot.its /dts-v1/; / { description = "Automatic U-Boot update"; #address-cells = <1>; images { Image { description = "Kernel"; data = /incbin/("/tftpboot/Image"); compression = "none"; arch = "arm64"; type = "firmware"; os = "linux"; load = <0x80000>; entry = <0x80000>; hash-1 { algo = "sha1"; }; }; system.dtb { description = "DTB"; data = /incbin/("/tftpboot/system.dtb"); compression = "none"; arch = "arm64"; type = "firmware"; load = <0>; hash-1 { algo = "sha1"; }; }; }; }; $ mkimage -f update_uboot.its /tftpboot/boot When U-Boot starts get IP address and server IP. dhcp setenv serverip 192.168.0.105 And then run prepared command. run dfu_ram_tftp Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/dts/imx53-ppd-uboot.dtsi')
0 files changed, 0 insertions, 0 deletions