I'm trying to use MicroSD on a custom carrier board

Hello,

this one?

cd-gpios = <&gpio TEGRA_GPIO(V, 0) 0>;

Thank you.

Hi Hodu,

Why it sounds like you forgot everything here? I asked you to write correct cd-gpios from the beginning of this thread.

Seriously, this is not a copy&paste work. Please write cd-gpios to match your board design.

1 Like

Hello,

sorry. I didn’t understand it from the beginning.
How can I check the cd-gpios value for my board design?

Thank you.

What is the cd gpio pin on your board design?

1 Like

Hello,

It’s GPIO08,
Fan is running without connection.

Thank you.

Then check the GPIO08 in the pinmux spreadsheet, what is the GPIO index there?

1 Like

Hello,

Thank you.

Then write GPIO Z,2 to your cd-gpios… do you get it now?

1 Like

Hello,

like this?
cd-gpios = <&gpio TEGRA_GPIO(V, 0) 0>;
=>
cd-gpios = <&gpio TEGRA_GPIO(Z, 2) 0>;

Thank you.

Hello,

Is it correct to specify like this? I’m asking because I don’t know.

cd-gpios = <&gpio TEGRA_GPIO( Z , 2 ) 0>;

Thank you.

Yes.

You can just directly try. No need to wait for me to reply. You don’t need to waste 40 mins just to get my reply.
Honestly, this is your board, not mine, you can do whatever you want.

If you are an engineer, then do some decision by yourself. Not keep asking something and said you don’t know. All the codes are public source.

1 Like

Hello,

Thanks for the good answer.

Thank you.

Hello,

The excel file below was received from the jetson download center and has not been modified. So isn’t the value of GPIO3_PZ.02 the same for all users of the production module?

And the sd card is not recognized because of the following modifications.
Where did I make a mistake?

cd-gpios = <&gpio TEGRA_GPIO( Z , 2 ) 0>;

Thank you.

Hello,

It is GPIO08 and FAN_TACH is not connected.
Is it necessary to have a load switch marked with a blue box to be a usb hot plug-in?

Thank you.

Hello,

As shown below, it goes back to its original state, so if you insert the sd card before booting, it will be recognized.
If the sd card is inserted after booting with the sd card removed, it is not recognized.
Does hot plug and play work only with a load switch?

cd-gpios = <&gpio TEGRA_GPIO( Z , 2 ) 0>;

=>

cd-gpios = <&gpio TEGRA_GPIO( V , 0 ) 0>;

Thank you.

Hello,

I would like to know more about dtb and dts.
Can you recommend a book for reference?

Thank you.

It is linux kernel stuff.

So google search can give you some info.

https://www.kernel.org/doc/html/latest/devicetree/usage-model.html

1 Like

Hello, @Trumany

Is it necessary to have a load switch marked with a blue box to be a usb hot plug-in?

Thank you.

I am not sure what you mean. What’s the relation between them since it is load switch for SD card?

1 Like

Hello,

The only part that our hardware design is different from the image above is the load switch.
There was no load switch, so I thought hot swapping was not possible.
Doesn’t the load switch and sd card hot swapping have anything to do with it?

Thank you.