<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