From patchwork Sun Dec 30 03:01:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: INAGAKI Hiroshi X-Patchwork-Id: 1019394 X-Patchwork-Delegate: chunkeey@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YDxVifBm"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="vDfkvpPa"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43S4xs0W9jz9s3l for ; Sun, 30 Dec 2018 14:02:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=szBgFeJVPs4CoKWy8HabEAz3SQZfZFHqAql7cFOdF50=; b=YDxVifBmop+A28 z3x1kE0+iJxBxzJRlBq8c5qBWkpUy4WLLntVpocsMcCOA8lg41yj+7am1Mr7ZWWv4zF2OBn/ACasK 7uBT1ZK4lWa9JDG7fR2JnF2F1CnlSaJsaofFczv+e9UjJKreamp+zvu8m3XCkjjZTD0ZR2uxB81BF 59Iv7QdgKHpySjAehxF99Y3qHK+Z+90n2B31Wy6XRnmNc+gcKoXk8jJm7OaIuA/v/xWr4jsLU2WIn 7Y83srirVnEV9NdbVATWJZr08odqp4aq4UwYrsezCH5TAYsPOTR43MEEmy9q0LRYqX2MTL4jl6vM2 QILj5XcZf1cqhMKD6ykQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdRNC-00038Z-BI; Sun, 30 Dec 2018 03:02:42 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdRN9-000384-Q5 for openwrt-devel@lists.openwrt.org; Sun, 30 Dec 2018 03:02:41 +0000 Received: by mail-pf1-x441.google.com with SMTP id r136so12010948pfc.6 for ; Sat, 29 Dec 2018 19:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=DA0DvYjrSmy7WJ4LZnd8woR3bD6ttk+6garGOYqBr/8=; b=vDfkvpPa6jSyI4gQF89/wyp4/NaahlfgnC4slwQqsTARZ5Ui37NswTJSdyZvl1vpe3 JwGYyHSVQte0JzDcwm/aL993w81h0JIhhcuNAHE3MT/lwE7kHunNldY+QJ+q1OzNcoMi L4LkiBGR2neWTKxL+azsrKGgsdxAaShQGkkIQMa2d3+oJjds09RoDpywEnlnHe6Qir8d DahEXkVLcPBfQ4MOR4M9mehe8kZZdHQPTgB2yOonVdHCoRGF1Qsyx+Wds5c84d/aeYho tJfthebVHvyCrEAwA5mkkOGaWcxijipZRfWGRllJ4MIti9WO2xKn3sySxylSaC2qYi/g iCYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DA0DvYjrSmy7WJ4LZnd8woR3bD6ttk+6garGOYqBr/8=; b=NDTZxc+CajY7jnfwe72uYcl2YYVKqVgQVmkZcM3UDUuYGiKKMxzJjAf0lOZsbnxe0F QHdAQIAIgjl6UXKhDpgyNq+LhVY8ToInKtv5h7R9U+ESHg5D/f9de6cm/Oi6OFZs0Gij BjCTFuwsqbjT/8u9WTU5C3CVqthEx7irOOb/Mv7QQlSecd0LoW+00as7fLJdxMhRhPl2 9egSJjskKuJboytsSjW/IPOAgiRRQ9F3JarM5W2k9nCPBvJRbSsRVAiXRKuWlZplmUAt AEWAyJdHGDWBGNMoWuefDT13fZtMBWSx7SRKxBeLzeowU8k5NIbf9idczAwF18GbIWyU PX7g== X-Gm-Message-State: AJcUukc5rcRKrfeQ3g6g2jm/1dvLgvUHO3Gr+xZW+7EpcT1lioU/gkwM Fdhos46tG7SdC8KPDOuXxyhyORU1 X-Google-Smtp-Source: ALg8bN56IvGKyu04ZzRvtq4K2AU7lLIBy5LIm3/C6itIDLnvmSN0GSh7iq7gL+i4NW7x3nvsuX/VrQ== X-Received: by 2002:a63:2263:: with SMTP id t35mr3416108pgm.69.1546138948143; Sat, 29 Dec 2018 19:02:28 -0800 (PST) Received: from localhost.localdomain (M014008005000.v4.enabler.ne.jp. [14.8.5.0]) by smtp.gmail.com with ESMTPSA id c72sm72250231pfb.107.2018.12.29.19.02.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Dec 2018 19:02:27 -0800 (PST) From: INAGAKI Hiroshi To: openwrt-devel@lists.openwrt.org Date: Sun, 30 Dec 2018 12:01:41 +0900 Message-Id: <20181230030141.2504-1-musashino.open@gmail.com> X-Mailer: git-send-email 2.17.1.windows.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181229_190239_848161_1BD73069 X-CRM114-Status: GOOD ( 11.77 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (musashino.open[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:441 listed in] [list.dnswl.org] Subject: [OpenWrt-Devel] [PATCH] ipq806x: add ramdisk feature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: INAGAKI Hiroshi MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This commits adds "ramdisk" feature to ipq806x target. It helps OpenWrt installing on some devices. example: - 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. ex.: bootcmd="ping ${serverip} && tftpboot 0x44000000 wg2600hp-initramfs.bin; bootipq" Signed-off-by: INAGAKI Hiroshi --- 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 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