Skip to content

Booting Jetson-NX: Error opening sdcard-0 #1097

Answered by fre-wolf
fre-wolf asked this question in Q&A
Discussion options

You must be logged in to vote

Solved now.
Other than the new machine.conf based on jetson-xavier-nx-devkit with the SKU and other parameters from the eMMC version, I had to edit following files:
in recipe cboot-t19x:
linux_load.c: copied case BOOT_FROM_USB to BOOT_FROM_SD and set device_instance in the SD-case to 2 (was 0)
config_storage.c: set sd_instance to 2 (was 0)
in recipe linux-tegra:
tegra194-p3668-common.dtsi: added a node for sdhci_sd1: sdhci@3440000 (copied from provided files by board vendor). In addition, I disabled all other sd and emmc related nodes:

sdhci_sd1: sdhci@3440000 {
        status = "okay";
        keep-power-in-suspend;
        /delete-property/ non-removable;
        /delete-property/ mmc-d…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@fre-wolf
Comment options

@madisongh
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by fre-wolf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants