aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2017-11-24 11:52:36 +0100
committerKlaus Goger <klaus.goger@theobroma-systems.com>2017-11-24 12:08:06 +0100
commit245d3b77cd3b725253e7a01760cae5e5809bd412 (patch)
tree45fdb0d1694726b53b859745cc7301ae23b898cd
parent01251df70c530b3af17117c50cfb620df7c4c4fb (diff)
boot: add usb target for puma_rk3399
as u-boot now supports usb add the necessary parts to enable distroboots usb target
-rw-r--r--boot-script/boot/boot.cmd2
-rw-r--r--boot-script/boot/boot.scrbin2633 -> 2917 bytes
2 files changed, 2 insertions, 0 deletions
diff --git a/boot-script/boot/boot.cmd b/boot-script/boot/boot.cmd
index 111e307..b0e3478 100644
--- a/boot-script/boot/boot.cmd
+++ b/boot-script/boot/boot.cmd
@@ -24,6 +24,8 @@ if test ${board_name} = "puma_rk3399"; then
if test ! -n ${androidboot_mode}; then
androidboot_mode=sd
fi
+ elif test ${devtype} = "usb"; then
+ rootdevice=/dev/sda1
else
if test ! -n ${androidboot_mode}; then
androidboot_mode=unknown
diff --git a/boot-script/boot/boot.scr b/boot-script/boot/boot.scr
index 54f5893..09344ba 100644
--- a/boot-script/boot/boot.scr
+++ b/boot-script/boot/boot.scr
Binary files differ