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*
tllim has quit [Ping timeout: 248 seconds]
tllim has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
curlybracket has joined #linux-sunxi
sunzone_ has quit [Quit: Page closed]
dlan has quit [Remote host closed the connection]
ganbold has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
suprothunderbolt has quit [Ping timeout: 244 seconds]
cnxsoft has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
tllim has quit [Ping timeout: 245 seconds]
tllim has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 244 seconds]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
megi has quit [Ping timeout: 245 seconds]
vagrantc has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-sunxi
lurchi_ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-sunxi
lurchi__ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
a|3x has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
msimpson_ has joined #linux-sunxi
msimpson has quit [Ping timeout: 252 seconds]
longsleep_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Gerwin_J has quit [Ping timeout: 264 seconds]
reinforce has joined #linux-sunxi
vpeter has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
selfbg has joined #linux-sunxi
BenG83 has quit [Ping timeout: 252 seconds]
dlan has joined #linux-sunxi
longsleep has joined #linux-sunxi
diego_r has joined #linux-sunxi
yann has quit [Ping timeout: 272 seconds]
Naka has joined #linux-sunxi
msev- has quit [*.net *.split]
afaerber has quit [*.net *.split]
atopuzov[m] has quit [*.net *.split]
veremitz has quit [*.net *.split]
ccaione has quit [*.net *.split]
mnemoc has quit [*.net *.split]
arnidg- has quit [*.net *.split]
minicom has quit [*.net *.split]
mripard has quit [*.net *.split]
[TheBug] has quit [*.net *.split]
_0x5eb_ has quit [*.net *.split]
psydroid1 has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 248 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
souther_ has quit [*.net *.split]
clementp[m] has quit [*.net *.split]
mic-e[m] has quit [*.net *.split]
romainmahoux[m] has quit [*.net *.split]
psydroid has quit [*.net *.split]
Nakaori has quit [*.net *.split]
ndufresne has quit [*.net *.split]
anarsoul|c has quit [*.net *.split]
gumblex_ has quit [*.net *.split]
jernej has quit [*.net *.split]
atsampson has quit [*.net *.split]
jbizcocho has quit [Quit: WeeChat 2.4]
ndufresne has joined #linux-sunxi
jernej has joined #linux-sunxi
atsampson has joined #linux-sunxi
gumblex_ has joined #linux-sunxi
souther_ has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
anarsoul|c has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
afaerber has joined #linux-sunxi
mripard has joined #linux-sunxi
_0x5eb_ has joined #linux-sunxi
minicom has joined #linux-sunxi
[TheBug] has joined #linux-sunxi
msev- has joined #linux-sunxi
mnemoc has joined #linux-sunxi
ccaione has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
veremitz has joined #linux-sunxi
arnidg- has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 252 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
default__ is now known as ldevulder
huawei has quit [Quit: ZNC - https://znc.in]
huawei has joined #linux-sunxi
yann has joined #linux-sunxi
jbrown has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 248 seconds]
Mangy_Dog has joined #linux-sunxi
f0xx has joined #linux-sunxi
jbrown has joined #linux-sunxi
tnovotny has joined #linux-sunxi
msimpson__ has joined #linux-sunxi
msimpson_ has quit [Ping timeout: 252 seconds]
Gerwin_J has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
f0xx has joined #linux-sunxi
huawei has quit [Quit: ZNC - https://znc.in]
huawei has joined #linux-sunxi
gaston_ has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
lurchi__ is now known as lurchi_
<plaes> martinayotte: does it show under /proc/cpuinfo ?
<plaes> although, I'm not 100% sure whether arm workarounds are listed there
msimpson__ has quit [Remote host closed the connection]
<maz> plaes: it would only show in dmesg.
<maz> plaes: no errata workaround are ever displayed in cpuinfo. and this bug isn't even a CPU bug, but an integration issue.
jbrown has quit [Remote host closed the connection]
<plaes> yeah, x86 has following:
<plaes> bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
<Net147> plaes: how does AMD compare?
<KotCzarny> most interesting would be how mitigations=off compare
<fALSO> sirs
<plaes> Net147: I don't have any AMD here :(
<fALSO> today i compiled linus master for the H3
<fALSO> it didnt boot
<fALSO> just to report ;-)
<fALSO> later when i arrive home going to try to see what happanned
<Net147> plaes: my AMD GX-412TC SOC has bugs: fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
<plaes> oof
<Net147> bugs are everywhere...
<KotCzarny> i dont see bugs on my h3
<KotCzarny> :>
<plaes> lucky you :D
<plaes> IIRC there was supposedly a sysfs location for that
<Net147> no bugs either on A20
<KotCzarny> a7 is simple enough to be spared from overoptimizations
<KotCzarny> how about h5/a64 ?
<Net147> haven't checked on A64 yet
<Net147> I don'
Andy-D has joined #linux-sunxi
<Net147> I don't think bugs is implemented on ARM
<plaes> well, there was this patch: https://lwn.net/Articles/777600/
<plaes> /sys/devices/system/cpu/vulnerabilities
<plaes> but that looks like it's only for cpu cores, not for SoC in general
lurchi_ is now known as lurchi__
cnxsoft has quit [Remote host closed the connection]
tnovotny has quit [Quit: Leaving]
megi has joined #linux-sunxi
anarsoul|c has quit [Ping timeout: 252 seconds]
dddddd has joined #linux-sunxi
anarsoul|c has joined #linux-sunxi
ccaione has quit [Ping timeout: 248 seconds]
afaerber has quit [Quit: Leaving]
ccaione has joined #linux-sunxi
souther__ has joined #linux-sunxi
souther_ has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
lynxis_ has quit [Remote host closed the connection]
jernej has quit [Read error: Connection reset by peer]
jernej has joined #linux-sunxi
kaspter has joined #linux-sunxi
afaerber has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
lynxis has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
<martinayotte> plaes: No, /proc/cpuinfo doesn't shows such thing ... The friend of MoeIcenowy should check in /boot/config-4.19.38-sunxi64 if "CONFIG_SUN50I_ERRATUM_UNKNOWN1=y" is present.
popolon has joined #linux-sunxi
<MoeIcenowy> timer workaround won't show in cpuinfo
<MoeIcenowy> I think it should show in dmesg
selfbg has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
dev1990_ has quit [Ping timeout: 272 seconds]
chewitt has quit [Read error: Connection reset by peer]
book` has joined #linux-sunxi
tnovotny has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
f0xx has quit [Ping timeout: 252 seconds]
chewitt has joined #linux-sunxi
f0xx has joined #linux-sunxi
BenG83 has joined #linux-sunxi
AneoX has quit [Ping timeout: 248 seconds]
yann has quit [Ping timeout: 245 seconds]
AneoX has joined #linux-sunxi
<martinayotte> Right ! "dmesg" should report "arch_timer: Enabling global workaround for Allwinner erratum UNKNOWN1"
reinforce has joined #linux-sunxi
reinforce has quit [Client Quit]
reinforce has joined #linux-sunxi
huawei has quit [Quit: ZNC - https://znc.in]
huawei has joined #linux-sunxi
diego_r has quit [Ping timeout: 252 seconds]
tnovotny has quit [Quit: Leaving]
ynezz has quit [Remote host closed the connection]
ynezz has joined #linux-sunxi
yann has joined #linux-sunxi
Putti has joined #linux-sunxi
OnkelUlla has quit [Ping timeout: 258 seconds]
iamfrankenstein has joined #linux-sunxi
OnkelUlla has joined #linux-sunxi
paulk-leonov has quit [Ping timeout: 250 seconds]
paulk-leonov has joined #linux-sunxi
f0xx has quit [Ping timeout: 272 seconds]
msimpson has joined #linux-sunxi
jbrown has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
xade has joined #linux-sunxi
<xade> Hi, I am working on a "nano pi neo plus2"
<xade> I am building my own distro based on meta-sunxi
<xade> I want to use i2c bus but "ls /dev/i2c/*" shows nothing
<xade> my kernel has i2c activated. I see this line at startup (dmesg) : "[ 1.419084] i2c /dev entries driver"
<xade> typo: "ls /dev/i2c/*" => "ls /dev/i2c*"
<xade> any idea?
<mru> is the i2c controller driver enabled?
<mru> CONFIG_I2C_MV64XXX
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
f0xx has joined #linux-sunxi
BenG83 has quit [Ping timeout: 246 seconds]
afaerber has quit [Quit: Leaving]
<xade> @mru : i ran "cat /proc/config.gz | gunzip | grep CONFIG_I2C_MV64XXX"
<xade> and get: CONFIG_I2C_MV64XXX=y
<mru> that's fine then
<mru> check /sys/bus/i2c/devices/
<xade> I can ls this directory
<mru> anything in it?
<xade> nop, empty
<mru> are the i2c controllers enabled in your devicetree?
<xade> when i type "find /proc/device-tree/ -type f -exec head {} + | grep -a i2c" I have entries (related to /proc/device-tree/soc/i2c@1c2b000 and /proc/device-tree/soc/i2c@1c2b400)
<mru> run "head /sys/firmware/devicetree/base/soc/i2c*/status"
<xade> ==> /sys/firmware/devicetree/base/soc/i2c@1c2ac00/status <== disabled ==> /sys/firmware/devicetree/base/soc/i2c@1c2b000/status <== disabled ==> /sys/firmware/devicetree/base/soc/i2c@1c2b400/status <==
<mru> so the controllers are all disabled
<xade> is there a way to enable it from user space? or do I have to patch my dtb ?
<mru> you have to use a devicetree suitable for your hardware
<mru> where did you get the one you are using?
f0xx has quit [Ping timeout: 248 seconds]
<xade> it is the standard one provided by meta-sunxi (yocto meta layer). They are using a modified mainline kernel 4.16 currently. I didn't modified it but everything is working fine (usb, wifi, etc.) appart the bluetooth (and i2c)
clemens3 has joined #linux-sunxi
<xade> thanks for your help and diagnostic! I am not a kernel specialist. I know how it works but never dived into it and hopped I would managed (and I did until now) to finish the project like that :-D
<xade> I will check how to setup correctly my device tree. I assume that my bluetooth not working is a similar issue.
BenG83 has joined #linux-sunxi
xade has quit [Ping timeout: 256 seconds]
<martinayotte> xade: you can simply decompile the DTB into DTS, edit to change status to "okay", and recompile into DTB (of course, after keeping backup of old one)
afaerber has joined #linux-sunxi
x5eb has joined #linux-sunxi
arnidg has joined #linux-sunxi
msev-- has joined #linux-sunxi
minicom_ has joined #linux-sunxi
menomc has joined #linux-sunxi
mripard_ has joined #linux-sunxi
Putti has quit [Ping timeout: 252 seconds]
Andy-D has quit [Ping timeout: 245 seconds]
veremitz has quit [Disconnected by services]
Andy-D has joined #linux-sunxi
verz_broke has joined #linux-sunxi
verz_broke is now known as veremitz
[TheBug]_ has joined #linux-sunxi
afaerber has quit [*.net *.split]
msev- has quit [*.net *.split]
atopuzov[m] has quit [*.net *.split]
minicom has quit [*.net *.split]
arnidg- has quit [*.net *.split]
mripard has quit [*.net *.split]
mnemoc has quit [*.net *.split]
[TheBug] has quit [*.net *.split]
_0x5eb_ has quit [*.net *.split]
x5eb is now known as _0x5eb_
GrimKriegor has quit [Ping timeout: 272 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
GrimKriegor has joined #linux-sunxi
afaerber has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
[TheBug]_ is now known as [TheBug]
Quazil has quit [Remote host closed the connection]
\\Mr_C\\ has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
reinforce has quit [Quit: Leaving.]
lurchi__ is now known as lurchi_
lurchi_ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
gaston_ has quit [Quit: Konversation terminated!]
jbrown has joined #linux-sunxi
<jernej> megi: I'm using your Linux tree on my OrangePi 3 and I noticed that ethernet doesn't work after a reboot.
<jernej> Do you know anything about this?
<jernej> disconnecting and then reconnecting power supply cable helps
<jernej> I suspect that PMU is left in inappropriate state
lurchi_ is now known as lurchi__
ldevulder_ has joined #linux-sunxi
gnufan_home has joined #linux-sunxi
ldevulder has quit [Ping timeout: 245 seconds]
Andy-D has quit [Ping timeout: 252 seconds]
Andy-D has joined #linux-sunxi
<megi> doesn't work how?
<megi> I had problems with systemd 242
<megi> ah, you mean power cycling the board helps?
<megi> I don't have any such issues, ethernet always works after reboot, but I noticed similar reports on Armbian forum
<megi> dmesg output might be useful, if it's a phy initialization problem, you may try changing the timing values for reset/reg_gmac_2v5 in dts
<megi> I have a very hard PSU, so maybe softer PSUs may need different timings, but I really don't know
vagrantc has joined #linux-sunxi
<jernej> megi: I'll investigate tomorrow, I thought you would know about this problem
clemens3 has quit [Quit: WeeChat 1.6]
Mangy_Dog has quit [Remote host closed the connection]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej_ has joined #linux-sunxi