Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VM-friendly 64-bit ARM binaries that use Linux bootloader & VirtIO support?



The Linux boot protocol says that the physical address of a .dtb is passed in the x0 register. Inside that device tree blob, there is a node named /chosen that can contain a property "stdout-path". This is where the default console device comes from.

You can override this by passing stdout-path=/path/to/your/uart on the kernel cmdline. What value to use here depends on the device tree you are using. Do you have access to the dtb?

Take care,
Jared


On Sun, 29 Nov 2020, Chris Hanson wrote:

I don't know how to interpret your statement, sorry: /chosen where, "stdout-path" where?

 -- Chris


On Nov 29, 2020, at 5:24 PM, Jared McNeill <jmcneill%invisible.ca@localhost> wrote:

The kernel will use whatever is in /chosen "stdout-path" property for the console device, assuming it has a driver for it..


On Sun, 29 Nov 2020, Chris Hanson wrote:

Is there something I need to pass in the boot arguments to tell it what device to use for serial console? Booting Linux uses console=hvc0 to specify the serial console.

— Chris




Home | Main Index | Thread Index | Old Index