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
smaeul has quit [Ping timeout: 480 seconds]
smaeul has joined #linux-sunxi
radxanaoki has joined #linux-sunxi
<Lightsword> macromorgan, btw did you make any progress with those h616 patches?
<macromorgan> for the PWM? yes, I haven't posted it yet but I will tomorrow.
<Lightsword> macromorgan, have it up on git? I can give it a test if you want
<macromorgan> the thing that was messing me up was mostly because I had the wrong PWM pin
<macromorgan> no, I haven't put it together yet, I will do that tomorrow.
<macromorgan> it'll just be the first 3 patches from the mailing list, and then 2 more patches of my own on top of that
<macromorgan> err, 3 more patches, but still
<Lightsword> macromorgan, ah, btw did you get bypass mode working as well? I was about to look at that again now that I got a h616 with an AC200 based phy
<macromorgan> no, I can but I didn't (because I don't know when you should trigger bypass mode)
<macromorgan> I mean I can always trigger bypass
<macromorgan> it's just can != should and I don't know enough about PWM to know
<Lightsword> macromorgan, I guess it's like when the requested output clock is the same as the input or something that one should trigger it?
<Lightsword> macromorgan, I guess the other sunxi pwm driver does a check like this https://github.com/torvalds/linux/blob/v6.15-rc6/drivers/pwm/pwm-sun4i.c#L179-L183
smaeul has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
smaeul has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
Kirby64 has joined #linux-sunxi
Kirby64 has quit [Remote host closed the connection]
cnxsoft has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
gsz has joined #linux-sunxi
apritzel has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
mozzwald has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
radxanaoki has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
mozzwald has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
<loki666> apritzel: right it's LPDDR3
bauen1 has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
apritzel has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
parthiban has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
kuba2k2 has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
iscle has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
smaeul_ has joined #linux-sunxi
colinsane has joined #linux-sunxi
smaeul has quit [Read error: Connection reset by peer]
smaeul_ has quit []
smaeul has joined #linux-sunxi
smaeul has quit []
smaeul has joined #linux-sunxi
colinsane1 has joined #linux-sunxi
colinsane has quit [Ping timeout: 480 seconds]
iscle has quit [Remote host closed the connection]
Raqbit339890555 has joined #linux-sunxi
Raqbit33989055 has quit [Remote host closed the connection]
rtp_ has quit [Read error: Connection reset by peer]
dsimic is now known as Guest15981
dsimic has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Guest15981 has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
daschaos_ has joined #linux-sunxi
daschaos has quit [Read error: Connection reset by peer]
rtp has joined #linux-sunxi
daschaos_ has quit [Read error: Connection reset by peer]
Guest15984 has joined #linux-sunxi
Guest15984 is now known as daschaos
colinsane1 has quit []
colinsane has joined #linux-sunxi
<macromorgan> still has a checkpatch.pl warning, I'll clean that up before I submit to mainline. I'm just waiting for those first three patches to get accepted
<Lightsword> macromorgan, ah, cool, do you have it pushed to a git branch somewhere that I can pull to test?
<macromorgan> nope, just have to download and apply those patches
iscle has joined #linux-sunxi
jason123onirc has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
jason123onirc has joined #linux-sunxi
jason123onirc has quit []
BroderTuck has joined #linux-sunxi
<BroderTuck> macromorgan: s/witch/which/
<macromorgan> typo? whoops
jason123onirc has joined #linux-sunxi
<iscle> Anybody else other than apritzel has A733?
colinsane has quit [Read error: Connection reset by peer]
<BroderTuck> iscle: I'm writing this on my T60ai tablet (using the buuiltin android...)
<iscle> BroderTuck: nice! I have a T60Ai and a P50ai (which is the one I'm planning to use for development since it was very cheap and don't care if it breaks)
<iscle> Have you looked for UART on yours? I've opened the P50ai and it's nowhere to be seen
<iscle> I have internal pictures of the P50Ai in case anyone is interested
<Lightsword> macromorgan, kk, applied it on top of 6.14.2 here https://github.com/jameshilliard/linux-h616/commits/macromorgan going to give it a test
<BroderTuck> No, haven't planned on opening it up
<BroderTuck> iscle: wiki pages for both devices are welcome 😁
<iscle> I will create one for the P50Ai which is the one I opened up
<iscle> It's not hard and if you do it carefully it almost leaves no marks in the plastic
<iscle> I was hoping uart was exposed in the charge-only usb port but it does not look like it is
<macromorgan> Lightsword: make sure you set the pinctrl-0 and pinctrl-names for each pwm channel you'll use, or else it won't work
<Lightsword> macromorgan, was previously testing with pinctrl-0 = <&pwm5_pin>; and pinctrl-names = "default"; with pwm5_pin having function = "pwm5"; and pins = "PA12";
<Lightsword> assume that should work here as well?
jason123onirc has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
jason123onirc has joined #linux-sunxi
BroderTuck has quit [Remote host closed the connection]
<Lightsword> macromorgan, I'm seeing this warning btw: "sun20i-pwm 300a000.pwm: .apply ignored .polarity"
<iscle> Hmm okay, I uploaded the images with EXIF data, including location xD
<iscle> How can they be deleted/edited/replaced?
iscle has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
BroderTuck has joined #linux-sunxi
BroderTuck has quit [Remote host closed the connection]
parthiban has joined #linux-sunxi
iscle has joined #linux-sunxi
<iscle> Okay, uart is exposed via the SD Card slot on the P50Ai, so no need to open it unless you have to access the FEL test point
<iscle> I assume the T60Ai will be the same
<iscle> I did not know about this... https://linux-sunxi.org/MicroSD_Breakout
iscle has quit [Remote host closed the connection]
parthiban has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
gsz has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
iscle has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit []
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
<apritzel> iscle: thanks for creating the Wiki page!
<apritzel> did you find any UART pads on the PCB?
<iscle> apritzel: no problem! :) and no, there were no UART pads on the PCB, they are exposed on the SD Card slot like in other Teclast Allwinner tablets
<iscle> I checked it with the oscilloscope, I have yet to attach the USB-Serial converter
<apritzel> you mean like in basically all Allinne SoCs?
<iscle> ah, probably xD I had no idea about that
<apritzel> the big problem with that is that it blocks the SD card of course, so it's quite painful for bring up
<iscle> yeah
<apritzel> it's OK for FEL and first experiments, but since the P50Ai has UFS, which we have no clue about, SD card is probably the only mass storage for a while
<iscle> true, and without the user manual it will be even harder to learn about thigs
<iscle> true, and without the user manual it will be even harder to learn about things
<iscle> so far I've thrown the DRAM initialization code in ghidra and it appears quite similar to others we've looked at
<iscle> I have a ghidra server running under a private VPN, I can give access to those that want it
<apritzel> ah, great, so "quite similar" often turned out to be major work still (like A133 is "quite similar" to H616)
<apritzel> typically even those tablets still have some dedicated UART pins or at least pads
<iscle> all test points in the pcb are tiny, even if they appear big in the pictures, and most of them are for UFS and DRAM
<apritzel> but it's hard to know which they are, if boot0 muxes the UART to PortF
<iscle> There are two test pads near the PMIC which I assume are I2C
<apritzel> I see, that's a bummer
<iscle> The only "normal" and accessible test point is for FEL
<iscle> unless we can bit-bang uart on the USB1 port, i think we're stuck without SD card if we want UART
<iscle> I bought a clone of it on Aliexpress today, I'm expecting it to arrive next week
<apritzel> it at least allows to switch, without pulling things out completely
<apritzel> so I managed to boot from SD, and put a 5 sec delay in the code, which gives me time to remove the SD card and switch to UART
<iscle> Could it be possible to boot the SD Card in 2 or 3 bit mode instead of 4 bit and use Data3 to bitbang UART TX?
<iscle> Native TX is on the CMD pin so that's out of the question, but maybe we can do the other one just for debugging and developing
<iscle> s/CMD/CLK
<apritzel> maybe possible, but tricky, I wouldn't know of bit banging UART in U-Boot?
wingrime1 has joined #linux-sunxi
<apritzel> but for initial development we can surely live with FEL booting for a while
wingrime-ww has quit [Ping timeout: 480 seconds]
<iscle> apritzel: do you have a dump of the original uart boot?
<apritzel> probably, but at home, so can't access it before Sunday/Monday
<apritzel> this AIBOX-A733A probably exposes the UART internally, so might be a better development vehicle. But don't feel like shelling out 130is USD quite yet ...
<apritzel> iscle: probably the best hints atm regarding A733 are in the Syterkit source code
<iscle> I had seen the AIBOX-A733A too, but it's too expensive. The P50Ai is much cheaper (probably because nobody is buying it due to the crappy screen) and has much more potential. Although, the limited UART is definitely not good for development...
<iscle> Yeah, I'm using Syterkit as reference!
apritzel has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
iscle has quit [Remote host closed the connection]