[yocto] Id "s0" respawning too fast on Raspberry pi3

2018-08-21 Thread benxi
Hello Everyone,
I build a rpi-hwup-image and run it on my raspberry pi3(Model B V1.2). 
After the system boots up, I keep seeing such message: 
INIT: Id "S0" respawning too fast: disabled for 5 minutes.
I notice that yocto adds the following line to /etc/inittab when install 
sysvinit, since Serial_Console was set in raspberrypi3-64.conf:
S0:12345:respawn:/bin/start_getty 115200 ttyS0 vt102
   I try to add ENABLE_UART = "1" in local.conf but the message keeps coming. 
The message can be eliminated by commenting out the corresponding line in 
/etc/inittab.
   So, is this a bug of meta-raspberrypi? Is there anyway to fix it without 
modifying sysvinit's recipes and /etc/inittab?-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi] Id "s0" respawning too fast on Raspberry pi3

2018-08-21 Thread benxi
Hello Everyone,
I build a rpi-hwup-image and run it on my raspberry pi3(Model B V1.2). 
After the system boots up, I keep seeing such message: 
INIT: Id "S0" respawning too fast: disabled for 5 minutes.
I notice that yocto adds the following line to /etc/inittab when install 
sysvinit, since Serial_Console was set in raspberrypi3-64.conf:
S0:12345:respawn:/bin/start_getty 115200 ttyS0 vt102
   I try to add ENABLE_UART = "1" in local.conf but the message keeps coming. 
The message can be eliminated by commenting out the corresponding line in 
/etc/inittab.
   So, is this a bug of meta-raspberrypi? Is there anyway to fix it without 
modifying sysvinit's recipes and /etc/inittab?-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Id "s0" respawning too fast on Raspberry pi3

2018-08-22 Thread benxi
Hi Qi,
Thanks for your reply. It indeed solves the problem, however I'm afraid that 
modifying SERIAL_CONSOLES can have side effects on other recipes. I also wonder 
if there 're any way to enable ttyS0 on my raspberry pi(Since ENABLE_UART 
doesn't work).

在 2018-08-22 15:59:44,"ChenQi"  写道:

On 08/22/2018 12:24 PM, benxi wrote:

Hello Everyone,
I build a rpi-hwup-image and run it on my raspberry pi3(Model B V1.2). 
After the system boots up, I keep seeing such message: 
INIT: Id "S0" respawning too fast: disabled for 5 minutes.
I notice that yocto adds the following line to /etc/inittab when install 
sysvinit, since Serial_Console was set in raspberrypi3-64.conf:
S0:12345:respawn:/bin/start_getty 115200 ttyS0 vt102
   I try to add ENABLE_UART = "1" in local.conf but the message keeps coming. 
The message can be eliminated by commenting out the corresponding line in 
/etc/inittab.
   So, is this a bug of meta-raspberrypi? Is there anyway to fix it without 
modifying sysvinit's recipes and /etc/inittab?



Could you please check the SERIAL_CONSOLES variable to see if modifying its 
value could solve the problem?

Best Regards,
Chen Qi



 






-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Does yocto support android build tools?

2018-08-28 Thread benxi
Hello Everyone,
I'm trying to introduce an android package to my image. As I know, android 
uses its own build development kit, and uses Android.mk and Android.bp rather 
than traditional makefiles. 
I'm curious about if yocto supports such mechanism. Do I have to replace 
Android.mk and Android.bp with Makefiles?  


The following link says that yocto may be compatible with android packages. 
I've googled a lot but I didn't get any tip.

https://stackoverflow.com/questions/40759597/what-is-android-compat-build-artifacts-of-poky-in-yocto


So, before rewriting all the makefiles, I would rather ask: is there any 
better way to solve the problem?-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto