Activate Linux console early in boot

I’ve built the latest in pfc-firmware-sdk from source and was pleasantly surprised when it booted successfully the first time!
However, the next phases in this project will involve kernel modifications, etc. that may not boot the first time :slight_smile:
I’ve selected the Linux console on the service serial port, but that does not seem to activate until it issues the login prompt.
What’s the easiest way to get the kernel to output to the serial console earlier?
Is there a way to access the barebox bootloader command line?

Hi Brent,

Very interesting. You go to an almost hardware-level application scope.

Do you know if the barebox bootloader is the entry point, from the CPU’s reset-vector view?
(Or is a pre-bootloader (BIOS-ish) involved. So what is the “software” that is executed at the very start, after power up.)

btw I do not know an answer to you question. :wink:

Hi @Brent ,

If you use Putty with our Service Cable Serial Connection or other Terminal Software Like HTERM you will receive STDOut at the Service Interface of our Controllers.

115200n8 is the Setting for COM Connection.

Then it should look like this :slight_smile: Hope that’s what you wanna see.

1 Like

Hi!
This is exactly what I was seeking, and exactly what I would expect.
However, I do not see any of the output you show from barebox or the Linux kernel during bootup.
The first output to the serial port is the login: prompt.

I have a WAGO 750-8100

Is there some configuration option that disables this bootup output to the serial port? How can I get the same behavior you observe?

Hi @Brent ,

I checked this with a PFC200 Device.

it seems like the PFC100 has a different behaviour unfortunately.

I tried the same with a 750-8101 and was also not able to get the same output as with the PFC200.

maybe this is why it is not working with the PFC100?