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
chewitt has joined #linux-sunxi
montjoie has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
montjoie_ has quit [Ping timeout: 480 seconds]
ftg^ has quit [Read error: Connection reset by peer]
fraolt has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
chewitt has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has joined #linux-sunxi
chewitt has joined #linux-sunxi
warpme has quit []
apritzel has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
chewitt has quit []
warpme has joined #linux-sunxi
Guest7881 is now known as aperezdc
evgeny_boger has joined #linux-sunxi
DarkNeutrino_ has joined #linux-sunxi
DarkNeutrino is now known as Guest8161
DarkNeutrino_ is now known as DarkNeutrino
kuba2k2 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<DarkNeutrino> apritzel so i checked the OPP driver. One thing thats bit concerning is that we have 4 variants. But 1 is the lower bin. Which seems to be 0x4. Second one is the higher bin with lower mV for the freq. That one is 0x3. Up to 1200Mhz only those bins are used but for the 3 frequencies above (1296, 1344, 1512) And on those we have the 0x1 and 0x2 bins. 1344 has 0x4. And when i read the BSP driver for it, its completely insane. A s
<DarkNeutrino> version to one of the 4
<DarkNeutrino> The h6 BSP driver in comparasion is walk in the park LOL
<apritzel> DarkNeutrino: well, but isn't that just a matter of carefully *once* creating the DT nodes in sun50i-h616-cpu-opp.dtsi?
<DarkNeutrino> Not really. The driver has to be modified. And from what i see quite heavily to account for this. https://github.com/bigtreetech/CB1-Kernel/blob/kernel-4.9/kernel/linux-4.9/drivers/cpufreq/sun50i-cpufreq-nvmem.c here is the BSP driver im looking at and https://github.com/bigtreetech/CB1-Kernel/blob/kernel-4.9/kernel/linux-4.9/arch/arm64/boot/dts/sunxi/sun50iw9p1.dtsi#L132 here is the DT. Some bins just directly dont support so
<DarkNeutrino> 0x1 which enables the highest frequency if its some combination or what that it applies also the lower frequencies
<DarkNeutrino> Or if it just supports the highest one. Its weird to say the least.
<apritzel> PLEASE don't look at BSP code too closely, that only gives you a headache ;-)
<apritzel> I could be wrong, but if you look at the mainline H6 CPU OPP code, that just figures out the bin ID, then leaves all the rest to existing (generic) code
<apritzel> so the voltages and frequencies for *every* bin version is just listed in sun50i-h6-cpu-opp.dtsi
<DarkNeutrino> Correct. H6 OPP just grabs the ID and applies the freq and voltage according to bin. There is the issue tho. H6 lists all frequencies for all bins. Just different voltage
<DarkNeutrino> H616 doesnt do that and some frequencies are on some bins just outright disabled.
<apritzel> is that really a problem? what happens if you don't list opp-microvolt-speed<x> property for bin <x> in a frequency node?
<apritzel> or you could just put the voltage of the next OPP in, so that say both 1.08 GHz and 1.32 GHz run at the same voltage, namely that one for the higher frequency
<apritzel> that's not really efficient, but should be safe
<DarkNeutrino> Leaving the property off should be fine. But then which frequencies does 0x1 use if its not on max ? Actually let me just flash the CB1 system image onto a spare board and test.
warpme has quit []
apritzel has quit [Remote host closed the connection]
kuba2k2 has joined #linux-sunxi
apritzel has joined #linux-sunxi
<DarkNeutrino> Right the kernel lists no files in cpufreq folder. Just great LOL
chewitt has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
fraolt has joined #linux-sunxi
warpme has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Quit: evgeny_boger]
warpme has quit []
warpme has joined #linux-sunxi
Guest8161 has quit [Ping timeout: 480 seconds]
wasutton- has joined #linux-sunxi
wasutton3 has quit [Ping timeout: 480 seconds]
warpme has quit []
kuba2k2 has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
DarkNeutrino has quit [Quit: Page closed]
DarkNeutrino has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
gsz has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit []
JohnDoe_71Rus has quit []
kuba2k2 has joined #linux-sunxi
apritzel has joined #linux-sunxi
hexdump01 has quit []
hexdump0815 has joined #linux-sunxi
kuba2k2 has quit []
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
wasutton- has quit []
wasutton3 has joined #linux-sunxi
ftg has joined #linux-sunxi
<machinehum> apritzel: Sorry, yeah fully open source hardware
<machinehum> Layout and schematic, all the software used to design it is also open source
<machinehum> apritzel: The idea is I design these SOMs, and then generate leads and do consulting for people
<machinehum> Potentially they want to just have an integrated board
<machinehum> Potentially they want to design a board in 3hrs and slam a SOM on it to solve a $100k problem
<machinehum> Details and docs are slim for the A523
<machinehum> But thanks
AntoniAloyTorrens[m]1 has quit []
MatrixTravelerbot[m] has quit []
psydroid[m] has quit []
evgeny_boger has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
<apritzel> sure, the A523 is brand new, but at least Yuzuki has had hands on it
aedancullen has quit []
<apritzel> machinehum: you still need to know what the idea/target of this SoM should be, people will want to know why not just use an RPi CM4