Re: [PATCH] cmd: Make bootvx independent of bootelf

2024-10-11 Thread Daniel Palmer
Hi Tom, Simon, On Wed, 9 Oct 2024 at 11:10, Tom Rini wrote: > > > Applied to u-boot/master, thanks! > > > > It looks like my review here was missed? > > I guess you sent it in between when I b4'd it and then pushed it. > > -- > Tom I'll make the changes requested by Simon and send a follow up pa

[PATCH] cmd: Make bootvx independent of bootelf

2024-09-29 Thread Daniel Palmer
There are lots of usecases for running baremetal ELF binaries via bootelf but if you enable bootelf you get bootvx as well and you probably don't want or need it. Hide bootvx behind it's own configuration option. Signed-off-by: Daniel Palmer --- cmd/Kconfig | 11 +-- cmd/el

[PATCH] spl: spl_load: fix comparison between negative error code and unsigned size

2024-08-30 Thread Daniel Palmer
s in the caller to _spl_load() not seeing that an error happened as it should and continuing as if the load was completed when it might not have been. Check if read is negative and return it's value if it is before comparing against size in spl_image. Signed-off-by: Daniel Palmer --- in

Looking for users of the Faraday USB EHCI driver

2020-10-10 Thread Daniel Palmer
Hi all, U-boot has a driver[0] for Faraday's USB EHCI IP that doesn't seem to actually be used for anything in u-boot anymore and doesn't seem to have been converted to DM. I'm working on mainlining support for MStar/SigmaStar SoCs in both u-boot and linux (basic support is in 5.9) and the Linux

Re: [RFC PATCH 0/3] Start of MStar/SigmaStar Arm v7 SoC support

2020-09-15 Thread Daniel Palmer
Hi Tom, On Tue, 15 Sep 2020 at 03:56, Tom Rini wrote: > What I see in the code so far is fine. This is a bit too little of a > first series as there's nothing building. I would suggest aiming for a > "boots to hush prompt on serial" for the first series as the goal and > adding follow up serie

[RFC PATCH 1/3] arm: mstar: Initial MStar/SigmaStar Armv7 SoC support

2020-09-14 Thread Daniel Palmer
The patch adds a very basic skeleton for the MStar/SigmaStar Armv7 SoC to go into. It doesn't do anything yet. Signed-off-by: Daniel Palmer --- MAINTAINERS | 5 + arch/arm/Kconfig| 8 arch/arm/Makefile | 1 + arch/arm/mach-mstar/Kconfig

[RFC PATCH 2/3] arm: mstar: Add option for loading the SPL from the IPL

2020-09-14 Thread Daniel Palmer
y boot0 to add the right magic string that the IPL expects for IPL Cust instead of the IPL string the boot rom wants so we can use the IPL until u-boot gets DDR init support. Signed-off-by: Daniel Palmer --- arch/arm/mach-mstar/Kconfig | 12 1 file changed, 12 insertions(+) diff --git a

[RFC PATCH 3/3] arm: mstar: Add boot0 header

2020-09-14 Thread Daniel Palmer
an IPL. Signed-off-by: Daniel Palmer --- MAINTAINERS | 1 + arch/arm/Kconfig | 1 + arch/arm/include/asm/arch-mstarv7/boot0.h | 29 +++ arch/arm/mach-mstar/Kconfig | 3 +++ 4 files changed, 34 insertions

[RFC PATCH 0/3] Start of MStar/SigmaStar Arm v7 SoC support

2020-09-14 Thread Daniel Palmer
ll more parts in based on feedback. Daniel Palmer (3): arm: mstar: Initial MStar/SigmaStar Armv7 SoC support arm: mstar: Add option for loading the SPL from the IPL arm: mstar: Add boot0 header MAINTAINERS | 6 + arch/arm/Kconfig

Re: Mainlining advice for new (MStar/SigmaStar) ARMv7 SoC family

2020-06-19 Thread Daniel Palmer
Hi Tom > Well, lets see. It would be good to get the DTS stuff sorted out > upstream first, but so long a you keep U-Boot in sync, that's fine. That's good to know. Getting the DTS parts accepted seems like it'll be harder than the actual code. > aiming to start with UART and initramfs, UART an

Mainlining advice for new (MStar/SigmaStar) ARMv7 SoC family

2020-06-16 Thread Daniel Palmer
Hi all, I'm attempting to get initial support for MStar/Sigmastar's family of ARMv7 chips into Linux and I thought I should probably at least attempt to mainling the u-boot support while I'm at it. I did some googling and couldn't find a "how to mainline a new SoC" guide for u-boot so if possible