ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
luispm has quit [Ping timeout: 244 seconds]
luispm has joined #armlinux
russ_ is now known as russ
marex_ is now known as marex
Misotauros has joined #armlinux
HdkR_ is now known as HdkR
Misotauros has quit [Ping timeout: 268 seconds]
prabhakarlad has quit [Quit: Client closed]
Misotauros has joined #armlinux
sudeepholla_ has quit [Ping timeout: 268 seconds]
sudeepholla_ has joined #armlinux
jwerner_ has joined #armlinux
mwalle_ has joined #armlinux
shoragan_ has joined #armlinux
marshmallow_ has joined #armlinux
russ_ has joined #armlinux
mort0 has joined #armlinux
mriesch_ has joined #armlinux
tmlind_ has joined #armlinux
jn_ has joined #armlinux
jn_ has joined #armlinux
jn_ has quit [Changing host]
kbingham has joined #armlinux
zx2c4_ has joined #armlinux
LiChen_ has joined #armlinux
nathanchance_ has joined #armlinux
balrog has joined #armlinux
static_rocket1 has joined #armlinux
balrog_ has quit [*.net *.split]
tmlind has quit [*.net *.split]
russ has quit [*.net *.split]
kbingham_ has quit [*.net *.split]
shailangsa_ has quit [*.net *.split]
static_rocket has quit [*.net *.split]
nathanchance has quit [*.net *.split]
mwalle has quit [*.net *.split]
mriesch has quit [*.net *.split]
shoragan has quit [*.net *.split]
zx2c4 has quit [*.net *.split]
mort has quit [*.net *.split]
marshmallow has quit [*.net *.split]
rfried has quit [*.net *.split]
jwerner has quit [*.net *.split]
jn has quit [*.net *.split]
LiChen has quit [*.net *.split]
benh has quit [*.net *.split]
palmer has quit [*.net *.split]
nathanchance_ is now known as nathanchance
marshmallow_ is now known as marshmallow
mort0 is now known as mort
zx2c4_ is now known as zx2c4
rfried has joined #armlinux
benh has joined #armlinux
palmer has joined #armlinux
shailangsa has joined #armlinux
amitk has joined #armlinux
rvalue has quit [Remote host closed the connection]
rvalue has joined #armlinux
luispm has quit [Quit: Leaving]
iivanov has joined #armlinux
iivanov has quit [Quit: Leaving...]
viorel1 has joined #armlinux
Pali has joined #armlinux
luispm has joined #armlinux
sszy has joined #armlinux
LiChen_ has quit [Quit: Connection closed for inactivity]
<Xogium> what the heck ? Setting default state on for the blue led for rgb... Did nothing
<Xogium> only the green led is on
<Xogium> wait a minute
<Xogium> default state on implies solid, right ? This green led is blinking
sudeepholla_ has quit [Ping timeout: 268 seconds]
<Xogium> without an associated linux trigger
sudeepholla_ has joined #armlinux
Pali has quit [Ping timeout: 268 seconds]
alexels has joined #armlinux
headless has joined #armlinux
<Xogium> I... don't even see the leds in /sys/class/leds. I have gpio-led kernel driver, the compatible in the device tree is set correctly
<Xogium> this makes no sense at all
iivanov has joined #armlinux
SallyAhaj has quit [Quit: SallyAhaj]
SallyAhaj has joined #armlinux
apritzel has joined #armlinux
prabhakarlad has joined #armlinux
hanetzer1 is now known as hanetzer
headless has quit [Quit: Konversation terminated!]
Misotauros has quit [Ping timeout: 252 seconds]
monstr has joined #armlinux
Misotauros has joined #armlinux
<marex> Xogium: maybe the LED is not controlled by Linux ?
frieder has joined #armlinux
<Xogium> marex: that's possible... Fwiw the board is the lichee zero
<Xogium> I don't know a whole lot about it, but my understanding was that there was a controllable rgb led
<Xogium> even the device tree has the gpio for it
<Xogium> I just want to turn the god damned green led off
<Xogium> trying to light up the blue one was an experiment to see if that would even work
<robmur01> https://github.com/Lichee-Pi/lichee-pi-zero/tree/master/HardWare/Schematics seems to imply that the LEDs are wired to pins that are also used for other things :/
<Xogium> but... lets see, leds class support in sysfs, gpio-leds driver built-in, compatible gpio led dt node... Surely that's enough ?
<Xogium> do I need some weirdsunxi gpio controller or leds controller of some kind ?
<Xogium> *sunxi
<robmur01> FWIW I'd check pinctrl, see if those other functions are causing conflicts
<Xogium> robmur01: so you mean pg0, pg1 and pg2, they can cause conflict ?
<marex> Xogium: cat /sys/kernel/debug/pinctrl/*
<marex> you can get the current mux settings there
<marex> robmur01: sigh ... pin reuse, just sigh
* Xogium scratches head
<Xogium> lets try
<robmur01> yes, if they've already been claimed by the camera and/or SD card interfaces (if I'm interpreting the schematics right), then trying to claim the GPIOs will most likely fail
<Xogium> in the pinmux-pins file ?
<Xogium> hmm yeah they are in mmc1 mode
<Xogium> then.. How comes the green led is.. ? Huh
<Xogium> I'm confused
<milkylainen> No matter what STM TF-A/U-Boot I use I end up with a kernel crash somewhere.
<milkylainen> Wrong channel.
<robmur01> Xogium: because the LED is simply showing whatever that pin might happen to be doing in its MMC interface behaviour - most likely guess would be the clock or command pin as it's periodically polling to detect a card
<marex> milkylainen: that's why you should only use mainline
<marex> robmur01: LED on clock pin would likely seriously mess up the waveform at any higher clock rate
torez has joined #armlinux
<Xogium> actually... I was thinking about this very thing. Isn't it impossible to use vendor ATF with mainline kernel ? You need to use mainline all the way
<Xogium> but unless I misread this, it looks like robmur01 is totally right
<Xogium> pin 192 (PG0): device 1c10000.mmc function mmc1 group PG0
<Xogium> pin 193 (PG1): device 1c10000.mmc function mmc1 group PG1
<Xogium> pin 194 (PG2): device 1c10000.mmc function mmc1 group PG2
<Xogium> pg0, pg1, and pg2 can also control the rbg led
<Xogium> function 17: mmc1, groups = [ PG0 PG1 PG2 PG3 PG4 PG5 ]
<milkylainen> Xogium: why would that be impossible?
<Xogium> milkylainen: something about the scmi protocol... I'm unclear on the exact details, but at least when I attempted this on the odyssey from seeed it exploded
<robmur01> so yeah, unless you plan to try wiring an SD card to those expansion pins (with crap signal integrity as marex points out), probably disable mmc1 in the DT for starters
<Xogium> I have function 0 and 1 for gpio_in and gpio_out
<Xogium> well.. that's the thing. Mmc1 shouldn't even be enabled
<Xogium> this board has only mmc0
<robmur01> and yet it's apparently probed and claimed its pinctrl, so there you go ;)
<Xogium> but... HOW
<Xogium> :'(
<Xogium> so huh, wait. You say that wiring out a eMMC or micro sd card on those pins is a bad idea, correct ?
<Xogium> this isn't the dock version
<Xogium> its just the base lichee zero
<Xogium> unless I've smoked some pretty good stuff, wait a minute
<robmur01> *shrug* dunno then, maybe cross-check /sys/firmware/fdt and see if the bootloader fiddled with anything?
<Xogium> nah its really not the dock... I mean unless I accidentally copied the wrong dt over
<Xogium> or rather
<Xogium> copied the dock dt but with a different name
<Xogium> yeah that's must be what is going on
<Xogium> there's no explanation
<Xogium> other than that
TheCoffeMaker has quit [Ping timeout: 268 seconds]
TheCoffeMaker has joined #armlinux
<Xogium> dang I was going mad with this nonsense lol I'm glad it can easily be explained
* robmur01 has a habit of decompiling the DTB from /boot/ to patch things manually, so /sys/firmware{fdt,devicetree} as a sanity check for what has actually booted is invaluable :)
<Xogium> hmm looks like you can even toy with them at runtime ? I assume that's what the pinux-select file is for
<Xogium> err pinmux-select
<milkylainen> Xogium: I would have expected such an incompatibility to be a large red headline.
<Xogium> milkylainen: yeah... I'm not sure. It may not be the case these days
* Xogium blinks
<Xogium> [15530.940940] sun8i-v3s-pinctrl 1c20800.pinctrl: invalid group PG0
<Xogium> ... why ?
<Xogium> can't I change the pins at runtime, or does that work for unclaimed pins only ?
sudeepholla has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
sudeepholla has joined #armlinux
jn_ is now known as jn
prabhakarlad has joined #armlinux
Misotauros has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
Misotauros has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
shoragan_ is now known as shoragan
monstr has quit [Remote host closed the connection]
prabhakarlad has joined #armlinux
headless has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
luispm has quit [Ping timeout: 252 seconds]
luispm has joined #armlinux
luispm has quit [Quit: Leaving]
frieder has quit [Remote host closed the connection]
alexels has quit [Quit: WeeChat 3.6]
amitk has quit [Ping timeout: 268 seconds]
Pali has joined #armlinux
apritzel has quit [Ping timeout: 268 seconds]
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
torez has quit [Quit: torez]
apritzel_ has joined #armlinux
viorel1 has quit [Quit: WeeChat 3.5]
mag_ has joined #armlinux
mag has quit [Ping timeout: 252 seconds]
mag_ is now known as mag
headless has quit [Quit: Konversation terminated!]
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
iivanov has quit [Ping timeout: 268 seconds]