<Tyaku->
Hi. I am fighting with meta-raspberry to enable the uart console on RPI3. Currently i have a strange problem: i want to set KERNEL_DEVICETREE += “overlays/uart1.dtbo” in my local.conf but when i do it… the kernel devicetree variable is overided
alessioigor has joined #yocto
<Tyaku->
i mean: in overlays folder we just have uart1.dtbo and all other files disapear.
alessioigor has quit [Remote host closed the connection]
<Tyaku->
This variable is originally set in meta-raspberrypi/conf/machine/include/rpi-base.inc
<Tyaku->
(But as i think _append is supposed to do the same result as +=)
Tyaku- has quit [Quit: Client closed]
vermaete has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 256 seconds]
nemik has joined #yocto
Tyaku- has joined #yocto
<Tyaku->
Finaly i solved the first issue, but it’s not fixing my main problem.
<Tyaku->
i’m not able to activate the uart console on raspberry pi 3 + yocto.
<Tyaku->
Using a scope i see that uart linux is up and then it goes low few time after during the boot.
<Tyaku->
but i am using network boot
amitk has quit [Ping timeout: 246 seconds]
amitk has joined #yocto
Thorn_ has quit [Ping timeout: 272 seconds]
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
<Tyaku->
After setting uart_2ndstage=1 in config.txt, i see that during the first stage of the boot i have messages on serial line, but again after the serial line goes to 0. uart_enable does nothing
<Tyaku->
the debug messages are just raspberry pi boot code
<Tyaku->
i dont have linux boot messages ;(
<vermaete>
what's the 'dtparam' in the config.txt?
<vermaete>
dtparam=uart0=on
<vermaete>
but, it should be enabled by default...
<Tyaku->
Note that i also have set core_freq to 250 and force_turbo to 1 … without success
<Tyaku->
(in config.txt)
<Tyaku->
is it possible once linux is started to see the boot args ? Currently as i am using pxe boot i want to be sure that there is not something in raspberry py “bootcode” that force some parameters without checking config.txt.
<vermaete>
well, with my RPi4 (B) the uart is working. With the master of meta-raspberry and kirkstone for all other layers.
<Tyaku->
Yep, i think my problem is only on raspberry pi 3 and zero, because i see it’s specific for these …
<Tyaku->
in /proc/cmdline i see parameters line 8250.nr_uart=0, i’m going to see what it is …
<vermaete>
I have the same at RPi4.
<vermaete>
Well, wait.
<vermaete>
sorry, don't know.
<vermaete>
My UART 'was' working a few days ago. I assume it's still working. By I don't have my RS<->UART cable with me.
vermaete has quit [Quit: Client closed]
xenador77 has joined #yocto
seninha has quit [Remote host closed the connection]
seninha has joined #yocto
xenador77 has quit [Ping timeout: 252 seconds]
Tyaku- has quit [Quit: Client closed]
seninha has quit [Remote host closed the connection]
seninha has joined #yocto
seninha has quit [Remote host closed the connection]
sakoman has quit [Quit: Leaving.]
seninha has joined #yocto
sakoman has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 255 seconds]
nemik has joined #yocto
seninha_ has joined #yocto
seninha has quit [Read error: Connection reset by peer]
seninha_ has quit [Quit: Leaving]
seninha has joined #yocto
twnqx has joined #yocto
seninha has quit [Quit: Leaving]
nemik has quit [Ping timeout: 272 seconds]
seninha has joined #yocto
nemik has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
amitk has quit [Ping timeout: 256 seconds]
seninha has quit [Quit: Leaving]
seninha has joined #yocto
goliath has quit [Quit: SIGSEGV]
seninha has quit [Read error: Connection reset by peer]
seninha has joined #yocto
vvn has joined #yocto
jpuhlman_ has joined #yocto
jpuhlman has quit [Killed (zinc.libera.chat (Nickname regained by services))]
jpuhlman_ is now known as jpuhlman
seninha has quit [Read error: Connection reset by peer]
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
twnqx has quit [Ping timeout: 255 seconds]
nemik has quit [Ping timeout: 256 seconds]
nemik has joined #yocto
Tyaku- has joined #yocto
<Tyaku->
I
<Tyaku->
after flashing the i’age on sd card, the uart console was working. So there is a difference between pxe boot and sdcard boot. And i don’t understand where because i use the same sdimg.