From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 15 Feb 2024 17:31:05 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1raedc-007d9f-3C for lore@lore.pengutronix.de; Thu, 15 Feb 2024 17:31:05 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1raeda-0005h4-Ji for lore@pengutronix.de; Thu, 15 Feb 2024 17:31:04 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=xgo5b3Pem13F5CZaRh1wEbY9JYnWFq7hbg30p9P0vA0=; b=FGf1X4wMwICLmJO7kFtaRGWjqt zSYmHF+GvqHlTbfnkgnxJnOifyTfwoM4WmvFAO8sY+Nz+ftMCr867bOtQAeYox/P7YoUXe0WCvh9Y Q2A6UlMC1yFP7oh3LKbzHwbiZBYJr3E4jhJZSMfHJtkpxBfDzLW7mEL/9I6NEkofs873+hKNziH5q unmvt7utiXoz7yu94EXwFj134/4YWZAxk9a6DYJkKxC9Iy/XdCn1d+uLwiwBvWUSaFvSUP5auzbtj T48u2CWP6pnKxJBpyT8CNbC0xTCAUC5SIHdPHf+2P4DjS57I+Ng0B8ONCX6ci+unVkewjP8DSzQ+j j8v0VwxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raed0-0000000GyRa-413p; Thu, 15 Feb 2024 16:30:26 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raecr-0000000GyLe-2MbC for barebox@lists.infradead.org; Thu, 15 Feb 2024 16:30:21 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1raecn-0005H1-Hs; Thu, 15 Feb 2024 17:30:13 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1raecn-000uzH-04; Thu, 15 Feb 2024 17:30:13 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1raecm-009YG0-2w; Thu, 15 Feb 2024 17:30:12 +0100 From: Ahmad Fatoum To: barebox@lists.infradead.org Cc: Sam Ravnborg Date: Thu, 15 Feb 2024 17:29:54 +0100 Message-Id: <20240215163009.2172795-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240215_083017_690619_0BCCDFE0 X-CRM114-Status: GOOD ( 13.56 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v3 00/15] ARM: at91: skov-arm9cpu (SAM9263) first stage support X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) SDRAM setup and SD-Card chainloading support were previously added[1] by Sam as well as a WIP patch to enable them for Skov ARM9CPU. I reworked his final WIP patch and fixed some smaller and bigger issues that I ran into. Now barebox can replace at91bootstrap on this platform when booted from SD. What didn't work for me were USB and Ethernet, but these didn't work in Linux either when booted with the same device tree. I suspect this to be related, but I don't have use for either USB or Ethernet in barebox at this time, so I am happy with functional SD and nor flash. All patches are new ones, except for 11/15, which contains a changelog. [1]: https://lore.barebox.org/barebox/20220628203849.2785611-12-sam@ravnborg.org/ Ahmad Fatoum (14): mci: atmel_mci: disable power save mode mci: atmel_mci: fix zeroing of block length on AT91SAM9263 ARM: replace ENTRY_FUNCTION_HEAD with ENTRY_FUNCTION_WITHSTACK_HEAD ARM: at91: use AT91 header instead of generic barebox ARM's ARM: at91: implement SAM9_ENTRY_FUNCTION ARM: at91: sam9263_ll: drop PLL charge pump initialization ARM: at91: sam9263_ll: pass AT91_PMC_LL_AT91SAM9263 to PMC functions ARM: at91: sam9263_ll: refactor MCK switch to PLLA for clarity ARM: at91: sam9263_ll: support configuration of PLLB ARM: dts: AT91: skov-arm9cpu: remove barebox environment on NOR ARM: at91: skov-arm9cpu: configure SMC for NOR flash use ARM: at91: skov-arm9cpu: configure more appropriate hostname ARM: AT91: skov-arm9cpu: support environment on SD-Card usb: ohci-at91: fix possible hang chainloading barebox Sam Ravnborg (1): ARM: at91: skov-arm9cpu: Add SD-Card xload support arch/arm/boards/at91sam9263ek/lowlevel_init.c | 5 +- arch/arm/boards/at91sam9x5ek/lowlevel.c | 5 +- arch/arm/boards/skov-arm9cpu/board.c | 53 +++-- arch/arm/boards/skov-arm9cpu/lowlevel.c | 197 +++++++++--------- arch/arm/dts/at91-skov-arm9cpu.dts | 9 +- arch/arm/include/asm/barebox-arm.h | 20 +- arch/arm/mach-at91/Kconfig | 4 +- arch/arm/mach-at91/at91_pmc_ll.c | 11 + arch/arm/mach-at91/sam9263_ll.c | 34 ++- drivers/clk/clk.c | 12 +- drivers/mci/atmel_mci.c | 1 + drivers/mci/atmel_mci_common.c | 12 +- drivers/mci/atmel_mci_pbl.c | 1 + drivers/usb/host/ohci-at91.c | 13 +- images/Makefile.at91 | 6 +- include/linux/clk.h | 20 +- include/mach/at91/at91_pmc_ll.h | 1 + include/mach/at91/barebox-arm.h | 7 +- include/mach/at91/sam92_ll.h | 7 +- include/mach/mvebu/barebox-arm-head.h | 2 +- 20 files changed, 243 insertions(+), 177 deletions(-) -- 2.39.2