From patchwork Wed Jun 13 08:51:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan HERPAI X-Patchwork-Id: 928766 X-Patchwork-Delegate: nbd@openwrt.org 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=none (p=none dis=none) header.from=uid0.hu Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="k+hHaQHh"; 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 415L9j1vKMz9ry1 for ; Wed, 13 Jun 2018 18:52:40 +1000 (AEST) 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=PHZHuh6GrXubhFEeLLjGoALTdM0x4GP0y9eMNhpSDag=; b=k+hHaQHhl4S5Gn FYWB7wE9/WPK1pAvEi8lCnuFLDo3gcPiyVpACwv+QOiRGnhjbssUbyPnilv/oL/QxrWB34vE5Y1zt IbGUXYdP9q+x1woTnO/3qJWN1RCpawdpA/if4UuKOEJs7d8kRuXYwfJQ0Vkn4gLrPa46cku06FpFt 68+XkWAGVewIk487QwatyM/HMZY+JpwRtQapBSam21SkRwQdziTFu/99y2H7/I5MCiQa8Twp+P4+o ju+gqeo49ZARIv/X859Na997oEHS/yQO7N/B2GCphvMCFX9QVPmSYnNjfURcmaiZpFM2/BjWwLpug j2arBfHiT8mbp32+7p7A==; 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 1fT1Vn-0007Xn-2G; Wed, 13 Jun 2018 08:52:15 +0000 Received: from tunnel231050-pt.tunnel.tserv1.bud1.ipv6.he.net ([2001:470:1f1a:93::2] helo=trabant.uid0.hu) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fT1Vf-0007UT-W5 for openwrt-devel@lists.openwrt.org; Wed, 13 Jun 2018 08:52:11 +0000 Received: from wigyori by trabant.uid0.hu with local (Exim 4.89 #1 (Debian)) id 1fT1VS-0006jT-DV from ; Wed, 13 Jun 2018 10:51:54 +0200 From: Zoltan HERPAI To: openwrt-devel@lists.openwrt.org Date: Wed, 13 Jun 2018 10:51:50 +0200 Message-Id: <1528879913-25844-1-git-send-email-wigyori@uid0.hu> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180613_015208_202004_404C14E0 X-CRM114-Status: UNSURE ( 7.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- Subject: [OpenWrt-Devel] [PATCH 1/4] tools: build squashfs (v3) for ath79 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: Zoltan HERPAI , john@phrozen.org MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Certain Netgear devices use BE squashfs for the kernel image. As squashfs4 only supports creating LE images, add squashfs (v3) into the tools to be built for ath79. Trying to use an LE squashfs (thus trying to use squashfs4 only for building the image) for the kernel image results in the bootloader barfing and stopping. Signed-off-by: Zoltan HERPAI --- tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile index d2b5daf..c8ef02c 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -31,6 +31,7 @@ tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2 tools-$(CONFIG_TARGET_x86) += qemu tools-$(CONFIG_TARGET_mxs) += elftosb sdimage tools-$(CONFIG_TARGET_ar71xx) += lzma-old squashfs +tools-$(CONFIG_TARGET_ath79) += squashfs tools-$(CONFIG_USES_MINOR) += kernel2minor tools-y += lzma squashfs4 tools-$(BUILD_B43_TOOLS) += b43-tools