Re: [PATCH 00/15] rockchip: rk3328: Update defconfigs, DTs and enable boot from SPI

2024-02-09 Thread John Clark
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

Re: [PATCH] rockchip: rk35xx: expand space for decompressed kernel

2023-12-23 Thread John Clark
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

Re: [PATCH] starfive: visionfive2: add device tree overlay support

2023-11-20 Thread John Clark
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

[PATCH] starfive: visionfive2: add device tree overlay support

2023-11-19 Thread John Clark
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

Re: [PATCH 1/4] rockchip: rk3588: Fix boot from SPI flash

2023-11-17 Thread John Clark
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

[PATCH] .gitignore: ignore misc include, simple-bin, and tools/generated build artifacts

2023-10-13 Thread John Clark
i.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 clean Signed-off-by:

[PATCH] Makefile: remove misc include and simple-bin build artifacts on clean

2023-10-13 Thread John Clark
aster 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 --git a/Makefile b/Makef

[PATCH v4 0/1] Empirical testing suggests that the rk3588 variants require additional spi detection handling based on iomux settings.

2023-10-12 Thread John Clark
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

[PATCH v4 1/1] board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board

2023-10-12 Thread John Clark
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

[PATCH v3] board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board

2023-10-08 Thread John Clark
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

[PATCH v2 1/1] board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board

2023-10-08 Thread John Clark
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

[PATCH v2 0/1] board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board

2023-10-08 Thread John Clark
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

Re: [PATCH] board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board

2023-10-08 Thread John Clark
_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

[PATCH] board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board

2023-10-07 Thread John Clark
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:

Re: [PATCH v2 0/7] rockchip: rk3568: Fix use of PCIe bifurcation

2023-08-04 Thread John Clark
=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 PCIe

Re: U-Boot video output for rk3588

2023-08-03 Thread John Clark
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

Re: [PATCH 0/6] rockchip: rk3568: Fix use of PCIe bifurcation

2023-08-01 Thread John Clark
.  Can you resend this patchset so I can definitively confirm?  It would be great if this can be fixed in 2023.10. Thanks, John Clark On 8/1/23 5:25 PM, 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

[PATCH] bootstd: USB devtype detection for script boot

2023-06-30 Thread John Clark
Change the device type from "usb_mass_storage" to "usb" when booting a script. Before this change: => printenv devtype devtype=usb_mass_storage After this change: => printenv devtype devtype=usb Signed-off-by: John Clark --- boot/bootmeth_script.c |

[PATCH] bootstd: USB devtype detection for script boot

2023-06-27 Thread John Clark
Change the device type from "usb_mass_storage" to "usb" when booting a script. Before this change: => printenv devtype devtype=usb_mass_storage After this change: => printenv devtype devtype=usb Signed-off-by: John Clark --- boot/bootmeth_script.c | 8 +

[PATCH 1/1] pci: pcie_dw_rockchip: support fixed vcc3v3 regulator type

2023-04-28 Thread John Clark
which should be suitable for all regulator types. Signed-off-by: John Clark --- drivers/pci/pcie_dw_rockchip.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/pci/pcie_dw_rockchip.c b/drivers/pci/pcie_dw_rockchip.c index 9322e735b9..a30fb45222 100644 --- a/drive

[PATCH 0/1] pci: pcie_dw_rockchip: support fixed vcc3v3 regulator type

2023-04-28 Thread John Clark
When trying to nvme boot rk3568 boards (tested with odroid-m1 and nanopi-r5s), it failes with error -19. This is because it is trying to set the voltage of a fixed-regulator to 3.3v. John Clark (1): pci: pcie_dw_rockchip: support fixed vcc3v3 regulator type drivers/pci/pcie_dw_rockchip.c