[OpenWrt-Devel] [PATCH] ipq806x: add ramdisk feature

INAGAKI Hiroshi musashino.open at gmail.com
Sat Dec 29 22:01:41 EST 2018

This commits adds "ramdisk" feature to ipq806x target. It helps
OpenWrt installing on some devices.


- Buffalo WXR-2533DHP

  The U-Boot on WXR-2533DHP has recovery method. If boot it with
  holding "AOSS" button, it will try to downloading the firmware
  from TFTP server and booting with it. By using this, the user
  can install OpenWrt firmware without UART console access.

- NEC Aterm WG2600HP

  The U-Boot on WG2600HP is protected with the password. So users
  cannot access to the console on the U-Boot and cannot operate the
  commands necessary for installing OpenWrt.
  Therefore, on this device, when installing OpenWrt by the user,
  change bootcmd as follows so that WG2600HP downloads and executes
  initramfs image from TFTP server if necessary.

    bootcmd="ping ${serverip} && tftpboot 0x44000000 wg2600hp-initramfs.bin; bootipq"

Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
 target/linux/ipq806x/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 BOARDNAME:=Qualcomm Atheros IPQ806X
-FEATURES:=squashfs nand fpu
+FEATURES:=squashfs nand fpu ramdisk
 MAINTAINER:=John Crispin <john at phrozen.org>

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list