Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Wolfram Sang
Hi, > > It is a direct replacement for at91bootstrap and loads barebox as the > > next step bootloader. > The above is entirely correct - as the barebox variant supports booting from > SD card only, where at91bootstrap support additional boot sources. So, I quickly built the bootstrap for A9263 a

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Sam Ravnborg
Hi all. Correcting myself here. > > > > Super interesting about the A9263 setup code. I missed it so far. Does > > that mean that barebox can replace the at91bootstrap? > Yes. The patch series I pointed at generates a bare variant that I > successfully used to boot my board direct from ROMBOOT. >

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Sam Ravnborg
Hi Wolfram. On Tue, Mar 21, 2023 at 06:20:45PM +0100, Wolfram Sang wrote: > Hi Sascha! > > > Nice to hear from you here ;) > > Yeah, it has been only 10 years... :) > > > I have no idea how the SDRAM setup is done on the USB-A9G20. There seems > > to be SDRAM setup code for the USB-A9263, but n

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Wolfram Sang
Hi Sascha! > Nice to hear from you here ;) Yeah, it has been only 10 years... :) > I have no idea how the SDRAM setup is done on the USB-A9G20. There seems > to be SDRAM setup code for the USB-A9263, but not for the USB-A9G20. Is > there some AT91Bootstrap required? Yes. There is a bootstrap re

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Sam Ravnborg
Hi Alexander. On Tue, Mar 21, 2023 at 10:44:25AM +0100, Alexander Dahl wrote: > Hello Sascha, > > Am Tue, Mar 21, 2023 at 09:58:48AM +0100 schrieb Sascha Hauer: > > Hi Wolfram, > > > > Nice to hear from you here ;) > > > > On Sun, Mar 19, 2023 at 10:28:07PM +0100, Wolfram Sang wrote: > > > Hi S

[PATCH] net: macb: Adjust zynq compatibles to upstream device trees

2023-03-21 Thread Sascha Hauer
Linux v6.3-rc1 renamed the zynq macb compatibles from cdns,zynq-gem to xlnx,zynq-gem and cdns,zynqmp-gem to xlnx,zynqmp-gem. Adjust the compatibles in the driver accordingly. Signed-off-by: Sascha Hauer --- drivers/net/macb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] mci: sdhci: Add and use common sdhci_wait_for_done()

2023-03-21 Thread Sascha Hauer
We have different driver specific variants of functions polling for the device ready in the tree. Add a common sdhci_wait_for_done() and use it where appropriate. This fixes a few deficiencies with the driver specific variants. rk_sdhci_wait_for_done() didn't check the SDHCI_INT_TIMEOUT bit and re

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Alexander Dahl
Hello Sascha, Am Tue, Mar 21, 2023 at 09:58:48AM +0100 schrieb Sascha Hauer: > Hi Wolfram, > > Nice to hear from you here ;) > > On Sun, Mar 19, 2023 at 10:28:07PM +0100, Wolfram Sang wrote: > > Hi Sam, > > > > > It is only a few weeks ago I argued that there was no users of the older > > > at9

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Sascha Hauer
Hi Wolfram, Nice to hear from you here ;) On Sun, Mar 19, 2023 at 10:28:07PM +0100, Wolfram Sang wrote: > Hi Sam, > > > It is only a few weeks ago I argued that there was no users of the older > > at91sam* boards, and then you prove me wrong here. > > At your service ;) > > > I will try to rem

Re: [PATCH] Documentation: imx: improve reboot mode section

2023-03-21 Thread Sascha Hauer
On Mon, Mar 20, 2023 at 12:41:23PM +0100, Roland Hieber wrote: > Signed-off-by: Roland Hieber > --- > Documentation/boards/imx.rst | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-) Applied, thanks Sascha > > diff --git a/Documentation/boards/imx.rst b/Documentation/boar

Re: [PATCH] commands: nand: add missing parameters to help

2023-03-21 Thread Sascha Hauer
On Sun, Mar 19, 2023 at 04:39:31PM +0100, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang > --- > commands/Kconfig | 4 +++- > commands/nand.c | 2 +- > 2 files changed, 4 insertions(+), 2 deletions(-) Applied, thanks Sascha > > diff --git a/commands/Kconfig b/commands/Kconfig > index 2776

Re: [PATCH] commands: edit: fix typo in Kconfig help text

2023-03-21 Thread Sascha Hauer
On Sun, Mar 19, 2023 at 04:39:11PM +0100, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang > --- > commands/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks Sascha > > diff --git a/commands/Kconfig b/commands/Kconfig > index ec15f4e543..27769950d9 100644 > ---

Re: [PATCH v2] Documentation: devicetree: list automatic boot argument fixups

2023-03-21 Thread Sascha Hauer
On Fri, Mar 17, 2023 at 01:19:37PM +0100, Johannes Zink wrote: > Barebox automatically fixes up several properties to the root and > chosen node of the device tree passed to the booted system. > > These entries contain information about the hardware, reset source > and the barebox version string.

Re: [PATCH v1 1/3] net: dsa: add adjust_link support

2023-03-21 Thread Sascha Hauer
On Thu, Mar 16, 2023 at 02:42:07PM +0100, Oleksij Rempel wrote: > The required functionality is essential for cable hot plugging or > asynchronous link detection. In its current state, DSA will only operate > if the cable was connected prior to booting. > > Signed-off-by: Oleksij Rempel > --- >

Re: [PATCH 07/18] driver: Add unregister_driver()

2023-03-21 Thread Sascha Hauer
On Mon, Mar 20, 2023 at 04:43:08PM +0100, Ahmad Fatoum wrote: > On 20.03.23 16:29, Sascha Hauer wrote: > > Registering drivers is one thing, getting rid of them another. Add > > unregister_driver() which is used in the coming USB gadget update. > > > > Signed-off-by: Sascha Hauer > > --- > > dri