narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
Darkmatter66 has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 265 seconds]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
<chewitt> etrig: same effect is no change (not working) ?
<etrig> chewitt: yes, the same failure to load u-boot on reboot with same console messages
_whitelogger has joined #linux-amlogic
warpme_ has quit [Quit: Connection closed for inactivity]
buzzmarshall has quit [Remote host closed the connection]
Barada has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 265 seconds]
Darkmatter66 has joined #linux-amlogic
ldevulder_ is now known as ldevulder
<narmstrong> hmmmmmmmmmmmmmmmmmmmmmm
<jbrunet> etrig: the OC2 has 3 regulators when it comes to SDcard. 2 working in tandem (U12 and U13) to provide 3.3v or 1.8v for the signals and also a 3.3v (U16) to provide power supply to the card
<jbrunet> If you can, check the output voltage of these regulators when stuck, a basic voltmeter should be enough
<jbrunet> if you don't see 3.3v on both the signal and supply, it's not good
<jbrunet> also when signals are transitioning from 1.8v back to 3.3v (switching from U13 to U13), the SDcard must be power cycled (turning off then on U16). a scope will be needed to check that)
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
The_Coolest has quit [Read error: Connection reset by peer]
The_Coolest has joined #linux-amlogic
return0e_ has joined #linux-amlogic
return0e has quit [Ping timeout: 264 seconds]
warpme_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
Barada has quit [Quit: Barada]
buzzmarshall has joined #linux-amlogic
random_yanek has quit [Ping timeout: 265 seconds]
random_yanek has joined #linux-amlogic
<lvrp16> narmstrong: thanks for the patch!
tbueno has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<etrig> jbrunet: looks like it's still 1.8v on U12/U13 after a reboot
<etrig> triple checking that the patch was properly applied
<jbrunet> the problem is that those regulators are GPIO controlled and custom to each
<jbrunet> board
<jbrunet> but the ROM code (the piece of SW in the SoC looking for a bootloader) is the same on every SoC ...
<jbrunet> So if the GPIOs are not reset on a warn reset, the regulators maybe in a state that does not allow the ROM code to properly the SDCard
<etrig> I just remembered that I still have a couple regulator-always-on entries that I added for &tf_io and &tflash_vdd
<etrig> maybe I should remove those
<etrig> looks like I already removed that
<etrig> on a cold boot I see 3.3v on U12/U13 then it lowers to 1.8v while linux boots, as expected, but then stays 1.8v after a reboot
<etrig> maybe a weird question, but can one actually use $(git apply) to apply a patch outside of a git repository?
<xdarklight> you probably want "git am"
<etrig> I ask because I'm using archlinuxarm and just added the mmc_sd_shutdown patch to the linux-aarch64 PKGBUILD
<etrig> now I'm not sure if those other patches are really being applied either
<xdarklight> ah hang on, a patch outside of a git repository
<xdarklight> I'm not sure about that either
<etrig> % git apply -v ../0099-arm64-s905-uhs-1-sd-card.patch
<etrig> Skipped patch 'drivers/mmc/core/sd.c'.
vagrantc has joined #linux-amlogic
<jbrunet> etrig: the u12/u13 is always by design. They are both fed VDDIO_AO3v3 which is always on, then one regulator is on when the other is off. Which one is controlled by the GPIO. the output cannot be off
<jbrunet> u16 MUST not be always on. It used to power cycle the sdcard. This is critical to get out of the UHS modes
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 256 seconds]
sputnik_ has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 258 seconds]
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 256 seconds]
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic