Re: rn5t618 vs. rn5t568

2023-04-27 Thread Sascha Hauer
On Wed, Apr 26, 2023 at 09:09:36PM +0200, Andreas Kemnade wrote: > Hi, > > just looked a bit around in the source and stumbled across > drivers/mfd/rn5t568.c > > It contains > * MFD core driver for Ricoh RN5T618 PMIC > > but the filename is rn5t568.c That is very confusing. > a compatible

[PATCH] mci: dove: Add unhandled enumeration value

2023-04-27 Thread Sascha Hauer
Fixes: drivers/mci/dove-sdhci.c: In function 'dove_sdhci_mci_set_ios': drivers/mci/dove-sdhci.c:185:9: warning: enumeration value 'MMC_BUS_WIDTH_1' not handled in switch [-Wswitch] Signed-off-by: Sascha Hauer --- drivers/mci/dove-sdhci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

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

2023-04-27 Thread Wolfram Sang
> > I accidently erased it, so my journey for unbricking the device began. > > at91bootstrap, openocd, barebox - they all once supported A9G20, but > > nowadays all of them were broken. Well, I fixed openocd and barebox > > mostly so far, the bootstrap is still the missing piece. > > You may be

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

2023-04-27 Thread Wolfram Sang
Hi Sascha, > Anyway, what's really missing is DT support. I scribbled a patch to get > you started in case you are motivated. Basically it's: Compile in the > device tree, throw away all the device registration from the board code, > see where it gets you and fix the fallout ;) So, I tried this

[PATCH 1/2] ARM: at91: usb-a926x: remove nand partitions from config

2023-04-27 Thread Wolfram Sang
We define partitions as well in the board file. Leading to: New partition nand0.at91bootstrap (0x-0x0001) on nand0 overlaps with partition at91bootstrap_raw (0x-0x0001), not creating it cannot create nand0.at91bootstrap: Invalid argument addpart: Invalid argument So,

[PATCH 2/2] defconfigs: usb-a9g20: update to a working version

2023-04-27 Thread Wolfram Sang
The defconfig needs to be updated to get a usable barebox: We need bigger malloc because of the increasing kernel size, soft ECC so NAND will work, ifup and relocatable for easier development. Fix the prompt while here. Sadly, because of size restrictions, FAT, NFS, menus, netconsole, and SHA1

[PATCH 0/2] ARM: at91: usb-a9g20: make it work out of the box again

2023-04-27 Thread Wolfram Sang
Here are the remaining two patches to make a (for me) useable barebox with the defconfig and no other patches. Comments welcome! Wolfram Sang (2): ARM: at91: usb-a926x: remove nand partitions from config defconfigs: usb-a9g20: update to a working version