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

2024-01-08 Thread Hugh Cole-Baker
Hi Jonas, On Sun, 7 Jan 2024 at 17:35, Jonas Karlman wrote: > > Hi Hugh, > > On 2023-12-26 17:43, 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 betwee

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

2023-12-26 Thread Hugh Cole-Baker
and its decompression buffer, then devicetree, overlay and ramdisk at the end. Signed-off-by: Hugh Cole-Baker --- Changes from v1: Reorder things to have to have 128MiB for kernel and decompression space, then devicetree, overlays and ramdisk. Update kernel_comp_size to 128MiB. include/configs

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

2023-12-23 Thread Hugh Cole-Baker
to allow 96MB for uncompressing kernels. Signed-off-by: Hugh Cole-Baker Cc: Simon Glass Cc: Philipp Tomsich Cc: Kever Yang Cc: Jonas Karlman --- include/configs/rk3568_common.h | 4 ++-- include/configs/rk3588_common.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v2 3/3] rockchip: puma-haikou: default to SPI bus 1 for SPI-flash

2020-11-22 Thread Hugh Cole-Baker
SPI flash on this machine is located on bus 1, default to using bus 1 for SPI flash and stop aliasing it to bus 0. Formerly the alias spi1 pointed to , use an alias spi5 for this instead. Signed-off-by: Hugh Cole-Baker Suggested-by: Kever Yang --- Changes in v2: New patch. arch/arm/dts

[PATCH v2 2/3] rockchip: rk3399-roc-pc: default to SPI bus 1 for SPI-flash

