ARM: dts: exynos4210-trats: Split memory into 4 sections
Subsystems (2)
PATCH 1/1 ARM: dts: exynos4210-trats: Split memory into 4 sections
Since the maximum section size on mach-exynos is set to 256MiB, boards with memory configuration defined using sections bigger than 256MiB will fail to boot with a kernel panic.
This patch modifies the dts file of Samsung Trats board to define four sections of 256MiB instead of two of 512MiB to fix the boot problem.
--- arch/arm/boot/dts/exynos4210-trats.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/exynos4210-trats.dts +4 -2
@@ -20,8 +20,10 @@ compatible = "samsung,trats", "samsung,exynos4210"; memory { - reg = <0x40000000 0x20000000 - 0x60000000 0x20000000>; + reg = <0x40000000 0x10000000 + 0x50000000 0x10000000 + 0x60000000 0x10000000 + 0x70000000 0x10000000>; }; chosen {
Signature · 1 line
1.7.12
PATCH 1/1 ARM: dts: exynos4210-trats: Split memory into 4 sections
Quoted 5 lines · Tomasz Figa
Since the maximum section size on mach-exynos is set to 256MiB, boards with memory configuration defined using sections bigger than 256MiB will fail to boot with a kernel panic.
I don't think so and it works fine in my side. Probably, the reason of kernel panic you said is not a maximum sections size?
Quoted 3 lines
This patch modifies the dts file of Samsung Trats board to define four sections of 256MiB instead of two of 512MiB to fix the boot problem.
BTW, if this patch can fix the problem, OK, I will apply this for now.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
Quoted 25 lines
Signed-off-by Tomasz Figa <[email protected]>--- arch/arm/boot/dts/exynos4210-trats.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)arch/arm/boot/dts/exynos4210-trats.dts +4
-3@@ -20,8 +20,10 @@ compatible = "samsung,trats", "samsung,exynos4210"; memory { - reg = <0x40000000 0x20000000 - 0x60000000 0x20000000>; + reg = <0x40000000 0x10000000 + 0x50000000 0x10000000 + 0x60000000 0x10000000 + 0x70000000 0x10000000>; }; chosen { --1.7.12
PATCH 1/1 ARM: dts: exynos4210-trats: Split memory into 4 sections
Hi Kgene,
Quoted 7 lines · On Monday 15 of October 2012 23:18:23 Kukjin Kim wrote:
Quoted 3 lines · Tomasz Figa
Since the maximum section size on mach-exynos is set to 256MiB, boards with memory configuration defined using sections bigger than 256MiB will fail to boot with a kernel panic.
I don't think so and it works fine in my side. Probably, the reason of kernel panic you said is not a maximum sections size?
I have tested on arm-soc/for-next with exynos4_defconfig on Trats with DT and it does not work without this patch. Applying this patch makes it work.
Quoted 4 lines
Quoted 2 lines
This patch modifies the dts file of Samsung Trats board to define four sections of 256MiB instead of two of 512MiB to fix the boot problem.
BTW, if this patch can fix the problem, OK, I will apply this for now.
Yes, please.
Best regards,
Signature · 2 lines
Tomasz Figa Samsung Poland R&D Center
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel