diff options
author | Tomasz Maciej Nowak <tomek_n@o2.pl> | 2019-04-01 19:25:41 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-04-06 14:48:46 +0200 |
commit | 1b3dda179a6b2ec819aa3f863662c6f00f89c961 (patch) | |
tree | 4d20c71d568d3ef498aceccff8bda921e0147ce1 /target/linux/tegra/base-files | |
parent | b8744376445692062c7d4e59a9814dc70c76a88d (diff) | |
download | upstream-1b3dda179a6b2ec819aa3f863662c6f00f89c961.tar.gz upstream-1b3dda179a6b2ec819aa3f863662c6f00f89c961.tar.bz2 upstream-1b3dda179a6b2ec819aa3f863662c6f00f89c961.zip |
uboot-tegra: add U-Boot for tegra boards
Add U-Boot for NVIDIA Tegra based boards, with the first being CompuLab
TrimSlice. This is part of initial support for this board.
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target/linux/tegra/base-files')
-rw-r--r-- | target/linux/tegra/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/tegra/base-files/lib/upgrade/platform.sh b/target/linux/tegra/base-files/lib/upgrade/platform.sh index be453bdf9f..97dd381041 100644 --- a/target/linux/tegra/base-files/lib/upgrade/platform.sh +++ b/target/linux/tegra/base-files/lib/upgrade/platform.sh @@ -87,6 +87,8 @@ platform_do_upgrade() { return 0 fi + #write uboot image + get_image "$@" | dd of="$diskdev" bs=512 skip=1 seek=1 count=4097 conv=fsync,notrunc #iterate over each partition from the image and write it to the boot disk while read part start size; do if export_partdevice partdev $part; then |