ARM: dts: fix SolidRun iMX6 platforms
Subsystems (2)
PATCH 1/1 ARM: dts: fix SolidRun iMX6 platforms
Removal of skeleton.dtsi from imx6qdl.dtsi caused a regression on SolidRun platforms as the /chosen and /memory nodes are no longer populated. Fix this by adding the nodes into the platform .dtsi files.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.10.0-rc3+ (rmk at rmk-PC.arm.linux.org.uk) (gcc version 4.7.4 (GCC) ) #2066 SMP Thu Jan 19 12:31:19 GMT 2017
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: SolidRun Cubox-i Dual/Quad
INITRD: 0x20000000+0x001cd000 is not a memory region - disabling initrd
cma: Failed to reserve 256 MiB
Memory policy: Data cache writealloc
Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0. CPU: 0 PID: 0 Comm: swapper Not tainted 4.10.0-rc3+ #2066 Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) Backtrace: invalid frame pointer 0xc09e5e44c ---[ end Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.
--- arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 6 ++++++ arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 2 ++ 2 files changed, 8 insertions(+)
arch/arm/boot/dts/imx6qdl-cubox-i.dtsi +6 -0
@@ -44,6 +44,12 @@ #include <dt-bindings/gpio/gpio.h> / { + chosen { + stdout-path = &uart1; + }; + + memory { device_type = "memory"; reg = <0 0>; }; + ir_recv: ir-receiver { compatible = "gpio-ir-receiver"; gpios = <&gpio3 9 1>;
arch/arm/boot/dts/imx6qdl-hummingboard.dtsi +2 -0
@@ -46,6 +46,8 @@ stdout-path = &uart1; }; + memory { device_type = "memory"; reg = <0 0>; }; + ir_recv: ir-receiver { compatible = "gpio-ir-receiver"; gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 1/1 ARM: dts: fix SolidRun iMX6 platforms
Hi Russell,
Quoted 21 lines · Russell King
Removal of
skeleton.dtsifromimx6qdl.dtsicaused a regression on SolidRun platforms as the /chosen and /memory nodes are no longer populated. Fix this by adding the nodes into the platform .dtsi files.Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU0x0
Linux version 4.10.0-rc3+ (rmk at rmk-PC.arm.linux.org.uk) (gcc version 4.7.4 (GCC) ) #2066 SMP Thu Jan 19 12:31:19 GMT 2017
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: SolidRun Cubox-i Dual/Quad
INITRD: 0x20000000+0x001cd000 is not a memory region - disabling initrd
cma: Failed to reserve 256 MiB
Memory policy: Data cache writeallocKernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0. CPU: 0 PID: 0 Comm: swapper Not tainted 4.10.0-rc3+ #2066 Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) Backtrace: invalid frame pointer 0xc09e5e44c ---[ end Kernel panic - not syncing: ERROR: Failed to allocate 0x2000 bytes below 0x0.
Quoted 2 lines
Fixes 7f107887d199 ("ARM: dts: imx: Remove skeleton.dtsi")Signed-off-by Russell King <[email protected]>
I made a previous attempt to fix this issue and realized that it was not complete.
Just sent a v2, which hopefully will fix this problem for all i.MX dtsi files.