Hello,
I followed the examples but I am still running into issues. For clarification:
- We are using the p3449-0000-b00 nano with a custom carrier board
- The boot drive is a 128gb SD card in the nano microSD holder
- I am attempting to add a 128gb SD card to the carrier board, connected via SDMMC3 lines
- I am using jetpack 4.4.1 and R32.4.4
- We have added drivers for extra i2c devices, and renamed the kernel to 4.9.140-hawkware. Before making the changes to add external SD card support, this kernel works without issue.
I have made the following changes, following the patches as closely as possible since they seem to be for a earlier version of the original files.
diff --git a/nvidia/platform/t210/porg/kernel-dts/porg-plugin-manager/tegra210-porg-plugin-manager.dtsi b/nvidia/platform/t210/porg/kernel-dts/porg-plugin-manager/tegra210-porg-plugin-manager.dtsi
index 83df6bc..57b7ac4 100644
--- a/nvidia/platform/t210/porg/kernel-dts/porg-plugin-manager/tegra210-porg-plugin-manager.dtsi
+++ b/nvidia/platform/t210/porg/kernel-dts/porg-plugin-manager/tegra210-porg-plugin-manager.dtsi
@@ -314,6 +314,7 @@
override@1 {
target = <&sdhci2>;
_overlay_ {
+ status = "okay";
vqmmc-supply = <&max77620_ldo6>;
no-sdio;
no-mmc;
diff --git a/nvidia/platform/t210/porg/kernel-dts/tegra210-porg-p3448-common.dtsi b/nvidia/platform/t210/porg/kernel-dts/tegra210-porg-p3448-common.dtsi
index 646329e..5fc7865 100644
--- a/nvidia/platform/t210/porg/kernel-dts/tegra210-porg-p3448-common.dtsi
+++ b/nvidia/platform/t210/porg/kernel-dts/tegra210-porg-p3448-common.dtsi
@@ -290,14 +290,13 @@
max-clk-limit = <0xbebc200>;
};
- sdhci@700b0400 {
- status = "disabled";
+ sdhci@700b0400 { /* SDMMC3 for external SD card */
+ status = "okay";
/delete-property/ keep-power-in-suspend;
/delete-property/ non-removable;
mmc-ddr-1_8v;
mmc-ocr-mask = <3>;
uhs-mask = <0x0>;
- max-clk-limit = <400000>;
tap-delay = <3>;
};
When I boot without the carrier SD card, I am able to complete u-boot, but it fails shortly into startin the kernel and prompts me to use bash to recover. The following is the output from the serial debug port:
boot_no_ext_sd.log (21.2 KB)
When I boot with the carrier SD card, I am able to reach the exact same line of kernel execution as before, but now it states there is a kernel panic.
boot_with_ext_sd.log (22.1 KB)
Any additional support would be greatly appreciated.