rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
reinforce has quit [Quit: Leaving.]
<tuxd3v> AR100 I believe is bases on beyondsemi.com
<tuxd3v> Beyond Semiconductor
<tuxd3v> Slovenia
tllim has quit [Read error: Connection reset by peer]
agraf has quit [Ping timeout: 244 seconds]
agraf has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
return0e has joined #linux-sunxi
return0e has quit [Remote host closed the connection]
return0e has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
\\Mr_C\\ has quit [Ping timeout: 250 seconds]
\\Mr_C\\ has joined #linux-sunxi
tuxd3v has quit [Quit: Leaving]
suprothunderbolt has joined #linux-sunxi
\\Mr-C\\ has joined #linux-sunxi
\\Mr_C\\ has quit [Ping timeout: 244 seconds]
\\Mr-C\\ has quit [Client Quit]
<suprothunderbolt> any major preference for distro at the moment? Armbian / Debian ? Looking for easy accelerated opengl / QT / DSI support.
Masterphi has joined #linux-sunxi
megi has quit [Ping timeout: 250 seconds]
buZz has quit [Ping timeout: 244 seconds]
victhor has quit [Ping timeout: 258 seconds]
buZz has joined #linux-sunxi
buZz has quit [Changing host]
buZz has joined #linux-sunxi
shfil has quit [Quit: Connection closed for inactivity]
chewitt has quit [Ping timeout: 245 seconds]
chewitt has joined #linux-sunxi
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 255 seconds]
camus is now known as kaspter
TheSeven has quit [Ping timeout: 250 seconds]
[7] has joined #linux-sunxi
lurchi_ is now known as lurchi__
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
ganbold has quit [Quit: This computer has gone to sleep]
_whitelogger has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
afaerber has joined #linux-sunxi
f0xx has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
<suprothunderbolt> does MIPI-DSI work with 4.19 mainline?
chewitt has quit [Quit: Zzz..]
swiftgeek has quit [Ping timeout: 250 seconds]
selfbg has joined #linux-sunxi
rtp has quit [Ping timeout: 250 seconds]
lerc has quit [Quit: No Ping reply in 180 seconds.]
lerc has joined #linux-sunxi
nashpa has quit [Quit: Going away]
nashpa has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
BenG83 has quit [Quit: Leaving]
Masterphi has quit [Ping timeout: 250 seconds]
<montjoie> hello on my a13 olinuxino micro, uboot cmdline is cropped at 67 characters, does someone have any idea ?
cch has joined #linux-sunxi
rtp has joined #linux-sunxi
<aalm> fwiw., every allwinner soc i have got 64bytes of fifo, but i don't have a13, just in case it is fifo/fifosize-related..
BenG83 has joined #linux-sunxi
<hanetzer> willmore: hey, ran into your name on a site, did that dgp guy ever help you get the sdk/datasheet for the mstar msc316dm line of SoC ?
[7] has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
<hanetzer> willmore: and if you didn't, I finally managed to locate a real-looking copy, investigating
ganbold has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 250 seconds]
clemens3 has joined #linux-sunxi
msimpson has joined #linux-sunxi
msimpson has quit [Remote host closed the connection]
msimpson has joined #linux-sunxi
return0e has quit [Remote host closed the connection]
xes has quit [Ping timeout: 255 seconds]
suprothunderbolt has quit [Ping timeout: 245 seconds]
msimpson has quit [Quit: Leaving]
tnovotny has joined #linux-sunxi
msimpson has joined #linux-sunxi
msimpson has quit [Client Quit]
ganbold has quit [Quit: This computer has gone to sleep]
return0e has joined #linux-sunxi
megi has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
Mangy_Dog has joined #linux-sunxi
<pgreco> MoeIcenowy, iirc, you have a bananapi-m2ultra, right?
ttmrichter has joined #linux-sunxi
<pgreco> uboot fails for that device using 2019.04rc, but works with 2019.01
selfbg1 has joined #linux-sunxi
selfbg has quit [Ping timeout: 245 seconds]
selfbg1 is now known as selfbg
return0e has quit [Remote host closed the connection]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
\\Mr_C\\ has joined #linux-sunxi
\\Mr_C\\ has quit [Excess Flood]
\\Mr_C\\ has joined #linux-sunxi
victhor has joined #linux-sunxi
return0e has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
reinforce has joined #linux-sunxi
chewitt has joined #linux-sunxi
xes has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 245 seconds]
BenG83 has joined #linux-sunxi
camh has quit [Ping timeout: 246 seconds]
dddddd has joined #linux-sunxi
diskless has joined #linux-sunxi
<diskless> Hi Folks. I was here a few days ago. I have managed to extract a sunxi.fex file from the LiveSuite image of the H3 based board I am working with.
<diskless> This file is a dtb and I have decompiled it into a dts. I am going to modify the sun8i-h3-orangepi-pc.dts file from the Armbian supplied 4.19.25-sunxi kernel with the values I see in this dts. It has a section called dram with lines like dram_tpr0 = <0x48a192>; I do not see corresponding sections in the orangepi dts file that I am trying to modify.
<fALSO> check if it isnt defined in the files included in that dts
<diskless> So it looks like this dts file belongs to a legacy kernel and it programs stuff mentioned in the AllWinner H3 datasheet. How do I find what is the corresponding stuff in the H3 mainline kernel dts file to modify, to get the same effect.
<diskless> To recap from a few days ago, when I boot the Armbian Orange Pi PC image on this board, I get only about 30% of the performance of an Orange Pi PC, even though the processor and RAM are the same. As explained by friendly folks here a few days ago, this means the processor clock and DRAM need tuning.
<diskless> fALS0 I have picked up this file from the /boot/dts folder on the Armbian image. When I open sun8i-h3-orangepi-pc.dts in the kernel tree, it references two dtsi files. Neither of them have any mention of dram or dram_pll.
<KotCzarny> probably uboot does it
yann has joined #linux-sunxi
<diskless> Right. I looked at the uboot defconfig and dts, dtsi files. No dice there either. No mention of dram or pll.
<KotCzarny> ignore it then
<KotCzarny> and worry later
<KotCzarny> although afair uboot has a field for dram freq
<KotCzarny> and probably others
<KotCzarny> just named differently
<KotCzarny> checked defconfigs?
<KotCzarny> it's 100% there
<diskless> KotCzarny Yes orangepi_pc_defconfig has CONFIG_DRAM_ZQ=3881979, which matches dram_zq = <0x3b3bfb>; from this dts file.
<diskless> It also has CONFIG_DRAM_CLK=624. I am unable to determine the clock from this dts file.
<KotCzarny> you just use 624 or 408
<KotCzarny> depending what ram config you have
<diskless> Oh wait, there it is dram_clk = <0x198>; That is 408 for the CLK.
<KotCzarny> 624 is a safe value that most boards wont fail at
<diskless> OK. So the uboot is compiled and ready. However, even before discovering this dts file, I had tried with 408, and this did not increase the performance of my board one bit.
<diskless> I now need to figure out how to put these values into the orange pi pc dts file. All of the different values in this file.
<diskless> Is there some place I can paste this dts fle for you guys to take a look.
<KotCzarny> make new defconfig?
<KotCzarny> uboot sets hw
<KotCzarny> linux doesnt touch dram config afair
<KotCzarny> in legacy (aw) kernels it's arisc blob meddling with clocks etc
<KotCzarny> if you have 408, it's slower dram config
<KotCzarny> i think it's single rank vs dual rank or something, not an expert
<diskless> The board works with 624 too. Orange Pi has 624 and the board has been working fine with that - just slow.
<KotCzarny> or it was ignored
<KotCzarny> ;)
<diskless> Oh yeah. Or it was ignored. Anyway let me see with this uboot.
<KotCzarny> i bet your main problem is lack of smp or cpu set to low speed
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 250 seconds]
diskless has quit [Quit: Page closed]
diskless has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
<swiftgeek> not sure what happened but after recent long overdue update cryptodev + libopenssl-cryptodev ended up with not working ssh / prosody ;D
<swiftgeek> on A13
<KotCzarny> rmmod ss ?
<swiftgeek> nah it's fine with it, just installed libopenssl and everything is back to normal
<KotCzarny> it might be it actually started using hw crypto?
<KotCzarny> ;)
<swiftgeek> strange it kinda worked for me
<KotCzarny> bugs gets fixed, things stop working
<swiftgeek> i remember running some benchmmarks to see whether it's still working
<swiftgeek> *it's actually working
<swiftgeek> btw what is the right tool to use to save time to rtc?
<KotCzarny> hwclock ?
<swiftgeek> still hwclock?
curlybracket has quit [Ping timeout: 250 seconds]
<swiftgeek> that's odd then, i'm missing that on archlinux-arm
<KotCzarny> i suspect you could just echo to some /proc or /sys file too
<KotCzarny> maybe its named weirdly package
<swiftgeek> nvm just glitch probably from the other one and running over serial console
<KotCzarny> on devuan: util-linux: /sbin/hwclock
curlybracket has joined #linux-sunxi
<swiftgeek> yup
<swiftgeek> serial console is glitching out for me in weirdest of ways for me xD
<KotCzarny> em noise?
<swiftgeek> nope, just lack of window adjustment and TERM passing
<KotCzarny> so 1990
<swiftgeek> yeah
<swiftgeek> really glad to have ssh back
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
<montjoie> note that cryptodev + ssh is bugged and will never work https://marc.info/?l=openssh-unix-dev&m=142487058005111&w=2
<swiftgeek> well it did :D
<montjoie> are you sure that ssh use the cryptodev engine ?
<KotCzarny> depends on crypto used and params
<KotCzarny> :)
<swiftgeek> montjoie: well not that way around but via openssl i think?
<swiftgeek> even now i have same modules loaded just different build of openssl and it works fine now
<swiftgeek> oh yeah it even says that in that mail :D
<swiftgeek> anyway it did work fine, just borked itself after update
aalm has quit [Read error: Connection reset by peer]
<swiftgeek> haven't tried downgrading openssl
Putti has joined #linux-sunxi
diskless has quit [Quit: Page closed]
shfil has joined #linux-sunxi
lurchi_ is now known as lurchi__
selfbg has quit [Ping timeout: 250 seconds]
<dirbaio> Hello! :)
<dirbaio> What's the best way to get thermal sensor working in mainline?
<dirbaio> It works in armbian kernel, but I'm having trouble figuring out where exactly their sources are
<KotCzarny> they use patches
<megi> i believe they use this https://megous.com/git/linux/log/?h=ths-5.0
<dirbaio> hmm
<lennard> you can probably find it in https://github.com/armbian/build
<lennard> not sure if the patches are in there directory or just links to another repo
<lennard> ah, looks like the patches are in there :)
<dirbaio> but that branch has 4.19.12, and the prebuilt images on the website are 4.19.20
<dirbaio> and the sun8i-default patches seem for the legacy kernel, not mainline
<KotCzarny> hm, i think i've paste legacy patches dir
<KotCzarny> this is the correct one
<lennard> I think you need sunxi-dev or sunxi-next
<lennard> I never can remember which is which but they're not far apart
<dirbaio> okay, so megous/linux, branch orange-pi-4.19 + sunxi-next patches
<dirbaio> but that'd give me a 4.19.12 kernel
<dirbaio> how can I replicate exactly the built kernel on the website?
<megi> run the armbian scripts?
<megi> they have docs on the website
<megi> you should probably ask in their forum, if the docs are unclear
<KotCzarny> +1 for using theit build system
<KotCzarny> you can use it to build kernel alone
samrose_ has left #linux-sunxi [#linux-sunxi]
<dirbaio> will try :)
<dirbaio> my end goal is to get everything built with yocto/bitbake
<dirbaio> I already got pure mainline working
<dirbaio> but I guess first step is get a working kernel working using ANY build system :D
<dirbaio> thanks!
samrose has joined #linux-sunxi
samrose has left #linux-sunxi [#linux-sunxi]
<megi> kernel build can be done in a 5 line script :) the biggest work is collecting all the patches
<megi> and config
<KotCzarny> and in this case they can probably just be cherry-picked by name match
<dirbaio> okay I get it now, the patches dir has patches that turn 4.19.12 -> 4.19.20
<dirbaio> duh why didn't I see that before
<dirbaio> that's why the version didn't match :D
Putti has quit [Remote host closed the connection]
ganbold has joined #linux-sunxi
aalm has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
<willmore> hanetzer, he did, thank you!
reinforce has quit [Ping timeout: 268 seconds]
reinforce has joined #linux-sunxi
<MoeIcenowy> jernej: why is even A64 HDMI audio not mainlined?
<mru> because nobody did the work
<jernej> MoeIcenowy: Issue is within I2S driver, which doesn't have support for 8 channels
<jernej> unless you are saying that A64 I2S doesn't support 8 channels
<jernej> I didn't check, I just assumed it does support
<mru> i2s is a two-channel interface
<mru> you'd need 4 of them in parallel for 8-channel
<jernej> yeah, that's is supported on one special I2S peripheral, which is used for HDMI
<jernej> MoeIcenowy: IIRC codekipper submitted patches for that around new year
<MoeIcenowy> jernej: seems that A64 I2S supports no 8 chan?
<jernej> let me check
<MoeIcenowy> TXn Channel Select Register is 0x34 + 4n
<MoeIcenowy> TXn Channel Mapping Register is 0x44+4n
<hanetzer> willmore: sdk I got was legit, though it lacks an overarching document on registers and address space
netlynx has joined #linux-sunxi
<jernej> MoeIcenowy: A64 I2S seems to be identical to H3, so it has same problem
<jernej> btw, in overview it's stated it supports 8 slots
wwilly has quit [Ping timeout: 250 seconds]
clemens3 has quit [Ping timeout: 258 seconds]
gamelaster has joined #linux-sunxi
gamelaster has quit [Ping timeout: 250 seconds]
mknawabi has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 268 seconds]
tnovotny has quit [Quit: Leaving]
tuxd3v has joined #linux-sunxi
montjoie has quit [Ping timeout: 246 seconds]
montjoie has joined #linux-sunxi
yann has quit [Ping timeout: 250 seconds]
dev1990 has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
Marc_One has joined #linux-sunxi
<Marc_One> hi. i still have problem that since 5.0.0 kernel when a tcpv6 connection to my cubietruck is idle for about 1 minute it hangs and the cubietruck does see incoming packets but does not answer. tcpdump is https://paste.debian.net/1075656/
<Marc_One> after 1 seconds it continues
<Marc_One> 10 seconds
yann has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
Marc_One has quit [Quit: Leaving]
xes_ has joined #linux-sunxi
xes has quit [Ping timeout: 255 seconds]
return0e_ has quit [Remote host closed the connection]
gamelaster has joined #linux-sunxi
angelo_ts has quit [Ping timeout: 250 seconds]
vagrantc has quit [Ping timeout: 258 seconds]
angelo_ts has joined #linux-sunxi
vagrantc has joined #linux-sunxi
angelo_ts has quit [Changing host]
angelo_ts has joined #linux-sunxi
Naka has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
Nakaori has quit [Ping timeout: 258 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
f0xx has quit [Ping timeout: 246 seconds]
Mangy_Dog has quit [Ping timeout: 245 seconds]
wwilly has joined #linux-sunxi
reinforce has quit [Remote host closed the connection]
reinforce has joined #linux-sunxi
madez has joined #linux-sunxi
return0e has joined #linux-sunxi
angelo_ts_ has joined #linux-sunxi
angelo_ts has quit [Ping timeout: 255 seconds]
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
\\Mr_C\\ has joined #linux-sunxi
xes_ has quit [Quit: bye..]
Rafael1980 has quit [Ping timeout: 250 seconds]
Mr__Anderson has quit [Remote host closed the connection]
xes has joined #linux-sunxi
return0e has quit [Read error: Connection reset by peer]
Perlovka has quit [Ping timeout: 250 seconds]
gamelaster has quit [Ping timeout: 250 seconds]
tllim has joined #linux-sunxi
angelo_ts_ has quit [Ping timeout: 245 seconds]
angelo_ts has joined #linux-sunxi
lurchi__ is now known as lurchi_
tllim has quit [Quit: Leaving]
madez has quit [Quit: madez]
nuuuciano has quit [Read error: Connection reset by peer]
nuuuciano has joined #linux-sunxi
madez has joined #linux-sunxi
zoums has joined #linux-sunxi
tllim has joined #linux-sunxi
tllim has quit [Client Quit]