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
GrimKriegor has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
jstein has quit [Remote host closed the connection]
GrimKriegor has quit [Client Quit]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Client Quit]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Client Quit]
Xalius has joined #linux-sunxi
<Xalius> has anyone recently tried booting from SPI flash on A64?
Mr__Anderson has quit [Remote host closed the connection]
<Xalius> I would like to boot my SOPine64 modules from SPI to pull images via network
<Xalius> is this already possible with upstream components?
<beeble> i think everything is merged mainline for spi boot
<Xalius> ok then I will try vanilla mainline first
<Xalius> can the SPI flash be written through FEL?
<anarsoul> Xalius: A64 doesn't support FEL on mainline u-boot
<anarsoul> you'll have to compile 32bit SPL
<Xalius> mmh ok
<Xalius> I can probably just prepare a sdcard for writing SPI flash through u-boot
<Xalius> or just from a running rootfs
<anarsoul> or you can compile 32-bit SPL
<Xalius> thanks
<anarsoul> mripard_: I found what's the problem. PLL_MIPI must be in range of 500MHz .. 1.4GHz
<anarsoul> but driver selects 433777777 for some reason
<anarsoul> mripard_: how do I limit clock range?
ninolein has quit [Ping timeout: 265 seconds]
ninolein has joined #linux-sunxi
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.0]
<anarsoul> however it works fine @432Mhz. Looks like it doesn't like switching parent
<anarsoul> with 2 parents it starts with pll-video0-2x that works fine, then switches to pll-mipi and it doesn't work. If I poke registers to switch back to pll-video0-2x and change dividor - it works
<anarsoul> if it starts with pll-mipi - it works fine with it
<willmore> jernej, From reading that email, it sounds like they are using an N/N-1 type PLL and abusing it cleverly to get a more fractional setup.
<willmore> Is there any way I can be of assistance in understanding that?
cnxsoft has joined #linux-sunxi
dev1990 has quit [Ping timeout: 265 seconds]
GrimKriegor has joined #linux-sunxi
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-sunxi
dev1990 has joined #linux-sunxi
GrimKriegor has quit [Quit: oh bai bai bai]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 272 seconds]
chlorine has joined #linux-sunxi
<anarsoul> nah, looks like it doesn't work with pll-mipi as parent at all. If I leave only pll-mipi as parent, devmem 0x01c20118 still reads 0x82000000
chlorine has quit [Ping timeout: 256 seconds]
<anarsoul> where 2 means CLK_SRC_SEL = 2 = PLL_VIDEO0(2x)
<anarsoul> and display still works even if I disable PLL_MIPI by writing 0x0 to 0x01c20040
<anarsoul> but clk driver believes that tcon0 parent is pll-mipi: https://gist.github.com/anarsoul/0fb4a91355f7e6391aa9b1b4d0f00c7e
<anarsoul> note that pll-mipi and pll-video0-2x run at the same frequency
<anarsoul> but if I do 'devmem 0x01c20118 32 0x80000000' (e.g. switch parent to pll-mipi) display shuts off
<anarsoul> mripard_: ^^
<anarsoul> devmem 0x01c20040 returns 0x90000515 and that confirms that it multiplies input frequency by 2 (n = 6, k = 2, m = 6)
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 248 seconds]
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
GrimKriegor has quit [Quit: oh bai bai bai]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Client Quit]
DonkeyHotei has quit [Ping timeout: 248 seconds]
GrimKriegor has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 265 seconds]
GrimKriegor has joined #linux-sunxi
voxadam has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 265 seconds]
voxadam has joined #linux-sunxi
camh has quit [Ping timeout: 252 seconds]
camh has joined #linux-sunxi
foxx_ has joined #linux-sunxi
<plaes> 9,
TheSeven has joined #linux-sunxi
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-sunxi
chlorine has joined #linux-sunxi
tl_lim has quit [Ping timeout: 265 seconds]
chlorine has quit [Ping timeout: 240 seconds]
qeed has quit [Quit: Leaving]
xes has quit [Ping timeout: 264 seconds]
xes has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<jernej> willmore: Improving explanation or format it more nicely would be great so we can link it from Clock Control Module page.
dave0x6d has quit [Quit: Connection closed for inactivity]
tl_lim has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
DonkeyHotei has joined #linux-sunxi
anarsoul has quit [Ping timeout: 272 seconds]
anarsoul has joined #linux-sunxi
gnufan has joined #linux-sunxi
clemens3 has quit [Ping timeout: 256 seconds]
JohnDoe7 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
<pgreco> wens, sorry for the delay. Adding force_drivers+=" sunxi-rsb axp20x-rsb" to dracut doesn't seem to help. I'll try to rebuild the kernel with all axpXXX settings to y instead of m
<pgreco> any other ideas?
Putti has joined #linux-sunxi
IgorPec has quit [Ping timeout: 272 seconds]
clemens3 has joined #linux-sunxi
ernestask has joined #linux-sunxi
quard has joined #linux-sunxi
petr has quit [Ping timeout: 256 seconds]
Xalius has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
petr has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 260 seconds]
victhor has joined #linux-sunxi
argulp has joined #linux-sunxi
argulp has quit [Quit: Leaving]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 272 seconds]
victhor has quit [Remote host closed the connection]
gnufan has quit [Ping timeout: 256 seconds]
Ntemis has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
embed-3d has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
embed-3d has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
quard has quit [Quit: WeeChat 1.9.1]
chlorine has joined #linux-sunxi
Keziolio has quit [Ping timeout: 265 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
chlorine has quit [Ping timeout: 272 seconds]
<montjoie> wens: which uboot do you use with your bpi M3 ?
<montjoie> I have changed power supply and still lots of packet loss
<montjoie> iperf is impossible
<wens> can't tell you right now, as it's console server is offline :(
<wens> montjoie: but it's the emac patches I sent
Ntemis has quit [Remote host closed the connection]
<icenowy[m]> montjoie: delays tweaked?
<montjoie> icenowy[m]: not change delay at all
<wens> huh?
<wens> so what's the syscon register value?
<montjoie> I have put old uboot and it stop at boot
qeed has joined #linux-sunxi
Keziolio has joined #linux-sunxi
gnufan has joined #linux-sunxi
yann has quit [Ping timeout: 265 seconds]
yann has joined #linux-sunxi
reinforce has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
victhor has joined #linux-sunxi
junnie has joined #linux-sunxi
netlynx has joined #linux-sunxi
buZz has quit [Ping timeout: 255 seconds]
dlan has quit [Ping timeout: 248 seconds]
Nyuutwo has quit [Read error: Connection reset by peer]
Nyuutwo has joined #linux-sunxi
lemonzest has joined #linux-sunxi
junnie has quit [Ping timeout: 248 seconds]
dave0x6d has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<willmore> jernej, I'll try to adapt what's in http://www.ti.com/lit/an/swra029/swra029.pdf to what's on that page. (page 31 of that document talks about fractional N)
<jernej> tnx,
Gerwin_J has quit [Quit: Gerwin_J]
vagrantc has joined #linux-sunxi
foxx_ has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
lurchi__ is now known as lurchi_
<willmore> I'm a couple of decades dusty on this, but I'll see if I can organize a few brain cells.
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 260 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
IgorPec has joined #linux-sunxi
f0xx has quit [Ping timeout: 264 seconds]
jstein has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
matthias_bgg has joined #linux-sunxi
DonkeyHotei has quit [Ping timeout: 265 seconds]
premoboss has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
lurchi_ is now known as lurchi__
Mr__Anderson has quit [Ping timeout: 265 seconds]
Mr__Anderson has joined #linux-sunxi
chlorine has joined #linux-sunxi
liushuyu has joined #linux-sunxi
chlorine has quit [Ping timeout: 265 seconds]
matthias_bgg has quit [Ping timeout: 248 seconds]
<montjoie> wens: I still get packet loss with your uboot
<anarsoul> btw, I'm getting duplicate packets with mainline u-boot on pine64
IgorPec has quit [Ping timeout: 263 seconds]
IgorPec has joined #linux-sunxi
<montjoie> anarsoul: under uboot or after ?
<anarsoul> u-boot
chomwitt has joined #linux-sunxi
f0xx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 248 seconds]
<montjoie> wens: uboot 2017.7 + 4.6.0rc4 no packet drop:)
<montjoie> so good news it's not an hardware problem, but something is bad with recent kernel/uboot
lurchi__ is now known as lurchi_
LargePrime has quit [Quit: Leaving]
liushuyu has quit [Quit: liushuyu]
JohnDoe7 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
buZz has joined #linux-sunxi
liushuyu has joined #linux-sunxi
{mpmc} is now known as mpmc
nemunaire has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
matthias_bgg has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
liushuyu has quit [Quit: liushuyu]
lurchi__ is now known as lurchi_
ninolein has quit [Ping timeout: 265 seconds]
IgorPec has joined #linux-sunxi
lurchi_ is now known as lurchi__
ninolein has joined #linux-sunxi
ernestask has quit [Quit: ernestask]
lurchi__ is now known as lurchi_
nemunaire has joined #linux-sunxi
popolon has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
phipli has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<phipli> Evening folks. Does anybody know the best way to change the size of the spi buffer used by spidev in armbian?
matthias_bgg has quit [Ping timeout: 256 seconds]
<victhor> I'm having a problem with audio on a33 and mainline 4.14, when I try playing sound using e.g. aplay, I get a brief "pop" from the headphone output, then the following happens: usb controller "crashes" and re-enumerates all devices, all output controls are set to volume 0 and muted, and manually unmuting these and increasing the volume does not result in any audio being output from the headphone jack. I was told by a user in this channel
<victhor> that my device might use a different routing than default, but the dts documentation does not describe other audio routes, and all a33 dts in the mainline kernel use the default routes. is this audio routing information documented anywhere?
<victhor> I get no errors on dmesg, other than the ones regarding usb
<victhor> I see 4.15 has changes to the A33 audio codec driver, is it worth it testing that?
Ntemis has joined #linux-sunxi
lurchi_ is now known as lurchi__
chomwitt has quit [Ping timeout: 265 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
jstein_ has joined #linux-sunxi
<BenG83> does anyone know if SPI flash read/write support works in u-boot?
jstein_ is now known as jstein
<Wizzup> BenG83: what boards
<Wizzup> we have a patch set for A10/A20 and A64 at least
<Wizzup> it's also on the u-boot ML
<BenG83> A64 SOPine
<BenG83> trying to find the most convenient way to update SPI flash on a bunch of SOPine modules
<BenG83> for testing the clusterboard
<BenG83> Wizzup, thanks
<Wizzup> It went to the u-boot ML but I don't think it ever got any feedback..
<BenG83> ok I guess I can maybe help with that...
<Wizzup> back later - i
<Wizzup> I'll be lingering
chlorine has joined #linux-sunxi
IgorPec has quit [Ping timeout: 256 seconds]
chlorine has quit [Ping timeout: 272 seconds]
hardfalcon1 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 272 seconds]
Ntemis has quit [Ping timeout: 265 seconds]
chlorine has joined #linux-sunxi
Ntemis has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
lurchi__ is now known as lurchi_
Mr__Anderson has quit [Remote host closed the connection]
<victhor> is there a bug with the a33 (sun8i) usb on mainline? I'm getting terrible performance out of a rtl8153 adapter, I'm using a OTG port with a female-A adapter cable, no hubs
gnufan has quit [Quit: Leaving.]
Ntemis has quit [Read error: Connection reset by peer]
phipli has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__