Turl 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
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
jbrown has quit [Ping timeout: 252 seconds]
vagrantc has quit [Quit: leaving]
ikmaak has quit [Ping timeout: 255 seconds]
kaspter has joined #linux-sunxi
ikmaak has joined #linux-sunxi
delarge has quit [Ping timeout: 276 seconds]
delarge has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
vagrantc has joined #linux-sunxi
aalm has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 252 seconds]
ninolein has quit [Ping timeout: 255 seconds]
ninolein has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
kaspter has quit [Client Quit]
kaspter has joined #linux-sunxi
kaspter has quit [Client Quit]
kaspter has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<smaeul> 4k \o/
<wens> very nice
<wens> now we just have to wait for all the drivers to be submitted merged :)
<anarsoul> cool
<anarsoul> smaeul: did you fix your DVFS issue?
<smaeul> anarsoul: no, I just removed the DVFS support patches
<anarsoul> I see
jbrown has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
akaizen has joined #linux-sunxi
lurchi_ is now known as lurchi__
jbrown has quit [Ping timeout: 240 seconds]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
Gerwin_J has quit [Quit: Gerwin_J]
<anarsoul> MoeIcenowy: did you patch rtl8723cs to compile with 4.13?
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
lurchi__ has quit [Read error: Connection reset by peer]
lurchi__ has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
yann has quit [Ping timeout: 248 seconds]
awais has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
cnxsoft1 is now known as cnxsoft
<oliv3r> since the compaitble and the ID are different strings
<wens> indeed
Gerwin_J has quit [Quit: Gerwin_J]
ykchavan has joined #linux-sunxi
f0xx has joined #linux-sunxi
<oliv3r> i know the dt aims to be backwards/forwards compatible, is the same to be said about the i2c id strings?
<oliv3r> because then i'll send in a rename patch
<oliv3r> (even though there are zero users in arch of said compatible)
<wens> you should ask the i2c maintainer
reinforce has joined #linux-sunxi
<oliv3r> yeah but usually they prefer to be asked with a patch :)
<oliv3r> so renaming the ID and asking the I2C maintainer sounds reasonable, whereas renaming the DT nodes is not really accepted (even there's no current users in the kernel)
<oliv3r> but thanks :) i'll send an e-mail to the i2c list with the patch
leviathanch has joined #linux-sunxi
f0xx has quit [Ping timeout: 252 seconds]
aidin has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
aidin has joined #linux-sunxi
GPenguin has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
<oliv3r> wens: that was indeed the key component, renaming the table id makes the driver now autoload
<wens> there was some discussion about this on the mailing lists, though I can't remember any keywords now
<oliv3r> about general id <--> of matching? or specific to this driver?
<oliv3r> i'm guessing the former, as specifc to this driver would have atleast one good keyboard :)
<oliv3r> keyword :)
tom_nov has joined #linux-sunxi
rpd_ has joined #linux-sunxi
f0xx has quit [Read error: No route to host]
f0xx has joined #linux-sunxi
rpd_ has quit [Changing host]
rpd_ has joined #linux-sunxi
<wens> general id <-> of matching
<wens> and it wasn't limited to i2c I think
<wens> spi also has this issue
<ElBarto> SNES mini have an R16 like the NES mini
<ElBarto> but 2GB of ram (iirc the nes mini had only 256M)
<wens> it might even be the same board? :p
rpd_ has quit [Quit: leaving]
<ElBarto> yes probably :)
rpd_ has joined #linux-sunxi
<ElBarto> yeah doesn't look that different
<ElBarto> will see tonight when I pick up mine
chomwitt has joined #linux-sunxi
msimpson has joined #linux-sunxi
rpd_ has quit [Ping timeout: 255 seconds]
<oliv3r> how are the i2c-id and spi-id used within the kernel/userspace? e.g. what is the effect when renaming these items?
<oliv3r> the alternative solution instead of renaming is to add them, but that sounds like duplication
<oliv3r> if I register a clock via devm_clk_register(), and I don't have the returned clock, can I still enable/disable it? E.g. can I share clocks between 2 reasonably unrelated drivers?
<oliv3r> i do know the name the clock was registered with (init.name) but obviously i can't get that via devm_clk_get, as far as I understand, this only searches the dt?
rpd_ has joined #linux-sunxi
aidin has joined #linux-sunxi
<wens> why don't you have the returned clk?
<wens> export it via DT from one device to the other
<oliv3r> wens: do we have an example that i can follow for that?
<wens> the clock drivers :)
yann has joined #linux-sunxi
aidin has quit [Ping timeout: 240 seconds]
<oliv3r> :p fiar enoguh
\\Mr_C\\ has quit [Quit: .]
<oliv3r> wens: what I meant is, do we have a device that does this already I can learn from?
argulp has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
rpd_ has quit [Quit: leaving]
BenG83 has quit [Remote host closed the connection]
<wens> clock or rtc
<oliv3r> ok i'll look into the rtc then
<oliv3r> i was peeking at the tmds clock, but i think it doesn't do what you suggest?
popolon has joined #linux-sunxi
<oliv3r> e.g. tmds is fed by the pll-0 and pll-1 clocks, but the hdmi driver keeps the tmds clock to itself
nOOb__ has joined #linux-sunxi
<oliv3r> hmm, rtc doesn't have any clk notion for sunxi
LargePrime has quit [Ping timeout: 240 seconds]
lioka has joined #linux-sunxi
<oliv3r> ok i think that's where i missunderstand, the tmds clock should be exposed via sunxi-ng basically i guess, and then one could do devm_clk_get()
<oliv3r> i think i understand now
matthias_bgg has joined #linux-sunxi
<lioka> hi. someone with cubietruck and u-boot 2017.09 ? https://pastebin.ca/3878417
<lioka> it seems woring until first env save
<lioka> then cycles in spl all over
<lioka> 2017.01 was ok for me
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
jstein has quit [Read error: Connection reset by peer]
f0xx has quit [Ping timeout: 248 seconds]
enrico_ has joined #linux-sunxi
<Net147> apparently unloading/unbinding musb-sunxi results in kernel oops...
<wens> lol
<Net147> wens: NULL pointer deference in usb_put_phy. x->dev->driver is NULL (calling usb_phy_generic_unregister makes it NULL and usb_put_phy is called afterwards as a result of detaching the device)
<Net147> wens: so I can either check if x->dev->driver is NULL before using it in usb_put_phy or I can add a call to devm_usb_put_phy at the end of sunxi_musb_exit...
<Net147> wens: any suggestions on which is the right way to fix it? =)
<lioka> 2017.07 boots, but no video, 2017.05 ok. oh well
<wens> oliv3r: you got it wrong
<wens> oliv3r: the tmds clock is part of the hdmi block. it's just implemented and registered with the clock subsystem because it uses clocks from the subsystem, and doing it that way is easier
<wens> oliv3r: check sun6i-rtc, which exports clocks
ykchavan has quit [Remote host closed the connection]
<oliv3r> wens: rgr
<oliv3r> Net147: isn't that a really old bug related to host only mode or something?
kaspter has quit [Quit: kaspter]
<Net147> oliv3r: is it? it's the first time I have tried to unload/unbind musb-sunxi
<oliv3r> it was 1 1/2 - 2 years ago
<Net147> oliv3r: do you have a reference to it?
<Net147> I have always had issues with musb
<Net147> oliv3r: the oops also occurs in otg mode, not just host-only mode
<Net147> to reproduce oops unbinding musb-sunxi (warning: don't try this unless can physically reboot the device as reboot will hang): echo 1c13000.usb > /sys/bus/platform/drivers/musb-sunxi/unbind
f0xx has joined #linux-sunxi
<wens> Net147: sounds like you should do devm_usb_put_phy at the end of sunxi_musb_exit (and also in the probe error path)
<wens> so you can even drop devm_, since it provides no benefit anymore
<Net147> wens: it won't do a double free?
<wens> drop devm_ from devm_usb_get_phy as well
<wens> and also leave a comment about why the sequence of usb phy related calls is needed in this order
<Net147> okay. so adding a null check in usb_put_phy actually breaks other things?
<wens> I don't know, but since the driver is registering the generic phy as well, it stands to reason it should do proper lifetime management and drop references to it before unregistering it?
<Net147> okay
<wens> I don't know how the code is implemented, but if someone were to take a reference on a device, you shouldn't be able to remove it
<wens> so the check in usb_put_phy might be needed, or something else
<wens> but that's the more generic case
<wens> you could bring it up when submitting the musb-sunxi specific patch?
<Net147> wens: will do. thanks for the help.
<Net147> the other issue I have with musb is "Could not flush host TX2 fifo: csr: 2003"...
<Net147> which requires resetting the MUSB controller or reboot to get USB working again
dave0x6d has joined #linux-sunxi
libv_ is now known as libv
clemens3 has joined #linux-sunxi
lerc has quit [Ping timeout: 260 seconds]
techping has joined #linux-sunxi
lerc has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
techping has quit [Remote host closed the connection]
yann-kaelig has joined #linux-sunxi
<oliv3r> Net147: i was kinda bummed out, that unbinding the usb host controller, was the only way to actually turn off the power on the host
kaspter has joined #linux-sunxi
<Net147> oliv3r: or poking the registers...
chomwitt has quit [Ping timeout: 252 seconds]
<oliv3r> yeah, of course
<oliv3r> or just use the gpio pin :p
<oliv3r> but the gpio is set as a power pin right now on the lime boards
<oliv3r> and having a power toggle' ala rfkill would be nice
<oliv3r> i know it doesn't work as easy, as all the usb hosts children would be powered down
<oliv3r> still
<Net147> I don't think you can export pins that are in use?
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
embed-3d_ has joined #linux-sunxi
embed-3d_ has left #linux-sunxi [#linux-sunxi]
jbrown has joined #linux-sunxi
SP7RT has joined #linux-sunxi
p_rossak has left #linux-sunxi ["http://quassel-irc.org - Chat comfortably. Anywhere."]
p_rossak has joined #linux-sunxi
fkluknav has joined #linux-sunxi
p_rossak has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
embed-3d_ has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
SP7RT_ has joined #linux-sunxi
<wens> nope
SP7RT has quit [Ping timeout: 240 seconds]
lemonzest has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Ntemis has joined #linux-sunxi
fkluknav has joined #linux-sunxi
afaerber has joined #linux-sunxi
sr-digitronic has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
SP7RT_ has quit [Ping timeout: 248 seconds]
f0xx has quit [Ping timeout: 240 seconds]
awais has quit [Ping timeout: 252 seconds]
fkluknav has quit [Ping timeout: 248 seconds]
cnxsoft has quit [Quit: cnxsoft]
fkluknav has joined #linux-sunxi
SP7RT has joined #linux-sunxi
msimpson_ has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
nove has joined #linux-sunxi
msimpson_ has quit [Read error: Connection reset by peer]
<marble_visions> all, i'm trying to debug a NAND: 0 MiB issue, where do I start?
* marble_visions is using latest stable CHIP-u-boot
<marble_visions> getting uboot to detect the nand is all i want for the time being
* marble_visions is experimenting with olinuxino-micro
<marble_visions> what i did was take the nfc section of CHIP's dts and put it in the olinuxino dts
putti_ has joined #linux-sunxi
mhlavink has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
<marble_visions> and also added a CONFIG_CMD_NAND=y and CONFIG_NAND_SUNXI=y to olinuxino's defconfig
fkluknav has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
jernej has joined #linux-sunxi
f0xx has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<marble_visions> another interesting thing is that i don't even get to a cmdline
fkluknav has quit [Ping timeout: 246 seconds]
lemonzest has quit [Quit: Quitting]
reinforce has joined #linux-sunxi
lemonzest has joined #linux-sunxi
SP7RT has quit [Ping timeout: 260 seconds]
<sr-digitronic> marble_visions, are you playing around with new MT29F64G08CBABAWP?
fkluknav has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
f0xx has quit [Ping timeout: 240 seconds]
yann has quit [Ping timeout: 255 seconds]
<marble_visions> sr-digitronic: no, apologies, had checked out the incorrect branch
<marble_visions> will see how it goes with production-mlc
yann has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
fkluknav has quit [Ping timeout: 264 seconds]
tom_nov has quit [Quit: Leaving]
f0xx has joined #linux-sunxi
vagrantc has joined #linux-sunxi
diego_r has quit [Ping timeout: 240 seconds]
<marble_visions> hmm, now i've got NAND: ECC init failed: -22 failed to init nand chips and still no command line
ykchavan has joined #linux-sunxi
<marble_visions> removing the nand entry in the DTS got me to a shell
yann has quit [Ping timeout: 248 seconds]
Ntemis has quit [Remote host closed the connection]
sr-digitronic has quit [Remote host closed the connection]
f0xx has quit [Ping timeout: 260 seconds]
<marble_visions> specifying ecc items for the nfc in the dts solved the issue, hooray!
enrico_ has quit [Quit: Bye]
* marble_visions wonders why those params are not required for the ntc-chip DTS
jack_ has joined #linux-sunxi
SP7RT has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
netlynx has quit [Quit: Ex-Chat]
Gerwin_J has quit [Quit: Gerwin_J]
anarsoul|2 has joined #linux-sunxi
vagrantc has quit [Ping timeout: 240 seconds]
nOOb__ has quit [Remote host closed the connection]
argulp has quit [Ping timeout: 248 seconds]
IgorPec has quit [Ping timeout: 240 seconds]
SP7RT_ has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 252 seconds]
vagrantc has joined #linux-sunxi
TheSeven has quit [Read error: Connection reset by peer]
yann has joined #linux-sunxi
TheSeven has joined #linux-sunxi
TheSeven has quit [Remote host closed the connection]
lemonzest has quit [Quit: Quitting]
TheSeven has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
GPenguin has quit [Quit: Leaving]
antony has quit [Quit: Leaving.]
vagrantc has quit [Quit: leaving]
SP7RT_ has quit [Ping timeout: 240 seconds]
aalm has quit [Quit: xyz 1.9]
SP7RT has joined #linux-sunxi
scream has joined #linux-sunxi
f0xx has joined #linux-sunxi
nove has quit [Quit: nove]
vagrantc has joined #linux-sunxi
libv has quit [Write error: Connection reset by peer]
libv has joined #linux-sunxi
fkluknav has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
bonbons has joined #linux-sunxi
antony has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
ykchavan has quit [Quit: Leaving]
vagrantc has quit [Quit: leaving]
anarsoul|2 has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-sunxi
f0xx has quit [Ping timeout: 252 seconds]
bonbons has quit [Quit: Leaving]
Ntemis has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
argulp has joined #linux-sunxi
aalm has joined #linux-sunxi
chomwitt has joined #linux-sunxi
<aalm> hi, would someone please take a look at this: https://marc.info/?l=openbsd-arm&m=150645653511890&w=2 ? in short, two i2c nodes in sunxi-h3-h5.dtsi are sharing the same address, guessing it's just a copy-paste gone wrong.
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
libv_ has quit [Read error: Connection reset by peer]
libv has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
SP7RT_ has quit [Ping timeout: 240 seconds]
martinayotte has joined #linux-sunxi
jernej has quit [Ping timeout: 252 seconds]
<martinayotte> Right ! Good catch ! :-) ... But in Armbian, Zador catched it 20 days ago : https://github.com/armbian/build/blob/master/patch/kernel/sunxi-next/fix-i2c2-reg-property.patch
fugitive has joined #linux-sunxi
msimpson has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
jack_ has quit [Quit: jack_]
anarsoul|2 has quit [Ping timeout: 240 seconds]
scream has quit [Remote host closed the connection]
diego_r has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
ykaelig has joined #linux-sunxi
msimpson has quit [Ping timeout: 240 seconds]
yann-kaelig has quit [Ping timeout: 240 seconds]
ykaelig is now known as yann-kaelig
jbrown has joined #linux-sunxi
ykaelig has joined #linux-sunxi
yann-kaelig has quit [Ping timeout: 260 seconds]
IgorPec has joined #linux-sunxi
chomwitt has quit [Ping timeout: 252 seconds]
IgorPec has quit [Ping timeout: 248 seconds]
lurchi__ is now known as lurchi_
yk has joined #linux-sunxi
ykaelig has quit [Read error: Connection reset by peer]
ykaelig has joined #linux-sunxi
yk has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
dev1990 has quit [Quit: Konversation terminated!]
argulp has quit [Ping timeout: 260 seconds]
Ntemis has quit [Remote host closed the connection]
diego_r has quit [Ping timeout: 248 seconds]