From: INAGAKI Hiroshi Date: Sun, 30 Dec 2018 03:01:41 +0000 (+0900) Subject: ipq806x: add ramdisk feature X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=250f5ec1397b795e7bdf27dc616842f1ed5cf2ee;p=openwrt%2Fstaging%2Fdangole.git ipq806x: add ramdisk feature This commits adds the "ramdisk" feature to ipq806x target. The main driving force behind this decision is to facilitate the installation of OpenWrt on some locked IPQ806x devices. Examples: - NEC Aterm WG2600HP The U-Boot on WG2600HP is protected with a password which prevents users from gaining access to the u-boot prompt in order to install the images from there. Therefore, on this device, installing OpenWrt by the user involves changing the bootcmd as follows so that WG2600HP downloads and executes initramfs image from TFTP server. ex.: bootcmd="ping ${serverip} && tftpboot 0x44000000 wg2600hp-initramfs.bin; bootipq" - Buffalo WXR-2533DHP The U-Boot on WXR-2533DHP has built-in firmware recovery mode. It's activated by holding the "AOSS" button during boot. This will trigger the device to download the firmware from an TFTP server and booting from it. By using this, the user can the install OpenWrt firmware without having access to the UART console. Signed-off-by: INAGAKI Hiroshi Signed-off-by: Christian Lamparter [reworded commit] --- diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile index 129ea2cda5..cd0e8b82ea 100644 --- a/target/linux/ipq806x/Makefile +++ b/target/linux/ipq806x/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk ARCH:=arm BOARD:=ipq806x BOARDNAME:=Qualcomm Atheros IPQ806X -FEATURES:=squashfs nand fpu +FEATURES:=squashfs nand fpu ramdisk CPU_TYPE:=cortex-a15 CPU_SUBTYPE:=neon-vfpv4 MAINTAINER:=John Crispin