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
shawnguo has joined #armlinux
apritzel has quit [Ping timeout: 265 seconds]
nsaenz_ has joined #armlinux
nsaenz has quit [*.net *.split]
elastic_dog has quit [*.net *.split]
CrashTestDummy2 has joined #armlinux
elastic_dog has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 265 seconds]
audgirka has joined #armlinux
paulg has quit [Ping timeout: 252 seconds]
ChanServ has quit [shutting down]
apritzel has joined #armlinux
ChanServ has joined #armlinux
mwalle has joined #armlinux
<geertu> ukleinek: my m68k userspace predates systemd
apritzel has quit [Ping timeout: 258 seconds]
Nact has quit [Quit: Konversation terminated!]
matthias_bgg has joined #armlinux
milkylainen has joined #armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 268 seconds]
audgirka has quit [Quit: Leaving]
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 258 seconds]
guillaume_g has joined #armlinux
sszy has joined #armlinux
milkylainen has quit [Quit: fixing]
<ukleinek> geertu: ah right, I sometimes forget that there are systems out there withouth systemd :-)
<bencoh> there are! :)
<mripard> for the first one
<mripard> and the second one is because there's no schema for reserved-memory
nsaenz_ has quit [Remote host closed the connection]
apritzel has joined #armlinux
audgirka has joined #armlinux
nsaenz has joined #armlinux
unmanbearpig has joined #armlinux
prabhakarlad has joined #armlinux
milkylainen has joined #armlinux
sszy has quit [Changing host]
sszy has joined #armlinux
<ajb-linaro> where would I look in /proc/device-tree to identify the serial port on my MachiatoBin?
* ajb-linaro wants to verify the base address he's giving Xen is correct
<jn> it's probably easiest to convert /proc/device-tree to dts and then look through it somehow
<ajb-linaro> hmm conspicuously absent of a pl011
unmanbearpig has quit [Ping timeout: 250 seconds]
<ajb-linaro> serial0 = "/ap806/config-space@f0000000/serial@512000";
<jn> hmm, looks like there'd be a ranges property in /ap806/config-space@f0000000
<ajb-linaro> jn: there are several serial devices there
<ajb-linaro> I guess this is the device
<ajb-linaro> http://ix.io/3qDx
<ajb-linaro> so I guess it depends on Xen knowing what that is
<jn> assuming that it's /ap806/config-space@f0000000/serial@512000, then it's the serial device that /aliases/serial0 points to
<jn> would you mind pasting the whole file?
<jn> compatible = "snps,dw-apb-uart"; <-- hmm, i can see why Xen wouldn't particularly like this
<jn> also, which address are you passing to Xen?
<ajb-linaro> jn: I had naively assumed pl011 was an architecture mandated serial port
<ajb-linaro> CONFIG_EARLY_UART_BASE_ADDRESS=0x09000000
<ajb-linaro> with CONFIG_EARLY_UART_PL011=y (in Xen's .config)
<jn> (http://ix.io/3qDy for browser users' convenience)
<ajb-linaro> for context I'm trying to get Xen running on the HW but it's not giving much in debug output after it's EFI stub prints it's starting
<jn> snps,dw-apb-uart appears to be based on 8250, not PL011
<jn> 0x09000000 seems all wrong
<jn> i'd try 0xf0512000 (address of the config space plus address of the UART within the config space)
<ajb-linaro> jn: Xen claims to understand 8250 - so worth a go, will the base address be 0xf0000000+0x512000
<ajb-linaro> right ;-)
* ajb-linaro gives it a spin
<jn> now, there's always a thing you can get wrong with unknown 8250-family UARTs, and that's the register width
<jn> some have 8-bit registers, some have 32-bit registers
<ajb-linaro> would that be what the shift is for?
<ajb-linaro> CONFIG_EARLY_UART_8250_REG_SHIFT: Early printk, left-shift to apply to the register offsets within the 8250 UART
<jn> reg-shift, yes
<jn> 8 bits << N
<jn> 0 -> 8 bits
<jn> 2 -> 32 bits
<ajb-linaro> well 0 didn't work, time to try 2
<jn> makes sense, the DT specifies 2
sud has quit [Ping timeout: 244 seconds]
sud has joined #armlinux
kristo has quit [Ping timeout: 268 seconds]
<ajb-linaro> sadly Xen remains quiet after it's banner
<ajb-linaro> hmm
<ajb-linaro> I'm sure the date should be updated: Xen 4.15.1-pre (c/s Thu May 20 01:21:39 2021 +0100 git:f034c96e88) EFI loader
CrashTestDummy2 has quit [Ping timeout: 258 seconds]
geertu has quit [Ping timeout: 272 seconds]
geertu has joined #armlinux
CrashTestDummy has joined #armlinux
<ajb-linaro> huh that was weird - it managed to boot into a mode I could watch the framebuffer repainting line by line
kristo has joined #armlinux
CrashTestDummy2 has joined #armlinux
<marex> mripard: so, what is the led thing about ? install one version of library instead of another ?
<marex> sounds rather fragile
CrashTestDummy has quit [Ping timeout: 250 seconds]
<ajb-linaro> jn: it lives! thanks for your help
<jn> great!
<ajb-linaro> time to dig into debians initrd creation... I'm guessing why that is it cannot see the vg0
mripard has quit [Ping timeout: 272 seconds]
mripard has joined #armlinux
<geertu> ajb-linaro: Note that dtc can convert from /proc/device-tree to dts with "-I fs -O dts"
torez has joined #armlinux
<abelloni> geertu: you mean /sys/firmware ;)
<geertu> abelloni: lrwxrwxrwx 1 root root 29 Jun 21 13:37 /proc/device-tree -> /sys/firmware/devicetree/base
<milkylainen> ardb: I don't think builtin initrd works. I can't see that anyone cares about reserving memory from the builtin size and start symbols?
bps has joined #armlinux
paulg has joined #armlinux
psydroid is now known as psydroid[m]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #armlinux
elastic_dog has quit [Ping timeout: 240 seconds]
psydroid[m] is now known as psydroid
elastic_dog has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
wwilly has joined #armlinux
prabhakarlad has joined #armlinux
audgirka has quit [Remote host closed the connection]
rbutler1728 has joined #armlinux
<robher> marex, mripard: I guess I should commit the change from the referenced thread. Might be could to check for the C loader as the performance is
<robher> marex, mripard: err, Maybe good to check for the C loader as the performance will be bad without it.
<marex> robher: apt install python3-ruamel.yaml.clib does make the led error go away
<marex> robher: note that I had that ^ installed in .local/lib for python 3.8, but it seems there was update to python 3.9 and it wasnt installed anymore
<robher> marex: It seems the C lib lags python versions. So it gets installed for <=3.8 currently.
<marex> hum
prabhakarlad has quit [Quit: Client closed]
<robher> marex: actually, it's only an 'extra_requires' for ruamel, so unless something else is requiring it I think it won't get installed by default regardless of Python version.
matthias_bgg has quit [Quit: Leaving]
mripard has quit [Quit: leaving]
Crassus has joined #armlinux
mripard has joined #armlinux
luispm has quit [Quit: Leaving]
luisgpm has joined #armlinux
prabhakarlad has joined #armlinux
Crassus has quit [Ping timeout: 258 seconds]
<ukleinek> arnd, olofj: Did you hear something from Tony Prisk recently? I sent a vt8500 patch and got a bounce.
<ukleinek> arnd, olofj: Already back in March I was unable to contact him.
<ukleinek> arnd, olofj: it seems the domain is gone, there is still a SOA record, but neither A nor AAAA nor MX
Crassus has joined #armlinux
guillaume_g has quit [Quit: Konversation terminated!]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<ajb-linaro> is there anyway to get the unadulterated ID_AA64PFR0_EL1 from userspace, does the kernel print it anywhere?
<broonie> It's not printed unless possibly as part of some incompatibility/error reporting.
manic_laughter has joined #armlinux
<ajb-linaro> broonie: I guess we just have to trust KVM_CAP_ARM_EL1_32BIT is right... This is one of the new Amperas so I think it Neoverse which ~= cortex-a76
<maz> 32bit EL0 only on these.
manic_laughter has quit [Quit: Leaving]
Crassus has quit [Quit: Textual IRC Client: www.textualapp.com]
<arnd> ukleinek: when I suggested vt8500 could be removed at the beginning of the year, I got an email from Alexey Charkov <alchark@gmail.com> saying that he still gets occasional emails from users
<arnd> Originally Alexey was co-maintaining it with Tony, but Tony later disappeared without the maintainer file getting updated
Crassus has joined #armlinux
<ukleinek> arnd: so I create a patch removing the entry and send it with Cc: Alexey?
<arnd> ukleinek: this was my last exchange with Alexey: https://pastebin.com/RtKEAPqc
<arnd> I'd prefer listing him as "Odd fixes", if you send a patch and he replies at all, otherwise drop the entry
torez has quit [Ping timeout: 265 seconds]
torez has joined #armlinux
torez has quit [Ping timeout: 252 seconds]
davidm has joined #armlinux
Crassus has quit [Quit: Textual IRC Client: www.textualapp.com]
torez has joined #armlinux
mmind00 has quit [Quit: mmind00]
mmind00 has joined #armlinux
<marex> robher: so continuing my attempt to fix all that's left, I ran across this
<marex> arch/arm/boot/dts/stm32mp157a-dhcor-avenger96.dt.yaml: led: led2:linux,default-trigger:0: 'mmc0' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern']
<marex> but I think mmc0 is actually a valid trigger registered by the mmc subsystem
<marex> and there are quite a few other custom led triggers, which likely should be documented
wwilly has quit [Ping timeout: 265 seconds]
rbutler1728 has quit [Read error: Connection reset by peer]