Hypfer has quit [Quit: Ping timeout (120 seconds)]
Hypfer has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
junari has quit [Remote host closed the connection]
electricworry has quit [Ping timeout: 480 seconds]
electricworry has joined #linux-sunxi
aggi has quit [Remote host closed the connection]
electricworry has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
aggi has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
parthiban has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
parthi has joined #linux-sunxi
parthiban has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
<loki666>
apritzel: I guess with what ChenYu asked for my ramp-delay patch, I should create a new patch, not a V2
Schimsalabim has joined #linux-sunxi
<apritzel>
I think it would indeed be a new patch/thread, since the prefix will change and the patch will be completely different
<loki666>
ok, thanks, I was also looking at the axp20x-pek driver, and I think it needs a different config for axp717 ...
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<loki666>
ie: it seems to read, the startup/shutdown press time from a reg (AXP20X_PEK_KEY) that doesn't seems to exist on ax717, I think it should be 0x26, not 0x36
<loki666>
and I think bit5 of 0x25 should be set to 1 for irq wakeup
<hlauer>
<apritzel> "1) v1.0 never needed PH23. It..." <- Yes. In the available schematics of v1.0 PH23 is nc at the R40 side. The two USB-A ports are powered at startup even without a SD card inserted (so not booting)
<hlauer>
<apritzel> "2) v1.1 uses PH23 for something,..." <- v1.1 resets the system during usb setup without any error message and it starts booting again
<apritzel>
does that happen even in U-Boot, for instance? So if you set PH23 on a v1.1 board using "gpio set ph23"
<hlauer>
<apritzel> "3) USB VBUS is not always-on for..." <- So far I didn't manage to get any power on the two UBS-A ports - yes, most probably another GPIO is needed.
<apritzel>
hlauer: so are you going to send a patch for the M2U dts then? To remove PH23? Happy to review that ...
freemangordon has quit [Remote host closed the connection]
parthi has quit [Ping timeout: 480 seconds]
<hlauer>
Yes, even in u-boot v1.1 resets immediately without any message. Yesterday I tried 6.13-rc1 with mmc2 bus-width = <1> removed and the original 8 put back in place, which yields opses in the mmc kernel part. So there are more differences between v1.0 and v1.1
<apritzel>
hlauer: so if eMMC has issues, it's mostly due to non-appropriate speed modes, like the board not being able to cope with HS-200
warpme has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
dsimic is now known as Guest2242
dsimic has joined #linux-sunxi
Guest2242 has quit [Ping timeout: 480 seconds]
Hypfer is now known as Guest2247
Hypfer has joined #linux-sunxi
Guest2247 has quit [Ping timeout: 480 seconds]
<machinehum>
What are some of the common low cost allwinnder TV boxes with good mainline support? I'm looking to by one
<machinehum>
buy* lol
gsz has joined #linux-sunxi
<apritzel>
machinehum: all the H618 ones should be very similar, and boot headless just fine. But there is no mainline graphics support and no support for the built-in PHY
<apritzel>
there are out of tree patches for both, ready to apply to mainline, but none of that is merged, and it will probably take a few months
<apritzel>
you could fix the Ethernet problem by getting one with Gigabit Ethernet (external PHY works), though there are only a few of them, if you can still find them even
<apritzel>
machinehum: or you get one to help review the DE3.3 patches, and help getting the graphics stack support merged ;-)
<apritzel>
machinehum: yeah, that's one of those typical ones, with 100Mbit Ethernet, using the (yet unsupported) internal PHY
<machinehum>
Yeah happy to help test that
<apritzel>
and Tanix is slightly better than the other no name ones
<machinehum>
crazy cheap
<apritzel>
indeed, I'd take the 4GB version
<machinehum>
Seems like there's quite a bit of info about the TX6 (H6 based) but not a lot on the TX68
<machinehum>
I'm going to get one of each lol
freemangordon has joined #linux-sunxi
<apritzel>
well, H6 is a bit better, graphics works there, but same problem (and same potential solution) with (100MBit) Ethernet
<apritzel>
H6 has (working) USB3 support, but only up to 3GB of DRAM
<apritzel>
but the main problem seems to be availability on those sites: they tend to quickly shift over, and then you don't get the older generation anymore
<machinehum>
hmm, so I guess my H6 TX6 advertised with 4GB is a lie
<apritzel>
yes
<apritzel>
if you are lucky, it's 3GB pus 1GB "virtual DRAM"
<machinehum>
Not upset, expected at such
<machinehum>
;o virtual, sounds fast!
<apritzel>
well, many boxes named "TX6" are actually H616 as well, check the details
<apritzel>
then the 4GB would be legit
<machinehum>
Yeah I noticed that, it was listed as H6, but again, who knows \o/
<apritzel>
what Mali does it list? That's typically a good indicator, G31 would be H616, T720 is H6
<machinehum>
Mali-T720
<machinehum>
So yeah, likely H6
<loki666>
apritzel: looks like bsp is using another pek driver indeed
<loki666>
I guess another patch incoming
<loki666>
need to figure out, wtf is going on, and if I can make a quirk to existing driver, or write a new one
freemangordon has quit []
<apritzel>
loki666: driver design in the BSP is really bad, so don't copy anything from there. I think you should be able to integrate it in the existing driver
freemangordon has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
mripard has quit [Quit: WeeChat 4.4.3]
<hlauer>
Ok, just tried a openwrt image with 6.6 kernel - resets the v1.1 also. How can I lower the eMMC speed from HS-200?
szemzoa_ has joined #linux-sunxi
szemzoa has quit [Read error: No route to host]
wingrime1 has quit [Remote host closed the connection]
wingrime-ww has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has quit []
<apritzel>
hlauer: you would need to explicitly advertise HS200, also that only works with 1.8V, whereas you seem to have 3.3V on vqmmc-supply
<apritzel>
to limit the frequency, use: max-frequency = <100000000>;
<apritzel>
and maybe add: mmc-ddr-3_3v;
<apritzel>
hlauer: try lower frequencies as well (50 or even 40 MHz). Also worth trying 1.8V vqmmc, maybe it is using this voltage?
<apritzel>
hlauer: also can you post a kernel log somewhere, with those oopses? Curious to see what the MMC controller negotiated, and why there are oopses at all
<hlauer>
<apritzel> "hlix: so are you going to send a..." <- patch for PH23 removal is out. Hopefully the format will do as my machine crashed when cloning the git repo.
<hlauer>
for the moment I removed mmc2 (soldered on board) in DT which stops the mmc driver crashing the kernel for the inserted mmc0 SD card. Thanks!
<Soupborsh>
I am having fun, I found UART address and I can output to UART in FEL mode by using sunxi-fel writel 0x1C28000 0x00100053 with 2 last hex numbers replaced with hex ascii character representation.