ARM开机因为启动weston导致的”花屏“问题

ARM开机因为启动weston导致的”花屏“问题

我们一款设备(linux arm),开机在用户操作界面出现前shell (黑底白字),一堆打印,很不雅观。这问题太简单了,加个开机画面不就可以吗?

于是加上pspflash启动,期望能挡住该死得黑白输出;结果出现下面的结果。 使用 pspflash -n (non-switch)选项,依然如故。

不得已,进取看看这个黑白界面是何方神圣?  找到init目录,很快得知这玩意是启动weston 命令导致的,openvt -s weston -- $OPTARGS, 

openvt will find the first available VT, and run on it the given command with the given command options, standard input, output and error are directed to that terminal. The current search path ($PATH) is used to find the requested command. If no command is specified then the environment variable $SHELL is used.” 

试了重定向管道后台运行等办法,都不管用,有的竟然导致系统不能正常启动。回到“第一性原理”思考模式,weston真的需要openvt用shell启动吗?看了weston的资料结果是还真需要,不过人家提供了自己的option  --tty=xx 。 马上修改 “openvt -s weston -- $OPTARGS” 为“ weston --tty=1 $OPTARGS" . 搞定

 

   

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值