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
aperezdc has joined #linux-sunxi
aperezdc is now known as Guest578
JosephWatson[m] has joined #linux-sunxi
exkc has joined #linux-sunxi
fraolt_ has joined #linux-sunxi
fraolt has quit [Ping timeout: 480 seconds]
movedon5b2z4xywybidzannet[m] has joined #linux-sunxi
<youmukonpaku133> megi: if i manually power it would OTG work on the pocketbook 626/616 board?
<youmukonpaku133> a tiny amount of tomfoolery
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
Newbyte has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
vpeter has quit [Ping timeout: 480 seconds]
youmukonpaku133 has quit [Read error: Connection reset by peer]
youmukonpaku133 has joined #linux-sunxi
warpme has joined #linux-sunxi
DanielakaCyReVolt[m] has joined #linux-sunxi
mripard has joined #linux-sunxi
pgwipeout[m] has joined #linux-sunxi
vpeter has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
aerospace[m] has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
<megi> try not connecting TX signal
<megi> somtimes TX can power the SoC due to being driven high when idle
<megi> and this can mess up the SoC state
kuba2k2 has joined #linux-sunxi
hentai has quit [Ping timeout: 480 seconds]
hentai has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
insep has joined #linux-sunxi
warpme has quit []
swiftgeek has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
mripard has quit [Quit: mripard]
bauen1 has joined #linux-sunxi
MattTrescott[m] has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
kuba2k2 has quit []
mripard has joined #linux-sunxi
aep has joined #linux-sunxi
<aep> hi! i'm researching how the A133 found in xiomai vacuum cleaners. there's a working fastboot image for phoenix, but i cant figure out how to extract the image to use it with sunxi-fel. this suggests that no open source tool exists for that? https://linux-sunxi.org/LiveSuit_images
<buZz> FEL is still a thing? :O
rsglobal[m] has joined #linux-sunxi
warpme has quit []
<aep> you mean like as a method? sure why not. these are locked down devices, but fel is open
<aep> someone got uboot open but doesnt share the source beyond the livesuit image, so dunno how to go from there
warpme has joined #linux-sunxi
<buZz> but, the FEL pins are exposed?
<aep> the boot select, yes
<aep> not surprising manufacturers use this for servicing i guess?
<aep> plus xioami is just rebranded stuff, so i guess thats the dumbest way to just load customized branding into the images
<buZz> is that some typo for xiaomi?
aep has quit [Quit: WeeChat 4.0.2]
aep has joined #linux-sunxi
<aep> buZz: yes
<buZz> they might be a slightly bigger company than you think :P
youmukonpaku133 has quit [Ping timeout: 480 seconds]
youmukonpaku133 has joined #linux-sunxi
<youmukonpaku133> megi: oh ok i see
<youmukonpaku133> i just swapped some cables and its ok now
<youmukonpaku133> oh and i have a cursed setup to power it and have the usb port free
<youmukonpaku133> is it possible to force host mode in DTS?
<youmukonpaku133> vbus shouldnt be a problem because im externally providing power to the board and the port
<Jookia> change 'mode' or set dr_mode somewhere in /sys
<Jookia> to 'host'
<youmukonpaku133> sure
<youmukonpaku133> will try today once i get a new otg adapter
<youmukonpaku133> tried to mod it to provide power to it externally and killed it in the process
<youmukonpaku133> i mean maybe not killed it but its certainly a fire hazard
<youmukonpaku133> oh also
<youmukonpaku133> https://images..youmukonpaku1337.xyz/FOIrxwjtFDVn
<youmukonpaku133> this is how i provide power
<youmukonpaku133> wait
<youmukonpaku133> images.youmukonpaku1337.xyz/FOIrxwjtFDVn
<youmukonpaku133> there we go
<Jookia> looks fine to me :)
<Jookia> afk nap
<youmukonpaku133> yea should do
<youmukonpaku133> alr
<youmukonpaku133> see ya
<youmukonpaku133> also seems like the sd card slot is either not working or works in a very cursed way... even on stock
<youmukonpaku133> cause i dont see a new /dev device appear even after a reboot
swiftgeek has joined #linux-sunxi
apritzel has joined #linux-sunxi
sajattack[m] has joined #linux-sunxi
JohnDoe_71Rus has quit []
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
aep has quit [Ping timeout: 480 seconds]
Guest648 has joined #linux-sunxi
Guest648 has quit [Remote host closed the connection]
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
mripard has quit [Quit: mripard]
vagrantc has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<youmukonpaku133> megi: btw do you mean tx on the pcb or thw adapter?
<megi> adapter
<youmukonpaku133> oh ok got it
<youmukonpaku133> btw megi, check those contacts with a multimeter near the micro usb port on the pb626, might be 5v in which case you can solder your own power cables into those to both power the board and have vbus to output (im pretty sure at least, will test very soon), though on 626 they dont seem to be marked (while on the 616 they are)
<youmukonpaku133> if it DOES work it will be possible to get proper display output through GUD with forced host in DTB
<megi> I'd rather improve the eink driver
<youmukonpaku133> that's an option i suppose
<youmukonpaku133> my eink display is dead though i might get a new one
<youmukonpaku133> wait, on the wiki you said it has 85hz refresh
<youmukonpaku133> does that mean actual 85hz or something else
<megi> good option, I bought two broken pocketbooks for a few $ and just replaced the displays
<youmukonpaku133> though i assume it would kill the display very fast
<youmukonpaku133> one thing im also thinking is, would a touch display work with the pb616 maybe? in linux at leasy
<megi> that's how fast you can send a frame of data to the display
<youmukonpaku133> or would the port be incompatible
<youmukonpaku133> oh
<youmukonpaku133> so i assume actual refresh rate is much lower
<megi> it doesn't mean that it's the picture refresh rate
<youmukonpaku133> yeah i see
<megi> you need multiple frames of data to update the image usually
<megi> depending on update mode
<youmukonpaku133> i saw this https://youtu.be/XduK7wn9SE4?si=L6N3I0MVNNKHbNpm which is quite cool
<youmukonpaku133> proper 60hz refresh rate on eink
<youmukonpaku133> a lot of ghosting but it looks cool
<megi> a13 will not get anywhere near that
<youmukonpaku133> yeah i figures
<megi> CPU is too limited
<youmukonpaku133> *figured
<megi> and the update frames have to be calculated on the CPU
<youmukonpaku133> youch
<megi> because A13 has no eink interface/hw module
<youmukonpaku133> that does not seem like itd be very performant
<youmukonpaku133> still, check contacts near the microusb port because host usb can be very useful
<megi> NEON on A13 is reasonably quick to get you quite far, but you also need CPU for actually calculating what is to be displayed
<youmukonpaku133> on pb626 the contacts are unmarked but these might be them https://images.youmukonpaku1337.xyz/VIPZJZYrRJVZ
<youmukonpaku133> what's NEON btw
<youmukonpaku133> though you can also use a powered usb hub like the oneplus 6 folks do
<youmukonpaku133> YEP
<youmukonpaku133> getting output power
<youmukonpaku133> lets go
<youmukonpaku133> just gonna have to force host and ill have full otg
wasutton3 has quit []
wasutton3 has joined #linux-sunxi
macromorgan is now known as Guest656
macromorgan has joined #linux-sunxi
<youmukonpaku133> hm how do i boot into ramdisk with a rootfs
<youmukonpaku133> through FEL
Guest656 has quit [Ping timeout: 480 seconds]
sauce has joined #linux-sunxi
<youmukonpaku133> cause i dont really understand the usbboot page
<youmukonpaku133> it mentions "rootfs.cpio.lzma.uboot"
<youmukonpaku133> but i have absolutely no idea the hell is that
<youmukonpaku133> meh yknow what ill just try booting uboot itself
<youmukonpaku133> and see what happens
<youmukonpaku133> hhh
<youmukonpaku133> huh
<youmukonpaku133> doas sunxi-fel uboot uboot.bin
<youmukonpaku133> usb_bulk_send() ERROR -7: Operation timed out
<youmukonpaku133> megi: how would i go about booting into ramdisk with, say, an alpine rootfs (will generic arm with some stuff swapped out work???) and your pb626 kernel + dtb modded to use host usb, then flashing internal emmc to boot off it
<youmukonpaku133> or is there a simpler way to flash emmc
wasutton3 has quit [Ping timeout: 480 seconds]
youmukonpaku133 has quit [Read error: Connection reset by peer]
youmukonpaku133 has joined #linux-sunxi
youmukonpaku133 has quit [Ping timeout: 480 seconds]
youmukonpaku133 has joined #linux-sunxi
evadot has quit [Remote host closed the connection]
<youmukonpaku133> megi
evadot has joined #linux-sunxi
<megi> no idea, I just booted from uSD card. I didn't have a need to use any other methods on A13
<megi> if sunxi-tools can boot A13 over USB, it will certainly not be using host mode
<youmukonpaku133> fuck
<youmukonpaku133> megi: any other ideas? doesnt seem like i can boot off the external sd slot
wasutton3 has joined #linux-sunxi
wasutton3 has quit []
wasutton3 has joined #linux-sunxi
JohnDoe_71Rus has quit []
<megi> no
youmukonpaku133 has quit [Ping timeout: 480 seconds]
hexdump01 has quit []
hexdump0815 has joined #linux-sunxi
youmukonpaku133 has joined #linux-sunxi
<youmukonpaku133> oh
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
bauen1 has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
youmukonpaku133 has quit [Ping timeout: 480 seconds]
youmukonpaku133 has joined #linux-sunxi
wasutton3 has quit []
wasutton3 has joined #linux-sunxi
<youmukonpaku133> megi: if you still have an image of stock pb firmware can you check if when inserting SD you get mmc0: mmc0: error ‑123 whilst initialising SD card
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
<megi> on pocketbook 3, external sd slot has a gpio controlled power switch which prevents it from being seen by BROM
<megi> this is the only reason it can't be booted from
<megi> (it defaults to off)
<apritzel> youmukonpaku133: ... which sounds like it could be hacked if you have a naked board ;-)
<youmukonpaku133> ooh
<youmukonpaku133> any idea where its located?
<youmukonpaku133> i could mess with that
<youmukonpaku133> megi
<apritzel> but in any case it should enable the SD card to be used by Linux or U-Boot, by specifying that GPIO in the DT node
<youmukonpaku133> would be nice to know which gpio and whether i can trigger that switch
<youmukonpaku133> if its possible to just do that thisll make it a lot easier
<youmukonpaku133> though im not sure if itll still keep booting off nand
<youmukonpaku133> if it *does* keep booting off nand ill have to corrupt it somehow
<youmukonpaku133> so that it goes straight to the sd slot
<megi> sd slot is before nand
<megi> if you break nand, it will go to USB "flashing mode"
<youmukonpaku133> oh i see
<youmukonpaku133> wait the hell's flashing mode????
<youmukonpaku133> you mean fel?
<youmukonpaku133> oh ok so its just fel
<youmukonpaku133> i can trigger that manually
<youmukonpaku133> but anyway
<youmukonpaku133> any idea where the switch is and how can i trigger it?
<megi> for pb3 it's described in DT
<megi> where to find it on your board, I don't know. I don't even know if it's there in that board variant
<youmukonpaku133> where is it on pb626
<youmukonpaku133> might be similiar here
<megi> I don't know, it's one of the sot-23 transistors, likely
<youmukonpaku133> and what would i do to trigger it?
<megi> you can just short drain to source
<megi> if you want to have a chance of boot rom recognizing the SD card
<youmukonpaku133> hmm
<youmukonpaku133> how easy would it be to fuck up and fry my board
<youmukonpaku133> also theres like 4 total sot23 transistors
<youmukonpaku133> on here
<megi> just trace the vdd from the slot
<youmukonpaku133> slot as in microsd slot?
<megi> yes
<youmukonpaku133> also uh stupid question but what's source and drain
<megi> two of the three mosfet transistor leads
<youmukonpaku133> oh
<youmukonpaku133> ok i have absolutely no idea how am i going to trace this lmao
<megi> find a uSD slot pinout online, start from there
<megi> part of the board you linked above looks like some PMIC
<megi> maybe for the display
<youmukonpaku133> those are the only sot23s i see
apritzel has quit [Ping timeout: 480 seconds]
<youmukonpaku133> alr lets see
<youmukonpaku133> im gonna try to see where vdd goes
<youmukonpaku133> oh wait i can just use a multimeter cant i
<youmukonpaku133> nevermind
<youmukonpaku133> doesnt seem like its any of those 4
<youmukonpaku133> megi can it ONLY be a sot23 or possibly something else?
<youmukonpaku133> wait whta am i doing lmao i doubt its as easy as just testing whether vdd connects to any of them
<megi> it's possible they didn't include the switch in this board variant