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
fugitive has quit [Ping timeout: 240 seconds]
<MoeIcenowy> wens: I seem to messed the H5 pinctrl's IRQ things up...
<MoeIcenowy> I wrongly set the irq_banks to 2 in the driver
<MoeIcenowy> and then in the devicetrees also a parent interrupt of pio node is missing
<MoeIcenowy> if I fix the pinctrl driver, old DTs will fail to boot
<MoeIcenowy> if I don't fix it, PG interrupts won't work
lurchi__ is now known as lurchi_
fugitive has joined #linux-sunxi
hms has quit [Read error: Connection reset by peer]
lurchi_ is now known as lurchi__
uwe__ has joined #linux-sunxi
uwe_ has quit [Ping timeout: 240 seconds]
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
ykchavan has quit [Quit: Leaving]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 276 seconds]
fugitive has quit [Ping timeout: 260 seconds]
pmpp_ is now known as pmpp
fugitive has joined #linux-sunxi
pg12 has quit [Ping timeout: 240 seconds]
pg12 has joined #linux-sunxi
fugitive has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
<wens> parent interrupt of pio node? if the parent is GIC, then that is the default
<wens> that should not be an issue
vagrantc has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
Andy-D_ has quit [Ping timeout: 240 seconds]
ARX_I has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
TheSeven has quit [Ping timeout: 276 seconds]
TheSeven has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
jrg has quit [Ping timeout: 260 seconds]
TheSeven has quit [Ping timeout: 255 seconds]
[7] has joined #linux-sunxi
lkcl has joined #linux-sunxi
leviathan has joined #linux-sunxi
<MoeIcenowy> wens: but the driver will request irq_banks interrupts
<MoeIcenowy> and if these cannot be satisfied
<MoeIcenowy> the kernel will hang
<MoeIcenowy> (or maybe it's not hang but at least PIO got hang
massi has joined #linux-sunxi
<wens> I'm not sure I understand. pio in sunxi-h3-h5.dtsi has two interrupts
<MoeIcenowy> yes
<MoeIcenowy> but for H5 it should have 3
a|3x has quit [Ping timeout: 260 seconds]
<wens> oh, ok
<wens> I hadn't checked the datasheet
<MoeIcenowy> and now it works because my driver is also wrong
<wens> so you fix the device tree, and if you care about supporting old device trees, just add a check to the pinctrl driver
<wens> make a copy of sun50i_h5_pinctrl_data with irq_banks = 3, and when the driver probes, let it pick which struct to use based on how many irqs it has in the dt
<wens> (and maybe with a big warning saying PG pin interrupts won't work or it may even crash)
<MoeIcenowy> how to judge the number of IRQs in the DT?
<wens> of_irq_count
<wens> good thing they have a helper for this
reinforce has joined #linux-sunxi
<MoeIcenowy> oh thanks
foxx_ has joined #linux-sunxi
specing has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
massi has quit [Ping timeout: 240 seconds]
massi has joined #linux-sunxi
massi has quit [Ping timeout: 276 seconds]
Ntemis has joined #linux-sunxi
Boris80_ has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
SP7RT has joined #linux-sunxi
<montjoie> wens: we got an answer \o/
massi has joined #linux-sunxi
<wens> finally!
Andy-D_ has quit [Ping timeout: 240 seconds]
<wens> montjoie: since we need it for netdev, as opposed to them sending it for net-next, you should probably also do the "phy-is-integrated" generic binding part
JohnDoe_71Rus has joined #linux-sunxi
afaerber has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
massi_ has joined #linux-sunxi
<montjoie> patch for doc is ready:)
<montjoie> wens: I have 3 patchs one binddoc, one for h3 dt, and one for stmmac
massi has quit [Ping timeout: 255 seconds]
massi__ has joined #linux-sunxi
massi_ has quit [Ping timeout: 248 seconds]
LargePrime has quit [Ping timeout: 240 seconds]
massi__ has quit [Ping timeout: 258 seconds]
<montjoie> wens: just sent!
LargePrime has joined #linux-sunxi
massi__ has joined #linux-sunxi
Boris80_ has quit [Remote host closed the connection]
SP7RT has quit [Ping timeout: 240 seconds]
SP7RT has joined #linux-sunxi
nvz has joined #linux-sunxi
BenG83 has joined #linux-sunxi
leviathan has quit [Ping timeout: 260 seconds]
leviathan has joined #linux-sunxi
jstein_ has joined #linux-sunxi
leviathan has quit [Remote host closed the connection]
jstein_ is now known as jstein
uwe_ has joined #linux-sunxi
nvz has quit [Quit: leaving]
uwe__ has quit [Ping timeout: 240 seconds]
popolon has joined #linux-sunxi
SP7RT has quit [Ping timeout: 255 seconds]
zoobab2 has joined #linux-sunxi
<zoobab2> hi
<zoobab2> anyone using the pinebook?
fugitive has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
kelvan has quit [Remote host closed the connection]
kelvan has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
formruga has quit [Ping timeout: 264 seconds]
ARX_I has quit [Ping timeout: 240 seconds]
ARX_I has joined #linux-sunxi
ARX_II has joined #linux-sunxi
lemonzest has joined #linux-sunxi
chlorine has joined #linux-sunxi
ARX_I has quit [Ping timeout: 248 seconds]
chlorine_ has quit [Ping timeout: 260 seconds]
ARX_III has joined #linux-sunxi
ARX_II has quit [Ping timeout: 248 seconds]
specing has quit [Ping timeout: 240 seconds]
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
specing has joined #linux-sunxi
tlwoerner has quit [Quit: Leaving]
BenG83 has quit [Remote host closed the connection]
afaerber has joined #linux-sunxi
fkluknav has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
ARX_III has quit [Ping timeout: 260 seconds]
<chrisf_> Does anyone know why uboot is loaded at 0x4A000000 instead of the start of DRAM 0x4000000? I'm moving to system with 128MB of RAM so there won't be anything at 0x4A000000 ...
<chrisf_> start of DRAM 0x40000000.
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
BenG83 has joined #linux-sunxi
tom_nov has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
SP7RT has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner has quit [Changing host]
<smaeul> chrisf_: I believe it's entirely arbitrary. If you change it, make sure the hardcoded value in the SPL FIT image source (board/sunxi/mksunxi_fit_atf.sh) matches the hardcoded value in ATF (plat/sun50iw1p1/sunxi_def.h)
<smaeul> (or if you're making your own FIT image, whatever the source is for that)
<beeble> don't forget that u-boot relocates itself to the end of ram anyway
<chrisf_> smaeul: Thanks for that. I got it working at 0x40000000 once I'd rebuilt the ATF.
<beeble> so it is abritary
<chrisf_> beeble: No worries. Not actually using u-boot just wondered why someone had picked a spot 160MB into the available RAM.
<chrisf_> thought I might be missing something.
<smaeul> the value is straight from the BSP
<chrisf_> oh I see. Don't think I'll bother!
<pmpp> chrisf_: on h3 hardware video decoder can only use contig blocks under 256MB address, it may be related
<smaeul> there's also that the beginning of DRAM was reserved for ATF itself (0x40000000) and the "secure OS" (TEE) (0x40200000)
<chrisf_> ATF loads at 0x44000 but may be using 0x40000000-0x401F0000 ?
<chrisf_> That'd be more of an issue. Should be OK at 0x40200000 as I won't have a "secure OS".
<chrisf_> Where are you finding those details? Are they in the BSP?
<smaeul> chrisf_: the ATF *from the BSP* was loaded at 0x40000000, the one from apritzel loads at 0x44000
<chrisf_> Clear.
<chrisf_> Thanks again.
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 246 seconds]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
<MoeIcenowy> I think 256MiB RAM is a basical assumption when developing mainline guys
<MoeIcenowy> for sunxi64 the assumption is 512MiB
SP7RT has quit [Ping timeout: 248 seconds]
Poeticode has quit [Changing host]
Poeticode has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Quit: cnxsoft]
chlorine_ has joined #linux-sunxi
<chrisf_> MoeIcenowy: Seems reasonable.
reinforce has quit [Quit: Leaving.]
<chrisf_> Has anyone tried to programme the e-fuses? I read on the wiki there was a hw mod necessary? Are they strictly OTP or is there a clear all mechanism?
<KotCzarny> otp
<chrisf_> on an H5 (or anything similar)
<KotCzarny> so get lots of boards if you go on unknown waters'
<chrisf_> haha
<chrisf_> figured I'd need to buy a few!
<igraltist> hi
<chrisf_> Mind you, I can buy H5's for $5 so that's going to be cheaper.
<igraltist> its a bit offtopic but maybe someone had already solved. i have an opipc with gentoo, gcc-6.3.0 and when i try to compile the glibc i got this: https://paste.debian.net/980776/
SP7RT has joined #linux-sunxi
<montjoie> igraltist: didnt get it but only get 5.4.0
<igraltist> ok, could this somethin to do with tumb extension?
<igraltist> this are the cflags: CFLAGS="-O2 -march=armv7ve -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -pipe -mthumb"
<igraltist> it try this on gcc-5.4.0 and gcc-6.3.0
xes has quit [Ping timeout: 246 seconds]
a|3x has joined #linux-sunxi
Boris80 has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
Andy-D_ has joined #linux-sunxi
massi__ has quit [Remote host closed the connection]
xpete has joined #linux-sunxi
SP7RT has quit [Ping timeout: 260 seconds]
SP7RT has joined #linux-sunxi
vagrantc has quit [Ping timeout: 248 seconds]
reinforce has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has quit [Read error: Connection reset by peer]
xes has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<ventosus> I have an A20 board labeled YS-A20-V6 I'd like to get the LCD connecter up and running
<ventosus> anybody having a corresponding *.fex file for that?
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
Boris80 has quit [Ping timeout: 258 seconds]
Keziolio has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
fugitive_ has joined #linux-sunxi
fugitive has quit [Ping timeout: 240 seconds]
foxx_ has quit [Ping timeout: 248 seconds]
fugitive_ has quit [Ping timeout: 260 seconds]
fugitive_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 276 seconds]
SP7RT has joined #linux-sunxi
chrisf_ has quit [Ping timeout: 260 seconds]
IgorPec has joined #linux-sunxi
afaerber has quit [Remote host closed the connection]
chrisf_ has joined #linux-sunxi
foxx_ has joined #linux-sunxi
juri_ has quit [Ping timeout: 240 seconds]
phiplii has quit [Remote host closed the connection]
SP7RT has quit [Ping timeout: 240 seconds]
juri_ has joined #linux-sunxi
phipli has joined #linux-sunxi
foxx_ has quit [Ping timeout: 246 seconds]
SP7RT has joined #linux-sunxi
leviathan has joined #linux-sunxi
xes has quit [Ping timeout: 276 seconds]
vagrantc has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
Mr__Anderson has joined #linux-sunxi
pmpp_ has joined #linux-sunxi
pmpp has quit [Ping timeout: 255 seconds]
pmpp_ is now known as pmpp
lkcl has quit [Ping timeout: 276 seconds]
cyrozap has quit [Ping timeout: 255 seconds]
cyrozap has joined #linux-sunxi
cyrozap has quit [Excess Flood]
cyrozap has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
Andy-D_ has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
xes has joined #linux-sunxi
freemangordon has quit [Read error: Connection reset by peer]
xes has quit [Ping timeout: 255 seconds]
xes has joined #linux-sunxi
freemangordon has joined #linux-sunxi
xes has quit [Ping timeout: 260 seconds]
jstein has quit [Remote host closed the connection]
chlorine has quit [Ping timeout: 260 seconds]
SP7RT has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 240 seconds]
xdanger has quit [Ping timeout: 246 seconds]
xdanger has joined #linux-sunxi
pmpp_ has joined #linux-sunxi
phiplii has joined #linux-sunxi
pmpp has quit [Ping timeout: 240 seconds]
pmpp has joined #linux-sunxi
pmpp_ has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
nvz has joined #linux-sunxi
lkcl has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
nvz has quit [Quit: leaving]
leviathan has quit [Remote host closed the connection]
xes has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
afaerber has joined #linux-sunxi
Ntemis has joined #linux-sunxi
jrg has joined #linux-sunxi
xes has quit [Read error: Connection reset by peer]
Ntemis has quit [Read error: Connection reset by peer]
SP7RT has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Ntemis has joined #linux-sunxi
IgorPec has quit [Ping timeout: 258 seconds]
SP7RT has quit [Ping timeout: 240 seconds]
jstein_ has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
fkluknav has quit [Ping timeout: 260 seconds]
basxto has joined #linux-sunxi
jstein_ is now known as jstein
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
jstein has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
lemonzest has quit [Quit: Quitting]
ykchavan has joined #linux-sunxi
mzki_ has joined #linux-sunxi
mzki has quit [Quit: leaving]
mzki_ has quit [Client Quit]
mzki has joined #linux-sunxi
freemangordon has quit [Ping timeout: 255 seconds]
phiplii has quit [Remote host closed the connection]
nvz has joined #linux-sunxi
scelestic has quit [Ping timeout: 260 seconds]
<lurchi_> somewhat offtopic, does anyone know a way of adding spidev instances without modifying the dt (or using overlays)?
<lurchi_> there was a thread on linux-spi in 2014 about adding a way to do it, but apparently there was no result
<lurchi_> (e.g. the spi equivalent of "echo <drivername|alias> <address> > /sys/bus/i2c/devices/i2c-1/new_device")
specing has quit [Ping timeout: 260 seconds]