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
rvalue has quit [Ping timeout: 255 seconds]
rvalue has joined #armlinux
Livio has quit [Ping timeout: 256 seconds]
alpernebbi has joined #armlinux
heat_ is now known as heat
System_Error has quit [Remote host closed the connection]
hanetzer has quit [Ping timeout: 264 seconds]
System_Error has joined #armlinux
hanetzer has joined #armlinux
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #armlinux
hanetzer has quit [Ping timeout: 264 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
heat has quit [Ping timeout: 246 seconds]
mraynal has quit [Quit: WeeChat 3.8]
mraynal has joined #armlinux
npcomp has quit [Ping timeout: 268 seconds]
apritzel has quit [Ping timeout: 264 seconds]
System_Error has quit [Ping timeout: 260 seconds]
System_Error has joined #armlinux
jclsn has quit [Ping timeout: 246 seconds]
jclsn has joined #armlinux
vigneshr has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
amitk has joined #armlinux
qpla has joined #armlinux
nsaenz has joined #armlinux
TheCoffeMaker has quit [Read error: Connection reset by peer]
TheCoffeMaker has joined #armlinux
iivanov has joined #armlinux
cbeznea has joined #armlinux
mvaittin has joined #armlinux
iivanov has quit []
amitk_ has joined #armlinux
amitk has quit [Ping timeout: 260 seconds]
monstr has joined #armlinux
ezulian has joined #armlinux
ezulian has quit [Client Quit]
ezulian has joined #armlinux
gfernandez has joined #armlinux
m5zs7k has quit [Ping timeout: 256 seconds]
m5zs7k has joined #armlinux
nohit has quit [Ping timeout: 252 seconds]
broonie has quit [Ping timeout: 252 seconds]
broonie has joined #armlinux
gclement has joined #armlinux
nohit has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
jclsn has quit [Quit: WeeChat 4.2.1]
jclsn has joined #armlinux
headless has joined #armlinux
iivanov has joined #armlinux
frieder has joined #armlinux
matthias_bgg has joined #armlinux
gfernandez has quit [Ping timeout: 250 seconds]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
prabhakalad has quit [Ping timeout: 264 seconds]
prabhakalad has joined #armlinux
Peng_Fan has joined #armlinux
dianders has quit [Ping timeout: 252 seconds]
dianders has joined #armlinux
nsaenz has quit [Ping timeout: 260 seconds]
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 260 seconds]
Livio has joined #armlinux
sszy has joined #armlinux
<ukleinek>
mmind00: the Debian kernel has CONFIG_PINCTRL_ROCKCHIP=m which isn't enough to bring up the initial console.
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
frieder has quit [Ping timeout: 264 seconds]
<ukleinek>
Is it expected that after "Warning: unable to open an initial console." the machine doesn't boot?
<ukleinek>
the pinctrl-rockchip module is in the initramfs, so it could work.
tambarus_ has joined #armlinux
tambarus_ has quit [Client Quit]
tambarus_ has joined #armlinux
tambarus_ has quit [Client Quit]
frieder has joined #armlinux
tambarus has joined #armlinux
<geertu>
ukleinek: I think init needs /dev/console
apritzel_ has joined #armlinux
* ukleinek
would expect that it's possible to implement init in a way that it doesn't, but that dependency is indeed the most suspicious explanation
<geertu>
However, I'd expect /dev/console to exist even if it is not backed by a physical one.
headless has quit [Quit: Konversation terminated!]
<geertu>
Assumed CONFIG_DEVTMPFS_MOUNT=y, ofc
<ukleinek>
..ooOO(How to debug that?)
<javierm>
ukleinek: how did you create your initramfs? If using dracut, you could add rd.debug to your kernel cmdline param
<javierm>
probably there's something similar for initramfs-tools ?
<ukleinek>
javierm: in the hope the debug output doesn't go to /dev/console ...
<geertu>
ukleinek: Replace printk() by a function that writes to a buffer in RAM, and inspect that buffer from U-Boot after reboot?
<geertu>
Or by a function that writes to the serial port, if available. Or to an LED.
<ukleinek>
..ooOO(Or enable PINCTRL_ROCKCHIP=y for the Debian kernel)
biju has joined #armlinux
<geertu>
Does earlycon keep_bootcon work?
<javierm>
geertu: did you try increasing the deferred_probe_timeout? e.g: deferred_probe_timeout=60
<geertu>
The GKS way is to have everything modular
matthias_bgg has quit [Ping timeout: 268 seconds]
<javierm>
err, it was for ukleinek ^
<geertu>
javierm: Why would I do that?
<geertu>
;-)
<javierm>
geertu :D yes, the comment was meant for ukleinek
<javierm>
ukleinek: we also have the same problem with Fedora... most pinctrl, pd, clock, etc drivers have to be built-in...
<javierm>
it has gotten even worse now that there's a default 10 secounds timeout for deferred probe :/
<ukleinek>
ah, earlycon was that other parameter I wanted.
gfernandez has joined #armlinux
* ukleinek
used ignore_loglevel earlyprintk
<ukleinek>
doesn't help though.
tambarus has quit [Ping timeout: 256 seconds]
tambarus has joined #armlinux
matthias_bgg has joined #armlinux
frieder has quit [Ping timeout: 256 seconds]
<biju>
earlyprintk is for arm32 right? you need to enables some serial config for early printk.
frieder has joined #armlinux
<arnd>
yes, earlyprintk/debug_ll is meant to be even earlier than earlycon, so it requires compile-time configuration to avoid relying on DT parsing. earlycon is almost always better since you can have it enabled in a portable kernel
Livio has quit [Ping timeout: 260 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
gfernandez has quit [Quit: Client closed]
matthias_bgg has quit [Ping timeout: 252 seconds]
Peng_Fan has quit [Quit: Connection closed for inactivity]
rvalue has quit [Ping timeout: 264 seconds]
Livio has joined #armlinux
matthias_bgg has joined #armlinux
dmart has joined #armlinux
headless has joined #armlinux
hanetzer has joined #armlinux
Lockesmith has quit [Ping timeout: 260 seconds]
<robmur01>
geertu: "Replace printk() by a function that writes to a buffer in RAM" - what, you've never grovelled __log_buf itself? ;)
Lockesmith has joined #armlinux
rockosov has quit [Quit: WeeChat 3.4-dev]
qpla has quit [Ping timeout: 264 seconds]
Livio has quit [Ping timeout: 260 seconds]
frieder has quit [Ping timeout: 255 seconds]
Livio has joined #armlinux
gfernandez has joined #armlinux
headless has quit [Quit: Konversation terminated!]
frieder has joined #armlinux
matthias_bgg has quit [Ping timeout: 256 seconds]
psydroid has joined #armlinux
matthias_bgg has joined #armlinux
tambarus has quit [Ping timeout: 264 seconds]
tambarus has joined #armlinux
mvaittin has quit [Ping timeout: 256 seconds]
qpla has joined #armlinux
qpla has quit [Remote host closed the connection]
qpla has joined #armlinux
tambarus has quit [Ping timeout: 246 seconds]
tambarus has joined #armlinux
Livio has quit [Ping timeout: 255 seconds]
matthias_bgg has quit [Ping timeout: 252 seconds]
matthias_bgg has joined #armlinux
gfernandez has quit [Quit: Client closed]
qpla has quit [Remote host closed the connection]
qpla has joined #armlinux
frieder has quit [Ping timeout: 268 seconds]
Livio has joined #armlinux
qpla has quit [Read error: Connection reset by peer]
frieder has joined #armlinux
qpla has joined #armlinux
biju has quit [Ping timeout: 264 seconds]
biju has joined #armlinux
biju has quit [Ping timeout: 260 seconds]
gfernandez has joined #armlinux
TheCoffeMaker has quit [Quit: So long and thanks for all the fish]
Livio has quit [Quit: leaving]
Livio has joined #armlinux
iivanov has quit []
frieder has quit [Remote host closed the connection]
<ukleinek>
geertu, javierm: If I drop console=ttyS2,115200 from bootargs, the machine boots even with PINCTRL_ROCKCHIP=m
<ukleinek>
I don't get a getty on ttyS2 then though
Livio has quit [Ping timeout: 264 seconds]
<javierm>
ukleinek: interesting...
headless has joined #armlinux
TheCoffeMaker has joined #armlinux
<ukleinek>
mmind00: I hit:
<ukleinek>
[ 1344.667464] of_dma_request_slave_channel: dma-names property of node '/serial@fe660000' missing or empty
<ukleinek>
[ 1344.678170] dw-apb-uart fe660000.serial: failed to request DMA
<ukleinek>
I wonder if (non-console) operation of the UARTs work for someone on rk356x
diederik has joined #armlinux
gfernandez has quit [Quit: Client closed]
<robmur01>
no reason they shouldn't work in non-DMA mode, it's the same path as when DMA is explicitly ignored for the console port
apritzel has joined #armlinux
<ukleinek>
robmur01: hmm, you're right. So much to test ...
dmart has quit [Quit: leaving]
<ukleinek>
robmur01: so the tty works indeed, but the bdrate is reset to 9.6k so I didn't see output
monstr has quit [Remote host closed the connection]