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
skiboy has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
nuuuciano has joined #linux-sunxi
adj__ has joined #linux-sunxi
adj_ has quit [Ping timeout: 248 seconds]
fevv8[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
ch40s[m] has joined #linux-sunxi
kuhn has joined #linux-sunxi
t4h4 has joined #linux-sunxi
icenowy[m] has joined #linux-sunxi
oliv3r has joined #linux-sunxi
yann_soubeyrand has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
hitech95 has quit [Ping timeout: 240 seconds]
clemens31 has quit [Ping timeout: 240 seconds]
clemens3_ has quit [Ping timeout: 256 seconds]
adj__ has quit [Read error: Connection reset by peer]
adj_ has joined #linux-sunxi
naggety has quit [Ping timeout: 265 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
adj__ has joined #linux-sunxi
skiboy has quit [Quit: Leaving]
adj_ has quit [Ping timeout: 255 seconds]
anarsoul|2 has quit [Quit: Leaving]
popolon has quit [Quit: WeeChat 1.9.1]
jaydcarlson has quit [Ping timeout: 245 seconds]
naggety has joined #linux-sunxi
jaydcarlson_ has joined #linux-sunxi
kaspter has joined #linux-sunxi
sunshavi has quit [Ping timeout: 245 seconds]
sunshavi has joined #linux-sunxi
<jaydcarlson_> Does anyone know if the V3s requires external pull-ups for SDIO? Many processors can get by with the internal pull-ups.
jaydcarlson_ has quit [Ping timeout: 260 seconds]
kozy has joined #linux-sunxi
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wens> the soc has internal pull-ups if you need them, but they are weak
nots has quit [Quit: Page closed]
return0e has quit [Remote host closed the connection]
return0e has joined #linux-sunxi
jaydcarlson_ has joined #linux-sunxi
jaydcarlson_ has quit [Ping timeout: 264 seconds]
paulliu has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 276 seconds]
rexxster has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
jaydcarlson_ has joined #linux-sunxi
TheSeven has quit [Ping timeout: 276 seconds]
naggety has quit [Remote host closed the connection]
naggety has joined #linux-sunxi
TheSeven has joined #linux-sunxi
Redfoxmoon has quit [Ping timeout: 240 seconds]
Redfoxmoon has joined #linux-sunxi
IgorPec has joined #linux-sunxi
SP7RT has quit [Read error: Connection reset by peer]
rexxster has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 276 seconds]
nuuuciano has joined #linux-sunxi
anarsoul has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
leviathan has joined #linux-sunxi
leviathan has quit [Client Quit]
leviathan has joined #linux-sunxi
foxx_ has joined #linux-sunxi
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
Andy-D_ has joined #linux-sunxi
montjoie has joined #linux-sunxi
dgp has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 245 seconds]
dgp has joined #linux-sunxi
gnufan has quit [Quit: Leaving.]
qeed has quit [Quit: Leaving]
airwind has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 268 seconds]
pablet has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
massi has joined #linux-sunxi
clemens31 has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
xerpi has joined #linux-sunxi
IgorPec has joined #linux-sunxi
indy has quit [Read error: Connection reset by peer]
megi has joined #linux-sunxi
clemens31 has quit [Ping timeout: 264 seconds]
indy has joined #linux-sunxi
[Killy] has quit [Quit: from 6k deeper lvls, I arriving.]
msimpson has joined #linux-sunxi
clemens31 has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
<pablet> Hi everyone! I have a tiger-cdr board (V3S) with a spi NOR flash and I mounted a pin-compatible spi NAND flash on it. But now I cannot boot from it. I was trying to modify U-Boot, but I'm a bit lost at this point. Do I need to set all NAND-related config flags on the config file? or are these intended to handle a standard NAND flash?
dddddd has joined #linux-sunxi
<dgp> pablet: does the v3s bootrom support spi nand? I can't remember seeing that
aalm has quit [Ping timeout: 256 seconds]
aalm has joined #linux-sunxi
jaydcarlson_ has quit [Ping timeout: 240 seconds]
<pablet> dgp: I am not sure, but I saw some boards mounting spi nand, so I guess it should be possible...
grw has quit [Ping timeout: 256 seconds]
* dgp looking at the datasheet..
<dgp> I'm working on a v3s board with spi nor at the moment :)
<dgp> Does look like the bootrom supports booting from spi nand. My guess would be it's some uboot configuration thing or the SPL doesn't support spi nand at all yet
matthias_bgg has joined #linux-sunxi
<pablet> I didn't try SPL, maybe I should
<dgp> pablet: you need to have the SPL and then real uboot on the flash. At the right places
Redfoxmoon has quit [Changing host]
Redfoxmoon has joined #linux-sunxi
reinforce has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
dh1tw has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
BenG83 has quit [Ping timeout: 260 seconds]
hitech95 has joined #linux-sunxi
foxx_ has quit [Read error: Connection reset by peer]
foxx_ has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
<hitech95> guys i have a question related on the problem I had yesterday. The A33/R16 have the external 32K clock output pin. This looks to be controlled by a gate in the RTC. I would like to know how i can enable/disable that gate. https://github.com/torvalds/linux/blob/master/drivers/rtc/rtc-sun6i.c#L256
foxx_ has quit [Ping timeout: 240 seconds]
f0xx has joined #linux-sunxi
<wens> from userspace? you can't.
<wens> the common clock framework is only usable from kernel space
<hitech95> wens, my idea was to create a dummy module to request the clock.
<KotCzarny> what about devmem?
<hitech95> That clock is used by a BT module. I triedto use the devmem2 to write to the right register but nothing happens.
foxx_ has joined #linux-sunxi
f0xx has quit [Ping timeout: 268 seconds]
<KotCzarny> you probably need to lax the kernel mem access for that tho
<hitech95> KotCzarny, how?
<KotCzarny> dont remember the option name, its in debug kernel config menu
<wens> hitech95: explain "nothing happens"
reinforce has quit [Quit: Leaving.]
<hitech95> wens, I have the scope attached on that pin on the input of the AP6212 but even if i write that register nothing comes out. The external 32k osc is up and running (tried with a scope in the pins)
hardfalcon has quit [Ping timeout: 265 seconds]
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wens> I assume you read back the register to check that the bit toggle worked?
<wens> hitech95: aside, if you want the kernel to do everything for you, serdev and associated stuff is the way to go
<wens> hitech95: but we had some trouble getting the btbcm driver to work properly :/
xes has quit [Ping timeout: 260 seconds]
adj__ has quit [Remote host closed the connection]
nuuuciano has quit [Ping timeout: 264 seconds]
naggety has quit [Ping timeout: 248 seconds]
hardfalcon has joined #linux-sunxi
<hitech95> wens, do you have a reference or something? just to understand! Right now I would like to have a lock and a reset line working for the blootooth. than i will see how it works. (I'm still tring to understand how the wireless section works without having the wakeup signals managed in the driver (my DTS has no reference to those signals)
adj_ has joined #linux-sunxi
naggety has joined #linux-sunxi
f0xx has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
dh1tw has joined #linux-sunxi
foxx_ has quit [Ping timeout: 265 seconds]
MoeIcenowy has joined #linux-sunxi
MoeIcenowy has quit [Client Quit]
MoeIcenowy has joined #linux-sunxi
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xes has joined #linux-sunxi
<hitech95> wens, according to this it shuld be merged, but is not working right? https://github.com/torvalds/linux/blob/master/drivers/bluetooth/hci_bcm.c
matthias_bgg has quit [Quit: Leaving]
<MoeIcenowy> mripard, wens: should I keep "allwinner,sun50i-a64-sram-controller" compatible in the sunxi_soc driver source code? (it's already there
<MoeIcenowy> (and then add the "allwinner,sun50i-a64-system-controller" compatible and the !"syscon"
<hitech95> MoeIcenowy, sorry for ping. You'r one of the developer of the audio codec on sunxi right? I asked lot's of times ago a an info and i'v been told thet only a couple of people knows how that work. Can I ask you a couple of questions? (In any case thanks for the great works)
xes has quit [Ping timeout: 240 seconds]
dh1tw has joined #linux-sunxi
raknaz has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 248 seconds]
xerpi has quit [Quit: Leaving]
<MoeIcenowy> hitech95: you can ask although I cannot guarrantee to be able to answer...
<MoeIcenowy> I don't know it well either
f0xx has quit [Ping timeout: 260 seconds]
raknaz has quit [Quit: Leaving]
raknaz has joined #linux-sunxi
<hitech95> MoeIcenowy, oh thx. I try to ask. I have a A33/R16 board. Alsa sees the codec but for some odd reason also the mics and line in are in the playback side. I read the user manual of the soc and I got more confused. To mee looks like that the codec can treat all the input and mix it toghether via some mux/amplifiers. So for example to have a loopback. I think that there should be a way to turn the microphones and line input to the recording side. I
<hitech95> asked tome times ago also in mainling list but i'm not lucky! My questions in details: https://groups.google.com/forum/#!searchin/linux-sunxi/audio%7Csort:date/linux-sunxi/zANx5A9v9Fc/oBVienYKAwAJ
t3st3r has quit [Ping timeout: 250 seconds]
xes has joined #linux-sunxi
f11f12 has joined #linux-sunxi
raknaz has quit [Quit: Leaving]
hardfalcon has joined #linux-sunxi
f0xx has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
matthias_bgg has joined #linux-sunxi
imcsk8_ has joined #linux-sunxi
imcsk8 has quit [Ping timeout: 268 seconds]
<MoeIcenowy> hitech95: it's really beyond what I know
f0xx has quit [Ping timeout: 276 seconds]
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LargePrime has quit [Ping timeout: 260 seconds]
<hitech95> MoeIcenowy, thx. Can you give me the nick of the right person?
<wens> hitech95: that's because the controls affect both playback and capture
<wens> hitech95: they are pre-gain controls
<wens> hitech95: the actual "mixer" is just on/off switches
BenG83 has joined #linux-sunxi
LargePrime has joined #linux-sunxi
qeed has joined #linux-sunxi
megi has quit [Ping timeout: 248 seconds]
airwind has quit [Quit: Lost sanity]
f0xx has joined #linux-sunxi
megi has joined #linux-sunxi
dc13ff has joined #linux-sunxi
nuuuciano has quit [Read error: Connection reset by peer]
rexxster has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
SP7RT has joined #linux-sunxi
BenG83_ has joined #linux-sunxi
phdeswer has joined #linux-sunxi
phdeswer has quit [Ping timeout: 245 seconds]
<MoeIcenowy> wens: should the regmap exported by sunxi_sram have strict ACL?
diego_r has joined #linux-sunxi
LargePrime has quit [Ping timeout: 255 seconds]
fkluknav has joined #linux-sunxi
<wens> MoeIcenowy: it's mostly finished on my end # https://github.com/wens/linux/tree/a64-syscon
<MoeIcenowy> wens: ok, it's fortunate that the aosc.io mail server is broken today ;-)
IgorPec has quit [Ping timeout: 245 seconds]
LargePrime has joined #linux-sunxi
<wens> sorry, I was crazy busy last month on a business trip
<MoeIcenowy> wens: then are you working on master mode of axp80x?
<wens> didn't get much free time to rework the stuff to a sendable state
<MoeIcenowy> ah don't worry I'm also trapped into some disease
<MoeIcenowy> ;-)
<wens> uh, that sounds painful :(
<wens> about axp80x, I have some patches already made, but might need to revisit the discussion with andre on the ML
sunshavi has quit [Ping timeout: 240 seconds]
<ElBarto> axp 80x master mode ?
sunshavi has joined #linux-sunxi
<MoeIcenowy> oh I mean axp80{5,6,8}
msimpson has quit [Read error: Connection reset by peer]
<MoeIcenowy> which is simply some regulators
<ElBarto> that's the "master mode" part that I didn't understand
<MoeIcenowy> it can be used with a axp809
<MoeIcenowy> as a "slave"
<MoeIcenowy> and it can be used with one piece of themselves
<MoeIcenowy> one "master" and one "slave"
<hitech95> wens, but if I do arecord -l i don't see anything to record with. Is that correct?
<ElBarto> uh ok
<MoeIcenowy> and it can be used singly
<MoeIcenowy> "standalone"
clemens31 has quit [Ping timeout: 240 seconds]
<wens> hitech95: capture might not be implemented yet :)
<MoeIcenowy> wens: sorry but don't find the discussion
<MoeIcenowy> not at linux-sunxi?
<wens> I don't quite remember right now
<wens> MoeIcenowy: it's in the thread "arm64: allwinner: h6: enable MMC0/2 on Pine H64"
<MoeIcenowy> wens: oh this part... I think it's not a problem
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<MoeIcenowy> he just wants the AXP80x patches are present ASAP
<MoeIcenowy> (and make it a requirment of the MMC patchset
pablet has quit [Quit: Page closed]
Andy-D__ has joined #linux-sunxi
leviathan has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 260 seconds]
<wens> sounds like I need to get things going
massi has quit [Ping timeout: 260 seconds]
aalm has quit [Ping timeout: 245 seconds]
Andy-D_ has joined #linux-sunxi
BenG83 has quit [Ping timeout: 248 seconds]
Andy-D__ has quit [Ping timeout: 264 seconds]
clemens31 has joined #linux-sunxi
fkluknav has quit [Ping timeout: 256 seconds]
dc13ff has quit [Quit: Connection closed for inactivity]
massi has joined #linux-sunxi
diego_r has quit [Ping timeout: 260 seconds]
<hitech95> wens, can I ask you some more informations about the serdev and Bt problems you told me before?
fkluknav has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
dlan has quit [Ping timeout: 240 seconds]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
clemens31 has quit [Ping timeout: 248 seconds]
<wens> hitech95: ask mripard, he did the tests, and might still have a wip branch around
<hitech95> wens, ok. He is in my timezone. Perfect. I'll try ti ping him later or tomorrow.
lurchi_ has quit [Remote host closed the connection]
<hitech95> wens, according to a old irc log I have seen that also mripard had problems related to BT with my same board (bpi m2m). He was working with MoeIcenowy.
massi has quit [Remote host closed the connection]
fkluknav has quit [Ping timeout: 260 seconds]
IgorPec has joined #linux-sunxi
reinforce has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<jernej> but since I wasn't paying much of attention about that, I might be wrong
<MoeIcenowy> jernej: have you find the corresponding MMIO area for the DE2 SRAM?
<MoeIcenowy> on H6
<jernej> you mean for sram controller?
<MoeIcenowy> yes
<MoeIcenowy> currently all SRAM areas are MMIOed
<MoeIcenowy> when controlled by sunxi_sram
<hitech95> jernej, yup i have seen that commit. Right now i'm having problems on generating the 32k clock for the bt module. I'm tring to understand how the linux firmware interface work to load the blob from userspace. than i'll try to us ethe same driver used by the rpi (hoping for a working BT)
afaerber has quit [Quit: Leaving]
<jernej> MoeIcenowy: H6 needs exactly the same bit at the register located on the same address as A64 to be enabled in order to access DE3 MMIO
<MoeIcenowy> yes, but where's the SRAM controlled by the bit?
<jernej> you mean in my code?
<MoeIcenowy> no
<MoeIcenowy> on hardware
BenG83 has joined #linux-sunxi
<jernej> ah, you mean where is the memory location of SRAM region shared by DE3, if it is set to be accessed by CPU instead of DE3?
<jernej> I never checked
<jernej> Isn't that just SRAM C as stated in H6 memory map?
<jernej> SRAM C 0x00018000---0x0003FFFF 160K
<jernej> ah, wrong manual
<jernej> SRAM C 0x00028000---0x00045FFF 120K
<hitech95> with this I hope to get at least a working clock signal. https://pastebin.com/hXy19ujx (if it compile)
aalm has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
dc13ff has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
fdcx has joined #linux-sunxi
phdeswer has joined #linux-sunxi
tllim has joined #linux-sunxi
[Grizzly] has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
<montjoie> my R40 boot but wait forever on mmc, any idea ?
<montjoie> mmc driver is defered but seems never reprobed
LargePrime has quit [Ping timeout: 264 seconds]
xes has quit [Quit: bye..]
xes has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
hitech95 has quit [Read error: Connection reset by peer]
<pgreco> montjoie, anything specific for sunxi-next? it works on my bpi-m2u using 4.17 rc7
<pgreco> I used to have the same problem on my a83t and it was a missing regulator module in my initramfs
<pgreco> montjoie: btw, did you figure out how to fix gmac for the a83t?
LargePrime has joined #linux-sunxi
<montjoie> pgreco: I need to add more debug on a83t
<montjoie> pgreco: do you remember which regulator ?
<pgreco> I added some extra and maybe not needed modules, but this is what I add to dracut
<pgreco> add_drivers+=" sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_charger axp288_fuel_gauge ac100 rtc-ac100"
f0xx has quit [Ping timeout: 260 seconds]
hitech95 has joined #linux-sunxi
<montjoie> already have all those
<f11f12> pgreco, montjoie: mmc works on my V40 board.
<pgreco> I'm not at home now, but I'll try to check the loaded modules once I get back
<hitech95> Nop still not getting the clock output working :(
BenG83_ has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
[Grizzly] has quit [Quit: rational or not all all.]
Andy-D__ has joined #linux-sunxi
dc13ff has quit [Quit: Connection closed for inactivity]
Andy-D_ has quit [Ping timeout: 248 seconds]
phdeswer has quit [Remote host closed the connection]
phdeswer has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 260 seconds]
phdeswer_ has joined #linux-sunxi
leviathan has quit [Ping timeout: 264 seconds]
diego_r has joined #linux-sunxi
leviathan has joined #linux-sunxi
phdeswer has quit [Ping timeout: 264 seconds]
montjoie has quit [Quit: leaving]
xerpi has joined #linux-sunxi
diego_r has quit [Quit: Konversation terminated!]
diego_r has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
Guest15584 has quit []
steev has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
lkcl has quit [Read error: Connection reset by peer]
SP7RT has quit [Read error: Connection reset by peer]
diego_r has quit [Ping timeout: 260 seconds]
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lkcl has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
<pgreco> montjoie, does it help if I paste the modules in my initramfs?
sunshavi has quit [Ping timeout: 256 seconds]
diego_r has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
LargePrime has quit [Ping timeout: 240 seconds]
dh1tw has joined #linux-sunxi
fl__0 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 276 seconds]
LargePrime has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
fl__0 has quit [Quit: STRG + Q]
fl_0 has joined #linux-sunxi
nots has joined #linux-sunxi
xerpi has quit [Quit: Leaving]
diego_r has quit [Ping timeout: 265 seconds]
imcsk8_ has quit [Ping timeout: 260 seconds]
lurchi__ is now known as lurchi_
imcsk8 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 276 seconds]
hanetzer1 has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
hanetzer has quit [Ping timeout: 264 seconds]
phdeswer has joined #linux-sunxi
sunshavi has joined #linux-sunxi
phdeswer_ has quit [Ping timeout: 276 seconds]
Ntemis has joined #linux-sunxi
hanetzer1 is now known as hanetzer
hardfalcon has quit [Ping timeout: 245 seconds]
nuuuciano has quit [Ping timeout: 264 seconds]
hardfalcon has joined #linux-sunxi
anarsoul|3 has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 245 seconds]
hardfalcon has quit [Read error: Connection reset by peer]
hardfalcon has joined #linux-sunxi
arete74 has quit [Ping timeout: 256 seconds]
sunshavi has quit [Remote host closed the connection]
hardfalcon has quit [Ping timeout: 264 seconds]
hardfalcon has joined #linux-sunxi
phdeswer has quit [Remote host closed the connection]
gnufan has joined #linux-sunxi
lurchi_ is now known as lurchi__
phdeswer has joined #linux-sunxi
hitech95 has quit [Read error: Connection reset by peer]
phdeswer has quit [Ping timeout: 240 seconds]