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*
smaeul has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
superpro1 has joined #linux-sunxi
superprower has quit [Ping timeout: 258 seconds]
jstefanop has quit [Ping timeout: 246 seconds]
sunilmohan has quit [Read error: Connection reset by peer]
superprower has joined #linux-sunxi
superpro1 has quit [Ping timeout: 258 seconds]
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Read error: Connection reset by peer]
sunilmohan has joined #linux-sunxi
superpro1 has joined #linux-sunxi
superprower has quit [Ping timeout: 258 seconds]
jstefanop has joined #linux-sunxi
gaston_ has quit [Quit: Konversation terminated!]
lurchi_ is now known as lurchi__
_whitelogger has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
cnxsoft has joined #linux-sunxi
nexgen has quit [Quit: Leaving]
cnxsoft has quit [Remote host closed the connection]
<MoeIcenowy> oh is there no one that tried to implement wakeup with axp20x?
<anarsoul> with power key?
<anarsoul> ask smaeul
<smaeul> yes, I did
<MoeIcenowy> anarsoul: yes, but not crust related at all.
<MoeIcenowy> only in Linux kernel
<smaeul> you mean wakeup from s2idle?
<MoeIcenowy> yes
<smaeul> should be doable by marking the IRQ as a wakeup source. you might need to do the same for the R_INTC->GIC IRQ
<smaeul> but I haven't tried that specifically
<MoeIcenowy> oh I forgot there's r_intc
<smaeul> if you can figure out how to hook up NMI to GIC directly, that would be even better
<MoeIcenowy> smaeul: I think the GIC interrupt of NMI controller can be just used
<MoeIcenowy> and it's done in 3.10 BSP
<smaeul> I noticed that BSP did it, but for some reason I could never get it to work on mainline
<smaeul> I ended up rewriting crust to not use IRQs at all while linux is running
<smaeul> that way Linux could drive R_INTC
<MoeIcenowy> so why do linux use GIC NMI allow crust to use IRQ?
<MoeIcenowy> have you ever tried to hook GIC NMI to Linux w/o crust running?
jstefanop has quit [Ping timeout: 245 seconds]
return0e has quit [Read error: Connection reset by peer]
<MoeIcenowy> oh maybe I should first equip my system with an alternative wakeup source before trying to debug AXP wakeup
<MoeIcenowy> for example, wakeup by lradc?
<MoeIcenowy> (I'm on PineTab now
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
kaspter has quit [Client Quit]
kaspter has joined #linux-sunxi
<smaeul> MoeIcenowy: if Linux uses the GIC NMI directly, it doesn't need to use R_INTC at all
<smaeul> so crust can use R_INTC as its interrupt controller
<smaeul> It can't be shared, so if Linux needs to use it, crust can't use it at all
<MoeIcenowy> smaeul: maybe AR100 using R_INTC will mask the NMI from GIC
<smaeul> maybe. it's been several months since I tried to get GIC NMI working, so I don't remember if AR100 was running at the time
<MoeIcenowy> smaeul: according to the code, AXP288 should be able to wake up system now
<MoeIcenowy> (on Atom tablets
megi has quit [Ping timeout: 246 seconds]
<MoeIcenowy> so the key to let power key to wake up is just enable wake up capability of NMI controller
nexgen has joined #linux-sunxi
jstefanop has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
jstefanop has quit [Ping timeout: 258 seconds]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
JohnDoe_71Rus has joined #linux-sunxi
AneoX_ has quit [Quit: Textual IRC Client: www.textualapp.com]
_0x5eb_ has quit [Quit: Goodbye!]
jstefanop has quit [Ping timeout: 268 seconds]
jstefanop has joined #linux-sunxi
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 264 seconds]
jstefanop has quit [Ping timeout: 246 seconds]
megi has joined #linux-sunxi
jstefanop has joined #linux-sunxi
BorgCuba has joined #linux-sunxi
diego_r has joined #linux-sunxi
TheSeven has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
jstefanop has quit [Ping timeout: 258 seconds]
superpro1 is now known as superprower
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 246 seconds]
chrisf_ has quit [Ping timeout: 245 seconds]
AneoX has joined #linux-sunxi
diego_r has quit [Ping timeout: 272 seconds]
diego_r has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
airwind has joined #linux-sunxi
tnovotny has joined #linux-sunxi
florian has joined #linux-sunxi
diego_r has quit [Quit: Konversation terminated!]
NeuroScr has joined #linux-sunxi
florian has quit [Ping timeout: 245 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 272 seconds]
florian has joined #linux-sunxi
<fALSO> yo
rpirea has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
chrisf_ has quit [Quit: Ex-Chat]
chrisf_ has joined #linux-sunxi
chrisf_ has quit [Client Quit]
chrisf_ has joined #linux-sunxi
chrisf_ has quit [Quit: Ex-Chat]
chrisf_ has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
craigo has quit [Ping timeout: 272 seconds]
return0e has joined #linux-sunxi
nexgen has quit [Ping timeout: 272 seconds]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
SopaXorzTaker has joined #linux-sunxi
florian_kc has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
Da_Coynul has quit [Client Quit]
Mangy_Dog has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<chrisf_> Did anyone on here deal with Friendly Arm recently? I placed an order on Monday and can't get an answer from them to confirm shipment.
Da_Coynul has joined #linux-sunxi
rpirea has quit [Read error: Connection reset by peer]
Da_Coynul has quit [Client Quit]
airwind has quit [Quit: airwind]
dddddd has joined #linux-sunxi
<BorgCuba> hi, what is r_pio and pio in dts sun81
<BorgCuba> sun8i
<libv> chrisf_: we have the proprietors of loverpi.com and pine64.org here, are very friendly with the olimex crowd, and used to have tom cubie as one of our main supporters/contributors
<libv> but with friendlyarm, you are on your own
<mru> our guy who deals with such companies has complained about friendlyarm
<BorgCuba> are they unfriendly and use mips?
<BorgCuba> btw, why is there a "rohm,dh2228fv" device in the sun8i-h2-plus-orangepi-zero.dts
<mru> presumably there's such a device on the board
<mru> though there seems to be a typo
<karlp> BorgCuba: iirc, r_pio are the pios attached to the always on core, and pio are the ones attached to the soc you normally think of
<mru> dh2228fv doesn't exist, bh2228fv does
<BorgCuba> mru, thats what I found too. But there is no ssop 14pin chip on my board at all
<mru> then I don't know
<mru> I don't have such a board
<BorgCuba> karlp, can you lend me hand going from a fbtft modprobe command line to a tinydrm dts definition? This is my starting point: https://pastebin.com/sxCM9CsF
<BorgCuba> first line is the working fbtft modprobe line
<BorgCuba> now I have some problems since I dont know how to exactly define the gpios for DC and RESET
<chrisf_> libv: Thanks. Understood.
reinforce has joined #linux-sunxi
<MoeIcenowy> BorgCuba: it might be a hack for spidev?
<BorgCuba> MoeIcenowy, what do you mean?
<MoeIcenowy> BorgCuba: check drivers/spi/spidev.c in kernel
<MoeIcenowy> if you directly use "spidev" as the DT compatible string
<MoeIcenowy> it will report a warning
<MoeIcenowy> however there're really some devices that is bound to the spidev driver, which can prevent the warning
<MoeIcenowy> rohm,dh2228fv is one of them
<mru> that's so messed up
<mru> it really should be done like it is for i2c
<MoeIcenowy> mru: however the busses are different
<mru> and?
<MoeIcenowy> i2c can share the bus with the 2 pins
<mru> so can spi
<MoeIcenowy> spi needs a device
<MoeIcenowy> cs per device
<BorgCuba> MoeIcenowy, so you say its only there to suppress warnings?
<MoeIcenowy> BorgCuba: yes
<BorgCuba> okay, i see
<BorgCuba> MoeIcenowy, do you by chance also know how I can get tinydrm running for an ili9341 spi lcd
<BorgCuba> ? :-)
<MoeIcenowy> BorgCuba: I know no about tinydrm
<MoeIcenowy> mru: you do not know whether a spi bus is accessible or not
<mru> same for i2c
<MoeIcenowy> mru: but i2c is full shared bus
<mru> so?
<MoeIcenowy> spi is only partially shared bus
<mru> so what?
<mru> the kernel lets userspace do whatever it wants with i2c
<mru> why not with spi?
<MoeIcenowy> so if you have a device on an I2C bus
<MoeIcenowy> you can just attach more device on the device's I2C pin
<MoeIcenowy> if not excced the ability of the pull-up resistor
<mru> I know how those interfaces work
<MoeIcenowy> mru: the fact is I2C can have a catch all device
<MoeIcenowy> but SPI cannot
<mru> I really don't see any relevant difference
<mru> i2c has a 7-bit address so you can have ~128 devices
<mru> spi can have any number of chipselects
<mru> usually it's only 4 or so
<mru> but it doesn't have to be
<mru> the only real difference is that i2c uses inband addressing while spi doesn't
<BorgCuba> spi can also do full-duplex (my printer can do duplex but I would not call it full-duplex)
<mru> yes, that's also a difference but not really relevant to the topic
<BorgCuba> I agree
gaston_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 245 seconds]
afaerber has quit [Quit: Leaving]
<mru> would a full duplex printer print both sides at the same time?
<BorgCuba> yes, that's what I would call a full duplex printer :)
_0x5eb_ has joined #linux-sunxi
afaerber has joined #linux-sunxi
<BorgCuba> what would you use to send debug info to the log (dmesg)? kprintf?
<BorgCuba> I meant printk
<mru> yes, but use one of the pr_debug, pr_info etc wrappers
<mru> or dev_debug if it's related to a specific device
lurchi_ has quit [Ping timeout: 258 seconds]
duracrisis has quit [Ping timeout: 245 seconds]
arnidg has quit [Quit: ZNC - https://znc.in]
arnidg has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Putti has joined #linux-sunxi
megi has quit [Ping timeout: 258 seconds]
cnxsoft has quit [Quit: cnxsoft]
rexxster has quit [Ping timeout: 245 seconds]
BorgCuba has quit [Remote host closed the connection]
rexxster has joined #linux-sunxi
megi has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
<martinayotte> It seems that OPiPC+ Wifi 8189fs is now crashing in 5.3.0-rc3 while it was working on 5.2.0... Anyone started debugging that ?
<martinayotte> In the meantime, I will check if 5.2.6 is still in good shape ...
chrisf_ has quit [Ping timeout: 244 seconds]
freddor has quit [Write error: Broken pipe]
clementp[m] has quit [Remote host closed the connection]
z3ntu has quit [Write error: Broken pipe]
fevv8[m] has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
EmilKarlson has quit [Write error: Connection reset by peer]
JuniorJPDJ has quit [Write error: Connection reset by peer]
davidebeatrici has quit [Write error: Connection reset by peer]
romainmahoux[m] has quit [Write error: Connection reset by peer]
t4h4[m] has quit [Read error: Connection reset by peer]
_whitelogger has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
gsz has joined #linux-sunxi
florian_kc has quit [Ping timeout: 272 seconds]
florian_kc has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
florian_kc has quit [Ping timeout: 264 seconds]
florian has quit [Quit: Leaving]
Gerwin_J has quit [Ping timeout: 264 seconds]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
freddor has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
z3ntu has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
atopuzov[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
Jeremy_Rand_Talo has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
solderfumes has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
<martinayotte> One more thing I've seen with my OPiPC+ 5.3.0-rc3 : "reboot" give "reaching restart", but stucked, without triggering U-Boot "Restarting".
AneoX_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<martinayotte> BTW, testing with 5.2.6 still in good shape. So, all problems seems to be introduced in 5.3.y.
gaston_ has quit [Quit: Konversation terminated!]
craigo has joined #linux-sunxi
gsz_ has joined #linux-sunxi
gsz_ has quit [Client Quit]
gsz has quit [Ping timeout: 244 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
florian_kc has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
<martinayotte> Same behavior with OPiPlus2E build : Wifi crash + "reboot" hanging ...
aballier has quit [Read error: Connection reset by peer]
jstefanop has joined #linux-sunxi
SopaXorzTaker has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 264 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
Loewe has joined #linux-sunxi
vagrantc has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
tllim has joined #linux-sunxi
jstein has quit [Quit: quit]
netlynx has quit [Quit: Ex-Chat]
ed_peguillan has quit [Quit: Leaving]
lurchi_ has quit [Ping timeout: 276 seconds]
florian_kc has quit [Ping timeout: 258 seconds]
Loewe has quit [Quit: Nettalk6 - www.ntalk.de]
Da_Coynul has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jstein has quit [Quit: quit]
Mangy_Dog has quit [Ping timeout: 245 seconds]
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi