apalis-tk1: add update_uboot wrapper
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Fri, 27 Mar 2020 10:15:45 +0000 (12:15 +0200)
committerTom Warren <twarren@nvidia.com>
Thu, 2 Apr 2020 21:30:00 +0000 (14:30 -0700)
commitc9d1ff70e236a0d78ac07bdbadb5d6d7e8896361
tree3a4fdd8d07627db8f5b3ac9490286c1e1354db59
parente0718b3ab754860bd47677e6b4fc5b70da42c4ab
apalis-tk1: add update_uboot wrapper

Add universal update_uboot wrapper that helps to update
U-Boot image on internal storage.

Create an proper tegra image:
$ cbootimage -s tegra124 apalis-tk1.img.cfg apalis-tk1.img

Flash in U-boot shell:
> tftpboot ${loadaddr} ${board_name}/${board_name}.img
> run update_uboot

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
include/configs/apalis-tk1.h