ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
fraolt has quit [Ping timeout: 480 seconds]
<smaeul> that boot log shows raw NAND, not eMMC; and sboot is the "secure" boot0, which implies you should look for TOC0, not eGON
<smaeul> I don't have any A100/A133 devices to test the mkimage TOC0 code on, but my guess is that it will work
montjoie_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
montjoie has quit [Ping timeout: 480 seconds]
hexdump01 has quit [Remote host closed the connection]
hexdump01 has joined #linux-sunxi
<ItsKaitlyn03> ohh...
<ItsKaitlyn03> whats the toc0 header look like?
vagrantc has quit [Quit: leaving]
<MoeIcenowy> BTW I think tablets now usually come with TOC0 bootloader
<MoeIcenowy> even if it's not locked
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
gnarface has quit [Quit: Leaving]
gnarface has joined #linux-sunxi
gnarface has quit []
warpme has joined #linux-sunxi
gnarface has joined #linux-sunxi
JohnDoe_71Rus has quit []
junari has joined #linux-sunxi
apritzel has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
fraolt has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
bauen1 has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
warpme has quit []
DarkNeutrino has joined #linux-sunxi
<DarkNeutrino> Hi folks. A question. I have 2 gpios that are used to enable Wifi power and the wakeup. The WiFi works when i enable the GPIOs like this: https://pastebin.com/F5dKEUvn but im well aware this is not right and i cant seem to find any proper way of actually controling these GPIOs without the gpio-led driver. The actual wifi driver is out of tree. Wifi is RTL8189FTV and the driver is here https://github.com/jwrdegoede/rtl8189ES_li
warpme has joined #linux-sunxi
<Jookia> DarkNeutrino: usually you specify the gpios directy in the device tree node for the device, such as the rtl8189ftv. for power you create a regulator node and specify that for the wifi node
<DarkNeutrino> Do you have any example of how that should look exactly ?
<Jookia> it depends driver to driver, you would have to see what compatibles that driver supports
<Jookia> try and find a board tree that uses this driver and supports the features you use
<Jookia> i think that driver may relay on fex variables like wl_reg_on and wl_host_wake
<Jookia> maybe a pinctrl could work for this? not sure
<DarkNeutrino> Seems like few boards use similar driver. They just specify a node in the mmc node where they add interrupts. Could work i guess :)
<DarkNeutrino> Thanks Jookia
<Jookia> DarkNeutrino: stick around and see if someone can give a better advice :)
<DarkNeutrino> :)
apritzel has quit []
<mripard> rfkill-gpio is also a good option for this
<Jookia> yeah that and an always-on regulator might solve two issues
<mripard> always-on regulator are almost always not the right solution though
warpme has quit []
<MoeIcenowy> DarkNeutrino: SDIO Wi-Fi's are usually similar
<MoeIcenowy> for reset/enable GPIO I think mmc-pwrseq could be used
<MoeIcenowy> and for powering it up vmmc-supply is useful (because it's really powering the card)
<MoeIcenowy> mripard: I think for wifi few situations need rfkill-gpio
<MoeIcenowy> and my experience tells me although rfkill-gpio is correct from the kernel side, the userspace of generic Linux distros usually mess it up
<DarkNeutrino> I do have vmmc-supply regulator. Tho no GPIO assigned to it. So assigning it a GPIO could work i think
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
hentai has quit [Ping timeout: 480 seconds]
hentai has joined #linux-sunxi
macromorgan has joined #linux-sunxi
macromorgan is now known as Guest7599
macromorgan has joined #linux-sunxi
macromorgan is now known as Guest7600
Guest7599 has quit [Ping timeout: 480 seconds]
<MoeIcenowy> DarkNeutrino: I think in case the CPU is powered by a regulator or a power switch, model that part with a regulator is a good choice
warpme has quit []
<MoeIcenowy> a power switch could be a fixed regulator with a GPIO and a vin-supply
<MoeIcenowy> a DCDC/LDO with EN pin could also be this to
<MoeIcenowy> too *
<MoeIcenowy> s/CPU/WiFi/
Guest7600 has quit [Ping timeout: 480 seconds]
<apritzel> or look for any DT snippet that references "mmc1"
<DarkNeutrino> The reset GPIO in the pwrseq would be the power GPIO im assuming ?
<MoeIcenowy> apritzel: well I assume it's a PMIC less platform
<MoeIcenowy> DarkNeutrino: well I think it should be reset or wake
<MoeIcenowy> the power GPIO is the gpio of the VMMC regulator
<MoeIcenowy> which should be created now
<DarkNeutrino> Got it :)
<MoeIcenowy> the created regulator should have the original VMMC as vin-supply
<MoeIcenowy> if you want some example, check some H3/5 boards
<MoeIcenowy> (I assume you are on H3/5 too?
<DarkNeutrino> H616 :)
<MoeIcenowy> oops
<MoeIcenowy> PMIC-less?
<MoeIcenowy> or the PMIC is not enough for having an output for WiFi?
<DarkNeutrino> Nah it has AXP813a
<DarkNeutrino> iirc the name
<DarkNeutrino> We just recently got the thing into mainline
warpme has joined #linux-sunxi
<apritzel> 313a?
<DarkNeutrino> yep haha
<apritzel> which is almost the same as "PMIC less": there are so few rails that you need all of them all of the time
<DarkNeutrino> yep
vagrantc has joined #linux-sunxi
<DarkNeutrino> huh. It looks like the GPIOs werent needed at all :confused: Oh well LOL
<DarkNeutrino> pwrseq already had a GPIO so i guess that was the correct one
macromorgan has joined #linux-sunxi
ftg has joined #linux-sunxi
junari__ has joined #linux-sunxi
<Jookia> Would anyone know of a working sunxi TDM device tree I can investigate?
junari_ has quit [Ping timeout: 480 seconds]
<apritzel> what's "sunxi TDM"?
<Jookia> uhh sorry, sunxi i2s tdm
junari__ has quit [Remote host closed the connection]
junari__ has joined #linux-sunxi
Daanct12 has quit [Quit: A-lined: User has been AVIVA lined]
Danct12 has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
apritzel has quit [Remote host closed the connection]
<Jookia> ok i have done it. using the d1/t113 i2s i have multiplexed 3 ADCs without TDM :)
junari__ has quit [Ping timeout: 480 seconds]
warpme has quit []
chuangzhu has joined #linux-sunxi
JohnDoe_71Rus has quit []
DarkNeutrino has quit [Quit: Page closed]
DarkNeutrino has joined #linux-sunxi
warpme has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1_ has quit [Ping timeout: 480 seconds]
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
warpme has quit []
apritzel has joined #linux-sunxi
bauen1 has joined #linux-sunxi
stipa is now known as Guest7637
stipa has joined #linux-sunxi
Guest7637 has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]