, this
means setting the 'srk_revoke_mask' option in the config file used to
sign the boot container. The 'ahab_commit 0x10' can then be used to commit
the SRK revocation information into the SECO fuses.
Signed-off-by: John Ripple
---
arch/arm/mach-i
Subject: Request for U-Boot Support for Allwinner A133 Device
Dear U-Boot Maintainers,
I am working on recovering a soft-bricked Android 10 tablet with the
Allwinner A133 SoC. The bootloader is unlocked, and I have backups of key
partitions (super.img, boot.img, vbmeta.img, recovery.img). However
On Wed, Oct 09, 2024 at 04:58:15PM -0600, Tom Rini wrote:
> On Sat, 27 Apr 2024 15:40:39 +1000, John Watts wrote:
>
> > I'm doing some SPI work so I tried to compile all the drivers on my
> > sunxi board to try and avoid some regressions. This failed, so here are
)
> > >
> > > Thanks for filling this in, I wasn't sure how the implementation would
> > > look from a quick skim of the linux kernel code.
> > I believe it should look like the above, but lemme CC Geert to be on the
> > safe side.
>
> I have n
t; +
> +static const struct of_device_id u_boot_env_of_match_table[] = {
> + { .compatible = "u-boot,env", .data = (void *)U_BOOT_FORMAT_SINGLE, },
> + { .compatible = "u-boot,env-redundant-bool", .data = (void
> *)U_BOOT_FORMAT_REDUNDANT, },
> + { .compatible = "u-boot,env-redundant-count", .data = (void
> *)U_BOOT_FORMAT_REDUNDANT, },
> + { .compatible = "brcm,env", .data = (void *)U_BOOT_FORMAT_BROADCOM, },
> + {},
> +};
> +
> +static struct nvmem_layout_driver u_boot_env_layout = {
> + .driver = {
> + .name = "u-boot-env-layout",
> + .of_match_table = u_boot_env_of_match_table,
> + },
> + .probe = u_boot_env_probe,
> + .remove = u_boot_env_remove,
> +};
> +module_nvmem_layout_driver(u_boot_env_layout);
> +
> +MODULE_AUTHOR("Rafał Miłecki");
> +MODULE_LICENSE("GPL");
> +MODULE_DEVICE_TABLE(of, u_boot_env_of_match_table);
--
John Thomson
-946eb82f8...@jookia.org
- video: Add support for NewVision NV3052C SPI panels
https://lore.kernel.org/r/20240614-panel_nv3052c-v1-1-4d94f7abd...@jookia.org
John.
fixed: add possibility to enable by clock")
Signed-off-by: John Keeping
---
drivers/power/regulator/fixed.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/drivers/power/regulator/fixed.c b/drivers/power/regulator/fixed.c
index 98c89bf2aff..996da4154
Hi,
On Fri, Jun 28, 2024 at 04:17:27PM +0100, Andre Przywara wrote:
> > I do not know if this patch is still a
> > necessity; though if John is nudging about it, it probably is.
>
> Yes apparently he needs it, though I am not entirely sure why.
> USB gadget has worked for a
This driver is mostly copied from the Linux kernel and includes
support for two physical panels that use this driver.
Signed-off-by: John Watts
---
This patch is a straightforward port of the kernel NV3052C SPI driver to
U-Boot, keeping full compatibility with mainline device tree bindings
Implement these by inverting the DE and PCLK polarities.
Signed-off-by: John Watts
---
arch/arm/include/asm/arch-sunxi/lcdc.h | 2 ++
drivers/video/sunxi/lcdc.c | 4
2 files changed, 6 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/lcdc.h
b/arch/arm/include/asm
The current code assumes hsync and vsync are active high by default, but
they are actually active low by default. This results in panels being
driven with the wrong sync polarities. Invert the check to fix it.
Signed-off-by: John Watts
---
drivers/video/sunxi/lcdc.c | 4 ++--
1 file changed, 2
The current LCD controller driver has incorrect polarity masks, so I've
provided a fix for that. While I was there I also added support for two
new display flags related to polarities.
Signed-off-by: John Watts
---
John Watts (2):
sunxi: video: Properly invert hsync and vsync pol
Currently the LCD code only supports reading panel timings from the
device tree. Change that so it can use a real panel.
Signed-off-by: John Watts
---
I've been working on a panel driver port from Linux for the T113 and
found I need this code to have the panel boot correctly.
---
drivers/
This interface supports sending MIPI commands over an SPI bus.
This driver only implements the Type C1 protocol for now.
Signed-off-by: John Watts
---
drivers/video/Kconfig| 6
drivers/video/Makefile | 1 +
drivers/video/mipi_dbi.c | 70
The bit-banging soft SPI driver supports any word length, so just
blindly return support for all of them.
Signed-off-by: John Watts
---
drivers/spi/soft_spi.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi.c
index 0fa14339bd..4f2161f0bf
Implement spi_set_wordlen for driver model devices.
Not all drivers support this interface, so we will assume the default
wordlen is safe and allow setting that unconditionally.
Signed-off-by: John Watts
---
drivers/spi/spi-uclass.c | 29 +
1 file changed, 29
We have no way to tell if we can actually set the wordlen in non-DM
code, so limit it to the default wordlen already in use.
Signed-off-by: John Watts
---
drivers/spi/spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 3649c9c25b
Return the current wordlen to the caller so they can restore it back
when done. This is required to avoid clobbering the bus state.
Signed-off-by: John Watts
---
drivers/spi/spi.c | 4 +++-
include/spi.h | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/spi
orting
panels across from the kernel.
Signed-off-by: John Watts
---
John Watts (5):
spi: Return old wordlen in spit_set_wordlen
spi: Limit spi_set_wordlen to SPI_DEFAULT_WORDLEN
spi: Implement spi_set_wordlen for driver model
spi: softspi: Support setting wordlen
vi
On Sat, May 18, 2024 at 01:54:45PM +1000, John Watts wrote:
> This driver documents and handles setting up PWM on the D1.
>
> Signed-off-by: John Watts
> ---
> drivers/pwm/Kconfig| 6 +
> drivers/pwm/Makefile | 1 +
> drivers/pwm
urces. So all the custom U-Boot specific DT stuff belongs to
> arch/${ARCH}/dts/.
>
> -Sumit
Hi,
I use OF_UPSTREAM.
John.
After a long time reading the datasheet I found out my approach was
actually wrong and led to an off by on error.
Signed-off-by: John Watts
---
drivers/pwm/sunxi_pwm_d1.c | 57 +-
1 file changed, 32 insertions(+), 25 deletions(-)
diff --git a/drivers/pwm
After a long time reading the datasheet I found out my approach was
actually wrong and led to an off by on error.
Signed-off-by: John Watts
---
drivers/pwm/sunxi_pwm_d1.c | 57 +-
1 file changed, 32 insertions(+), 25 deletions(-)
diff --git a/drivers/pwm
This is based on the binding from the as yet unmerged kernel series:
https://lore.kernel.org/linux-kernel/20240131125920.2879433-2-privates...@gmail.com/
Signed-off-by: John Watts
---
arch/riscv/dts/sunxi-d1s-t113.dtsi | 12
dts/upstream/src/riscv/allwinner/sunxi
This driver documents and handles setting up PWM on the D1.
Signed-off-by: John Watts
---
drivers/pwm/Kconfig| 6 +
drivers/pwm/Makefile | 1 +
drivers/pwm/sunxi_pwm_d1.c | 542 +
3 files changed, 549 insertions(+)
diff --git a
This is currently only used for PD22 on the Mango Pi MQ-Dual.
Signed-off-by: John Watts
---
drivers/pinctrl/sunxi/pinctrl-sunxi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c
b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
index 37ea93715d..b3f2568ffe
This is needed for the D1 PWM driver.
Signed-off-by: John Watts
---
drivers/clk/sunxi/clk_d1.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/clk/sunxi/clk_d1.c b/drivers/clk/sunxi/clk_d1.c
index 9dae761de8..6577d86e0b 100644
--- a/drivers/clk/sunxi/clk_d1.c
+++ b/drivers/clk
This patch series adds support for the Allwinner D1, T113 and R329 PWM.
This code isn't based on any kernel code but instead written from scratch with
the goal of handling the PWM pairs deterministically.
I've tested this on T113 hardware and it works very well.
Signed-off-by:
Tested-by: John Ma
On 5/7/24 08:17, Wadim Egorov wrote:
PHYTEC stores details about the hardware in an EEPROM on the SoM. We can
utilize this information and chose the proper DDR timings accordingly.
Due to the limited SRAM memory on the AM62x, the concept was to store
only the DDR timings
This is required for compiling.
Signed-off-by: John Watts
---
drivers/spi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 025c81adc9..f1c6a838ae 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -417,6 +417,7 @@ config
This code uses dev_err which is defined in dm/device_compat.h
Signed-off-by: John Watts
---
drivers/spi/ca_sflash.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/ca_sflash.c b/drivers/spi/ca_sflash.c
index 38bddd3861..78e442cac9 100644
--- a/drivers/spi/ca_sflash.c
+++ b
This created a conflict when linking.
Signed-off-by: John Watts
---
drivers/spi/mtk_spim.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/spi/mtk_spim.c b/drivers/spi/mtk_spim.c
index 90f4c3cecb..2979487fff 100644
--- a/drivers/spi/mtk_spim.c
+++ b/drivers/spi/mtk_spim.c
@@ -18,7
These dependencies are required for building the drivers and create
compile errors if not enabled.
Signed-off-by: John Watts
---
drivers/spi/Kconfig | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 612434633b..025c81adc9
I'm doing some SPI work so I tried to compile all the drivers on my
sunxi board to try and avoid some regressions. This failed, so here are
some fixes for this.
Signed-off-by: John Watts
---
John Watts (4):
spi: Kconfig: Add some required arch depends for drivers
spi: mtk
H616 and VIDEO0 elsewhere.
Signed-off-by: John Watts
---
arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h | 9 +++
arch/arm/mach-sunxi/clock_sun50i_h6.c | 10
drivers/video/sunxi/sunxi_dw_hdmi.c | 70 ---
3 files changed, 80 insertions(+), 9
Now that all the code is present and can compile, enable the DE2 so
people can use it.
Signed-off-by: John Watts
---
arch/arm/mach-sunxi/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index ddf9414b08..9d76e429ef 100644
pick VIDEO0 or VIDEO1 to run the TCON and
HDMI encoder based on the chip.
Signed-off-by: John Watts
---
drivers/video/sunxi/sunxi_dw_hdmi.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c
b/drivers/video/sunxi/sunxi_dw_hdmi.c
index 0324a05
This variable is only used sometimes, so gate it behind an #ifdef.
Signed-off-by: John Watts
---
drivers/video/sunxi/lcdc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/video/sunxi/lcdc.c b/drivers/video/sunxi/lcdc.c
index ea21d602be..1474f6cb2e 100644
--- a/drivers/video
This requires just a little change to clocking and reset logic.
Signed-off-by: John Watts
---
drivers/video/sunxi/sunxi_de2.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/video/sunxi/sunxi_de2.c b/drivers/video/sunxi/sunxi_de2.c
index e02d359cd2..9b6c41b212
The H6/D1/R528 don't require any big changes, just some small
tweaks to support new clock and reset logic.
Signed-off-by: John Watts
---
drivers/video/sunxi/lcdc.c | 20
drivers/video/sunxi/sunxi_lcd.c | 6 --
2 files changed, 24 insertions(+), 2 dele
These are used for operating the LCD on the H6/H616.
Signed-off-by: John Watts
---
arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h
b/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h
index
These are used for operating the LCD on the D1/T113.
Signed-off-by: John Watts
---
arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h
b/arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h
This code adds support for clocking VIDEO0 and VIDEO1, as well as
registers used for the DE2.
This code deliberately uses a 12MHz step in clocking to align with
the DE2 code's expectation of double 6MHz steps.
Signed-off-by: John Watts
---
arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h
yone wants to work on it. It compiles and looks like it should work,
but I haven't ungated/reset the slow HDMI clock, or HDMI sub.
Signed-off-by: John Watts
---
John Watts (9):
sunxi: clock: support H6/D1 video clocks
sunxi: ncat2: Specify DE2 and LCD0 base addresses
s
intfs in the probe func, per feedback from Marek.
> I received no other feedback against v1 of this patch.
Hi Sam,
I did some more testing and I believe my USB issues mentioned in the
other subthread are unrelated to this patch.
As such, here's my reviewed-by and tested-by. :)
John.
Rev
On Thu, Apr 11, 2024 at 05:27:08PM -0600, Sam Edwards wrote:
> Hi John,
>
> It doesn't look like I was sent the whole series (only 00 and 01), but
> I was able to find it on Patchwork and sift through it. A few general
> comments follow:
>
> The introduction of `SUNXI_B
On Thu, Apr 11, 2024 at 03:53:51PM -0600, Sam Edwards wrote:
> Hi John,
Hi Sam,
> Ahh I see the problem. In U-Boot, `ubi` isn't actually a block device:
> it's implemented as a stub in the block layer, and the filesystem
> layer redirects `ubi` accesses to the currently
hings easier.
That's an interesting use case! Would you mind testing this patch if possible?
> Cheers,
>
> Mark
John.
lar patch?
https://lore.kernel.org/u-boot/20230608195631.55364-1-cfswo...@gmail.com/
If not you might want to test it and compare it.
John.
> The implementation of usb_gadget_register_driver from
> musb-new/musb_uboot.c only works when the gadget driver for the device
> has already been pro
Hi there,
I've tested this patch and it seems to support the gadget model, but I'm having
a lot of USB errors. What device did you test this on?
John.
On Thu, Jun 08, 2023 at 01:56:29PM -0600, Sam Edwards wrote:
> Happy Thursday, U-Boot list!
>
> Here is attempt 2 at making
The T113 supports UART2 on PD1 and PD2. Add it as an option.
Signed-off-by: John Watts
---
arch/arm/mach-sunxi/board.c | 4
include/sunxi_gpio.h| 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index f5da50b43a
The T113 supports UART1 on pins PG6 and PG7, add support for it here.
Signed-off-by: John Watts
---
arch/arm/mach-sunxi/board.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index f4dbb2a740..f5da50b43a 100644
The T113 supports UART1 and UART2 on PG and PD pins respectively.
Add support for these in U-Boot so we can use them.
Note: I'm not entirely sure if the PD pins should be default, they
overlap with the LCD pins. I am however using this on a real board.
Signed-off-by: John Watts
---
John
UBI required MTD to build correctly, add it as a Kconfig dependency.
Signed-off-by: John Watts
---
While working with UBI on my SPI NAND patch series I found it was
possible to enable it without enabling the MTD subsystem.
Add a Kconfig option to solve this.
---
drivers/mtd/ubi/Kconfig | 1 +
1
Linux might use the wrong baud rate such as 9600 by default, make sure
to specify it when passing the serial port over.
Signed-off-by: John Watts
---
On my board at least (a sunxi T113) the serial console will initialize
as 9600 baud instead of the set baud. Pass the baud with the serial
device
Hello,
I've used this code extensively, incorporated it in to an RFC branch of
mine during development and reviewed it in the process.
John.
Reviewed-by: John Watts
Tested-by: John Watts
On Fri, Oct 14, 2022 at 11:05:12AM +0800, Icenowy Zheng wrote:
> This patchset tries to extend S
Hi there,
I've been using my own independent implementation of this patch but
today I gave this one a test in my tree and found out it works.
The code looks fine in comparison, so here's a Tested-by and a
Reviewed-by.
John.
Tested-by: John Watts
Reviewed-by: John Watts
On Sat, No
The FIT loader doesn't support access through UBI, so load the FIT
image ourself in to memory then boot it normally.
Signed-off-by: John Watts
---
common/spl/spl_ubi.c | 34 ++
1 file changed, 30 insertions(+), 4 deletions(-)
diff --git a/common/spl/spl_ub
UBI supports traditional NAND and oneNAND devices already, so add
support for booting from SPI NAND devices.
Signed-off-by: John Watts
---
common/spl/spl_ubi.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_ubi.c b/common/spl/spl_ubi.c
index
These are used by NAND-aware loaders such as UBI.
Signed-off-by: John Watts
---
arch/arm/mach-sunxi/spl_spi_sunxi.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/mach-sunxi/spl_spi_sunxi.c
b/arch/arm/mach-sunxi/spl_spi_sunxi.c
index 602ebfe8c5..d6b03678d0
These are implemented by the board-specific SPL code for use with
NAND-aware loaders like UBI.
Signed-off-by: John Watts
---
include/nand.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/nand.h b/include/nand.h
index 220ffa202e..9fb8941dce 100644
--- a/include/nand.h
+++ b
Use the newly created SPL_SPINAND configuration options instead of
sunxi-only options.
No backwards compatibility is needed as the SPI NAND patches are not
mainline yet.
Signed-off-by: John Watts
---
arch/arm/mach-sunxi/Kconfig | 16
arch/arm/mach-sunxi/spl_spi_sunxi.c
Boards that support SPI NAND need to specify the page and eraseblock
size. Add those as Kconfig options.
Signed-off-by: John Watts
---
common/spl/Kconfig | 21 +
1 file changed, 21 insertions(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 6405374bcc
Currently there are two different boot device options: SPI and NAND.
One is intended for SPI NOR operation, the other is intended for dedicated
NAND operation.
Add a new option for SPI NAND operation.
Signed-off-by: John Watts
---
arch/arm/include/asm/spl.h | 1 +
arch/mips/include/asm
Instead of trying to boot from SPI NAND then SPI NOR in series, select
one based on the current boot device.
Signed-off-by: John Watts
---
arch/arm/include/asm/arch-sunxi/spl.h | 1 +
arch/arm/mach-sunxi/board.c | 5 -
arch/arm/mach-sunxi/spl_spi_sunxi.c | 28
work though.
Signed-off-by: John Watts
---
arch/arm/include/asm/arch-sunxi/spl.h | 2 --
arch/arm/mach-sunxi/board.c | 22 +-
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/arch/arm/include/asm/arch-sunxi/spl.h
b/arch/arm/include/asm/arch-sunxi
From: Icenowy Zheng
As we added support for SPI NAND to the existing SPL SPI codepath, route
the boot code to it when it detects the BROM loads SPL from SPI NAND, as
for SoCs with both SPI NAND and boot media indicator support, the boot
media indicator is the same for SPI NOR and NAND.
Signed-of
From: Icenowy Zheng
This commit adds support for booting from SPI NAND to SPL SPI code by
mimicing the behavior of boot ROM (use fixed page size and sequentially
try SPI NOR and NAND).
Signed-off-by: Icenowy Zheng
Tested-by: Samuel Holland # Orange Pi Zero Plus
---
arch/arm/mach-sunxi/Kconfig
From: Icenowy Zheng
As we're going to add support for SPI NAND to this code, add code that
allows multiple boot attempts with different load offsets and functions.
To keep compatibility with loading raw binary on SPI NOR, a bool
parameter is used to allow booting without valid magic number when
From: Icenowy Zheng
This kind of read command is utilized in SPI NANDs for reading data
inside a selected page, which is obviously smaller than how much 2
byte address can address. So 2 bytes are used for the address and one
dummy byte is needed after the real address. As the address is sent out
From: Icenowy Zheng
To support SPI NAND flashes, more commands than Read (03h) are needed.
Extract the code for doing SPI transfer from the reading code for code
reuse.
Signed-off-by: Icenowy Zheng
Reviewed-by: Samuel Holland
Tested-by: Samuel Holland # Orange Pi Zero Plus
---
arch/arm/mach
From: Maksim Kiselev
R528/T113 SoCs uses the same SPI IP as the H6, also have the same clocks
and reset bits layout, but the CCU base is different. Another difference
is that the new SoCs do not have a clock divider inside. Instead of this
we should configure sample mode depending on input clock
://lore.kernel.org/all/2023133432.755363-2-biguncle...@gmail.com/
Hopefully this can get the ball rolling on how to properly implement
SPI NAND support in mainline U-Boot.
Signed-off-by: John Watts
---
Icenowy Zheng (5):
sunxi: SPL SPI: extract code for doing SPI transfer
sunxi: SPL SPI
d edited the device tree to bcm2712-rpi-5-b.dtb. Then get get the dts files
> fromlinux/arch/arm/boot/dts/bcm2712-rpi-5-b.dts at rpi-6.1.y)
>
>
> It gets booted but still need more controllers( ethernet)
>
>
>
> On Saturday, February 17, 2024 at 11:17:12 AM PST, John
>
>
>
>
>
>
> On Saturday, February 17, 2024 at 08:36:22 AM PST, John
> wrote:
>
>
> I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the
> vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi
> (2024.04-
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the
vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi
(2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B,
it does not boot. I only see the "U-Boot" submarine logo in the upp
On 2/6/24 7:02 PM, Jonas Karlman wrote:
This series contains miscellaneous updates to defconfigs, syncs latest
device trees from linux, fixes an issue loading FIT from SD-card when
running SPL from eMMC and enables building a bootable SPI image on
RK3328 boards.
I am also adding myself as a revi
On 12/23/23 11:09 AM, Tom Rini wrote:
On Sat, Dec 23, 2023 at 12:13:10PM +, Hugh Cole-Baker wrote:
An uncompressed 6.7.0-rc1 Linux kernel Image built with the arm64
defconfig is about 40MB. This does not fit in to the space between
kernel_comp_addr_r and fdt_addr_r, so when uncompressing an
a large refactoring probably isn't a good idea when I have
some smaller patches. I might toss these up on the lists soon:
- UART1 and UART2 support for the Mango Pi MQ
- MTD Kconfig requirement for UBI
- UBI SPL FIT support
Thanks for your time,
John.
device tree overlay support requires fdtoverlay_addr_r to be set
before
~~
Invalid fdtoverlay_addr_r for loading overlays
after
~
Retrieving file: /boot/overlay/rtc-ds3231.dtbo
Signed-off-by: John Clark
---
include/configs/starfive-visionfive2.h | 1 +
1 file changed, 1
device tree overlay support requires fdtoverlay_addr_r to be set
before
~~
Invalid fdtoverlay_addr_r for loading overlays
after
~
Retrieving file: /boot/overlay/rtc-ds3231.dtbo
Signed-off-by: John Clark
---
include/configs/starfive-visionfive2.h | 1 +
1 file changed, 1 insertion
On 11/17/23 12:50 PM, Tom Rini wrote:
On Fri, Nov 17, 2023 at 03:03:39PM +0100, Slawomir Stepien wrote:
On lis 14, 2023 15:06, Quentin Schulz wrote:
Hi Jonas,
Hi Quentin
On 11/12/23 11:26, Jonas Karlman wrote:
The commit fd6e425be243 ("rockchip: rk3588-rock-5b: Enable boot from SPI
NOR fl
Hi Simon,
On Wed, 2023-11-15 at 06:40 -0700, Simon Glass wrote:
> Hi Adrian,
>
> On Wed, 15 Nov 2023 at 00:27, John Paul Adrian Glaubitz
> wrote:
> >
> > Hello!
> >
> > On Linux sparc64, building u-boot fails with [1]:
> >
> > cc -o tools/
1]
> https://buildd.debian.org/status/fetch.php?pkg=u-boot&arch=sparc64&ver=2023.07%2
> Bdfsg-1&stamp=1699723544&raw=0
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
This config option enables the malloc() pool in TPL not the SPL. Fix
the description to accurately reflect this.
Fixes: fd8497dae54 (spl: Create proper symbols for enabling the malloc() pool)
Signed-off-by: John Keeping
---
Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
s and why the latter doesn't work.
I have uploaded both versions here:
> https://people.debian.org/~glaubitz/u-boot-sh7785lcr/
Maybe someone with more experience can spot anything obvious like incorrect
address offsets etc.
PS: I'm actually called Adrian, despite the long name ;-
p 30 12:35 /dev/mtdblock3
root@tirpitz:~>
So, I assume, I should just be able to write u-boot.bin to /dev/mtdblock0?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
he "erase" command will erase the flash. But there
doesn't seem to be a "program" command.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
x to be better suited to modern versions of u-boot in the
future.
For now, it would be a great help if anyone could help me with the hanging boot
issue.
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
ple-bin-spi.map
simple-bin.fit.fit
simple-bin.fit.itb
simple-bin.map
tools/generated/
after
~~~
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree c
n branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
Signed-off-by: John Clark
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --gi
oard files:
Kconfig, MAINTAINERS, Makefile, nanopct6-rk3588.c, nanopct6-rk3588.h
- improved BROM_LAST_BOOTSOURCE handling for SPI NOR
John Clark (1):
board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board
arch/arm/dts/Makefile | 1 +
arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi
786cc37 ("arm64: dts: rockchip: Add NanoPC T6 PCIe e-key support")
Signed-off-by: John Clark
---
Changes in v4:
- removed SPI support as Jonas Karlman will be providing a comprehensive
solution to support all rk3588 iomux variations.
Changes in v3:
- The vendor device tree uses &quo
786cc37 ("arm64: dts: rockchip: Add NanoPC T6 PCIe e-key support")
Signed-off-by: John Clark
---
Changes in v3:
- The vendor device tree uses "FriendlyElec NanoPC-T6" therefore, use
FriendlyElec over FriendlyARM.
- Bug: use IS_ENABLED(CONFIG_TARGET_NANOPCT6_RK3588) rather than
786cc37 ("arm64: dts: rockchip: Add NanoPC T6 PCIe e-key support")
Signed-off-by: John Clark
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi | 36 +
arch/arm/dts/rk3588-nanopc-t6.dts | 916 ++
arch/ar
Jonas, thank you for your detailed review. The explanations for each of config
change recommendations were especially helpful.
As for the CFG_IRAM_BASE / BROM_LAST_BOOTSOURCE issue, I have made a step
forward, but expect I will be getting feedback as to a better approach.
Note: This patchset i
_common.h:#define CFG_IRAM_BASE 0xff00
./include/configs/rk322x_common.h:#define CFG_IRAM_BASE 0x1008
./include/configs/rv1126_common.h:#define CFG_IRAM_BASE 0xff70
On Sun, Oct 8, 2023 at 5:09 AM Kever Yang wrote:
>
> On 2023/10/8 05:25, John Clark wrote:
> > NanoPC-T6 is a
case) / 86x114.5x30mm (with case)
Kernel commits:
893c17716d0c ("arm64: dts: rockchip: Add NanoPC T6")
a721e28dfad2 ("arm64: dts: rockchip: Add NanoPC T6 PCIe Ethernet support")
ac76b786cc37 ("arm64: dts: rockchip: Add NanoPC T6 PCIe e-key support")
Signed-off-by:
og/?h=rk3588
Both MMC and SPI boot media were tested.
Tested-by: John Clark
On 8/3/23 2:29 AM, FUKAUMI Naoki wrote:
hi,
On 8/3/23 04:22, Jonas Karlman wrote:
This series add support for use of PCIe bifurcation on RK3568, and as a
bonus support for the RK3588 PHY is also included. With
fwiw, I grabbed this terminal code written in go out of the tinygo
project: https://github.com/inindev/goterm
It is less than 100 lines long and it supports the rockchip 1.5M baud
rate well (ctrl+] to exit).
On 8/2/23 6:50 PM, Sebastian Reichel wrote:
Hi,
On Wed, Aug 02, 2023 at 03:19:04PM
1 - 100 of 733 matches
Mail list logo