[PATCH] bsps/console: Support device file system

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Apr 3 13:48:46 UTC 2020


On 02/04/2020 22:28, Joel Sherrill wrote:

>
>
> On Thu, Apr 2, 2020 at 9:47 AM Sebastian Huber 
> <sebastian.huber at embedded-brains.de 
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
>
>     On 02/04/2020 16:45, Gedare Bloom wrote:
>
>     > Can we hold this until 6?
>     Joel complained that the CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM is
>     broken. For me it is not important.
>
>
> If this fixes that, please push it.

The same technique needs to be applied to all drivers of this kind:

bsps/arm/atsam/console/console.c:      link(&usart[0], CONSOLE_DEVICE_NAME);
bsps/arm/atsam/console/console.c:      link(&uart[0], CONSOLE_DEVICE_NAME);
bsps/arm/imx/console/console-config.c:      link(path, CONSOLE_DEVICE_NAME);
bsps/arm/xilinx-zynqmp/console/console-config.c: link(&uart[0], 
CONSOLE_DEVICE_NAME);
bsps/arm/raspberrypi/console/console-config.c:        link(FBCONS, 
CONSOLE_DEVICE_NAME);
bsps/arm/raspberrypi/console/console-config.c:      link(MINIUART, 
CONSOLE_DEVICE_NAME);
bsps/arm/raspberrypi/console/console-config.c:      link(PL011, 
CONSOLE_DEVICE_NAME);
bsps/arm/raspberrypi/console/console-config.c:    link(PL011, 
CONSOLE_DEVICE_NAME);
bsps/arm/xilinx-zynq/console/console-init.c:      (void) 
link(CONSOLE_DEVICE_NAME, &uart[0]);
bsps/riscv/riscv/console/console-config.c:    link(htif_path, 
CONSOLE_DEVICE_NAME);
bsps/riscv/riscv/console/console-config.c:      link(path, 
CONSOLE_DEVICE_NAME);
bsps/riscv/riscv/console/console-config.c:    link(fe310_path, 
CONSOLE_DEVICE_NAME);
bsps/m68k/mrm332/console/console.c:  if ( link( "/dev/sci", 
"/dev/console") < 0 )
bsps/powerpc/tqm8xx/console/console.c:  rv = link(tty_name, 
CONSOLE_DEVICE_NAME);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200403/b3364a29/attachment.html>


More information about the devel mailing list