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
apritzel has quit [Ping timeout: 480 seconds]
grming has quit [Quit: Konversation terminated!]
cnxsoft has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
junari has joined #linux-sunxi
apritzel has joined #linux-sunxi
digetx has quit [Remote host closed the connection]
digetx has joined #linux-sunxi
junari_ has joined #linux-sunxi
warpme has joined #linux-sunxi
digetx is now known as Guest9108
digetx has joined #linux-sunxi
Guest9108 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
junari has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
gsz has joined #linux-sunxi
junari_ has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
junari has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 480 seconds]
grming has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
catflaskcasey has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
junari has quit [Read error: Connection reset by peer]
junari_ is now known as junari
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
<warpme> junari: after cleaning our work - this seems to be minimal set of changes req. for proper dram sizing on x96-q h313 box: https://github.com/warpme/minimyth2/blob/011461791aa5f74f553a6f0479ad9195023642b5/script/bootloaders/u-boot-h313/files/03-fix-x96-q-memory-sizing.patch
<warpme> junari, apritzel: you were critical souls to get this https://controlc.com/5690a8f1 :-)
catflaskcasey has quit [Ping timeout: 480 seconds]
<warpme> apritzel: i will need a bit of your help with getting h616 emac1 rmii (int. phy) working on current uboot. It works for me on custodians tree from 11.05.2021 - but on current custodians master (or mainline) i can't get it working. On 11.05.2021 i'm using https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/add-emac2-to-h6-h616.patch to get it working on tx6s with int phy. I updated this patch for
<warpme> current custodians master - but probably i done this wrongly.....
Jookia has quit [Remote host closed the connection]
bauen1 has joined #linux-sunxi
<warpme> btw: it looks like my h313 indeed needs update of cpu cluster control in ATF. Current 2.8.1-lts ATF gives me: [ 0.102251] smp: Bringing up secondary CPUs ...
<warpme> [ 5.238195] CPU1: failed to come online
<warpme> [ 5.242366] CPU1: failed in unknown state : 0x0
<warpme> [ 10.367505] CPU2: failed to come online
<warpme> [ 10.371657] CPU2: failed in unknown state : 0x0
<warpme> [ 15.496018] CPU3: failed to come online
<warpme> [ 15.505167] smp: Brought up 1 node, 1 CPU
<warpme> [ 15.500189] CPU3: failed in unknown state : 0x0
<apritzel> yeah, saw this, and that's expected in your case
<apritzel> with those tapered corners and that "X" style casing?
<warpme> indeed mine is exactly like this one
<apritzel> that seems to be quite wide spread, at least I saw many eBay offers in the last months
<warpme> oh - i saw it for 17.8Eur. Mine cost me 20.5Eur
<warpme> i suspect such low price might be because lack of linux capability on it. This may make lower demand so supply exceedings may make price going down. Maybe....
<warpme> Funny thing is that company who sold me this box sold me 2G/16G variant. When it arrived - i spent 15min walking on vendor android trying to get info about installed RAM. No way. Vendor android is modified in a way that user can't get this info. I attached uart and discovered box has 1G instead of marketed 2G. So i fill goods complaint. Company promised me to send another box - this time with marketed (and paid by me) 2G RAM. Will see
<warpme> what will happen :-))))))
<apritzel> warpme: yeah, they tend to lie heavily in Android, had a very similar experience lately: the 4G/32G H313 box turned out to be using a 1G/8G H3(!) board
<warpme> geez!
<warpme> but i must say reaction on goods complaint submission was v.quick, full of apologies and satisfactory (assuming they will realise what they promised)
<apritzel> I think you can find out the real memory in /proc/meminfo somewhere, need to look up which number I used on the complaint
JohnDoe_71Rus has quit []
junari_ is now known as junari
<junari> make PLAT=sun50i_t507 DEBUG=1 bl31
vagrantc has joined #linux-sunxi
cnxsoft has quit []
evgeny_boger has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<warpme> junari: so now i have: 4x cpu cores, emmc, sdcard, hdmi, gpu, audio, bt, wifi, ir working (https://controlc.com/5f893d91). To have fully working media player: Eth is missing. Many thx!
ftg has joined #linux-sunxi
<junari> But I don't implement core power off yet. Only switch on
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
<apritzel> warpme: Ethernet will not easily work (with mainline), you need support for the embedded PHY in the H616 chip, which is early WIP
<warpme> apritzel : i have already working int.phy on h616. Issue is that uboot update from 11.05.2021->05.03.2023 breaks h313/h616 Eth support in kernel (for me)
<warpme> i would say: uboot update from 11.05.2021->05.03.2023 leaves hw in different state and resulting with no h313/h616 int.phy Eth working in kernel (but ext.phy i.e. in Zero2 works ok)
<apritzel> is that 11.05.2021 a mainline branch? Or one of jernej's hacks to beat the AC300 into submission?
<warpme> so maybe getting int.eth working just needs of updating kernel patch related to int.eth?
<warpme> saying "11.05.2021" i'm refering to sunxi-custodians uboot. This uboot + kernel patch gives me working eth on h616 tx6s (this box has int.eth phy)
<warpme> the same kernel patch but with new uboot (current master of sunxi-custodians) has not anymore working eth
<apritzel> what "11.05.2021" branch is this, exactly? Just checked out at this date?
<apritzel> there is no mainline kernel support for the second MAC or the internal PHY
<apritzel> there are some patches floating around, but there are not in a great shape and will need to change before they can get merged
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
<jernej> warpme: most likely reason for your issue is difference in PWM peripheral. It seems H616/H313 need new or at least amended PWM driver.
<jernej> the reason it might worked before but not later is that Linux relied on having PHY already enabled since it is not capable doing it on it's own
<jernej> and later version may just disable unused clocks, resets, etc.
jkm has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
<apritzel> jernej: I loosely looked into the PWM issue. The PWM device is quite different to the previous sun4i one, it's close to the R40 (and some other SoC).
<apritzel> there was a driver on the list years ago, but this had problems, and would need some serious fixes
<apritzel> but at least we could cover all those new PWM devices with one driver. From a first glance I don't think adding support into the existing pwm-sun4i driver is worthwhile
<jernej> I think new driver is better. But unsure if it's better to resurrect old attempts or do clean one
Daaanct12 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
Daanct12 is now known as Danct12
Daanct12 has joined #linux-sunxi
Danct12 has quit [Ping timeout: 480 seconds]
sh1 has joined #linux-sunxi
JohnDoe_71Rus has quit []
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
Daaanct12 has joined #linux-sunxi
bauen1 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
<jernej> apritzel: I went trough minimal changes that warpme made to dram code and I noticed that they all depend on tpr2 parameter in BSP code
<jernej> so I would like to add that too when I respin U-Boot DRAM patch series, if you don't mind
warpme has quit []
gsz has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
Daaanct12 has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Read error: Connection reset by peer]
Danct12 has joined #linux-sunxi
Daaanct12 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel> jernej: happy to take any patches for the H616 DRAM, however you like it
<apritzel> IIRC you said the last time that you learned some new parameter names and wanted to update the series anyway?
<jernej> yeah, I think I already pushed that on github
<jernej> it looks like tpr2 has only one useful bit, bit8, and it changes read and write latency
<jernej> it's used only for (LP)DDR3
grming has quit [Quit: Konversation terminated!]
<jernej> actually, there is more to it. just found another spot where tpr2 is used
ftg has quit [Read error: Connection reset by peer]
evgeny_boger has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-sunxi