uzbek-plus/linux/ramboot-emmc1.dts.diff
q 105bef466a Project Aurora: mainline ARM64 Linux on JZ08AU (MSM8916) LTE modem
Sanitized research log, build/reproducibility docs, DTS, kernel configs,
patches, initramfs sources, bootchain migration plans and test logs.
B5 direct boot PASS; B6 modem lifecycle in progress.
No dumps, NV/EFS, vendor firmware or device identifiers included.
2026-09-30 17:23:18 +03:00

51 lines
1.8 KiB
Diff

--- dts/msm8916-jz08-aurora-usb1.dts 2026-09-30 03:41:35.657318004 +0600
+++ dts/msm8916-jz08-aurora-emmc1.dts 2026-09-30 03:49:29.083717184 +0600
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Project Aurora — JZ08AU-XPA-7J-R3 (MSM8916, 512 MB, ST7735S SPI panel).
- * RAM-BOOT USB1: kernel + UART console + USB peripheral (NCM gadget). Everything that could touch
+ * RAM-BOOT EMMC1: USB1 + internal eMMC (sdhc_1) for READ-ONLY verification. Everything that could touch
* storage, radios or power management is explicitly disabled.
*
* Hardware facts from stock Aurora dtb_01 (see NOTES.md S2.1/S12):
@@ -14,12 +14,13 @@
#include "msm8916-pm8916.dtsi" /* + RPM regulators (USB PHY L7/L13) */
/ {
- model = "JZ08AU Aurora (RAM boot USB1)";
+ model = "JZ08AU Aurora (RAM boot EMMC1)";
compatible = "jz08au,aurora", "qcom,msm8916";
chassis-type = "embedded";
aliases {
serial0 = &blsp_uart2;
+ mmc0 = &sdhc_1; /* eMMC */
};
chosen {
@@ -34,8 +35,8 @@
status = "okay";
};
-/* --- RAM boot USB1 safety: no storage, no radios --- */
-&sdhc_1 { status = "disabled"; }; /* eMMC: must stay untouched */
+/* --- RAM boot EMMC1 safety: no SD slot, no radios --- */
+/* sdhc_1 (eMMC): enabled below, READ-ONLY enforced by initramfs (blockdev --setro) */
&sdhc_2 { status = "disabled"; };
/* usb: see peripheral block below */
&mpss { status = "disabled"; };
@@ -61,3 +62,13 @@
&usb_hs_phy {
extcon = <&pm8916_usbin>;
};
+
+/*
+ * Internal eMMC (stock: bootdevice=7824900.sdhci, qcom,bus-width 8, nonremovable,
+ * vdd = 8916_l8 2.85-2.9 V, vdd-io = 8916_l5 1.8 V). Upstream msm8916.dtsi already provides
+ * bus-width = <8>, non-removable, mmc-ddr-1_8v (no HS200 = conservative), sdc1 pinctrl;
+ * msm8916-pm8916.dtsi provides vmmc = pm8916_l8, vqmmc = pm8916_l5. Only enable it here.
+ */
+&sdhc_1 {
+ status = "okay";
+};