Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFB4EC54E94 for ; Tue, 24 Jan 2023 17:07:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D8D4856BA; Tue, 24 Jan 2023 18:07:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1674580029; bh=ERiLb4eMIXVMAE6Q6SCH+Q4BhqtuXqvPKnDDRR5DUAQ=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=jkZbXu+Fi8FEZtu35lleGxoINef/FSvXNPg2r0OZxi7ve3YVU7Pa8mTAWTjSMJcgv 595RkY281j2VdWcBPc81JcjIiFAY6TvTjcVLuqA/QGY1ySqK6CC7OU4rob8ljQ6nyi B+ud0wfWMh2h+ulmxrTv0KRg9Ff8Sut/mB4tQYcY9bV06m1ObuWyOzQTapPXRrkDCP YBqEyaNFUvIpgAFaCo12EOiXsnZS7KJNDPyCioMI349nkbq5C19soUBRgk2XOZTuX0 gAdaDFcnPdwQtMWhCH7Sw3MqgTodtBK8eSvyhmqpD6D7Sx+jvLNt41uLlKIA4oNoaY 0R7kQ2It4Cu7Q== Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id DC9FB85622; Tue, 24 Jan 2023 18:07:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1674580024; bh=ERiLb4eMIXVMAE6Q6SCH+Q4BhqtuXqvPKnDDRR5DUAQ=; h=From:To:Cc:Subject:Date:From; b=YRsEpMPn3xIImU0ufaBuvkw7E8sTfHV3dw9rWIremHMaMNFwIa//Ju7PJyBwD52k4 KQY+KfQxguLBH8mwfbJYRsNhnpuRu8t+MyigCQZIYjizhF2tQx9n140K/as1gmTxHG QSnyRLVvz106gvxELxsF/s50itUpHKynYj2YtDKfsO8tzvA24HD7yGG2/3Z0+CK59u J6YhEd/kO3/EIkjLF3QHS1ybX+CHrVfY+lTvjEBLIjE0PIVzyBLVRa+cY6O3UA6Iv9 d6k6kFR3gQJpJoNsXcmktFz8AdZstnua7TampJFW4zfSf0GZ8ct877+eFT+hqAPNC4 LZmOuZlp6ENyw== Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTPS id 55BC5180363; Tue, 24 Jan 2023 18:07:02 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 1FFAC1A009F; Tue, 24 Jan 2023 18:07:02 +0100 (CET) From: Heiko Schocher To: U-Boot Mailing List Cc: pali@kernel.org, Heiko Schocher , Heinrich Schuchardt , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Quentin Schulz , Ramon Fried , Simon Glass Subject: [PATCH v1 00/12] powerpc: mpc85xx: fixes and updates for socrates board Date: Tue, 24 Jan 2023 18:06:48 +0100 Message-Id: <20230124170700.3889830-1-hs@denx.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean Patchseries is based on 53c47c59e6: ("Merge tag 'dm-pull-18jan23' of https://source.denx.de/u-boot/custodians/u-boot-dm") It brings back socrates board working with current mainline, and adds also some small updates: - newer U-Boot needs more space in Flash, so set new textbase. adapt default environment - remove Flash on CS1 as not used anymore - support MTDPARTS - add boot retry feature - add support for i2c eeprom - add autbootdelay string - enable protected environement - enable signed fit images boot see thread: https://lists.denx.de/pipermail/u-boot/2023-January/504249.html commit bcc85b96b5ff: ("cmd: source: Support specifying config name") fixes this problem for me! patch 0002-powerpc-mpc85xx-socrates-rework-socrates-build-proce.patch is a combination of patches from Pali http://patchwork.ozlabs.org/project/uboot/patch/20221228200437.30971-1-pali@kernel.org/ http://patchwork.ozlabs.org/project/uboot/patch/20221228200437.30971-2-pali@kernel.org/ which is a base for patch 0003-powerpc-mpc85xx-drop-socrates-specific-image-creatio.patch which drops socrates board specific image creation and uses standard mpc85xx way by enabling MPC85XX_HAVE_RESET_VECTOR, drop CONFIG_OF_BOARD and use common u-boot.dtsi, so no specials anymore for this board. azure build: https://dev.azure.com/hs0298/hs/_build/results?buildId=99&view=results Heiko Schocher (12): powerpc/mpc85xx: fixes and updates for socrates board powerpc/mpc85xx: socrates: rework build process powerpc/mpc85xx: drop socrates specific image creation powerpc: dts: updates socrates board powerpc/mpc85xx: socrates: add MTD partitioning support powerpc/mpc85xx: socrates: add initrd_high default environment variable powerpc/mpc85xx: socrates: drop second flash bank powerpc/mpc85xx: socrates: Add boot retry feature powerpc/mpc85xx: socrates: add support for i2c eeprom at 0x51 powerpc/mpc85xx: socrates: add autoboot delay string powerpc/mpc85xx: socrates: enable protected Environment powerpc/mpc85xx: socrates: enable signed fitImages Makefile | 11 +++-- arch/powerpc/dts/socrates-u-boot.dtsi | 23 ++++++----- arch/powerpc/dts/socrates.dts | 59 +++++++++++++++------------ arch/powerpc/dts/u-boot.dtsi | 2 +- board/socrates/socrates.c | 32 +++++++-------- configs/socrates_defconfig | 50 +++++++++++++++-------- include/configs/socrates.h | 25 ++++++++---- 7 files changed, 118 insertions(+), 84 deletions(-) -- 2.37.3