From patchwork Mon Aug 10 14:26:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 1342855 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=mailerdienst.de header.i=@mailerdienst.de header.a=rsa-sha256 header.s=20200217 header.b=EfjsGHD7; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BQJQC4pL3z9sTb for ; Tue, 11 Aug 2020 00:34:41 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B4442808B3; Mon, 10 Aug 2020 16:34:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="EfjsGHD7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4D7F181817; Mon, 10 Aug 2020 16:27:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mxwww.masterlogin.de (mxwww.masterlogin.de [IPv6:2a03:2900:1:1::b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D3A56808B3 for ; Mon, 10 Aug 2020 16:27:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=linux@fw-web.de Received: from mxout3.routing.net (unknown [192.168.10.111]) by forward.mxwww.masterlogin.de (Postfix) with ESMTPS id 5DFD4962DE; Mon, 10 Aug 2020 14:27:08 +0000 (UTC) Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout3.routing.net (Postfix) with ESMTP id 333BA604D1; Mon, 10 Aug 2020 14:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1597069628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=hL4pLwEPpOEWtNiFrDdjhqfxuwZ+ozKpXGKZMl3zUIw=; b=EfjsGHD7qdFoAaZDU3IYtVZSBliK4h43cooUGkroOZeLjEFZQIuG6WSqx12ohP5+tw7t1X 6MOUVlSyKv/Bn/bEVwYyXY4XSrSkKbhKOJiujO3s9WVsASHCDFMVMUKhIPOGdJqrPhTsUl 3crXIZLBMd1SJ0l2NnbJ+giuVSbMYdg= Received: from localhost.localdomain (fttx-pool-217.61.151.249.bambit.de [217.61.151.249]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id 8929740501; Mon, 10 Aug 2020 14:27:07 +0000 (UTC) From: Frank Wunderlich To: u-boot@lists.denx.de Cc: Frank Wunderlich , GSS_MTK_Uboot_upstream , Ryder Lee , Weijie Gao Subject: [RFC PATCH 0/4] Add 32bit-mode for mt7622 Date: Mon, 10 Aug 2020 16:26:48 +0200 Message-Id: <20200810142652.40669-1-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 10 Aug 2020 16:34:27 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Frank Wunderlich official images for bananapi-r64 based on 32bit-uboot and linux-kernels packed into an armhf image i post this series for compatibility reasons it adds ability to build 32bit uboot which can switch to 64bit mode by calling jumparch64-target from mt7622 ATF Frank Wunderlich (3): mt7622: add lowlevel_init from 2014-04 jumparch64: insert into bootm jumparch64: add go64 Oleksandr Rybalko (1): mt7622: Support to build 32 bits version. arch/arm/lib/bootm.c | 10 ++++++ arch/arm/mach-mediatek/Kconfig | 7 +++- arch/arm/mach-mediatek/mt7622/Makefile | 4 +++ arch/arm/mach-mediatek/mt7622/init.c | 6 +++- arch/arm/mach-mediatek/mt7622/lowlevel_init.S | 33 +++++++++++++++++++ cmd/boot.c | 26 +++++++++++++++ 6 files changed, 84 insertions(+), 2 deletions(-) create mode 100755 arch/arm/mach-mediatek/mt7622/lowlevel_init.S