Quantcast
Viewing all articles
Browse latest Browse all 4824

Compute Module • Re: Linux Reboot fail

Hello,

at first parts from DTS:

Code:

sd_io_1v8_reg: sd_io_1v8_reg {compatible = "regulator-gpio";regulator-name = "vdd-sd-io";regulator-min-microvolt = <1800000>;regulator-max-microvolt = <3300000>;regulator-boot-on;regulator-always-on;regulator-settling-time-us = <5000>;gpios = <&expgpio 4 GPIO_ACTIVE_HIGH>;states = <1800000 0x1>,<3300000 0x0>;status = "okay";};

Code:

&emmc2 {bus-width = <8>;vqmmc-supply = <&sd_io_1v8_reg>;vmmc-supply = <&sd_vcc_reg>;broken-cd;status = "okay";};
As next I look to the signals SD_PWR_ON & SD_VDD (look at the Picture)


Changes:
* I have shortened the 1k series resistor.
* I have removed the 10u cap

(I have removed the 10u cap because I have also seen the MIC2091 shut down due to overcurrent during a build, which resulted in not being able to boot from SD card immediately after power on. The 10u in connection with the SWISSBIT cards caused a too high energy consumption)

I use different SD cards for testing. The Swiss bit is supposed to be the most reliable, so we want to use it in the finished product.

Behavior with swissbit card:
After switching on, you can see several resets on SD_PWR_ON/SD_VDD. Linux is started and a reset by the command "reboot" is executed. I do not see a reset, the signals SD_PWR_ON/SD_VDD remain high ... but the CM4 module does a reset and remains stuck at a nominal power consumption of 50%.

Behavior with other SD cards (any from kingston)
After switching on, you can see several resets on SD_PWR_ON/SD_VDD. Linux is started and a reset by the command "reboot" is executed. I do not see a reset, the signals SD_PWR_ON/SD_VDD remain high ... but the CM4 module does a reset and starts linux normally from SD card. The process can be repeated.
Image may be NSFW.
Clik here to view.
sdcard2.JPG

Statistics: Posted by gs105 — Thu Aug 01, 2024 3:35 pm



Viewing all articles
Browse latest Browse all 4824

Trending Articles