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*
diego71 has quit [Ping timeout: 240 seconds]
jonasbits has quit [Ping timeout: 260 seconds]
jonasbits has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
DigitalMan1983_ has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
tuxd3v has joined #linux-sunxi
<tuxd3v> jernej hello
victhor has quit [Ping timeout: 256 seconds]
<tuxd3v> this is my orangepi dtsi for OrangePI one plus:
<tuxd3v> I am including the H6 opp dtsi
<tuxd3v> But I noticed that, with cpufreq-info, frequency only goes til 1.5Ghz :(
<tuxd3v> it doesn't achieve 1.8Ghz..
<tuxd3v> does you now of any documentation to understand the H6 opp dtsi file?
<tuxd3v> thanks in advance
hexdump0815 has quit [Ping timeout: 245 seconds]
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
cmeerw has joined #linux-sunxi
cmeerw has quit [Ping timeout: 272 seconds]
lkcl__ has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lkcl_ has quit [Ping timeout: 265 seconds]
lurchi__ has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Excess Flood]
kaspter has joined #linux-sunxi
<wens> your regulator is limited to 1.08 volts, so any opps higher than that are not available to you. This also has to do with binning of the H6
<tuxd3v> wens, thanks, how can I see that?
<tuxd3v> can I see that on h6 dtsi?
<tuxd3v> maybe I could change that :)
<tuxd3v> I am running a franknstein image that I don't know were I got it ..
<tuxd3v> But in that image it runs at 1.8Ghz
<tuxd3v> its not mainline kernel, maybe a image from orangepi, I don't know
<tuxd3v> opp-microvolt-speed0 = <1060000 1060000 1200000>;
<tuxd3v> I believe you are ferening to these values :)
JohnDoe_71Rus has joined #linux-sunxi
<tuxd3v> we have speed0,1,2 can't relationate them :S
ldevulder_ has quit [Ping timeout: 240 seconds]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
<tuxd3v> ferening -> referring
daregap has joined #linux-sunxi
diego71 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
reinforce has joined #linux-sunxi
<wens> 0, 1, 2 are related to binning.
<wens> see drivers/cpufreq/sun50i-cpufreq-nvmem.c
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus1 is now known as kaspter
mripard has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
diego71 has quit [Quit: leaving]
diego71 has joined #linux-sunxi
kaspter has joined #linux-sunxi
ruantu has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
ruantu has quit [Remote host closed the connection]
camus1 has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
camus1 is now known as kaspter
<swiftgeek> wens: so i replaced AXP209, didn't change a thing on sd card and now it appears to work as expected according to dmesg
<swiftgeek> poweroff is still crashing though
<swiftgeek> and since it responds to power button as well i guess axp209 is doing fine
<swiftgeek> (BPi A20 board)
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
gnarface has quit [Read error: Connection reset by peer]
<wens> swiftgeek: poweroff crashing how? non-atomic transfer error or ?
<swiftgeek> wens: https://dpaste.com/HDQMZ3SA4 , mind this might be just my unit or sth ;D
* swiftgeek is rebooting to 5.8.0 now
<swiftgeek> > [ 944.587035] Reboot failed -- System halted
<swiftgeek> well that's not nice
gnarface has joined #linux-sunxi
<swiftgeek> last time i had issues like i blacklisted wrong module :D
lurchi_ is now known as lurchi__
<swiftgeek> wens: poweroff, on 5.8.0 https://dpaste.com/7PFQEHQH3
warpme_ has joined #linux-sunxi
<swiftgeek> tested hdmi output just to make sure that something stranger isn't happening
<swiftgeek> with cmatrix -f <> /dev/tty1 >&0 2>&1 , I should probably install kmscube there or sth :P
<swiftgeek> still for some reason it just doesn't want to start from battery, i guess i should just start from making overlay for enabling battery
tnovotny has joined #linux-sunxi
<swiftgeek> so there is a footnote to using centerpunch on PCB
<swiftgeek> it instantly delaminates it
<swiftgeek> err wrong buffer
lurchi__ is now known as lurchi_
<swiftgeek> (assembling some silly breakout board)
gnarface has quit [Quit: Leaving]
gnarface has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
aballier has joined #linux-sunxi
lurchi_ is now known as lurchi__
userx_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
rsglobal has quit [Ping timeout: 264 seconds]
romanstratiienko has quit [Ping timeout: 264 seconds]
rsglobal has joined #linux-sunxi
romanstratiienko has joined #linux-sunxi
victhor has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
rzerres has quit [Read error: Connection reset by peer]
rzerres has joined #linux-sunxi
doppo has quit [Ping timeout: 272 seconds]
doppo has joined #linux-sunxi
daregap has quit [Quit: daregap]
lkcl__ is now known as lkcl
psydread has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
gaston1980 has joined #linux-sunxi
Mangy_Dog has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
kaspter has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
andy25225 has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 256 seconds]
DigitalMan1983_ has quit [Read error: Connection reset by peer]
DigitalMan1983_ has joined #linux-sunxi
andy25225 has quit [Ping timeout: 256 seconds]
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
andy25225 has joined #linux-sunxi
TiD91 has joined #linux-sunxi
<TiD91> Hello, I'm using latest Archlinux for ARM on a BPI-M1 device and I'm hitting a Kernel panic when shutting down the device, when powering down the device. This is the log from the UART: http://ix.io/2tO1
<TiD91> Also the reboot does not work. "Reboot failed. System halted".
<TiD91> Any idea where should I look into to try to fix this? is it a kernel issue?
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
sunshavi has quit [Ping timeout: 240 seconds]
<jernej> hexdump0815: I don't have a plan to submit anything to U-Boot atm but I don't know for others
<jernej> hexdump0815: Just leave rank as it is, it was just one time thing which obviously doesn't work for you
<jernej> hexdump0815: I don't see tanix tx6 dts in U-Boot master branch, it needs to be added
kaspter has quit [Quit: kaspter]
ldevulder has joined #linux-sunxi
<wens> I think MoeIcenowy reported something in U-boot PSCI broke, maybe that's the source of the reboot/shutdown failures?
<tuxd3v> wens, on OrangePi One Plus, if I reboot, I get no network, I need to shutdown and startup again, for the network to comeup, this with uboot v2020.01
vagrantc has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
<martinayotte_> tuxd3v: That situation remind such issue seen more than a year ago ... If I recall, DWMAC needs to be compile as module, not builtin kernel, so reboot unloads it
lurchi__ is now known as lurchi_
<tuxd3v> martinayotte_, we have 2 options..
<tuxd3v> CONFIG_DWMAC_SUNXI=y
<tuxd3v> CONFIG_DWMAC_SUN8I=y
<tuxd3v> I believe its the second one :)
<martinayotte_> Most probably, but should =m, according to current Armbian builds
<tuxd3v> yes, I am trying it now :)
<tuxd3v> I am building a new kernel to test it :)
lurchi_ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
sunshavi has joined #linux-sunxi
<tuxd3v> wens, thanks, yeah they do test the bin speed :(
<tuxd3v> sun50i_cpufreq_get_efuse()
<tuxd3v> thanks a lot for the sugestion :)
cmeerw has joined #linux-sunxi
msimpson has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 256 seconds]
<jernej> Ashleee: I see potential issue in rank detection code in mainline U-Boot, I'll prepare test patch
<jernej> but this may take a while
<Ashleee> sure, np :)
<Ashleee> I was looking at it but was tired last night too much
<jernej> well, difference is subtle but important - libdram detects rank with cols = 7 and rows = 11, while mainline with cols = 11 and rows = 14
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
<tuxd3v> martinayotte_, I tested kernel 5.8.0 with uboot v2020.01, and also uboot v2020.07
<tuxd3v> changing CONFIG_DWMAC_SUN8I=y to CONFIG_DWMAC_SUN8I=m
<tuxd3v> still doesn't bringup ethernet on reboot
<tuxd3v> on OrangePi OnePlus( H6 )
<tuxd3v> but I also acknowledge from the past, that the one plus dts file has a very simple description for the thernet section, due at the time with incompatibilities between uboot and kernel..
<martinayotte_> tuxd3v: there is no modules in u-boot, my previous suggestion was for kernel.
<tuxd3v> martinayotte_, yes like I said I tested for the kernel 5.8.0
<tuxd3v> :)
<tuxd3v> but I also tested with 2 diferent versions of uboot :)
<martinayotte_> Maybe you can try Armbian build ... On my side, my OPiOnePlus is using WiFi dongle in USB ... But maybe I could try eth0
<tuxd3v> The ethernet iface works, without any patch, but only if you Power Up the board correctly( not via reboot )
<tuxd3v> So powering up and down via button works, via 'shutdown -h now' also works
<martinayotte_> I've just plug eth0 on my OPiOne+, got the network, then after reboot, network came back without issue
<tuxd3v> 'reboot' or 'shutdown -r now' are the ones not bringing up the ethernet
<martinayotte_> Do you have alias in u-boot DT ? missing alias could also be an issue.
<martinayotte_> 'reboot' was what I did. Doing it a second time now...
<martinayotte_> Second 'reboot' worked too.
<tuxd3v> martinayotte_, I don't know about uboot..
<tuxd3v> maybe armbian is using a more detailed version of the dts
<martinayotte_> In U-Boot, there is also some DT been compiled and include for early stage.
<tuxd3v> the one proposed by megous, about 8 months ago..
<tuxd3v> I droped the megous version at the time, because it was incompatible with the way uboot was working at the time, megous realized the same after tests
<martinayotte_> Armbian is using kernel 5.8.0 from megous.
<tuxd3v> so we were using the more simple aproach to be able to get ethernet..
<tuxd3v> but the oneplus dts maintains the same simple version, that is in mainline now
<tuxd3v> and I am using that same version..
<martinayotte_> Try to build from Armbian script, to at least figure what wrong
<tuxd3v> I am using this dts:
<tuxd3v> its now mainlines
<tuxd3v> in kernel 5.6 was a patch..
netlynx has quit [Quit: Ex-Chat]
DigitalMan1983_ has quit [Ping timeout: 240 seconds]
<martinayotte_> tuxd3v: this is the whole DT of my OPiOne+ decompiled : http://ix.io/2tPl
<tuxd3v> matteo_, thanks a lot
<tuxd3v> does you have DVFS working till 1.8Ghz?
<tuxd3v> in oneplus
<tuxd3v> martinayotte_, thanks a lot
<tuxd3v> does you have DVFS working till 1.8Ghz?
<tuxd3v> in oneplus
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.1, revision: 5.0.1+git-7433-0df9f22f2, build type: debug, sources date: 20160102, built on: 2019-12-08 19:19:20 UTC 5.0.1+git-7433-0df9f22f2 http://www.kvirc.net/]
<martinayotte_> tuxd3v: Yes ! here is cpufreq-info : cpufreq stats: 480 MHz:94.11%, 720 MHz:2.76%, 816 MHz:0.08%, 888 MHz:0.03%, 1.08 GHz:0.03%, 1.32 GHz:0.05%, 1.49 GHz:0.02%, 1.61 GHz:0.02%, 1.70 GHz:0.01%, 1.80 GHz:2.89%
<tuxd3v> my board stops at 1.5Ghz..
<tuxd3v> previously I was at 1.8Ghz..
andy25225 has quit [Ping timeout: 265 seconds]
<tuxd3v> well dmesg shows me some info about why I can't be using the 1.6,7,8 Ghz opps..
andy25225 has joined #linux-sunxi
<tuxd3v> found it :)
<tuxd3v> orangepi dtsi: reg_dcdca: dcdca
<tuxd3v> regulator-max-microvolt = <1080000>;
<tuxd3v> ofcourse it cannot achieve 1.8Ghz..
<tuxd3v> :)
<tuxd3v> but now it will!
kilobyte_ch has quit [Read error: Connection reset by peer]
sunshavi has quit [Ping timeout: 256 seconds]
kilobyte_ch has joined #linux-sunxi
<jernej> Ashleee, hexdump0815: Can you test this DRAM patch? http://ix.io/2tPG Note that I only build tested it.
kilobyte1 has joined #linux-sunxi
kilobyte_ch has quit [Ping timeout: 246 seconds]
kilobyte_ch has joined #linux-sunxi
kilobyte1 has quit [Ping timeout: 240 seconds]
cmeerw has quit [Ping timeout: 244 seconds]
<tuxd3v> martinayotte_, I am now testing with a change in the pcc-cpu regulator and I am now at 1.8Ghz :)
<tuxd3v> pcc-cpu -> vcc-cpu
<tuxd3v> many thanks for your dts :)
hexdump0815 has joined #linux-sunxi
<martinayotte_> tuxd3v: welcome !
andy25225 has quit [Ping timeout: 256 seconds]
<hexdump0815> jerenej: i'll try your patch tomorrow, too late for today - thanks a lot ... regarding tx6 dtb: that one is in the kernel now and iirc there was some rule that a dts has to be in the kernel before it can get into u-boot or similar ...
<hexdump0815> jernej: thats why i ment this one might have a chance to get into mainline u-boot now that there is a dts for the tx6 in the mainline kernel
<hexdump0815> jernej: ooops - sorry, mistyped your name wrong once above ...
specing has quit [Ping timeout: 258 seconds]
andy25225 has joined #linux-sunxi
hexdump0815 has quit [Remote host closed the connection]
<jernej> hexdump0815: yeah, tanix tx6 config and dts can now be added, just someone has to do it
niceplace has quit [Ping timeout: 240 seconds]
niceplace has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 260 seconds]
ldevulder has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 256 seconds]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
lkcl_ has joined #linux-sunxi
ldevulder has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 264 seconds]
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
msimpson has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 264 seconds]
victhor_ has joined #linux-sunxi
victhor has quit [Ping timeout: 260 seconds]
victhor__ has joined #linux-sunxi
gediz539 has joined #linux-sunxi
victhor_ has quit [Ping timeout: 256 seconds]
nga0x539 has quit [Ping timeout: 256 seconds]
victhor_ has joined #linux-sunxi
victhor__ has quit [Ping timeout: 260 seconds]
victhor_ is now known as victhor
<karlp> anyone know why PE1 isn't part of the CSI pinset by default?
<karlp> it seems to default to PE0,2..11?
ldevulder has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 240 seconds]
<karlp> alternatively, anyone know what version of dtc you need to use the direct refernce style (not the fragment/__overlay__ style) ?
<karlp> dtc 1.5 doesn't seem to support it at least.
<karlp> neither does 1.6 on my host
<karlp> trying this: https://termbin.com/dfv9 as an overlay
aballier has quit [Ping timeout: 264 seconds]
Mangy_Dog has quit [Ping timeout: 246 seconds]
<tuxd3v> 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 24, base_baud = 1500000) is a 16550A
<tuxd3v> shouldn't the baud rate be 115200?
aballier has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
vagrantc has quit [Quit: leaving]
sunshavi has joined #linux-sunxi