Re: [PATCH v2 3/4] RISC-V: board-dt-2nd: add PBL console support for virt

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

 



Hi Sascha,

On 15.04.21 09:15, Sascha Hauer wrote:
>> +static const struct fdt_device_id console_ids[] = {
>> +	{ .compatible = "riscv-virtio", .data = virt_ns16550_init },
>> +	{ /* sentinel */ }
> 
> This is only board specific. If we go that path of parsing fdt for early
> output can't we just do like Linux and establish earlycon?

Yes, we'll get there eventually. What I'd really like to have is to be
able to, at compile time, associate a debug console with a PBL entry point
that would also work prior to relocation. That debug console should be
inherited into barebox proper to be used until a console driver was
initialized.

We are not there yet though and I still didn't figure some stuff out.
So I'd prefer postponing this more generic until a second boards needs it.

Cheers,
Ahmad

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux