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?



Is there some way to explore it through /sys/firmware/devicetree? I don't have a Linux Arm box handy to check.


On Mon, 30 Nov 2020, Chris Hanson wrote:

On Nov 30, 2020, at 2:17 AM, Jared McNeill <jmcneill%invisible.ca@localhost> wrote:

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?

Thanks for the detailed explanation! I’m not sure if I have access to that, I’ll take a look and ask around.

Since I can boot Linux, is there anything I can run there to dump this information? I’ll start looking for myself too but I figure someone here might know offhand.

 — Chris




Home | Main Index | Thread Index | Old Index