Skip to contentSkip to conversation

ARM64: tegra: Add chosen node for tegra132 norrin

PATCH RESEND New Jon Hunter 2 participants 2 messages Jan 25, 2016 – Feb 1, 2016

Subsystems (2)
lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH RESEND v2 1/1 ARM64: tegra: Add chosen node for tegra132 norrin

The NVIDIA bootloader, nvtboot, expects the "chosen" node to be present in the device-tree blob and if it is not then it fails to boot the kernel. Add the chosen node so we can boot the kernel on Tegra132 Norrin with the nvtboot bootloader.

---
v1 -> v2 changes:
- minor fixes to commit message

Ideally, we would like to get this into v4.5 as a fix for Tegra132 Norrin so that we can enable booting this board as part of our automated testing setup for Tegra [0][1]. Thierry suggested I send this directly as a fix to ARM-SOC. Let me know if this is ok. I have not included a "fixes" as it may not be needed for all bootloaders, but if you need this we could put:

Fixes 0f279eb arm64: tegra: Add NVIDIA Tegra132 Norrin support

[0] http://nvtb.github.io/linux/
[1] http://nvtb.github.io/linux-next/

 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +2 -0
index 7dfe1c085966..62f33fc84e3e 100644
@@ -12,6 +12,8 @@
 		rtc1 = "/rtc at 0,7000e000";
 	};
 
+	chosen { };
+
 	memory {
 		device_type = "memory";
 		reg = <0x0 0x80000000 0x0 0x80000000>;
Signature · 1 line
2.1.4
#1 lore raw

PATCH RESEND v2 1/1 ARM64: tegra: Add chosen node for tegra132 norrin

Quoted 17 lines · Jon Hunter

The NVIDIA bootloader, nvtboot, expects the "chosen" node to be present in the device-tree blob and if it is not then it fails to boot the kernel. Add the chosen node so we can boot the kernel on Tegra132 Norrin with the nvtboot bootloader.

---
v1 -> v2 changes:
- minor fixes to commit message

Ideally, we would like to get this into v4.5 as a fix for Tegra132 Norrin so that we can enable booting this board as part of our automated testing setup for Tegra [0][1]. Thierry suggested I send this directly as a fix to ARM-SOC. Let me know if this is ok. I have not included a "fixes" as it may not be needed for all bootloaders, but if you need this we could put:

Quoted 4 lines
Fixes 0f279eb arm64: tegra: Add NVIDIA Tegra132 Norrin support

[0] http://nvtb.github.io/linux/
[1] http://nvtb.github.io/linux-next/

Applied to fixes. Thanks.

-Olof