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
<MoeIcenowy> TheLinuxBug: I also have my C.H.I.P. shipped from HK
<MoeIcenowy> It's said to be shipped from June 22, but now the tracking status shows still that it's located in HK
<MoeIcenowy> wens: I found that, according to the register name, AC100 seems to have some relation with A33/64 audio codec
<MoeIcenowy> (so does AXP818 audio codec
xalius has joined #linux-sunxi
xalius has quit [Client Quit]
firnsy_ is now known as firnsy
apritzel has quit [Ping timeout: 244 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 272 seconds]
arete74 has quit [Ping timeout: 244 seconds]
arete74 has joined #linux-sunxi
FergusL has quit [Ping timeout: 240 seconds]
FergusL has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<MoeIcenowy> wens: I think A33 CPUFreq should be added to mainline dts
<MoeIcenowy> I mean dtsi
<MoeIcenowy> so does A23
<MoeIcenowy> as A23/33 is usually used on tablets
<MoeIcenowy> CPUFreq means not only thermal throttle but also power saving
<MoeIcenowy> how to add cpufreq support to dt?
<MoeIcenowy> I tried to add clocks, clock-latency, operating-points to cpu@0 node in sun8i-a23-a33.dtsi
<MoeIcenowy> added assigned-clocks, assigned-clock-parents to ahb1 ( according to a20/31 dtsi)
<MoeIcenowy> and cpu0.cpu-supply to sun8i-q8-common.dtsi
<MoeIcenowy> it doesn't work...
fire219 has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
medvid has quit [Ping timeout: 264 seconds]
reev has joined #linux-sunxi
[7] has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
fredy_ has joined #linux-sunxi
FergusL has quit [*.net *.split]
fredy has quit [*.net *.split]
tomboy65 has quit [*.net *.split]
arossdotme has quit [*.net *.split]
edolnx has quit [*.net *.split]
nihcas has quit [*.net *.split]
zerotri has quit [*.net *.split]
kaspter has quit [Ping timeout: 246 seconds]
fredy_ is now known as fredy
IgorPec has quit [Ping timeout: 252 seconds]
fredy is now known as Guest51156
edolnx has joined #linux-sunxi
arossdotme has joined #linux-sunxi
vagrantc has joined #linux-sunxi
IgorPec has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
vagrantc has quit [Ping timeout: 240 seconds]
<wens> MoeIcenowy: axp818 is a pmic and ac100 roled into 1
<wens> yikes... so happy we did not start a war yesterday...
zuikis has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
vagrantc has joined #linux-sunxi
gzamboni has quit [Remote host closed the connection]
gzamboni has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
apritzel has quit [Ping timeout: 244 seconds]
IgorPec11 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
IgorPec11 has quit [Read error: Connection reset by peer]
IgorPec11 has joined #linux-sunxi
IgorPec12 has joined #linux-sunxi
IgorPec11 has quit [Ping timeout: 244 seconds]
IgorPec13 has joined #linux-sunxi
IgorPec12 has quit [Ping timeout: 260 seconds]
jstein_ has joined #linux-sunxi
jstein_ has quit [Remote host closed the connection]
Dodger78_ has joined #linux-sunxi
<Dodger78_> hi, is i2s /spdif possible on mainline cubietruck now?
Netlynx has joined #linux-sunxi
paulk-nyan-big has joined #linux-sunxi
lemonzest has joined #linux-sunxi
IgorPec13 has quit [Ping timeout: 250 seconds]
premoboss has joined #linux-sunxi
paulk-nyan-big has quit [Quit: Leaving]
IgorPec13 has joined #linux-sunxi
apritzel has joined #linux-sunxi
reev has quit [Read error: Connection reset by peer]
integfred has joined #linux-sunxi
<integfred> libv: I am interested in your lima driver. Apparently you showed some code at FOSDEM '14 but you hadn't released it or something?
<integfred> libv: or is all the code you have on the driver released?
<wens> Dodger78_: both drivers have been merged
<wens> Dodger78_: iirc spdif is also enabled on the cubietruck
IgorPec13 has quit [Ping timeout: 250 seconds]
<wens> I'm not sure how CONFIG_MAX_CPUS is used though.
<wens> oops
OverCR1 has joined #linux-sunxi
OverCR has quit [Ping timeout: 246 seconds]
ricardocrudo has joined #linux-sunxi
gzamboni has quit [Ping timeout: 250 seconds]
paulk-nyan-big has joined #linux-sunxi
gzamboni has joined #linux-sunxi
<Dodger78_> @wens , what do i need to do to get it working? the red light of spdif on my cubie isnt lighted
kaspter has joined #linux-sunxi
<wens> Dodger78_: did you enable the driver? did you update the dts?
<wens> check /proc/asound/cards
NiteHawk has quit [Remote host closed the connection]
<Dodger78_> the cards lists spdif
<Dodger78_> and i enabled the newly added i2s
NiteHawk has joined #linux-sunxi
NiteHawk has quit [Changing host]
NiteHawk has joined #linux-sunxi
<Dodger78_> im not 100% sure about the dts , i got a kernel of tag 1.7
<Dodger78_> date
<wens> for i2s you need to edit the dts yourself
<wens> i2s is only the interface, you still need to pair it with a codec
<Dodger78_> ahhhhh ! this is the info i needed
<Dodger78_> is there documentation anywhere for it ?
<wens> as for spdif, not sure if dapm (?) is disabling the output until you actually play something
<wens> Dodger78_: not that i know of. what codec are you using?
<Dodger78_> dont know , i expected that when i do a normal audio playback ( my cubie is also a sound server via mpd ) that spdif would play the same stream
<wens> that is not how alsa works
<wens> audio is only played to the "default" soundcard
<wens> which would probably be the internal codec
<Dodger78_> sorry im not a audio specialist , do i need to choose the "spdif" soundcard
<wens> yes you do
<wens> i don't remember the alsa conf settings, but most audio players let you specify the output device
<Dodger78_> ah ok, and then it should be working ? where can i switch / assign the card ? alsamixer ?
<Dodger78_> found a entry in my mpd.conf which i need to switch i guess
<wens> this should help
<Dodger78_> thanks again wens ! i will give it a shot
<wens> Dodger78_: setting "device" to "hw:1" should make it work
OverCR1 has quit [Quit: Leaving.]
cptG_ has joined #linux-sunxi
OverCR has joined #linux-sunxi
cptG has quit [Ping timeout: 264 seconds]
<Dodger78_> it works ! thanks alot , it was really only the hw:1 and matching the name
vagrantc has quit [Quit: leaving]
IgorPec13 has joined #linux-sunxi
premoboss has quit [Quit: Sto andando via]
<wens> :)
integfred has left #linux-sunxi [#linux-sunxi]
IgorPec14 has joined #linux-sunxi
OverCR has quit [Quit: Leaving.]
OverCR has joined #linux-sunxi
IgorPec13 has quit [Ping timeout: 276 seconds]
OverCR has quit [Client Quit]
kaspter has quit [Ping timeout: 244 seconds]
paulk-nyan-big has quit [Quit: Leaving]
reinforce has joined #linux-sunxi
IgorPec14 has quit [Ping timeout: 252 seconds]
vagrantc has joined #linux-sunxi
premoboss has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
OverCR has joined #linux-sunxi
<MoeIcenowy> wens: a33/a64's volume control is in prcm module...
fire219 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
nove has joined #linux-sunxi
<wens> MoeIcenowy: yup
<wens> the analog stuff is in the PRCM, with another regmap like interface
<jmcneill> Is there a datasheet for that?
OverCR has quit [Quit: Leaving.]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apritzel has quit [Ping timeout: 244 seconds]
OverCR has joined #linux-sunxi
pmattern has joined #linux-sunxi
FergusL has joined #linux-sunxi
vagrantc has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
Chrishas has joined #linux-sunxi
aalm has joined #linux-sunxi
<Chrishas> hi, does anyone know if NEXT(4096) and ALIGN(4096) in a linker script should have the same result?
gzamboni has quit [Ping timeout: 258 seconds]
<nove> Chrishas: maybe the linker documentation is of any help https://sourceware.org/binutils/docs-2.26/ld/Builtin-Functions.html, but the only thing i can say, is that i am not familiar with uboot or the linker script used to be able to answer this question
OverCR has quit [Read error: Connection reset by peer]
medvid has joined #linux-sunxi
gzamboni has joined #linux-sunxi
zuikis has quit [Remote host closed the connection]
zuikis has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
premoboss has quit [Quit: Sto andando via]
<nove> Chrishas: my bad, is not uboot, but seen the script (if what i am seen is the same), then then is only memory block in the MEMORY command
Amit_t_ has joined #linux-sunxi
<nove> Chrishas: but maybe you should find and update the compiler and linker to one that doesn't give the error
cnxsoft has quit [Quit: cnxsoft]
The_Loko has joined #linux-sunxi
The_Loko has quit [Client Quit]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
igraltis1 has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-6627-gf708225, sources date: 20160102, built on: 2016-05-12 17:32:15 UTC git-6627-gf708225 http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
IgorPec14 has joined #linux-sunxi
BenG83 has joined #linux-sunxi
mnemoc has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Amit_t_ has joined #linux-sunxi
IgorPec14 has quit [Ping timeout: 276 seconds]
jernej has joined #linux-sunxi
IgorPec14 has joined #linux-sunxi
Nacho has joined #linux-sunxi
apritzel has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
pmattern has quit [Quit: Genug für heute.]
<apritzel> ssvb: just managed to convince the SPL to load a FIT image - with multiple binaries
<apritzel> from both MMC and SPI NOR flash
<apritzel> so I can load U-Boot and ATF
reinforce has joined #linux-sunxi
<apritzel> also other images like a kernel or initrd
IgorPec14 has quit [Ping timeout: 252 seconds]
<apritzel> now we are just missing the DRAM bits
<aalm> for?
<Amit_t_> FIT image include all the Images(ATF , U-Boot, kernel and initrd) ?
<NiteHawk> aalm: for building a complete U-Boot (SPL) without having to link against the binary-only libdram
p1u3sch1 has joined #linux-sunxi
<apritzel> NiteHawk: eventually yes, for the time it's still using libdram of course
<apritzel> aalm: for the Pine64
<aalm> ic, cool :)
<apritzel> in the moment the SPL on Allwinner boards just load U-Boot, nothing else
<aalm> i actually came to ask when to expect eth support in the mainline u-boot for pine64p
<apritzel> aalm: it's kind of working already
* vagrantc is excited to see what the pine64 support will look like in two weeks
<apritzel> thanks to Amit_t_
<apritzel> aalm: I will try to clean it up and post something
<apritzel> problem so far was that we need to load and run ATF _before_ running U-Boot
<Amit_t_> ok with FIT Image , its not required ?
Amit_t__ has joined #linux-sunxi
Nacho has quit [Ping timeout: 276 seconds]
<apritzel> no, FIT image allows multiple images to be bundled together and loaded at different locations
Nacho has joined #linux-sunxi
<apritzel> that's what we need
Amit_t_ has quit [Ping timeout: 250 seconds]
<apritzel> and that's what Allwinner's boot0 does: load ATF, load arisc, load U-Boot, jump to ATF (which drops back to U-Boot)
<BenG83> sounds great :)
<apritzel> the classic SPL on sunxi can only load a single (legacy U-Boot) image and jump to it
<BenG83> would it be possible to trace what libdram does via JTAG?
<apritzel> why would you do it? You can just disassemble it ;-)
<BenG83> right
<apritzel> actually I started this already (about 40% through)
<Amit_t__> but order of execution would remain, right ?
<Amit_t__> *would remain same
<apritzel> yes, though we can now easily change this if we want
<Amit_t__> ok, it would now speed up the process.
<Amit_t__> Thanks
vagrantc has quit [Quit: leaving]
<Amit_t__> apritzel: Could you please provide the filesystem you use for guest on pine64(I tried to use host filesystem but some how its not getting me prompt)
<apritzel> the host one should work, you may have to adjust the serial console though
<apritzel> QEMU uses ttyAMA0 or hvc0
<apritzel> not ttyS0
apritzel has quit [Ping timeout: 244 seconds]
pseudomind has joined #linux-sunxi
<Amit_t__> apritzel: I used it(ttyAMA0), http://paste.ubuntu.com/18314173/
<Amit_t__> Last boot message was * Stopping userspace bootsplash[ OK ]
Amit_t_ has joined #linux-sunxi
Amit_t__ has quit [Ping timeout: 250 seconds]
pmattern has joined #linux-sunxi
IgorPec has joined #linux-sunxi
staplr has joined #linux-sunxi
pseudomind has quit [Quit: pseudomind]
phipli has quit [Ping timeout: 258 seconds]
Amit_t_ has quit [Ping timeout: 250 seconds]
pseudomind has joined #linux-sunxi
Amit_t_ has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
jernej has quit [Ping timeout: 260 seconds]
Chrishas has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
vagrantc has joined #linux-sunxi
BenG83 has quit [Ping timeout: 258 seconds]
lennyraposo has quit [Quit: Leaving.]
pseudomind has quit [Quit: pseudomind]
<jelle> hmm anyone know anyone who is familiar with domintech accel's?
apritzel has joined #linux-sunxi
heffer has quit [Remote host closed the connection]
heffer has joined #linux-sunxi
<apritzel> Amit_t_: but depending on your rootfs you have to tell it where it shall generate login prompts
<apritzel> Amit_t_: is this Ubuntu 14.04?
heffer has quit [Remote host closed the connection]
<Amit_t_> apritzel: Thank you for the hint, I was missing ttyAM0.conf for guest filesystem.
<Amit_t_> I can smoothly boot the guest now
igraltis2 has joined #linux-sunxi
igraltis1 has quit [Ping timeout: 260 seconds]
igraltis2 has quit [Client Quit]
heffer has joined #linux-sunxi
IgorPec has quit [Ping timeout: 272 seconds]
popolon has joined #linux-sunxi
<Amit_t_> apritzel: I couldn't get all the four serial probed on pine64 , is there any thing needs to be enabled ?
zuikis has left #linux-sunxi [#linux-sunxi]
valkyr1e has quit [Quit: Bye.]
valkyr1e has joined #linux-sunxi
pekka10 has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
staplr has quit [Ping timeout: 250 seconds]
Netlynx has quit [Quit: Leaving]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tsuggs has quit [Ping timeout: 272 seconds]
Da_Coynul has joined #linux-sunxi
staplr has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vagrantc has quit [Quit: leaving]
paulk-nyan-big has joined #linux-sunxi
nove has quit [Quit: nove]
staplr has quit [Read error: Connection reset by peer]
somedude23 has quit [Quit: Ex-Chat]
libv_ has joined #linux-sunxi
al1o has joined #linux-sunxi
libv has quit [Ping timeout: 276 seconds]
<apritzel> Amit_t: there is only UART0 enabled in the DT
<apritzel> usually header pins are not assigned to certain functions, cause people may want to use GPIO on them
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-6627-gf708225, sources date: 20160102, built on: 2016-05-12 17:32:15 UTC git-6627-gf708225 http://www.kvirc.net/]
<apritzel> Amit_t_: if you need them, look at ..pine64-common.dtsi and copy and adjust the uart0 node
<Amit_t_> apritzel: ok, I think I looked at it, let me check again.
BenG83 has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
jstein__ has joined #linux-sunxi
jstein is now known as Guest2482
jstein__ is now known as jstein
Guest2482 has quit [Ping timeout: 246 seconds]
ixnus has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
xalius has joined #linux-sunxi
Chrishas has joined #linux-sunxi
Chrishas has quit [Client Quit]
Chrishas has joined #linux-sunxi
Chrishas has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tsuggs has joined #linux-sunxi
paulk-nyan-big has quit [Quit: Leaving]
ricardocrudo has quit [Remote host closed the connection]
libv_ is now known as libv
pmattern has quit [Quit: Genug für heute.]
reinforce has quit [Quit: Leaving.]