Porting plymouth

sbell at tdt.com sbell at tdt.com
Fri Mar 1 12:26:37 PST 2013


> You also don't have the /dev/ttyO2 device node created, so it can't use it.
Ok, so I can confirm that once I create /dev/ttyO2, I see the text I'm sending to plymouth appear on my serial console


> plymouth forces text output if there's a serial console attached. You
> have console=ttyO2 on the kernel command line so that's what it's
> doing.
Is there a way to override this behavior, so that I can test plymouth without sacrificing my (only) debugging interface?
 
-- Stephen Bell
 
 
-----Original Message-----
From: "Ray Strode" <halfline at gmail.com>
Sent: Friday, March 1, 2013 11:21am
To: sbell at tdt.com
Cc: plymouth at lists.freedesktop.org
Subject: Re: Porting plymouth



Hi,

On Fri, Mar 1, 2013 at 11:13 AM,  <sbell at tdt.com> wrote:
> I do have "splash" on the kernel command line.
ah okay.

> [main.c]                       get_kernel_command_line:Kernel command line
> is: 'nand-ecc=chip console=ttyO2,115200n8
> display=320:240:38:20:15:4:30:3:9000:0x10003F:24 mtdoops.mtddev=omap2-nand
> mem=84M at 0x80000000 mem=147M at 0x86D00000 loglevel=4 splash
> mtdparts=omap2-nand.0:512k(x-loader),1664k(u-boot),384k(u-boot-env),12m(initrd),2560k(persistent),-(fs);physmap-flash.0:-(nor)
> omapfb.vrfb=y omapfb.rotate=2 root=/dev/ram rw ramdisk_size=162993
plymouth forces text output if there's a serial console attached.  You
have console=ttyO2 on the kernel command line so that's what it's
doing.

> [main.c]                            check_for_consoles:After processing
> serial consoles there are now 1 text displays
> [main.c]           plymouth_should_show_default_splash:checking if plymouth
> should show default splash
> [main.c]                          show_detailed_splash:Showing detailed
> splash screen
This confirms it here ^

> [ply-terminal.c]                             ply_terminal_open:trying to
> open terminal '/dev/ttyO2'
> [ply-terminal.c]                      ply_terminal_open_device:Unable to
> open terminal device '/dev/ttyO2': No such file or directory
> [ply-terminal.c]                             ply_terminal_open:could not
> open /dev/ttyO2 : No such file or directory
You also don't have the /dev/ttyO2 device node created, so it can't use it.

--Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/plymouth/attachments/20130301/954c818d/attachment.html>


More information about the plymouth mailing list