aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-kirkwood/Makefile
diff options
context:
space:
mode:
authorAlberto Bursi <alberto.bursi@outlook.it>2018-01-02 15:54:07 +0100
committerMathias Kresin <dev@kresin.me>2018-01-09 22:06:55 +0100
commitf5d267df638d7adc6654f4a1a3d7c7557cafd759 (patch)
treef79267471e7da23f52d622a5836e3d8019a00cac /package/boot/uboot-kirkwood/Makefile
parentf5df635ccf5162872044b2ade03f0879735e76fb (diff)
downloadupstream-f5d267df638d7adc6654f4a1a3d7c7557cafd759.tar.gz
upstream-f5d267df638d7adc6654f4a1a3d7c7557cafd759.tar.bz2
upstream-f5d267df638d7adc6654f4a1a3d7c7557cafd759.zip
uboot-kirkwood: add uboot for pogoplug v4
add an uboot able to boot a kernel in an ubi partition This uboot also has a "recovery" feature, before booting from flash it will try to boot a initramfs image called "initramfs.bin" from a FAT32-formatted USB drive connected to the USB 2.0 port. (u-boot lacks drivers for usb 3.0 controllers) Just rename the initramfs image and place it on the usb drive, the uboot will load it. In case there is no USB drive or no such file is found, the uboot will boot from internal flash. The whole check takes less than a second, boot times are not impacted. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Diffstat (limited to 'package/boot/uboot-kirkwood/Makefile')
-rw-r--r--package/boot/uboot-kirkwood/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/boot/uboot-kirkwood/Makefile b/package/boot/uboot-kirkwood/Makefile
index 2b6f00f50f..f4bb87556c 100644
--- a/package/boot/uboot-kirkwood/Makefile
+++ b/package/boot/uboot-kirkwood/Makefile
@@ -74,6 +74,11 @@ define U-Boot/pogo_e02_second_stage
BUILD_DEVICES:=cloudengines_pogoe02
endef
+define U-Boot/pogoplugv4
+ NAME:=Cloud Engines Pogoplug V4
+ BUILD_DEVICES:=cloudengines_pogoplugv4
+endef
+
UBOOT_TARGETS := \
dockstar dockstar_second_stage \
goflexhome \
@@ -81,7 +86,8 @@ UBOOT_TARGETS := \
iconnect iconnect_second_stage \
nsa310 \
nsa325 \
- pogo_e02 pogo_e02_second_stage
+ pogo_e02 pogo_e02_second_stage \
+ pogoplugv4
define Build/Configure
$(if $(findstring _second_stage,$(BUILD_VARIANT)),