If SERIAL_CONSOLE is already define by another layer, this value may not be good.
PATCH 1/1 If SERIAL_CONSOLE is already define by another layer, this value may not be good.
--- conf/machine/include/rpi-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/rpi-base.inc +1 -1
@@ -7,7 +7,7 @@ include conf/machine/include/soc-family.inc IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" -SERIAL_CONSOLE ?= "115200 ttyAMA0" +SERIAL_CONSOLE = "115200 ttyAMA0" XSERVER = " \ xserver-xorg \
Signature · 1 line
1.7.10.4
Quoted 11 lines · Thomas Perrot
Signed-off-by Thomas Perrot <[email protected]>--- conf/machine/include/rpi-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/include/rpi-base.inc +0
-0
conf/machine/include/rpi-base.inc include conf/machine/include/soc-family.inc · line 13
Quoted 8 lines
conf/machine/include/rpi-base.inc +1
-1@@ -7,7 +7,7 @@ include conf/machine/include/soc-family.inc IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" -SERIAL_CONSOLE ?= "115200 ttyAMA0" +SERIAL_CONSOLE = "115200 ttyAMA0" XSERVER = " \ xserver-xorg \
Firstly, this should go to the RaspberryPi list (CC'd), not here.
How can this value, which is only ever defined in this file when using MACHINE=raspberrypi* be affected by another layer? Is there is another layer which is defining this variable outside of the MACHINE .conf files, then that layer is incorrect, not this one.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Hi Gary,
I know it is incorrect to define this variable in a no machine layer but that can be possible.
For example, by using the meta-systemd layer, the recipe systemd-serialgetty define SERIAL_CONSOLE, so when the raspberrypi machine layer is applied, the SERIAL_CONSOLE isn't changed and the value is invalid.
I know that it's incorrect for the meta-systemd layer to define this variable, so I have submit a another patch to fix it.
But I think replace "?=" by "=" in raspberrypi machine layer is more robust.
I also send this patch on the rpi mailing list.
Best regards,
Thomas P.
Quoted 41 lines · Gary Thomas
Quoted 13 lines · Thomas Perrot
Signed-off-by Thomas Perrot <[email protected]>--- conf/machine/include/rpi-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/include/rpi-base.inc +0
-0conf/machine/include/rpi-base.inc include conf/machine/include/soc-family.inc · line 13
Quoted 8 lines
conf/machine/include/rpi-base.inc +1
-1@@ -7,7 +7,7 @@ include conf/machine/include/soc-family.inc IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" -SERIAL_CONSOLE ?= "115200 ttyAMA0" +SERIAL_CONSOLE = "115200 ttyAMA0" XSERVER = " \ xserver-xorg \Firstly, this should go to the RaspberryPi list (CC'd), not here.
How can this value, which is only ever defined in this file when using MACHINE=raspberrypi* be affected by another layer? Is there is another layer which is defining this variable outside of the MACHINE .conf files, then that layer is incorrect, not this one.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 10 lines · Thomas PERROT
Hi Gary,
I know it is incorrect to define this variable in a no machine layer but that can be possible.
For example, by using the meta-systemd layer, the recipe systemd-serialgetty define
SERIAL_CONSOLE, so when the raspberrypi machine layer is applied, theSERIAL_CONSOLEisn't changed and the value is invalid.
Quoted 6 lines
I know that it's incorrect for the meta-systemd layer to define this variable, so I have submit a another patch to fix it.
But I think replace "?=" by "=" in raspberrypi machine layer is more robust.
I also send this patch on the rpi mailing list.
IMO, the best solution would be to replace it totally since SERIAL_CONSOLE is deprecated by SERIAL_CONSOLES. It should probably be:
SERIAL_CONSOLES ?= "115200;ttyAMA0"
Quoted 42 lines · Gary Thomas
Quoted 41 lines · Thomas Perrot
Quoted 13 lines
Signed-off-by Thomas Perrot <[email protected]>--- conf/machine/include/rpi-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)conf/machine/include/rpi-base.inc +0
-0conf/machine/include/rpi-base.inc include conf/machine/include/soc-family.inc · line 13
Quoted 8 lines
conf/machine/include/rpi-base.inc +1
-1@@ -7,7 +7,7 @@ include conf/machine/include/soc-family.inc IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" -SERIAL_CONSOLE ?= "115200 ttyAMA0" +SERIAL_CONSOLE = "115200 ttyAMA0" XSERVER = " \ xserver-xorg \Firstly, this should go to the RaspberryPi list (CC'd), not here.
How can this value, which is only ever defined in this file when using MACHINE=raspberrypi* be affected by another layer? Is there is another layer which is defining this variable outside of the MACHINE .conf files, then that layer is incorrect, not this one.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------