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

2023-12-23 Thread Hugh Cole-Baker
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 Image.gz to this size, the FDT will be overwritten. Move fdt_addr_r and ramdisk_addr_r higher in memory to

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

2023-12-23 Thread Tom Rini
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 Image.gz > to this size, the FDT wi

[PATCH v1 0/3] Revive TEGRA_SUPPORT_NON_SECURE

2023-12-23 Thread Svyatoslav Ryhel
Revive TEGRA_SUPPORT_NON_SECURE used for T124 and adapt it to be used on T114 as well. Nonsecure state detection used on T124 works on T114 as well, tested by me personally on tegratab. Svyatoslav Ryhel (3): ARM: tegra124: convert TEGRA_SUPPORT_NON_SECURE into Kconfig ARM: tegra114: expand MC

[PATCH v1 1/3] ARM: tegra124: convert TEGRA_SUPPORT_NON_SECURE into Kconfig

2023-12-23 Thread Svyatoslav Ryhel
Signed-off-by: Svyatoslav Ryhel --- README | 7 --- arch/arm/mach-tegra/Kconfig | 7 +++ arch/arm/mach-tegra/board.c | 3 --- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README b/README index 805c06598d..b940fae706 100644 --- a/README +++ b/README

[PATCH v1 2/3] ARM: tegra114: expand MC register map

2023-12-23 Thread Svyatoslav Ryhel
This expansion is required for nonsecure detection to work correctly. Signed-off-by: Svyatoslav Ryhel --- arch/arm/include/asm/arch-tegra114/mc.h | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-tegra114/mc.h b/arch/arm/inc

[PATCH v1 3/3] ARM: tegra114: support nonsecure state detection

2023-12-23 Thread Svyatoslav Ryhel
Prinsiple is exactly the same as on T124, testing of register which behaves differently in secure and non-secure states. Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach

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