2020-11-22 Thread Hugh Cole-Baker
SPI flash on this board is located on bus 1, default to using bus 1 for SPI flash on both rk3399-roc-pc and -mezzanine, and stop aliasing it to bus 0. Signed-off-by: Hugh Cole-Baker Suggested-by: Simon Glass Fixes: c4cea2bb ("rockchip: Enable building a SPI ROM image on bob") --- (

[PATCH v2 1/3] rockchip: pinebook-pro: default to SPI bus 1 for SPI-flash

2020-11-22 Thread Hugh Cole-Baker
SPI flash on this machine is located on bus 1, default to using bus 1 for SPI flash and stop aliasing it to bus 0. Signed-off-by: Hugh Cole-Baker Suggested-by: Simon Glass Fixes: c4cea2bb ("rockchip: Enable building a SPI ROM image on bob") --- (no changes since v1) arch/arm/

[PATCH v2 0/3] rockchip: Fix SPI boot on Pinebook Pro, Puma and RK3399-ROC-PC

2020-11-22 Thread Hugh Cole-Baker
s who have the affected boards would be welcome. Changes in v2: Also make this change to the Puma-Haikou board as suggested by Kever. Hugh Cole-Baker (3): rockchip: pinebook-pro: default to SPI bus 1 for SPI-flash rockchip: rk3399-roc-pc: default to SPI bus 1 for SPI-flash rockchip: puma-haiko

[PATCH 1/2] rockchip: pinebook-pro: default to SPI bus 1 for SPI-flash

2020-11-14 Thread Hugh Cole-Baker
SPI flash on this machine is located on bus 1, default to using bus 1 for SPI flash and stop aliasing it to bus 0. Signed-off-by: Hugh Cole-Baker Suggested-by: Simon Glass Fixes: c4cea2bb ("rockchip: Enable building a SPI ROM image on bob") --- arch/arm/dts/rk3399-pinebook-pro-u-boo

[PATCH 2/2] rockchip: rk3399-roc-pc: default to SPI bus 1 for SPI-flash

2020-11-14 Thread Hugh Cole-Baker
SPI flash on this board is located on bus 1, default to using bus 1 for SPI flash on both rk3399-roc-pc and -mezzanine, and stop aliasing it to bus 0. Signed-off-by: Hugh Cole-Baker Suggested-by: Simon Glass Fixes: c4cea2bb ("rockchip: Enable building a SPI ROM image on bob") ---

[PATCH 0/2] rockchip: Fix SPI boot on Pinebook Pro and RK3399-ROC-PC

2020-11-14 Thread Hugh Cole-Baker
I haven't touched its configuration as it seems to have a more complex setup where spi1 is already an alias that points to I don't have one of these boards to test with, but I suspect it wasn't affected by the addition of the spi1 alias in rk3399-u-boot.dtsi. Hugh Cole-Baker (2): rockchip: pi

Re: [PATCH] rockchip: Move Bob specific bits to it's specific u-boot.dtsi

2020-11-10 Thread Hugh Cole-Baker
Hi, > On 10 Nov 2020, at 07:34, Kever Yang wrote: > > Hi Peter, > > On 2020/11/9 上午7:02, Peter Robinson wrote: >> Move the bits that are device specific to the -u-boot.dtsi as the >> bits may be different on other devices and hence breaks SPI on >> those devices such as the Pinebook Pro. >>

Re: [PATCH v4 07/27] rockchip: Enable building a SPI ROM image on bob

2020-11-08 Thread Hugh Cole-Baker
Hi Simon, > On 3 Nov 2020, at 15:11, Simon Glass wrote: > > Hi Hugh, > > On Wed, 14 Oct 2020 at 12:37, Hugh Cole-Baker wrote: >> >> Hello, >>> On 11 Oct 2020, at 16:39, Emmanuel Vadot wrote: >>> >>> >>> Hi Simon, >

[PATCH] rockchip: rockpro64: fix boot from SPI flash on spi1

2020-11-08 Thread Hugh Cole-Baker
this board. Remove the spi0 alias, set the default bus for SPI flash to 1, and enable support for numbered aliases in SPL so that it uses the same bus numbering as U-Boot proper. This fixes booting from U-Boot in SPI flash on the rockpro64 board. Signed-off-by: Hugh Cole-Baker Suggested-by: Simon Gl

Re: [PATCH v4 07/27] rockchip: Enable building a SPI ROM image on bob

2020-10-14 Thread Hugh Cole-Baker
Hello, > On 11 Oct 2020, at 16:39, Emmanuel Vadot wrote: > > > Hi Simon, > > On Sun, 19 Jul 2020 13:55:58 -0600 > Simon Glass wrote: > >> Add a simple binman config and enable CONFIG_HAS_ROM so that U-Boot >> produces a ROM for bob. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in

[PATCH] rockchip: rk3399: allow deselecting SPL_ATF_NO_PLATFORM_PARAM

2020-06-15 Thread Hugh Cole-Baker
they know they will be using a compatible version of TF-A. Signed-off-by: Hugh Cole-Baker --- For some background, see this thread on the TF-A list [1]. Since the corresponding required change isn't in a tagged version of TF-A yet, and I don't know how many RK3399 boards are normally used with older TF-A vers

Re: rk3399: SPI boot: Return from ROM unsuccessful (with TPL)

2020-05-24 Thread Hugh Cole-Baker
> On 24 May 2020, at 20:00, Suniel Mahesh wrote: > > > > On Sun, May 24, 2020 at 3:52 PM Hugh Cole-Baker wrote: > > > On 20 May 2020, at 13:08, Jagan Teki wrote: > > > > It seems like SPI boot on rk3399 with TPL based is unable to return > >

Re: rk3399: SPI boot: Return from ROM unsuccessful (with TPL)

2020-05-24 Thread Hugh Cole-Baker
> On 20 May 2020, at 13:08, Jagan Teki wrote: > > It seems like SPI boot on rk3399 with TPL based is unable to return > from ROM or switching to from TPL to SPL is unsuccessful. > > I have verified board_init_f on spl.c and the control is not even > reached here. On the other hand the

[PATCH] rockchip: boot_mode: find the saradc device name

2020-01-25 Thread Hugh Cole-Baker
adc_channel_single_shot() requires the full device name e.g. "saradc@ff10", which differs between Rockchip SoC's, but they all share the prefix "saradc"; find the ADC device with this name prefix and use its full name. Signed-off-by: Hugh Cole-Baker --- I previously

[RFC PATCH] rockchip: boot_mode: find the saradc device name

2020-01-11 Thread Hugh Cole-Baker
adc_channel_single_shot() requires the full device name e.g. "saradc@ff10", which differs between Rockchip SoC's, but they all share the prefix "saradc"; find the ADC device with this name prefix and use its full name. Signed-off-by: Hugh Cole-Ba

Re: [PATCH] drivers: pci: initialise class to 0 before reading

2020-01-01 Thread Hugh Cole-Baker
Hi Bin, > On 1 Jan 2020, at 13:25, Bin Meng wrote: > > On Wed, Jan 1, 2020 at 7:15 PM Hugh Cole-Baker wrote: >> >> Otherwise, uninitialised memory from the upper 32 bits can end up in >> find_id.class, and this causes bugs later when looking for a driver for >

[PATCH] drivers: pci: initialise class to 0 before reading

2020-01-01 Thread Hugh Cole-Baker
Otherwise, uninitialised memory from the upper 32 bits can end up in find_id.class, and this causes bugs later when looking for a driver for the class. Signed-off-by: Hugh Cole-Baker --- drivers/pci/pci-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci

Re: [U-Boot] [PATCH 2/2] rockchip: rk3399: rockpro64: enable force power on reset workaround

2019-12-01 Thread Hugh Cole-Baker
Hi Vasily, > On 29 Nov 2019, at 01:06, Vasily Khoruzhick wrote: > > On Thu, Nov 28, 2019 at 4:59 PM Kever Yang wrote: >> >> Hi Vasily, >> >> On 2019/11/28 下午11:51, Vasily Khoruzhick wrote: >>> On Thu, Nov 28, 2019 at 1:23 AM Kever Yang >>> wrote: Hi Vasily, I think

[U-Boot] [PATCH] configs: rockpro64-rk3399: Enable CONFIG_MISC_INIT_R and ROCKCHIP_EFUSE

2019-09-10 Thread Hugh Cole-Baker
This enables reading the cpuid from e-fuse, and deriving a static MAC address from it. Without this, the ethernet interface on the rockpro64 can't be used to boot. Signed-off-by: Hugh Cole-Baker Cc: Philipp Tomsich --- configs/rockpro64-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions