[yocto] [meta-raspberrypi] enable serial communication pi 3

Ayoub Zaki ayoub.zaki at embexus.com
Wed Sep 13 10:58:14 PDT 2017



On 13.09.2017 19:55, Khem Raj wrote:
>
>
> On Wed, Sep 13, 2017 at 12:27 AM, Ayoub Zaki <ayoub.zaki at embexus.com 
> <mailto:ayoub.zaki at embexus.com>> wrote:
>
>     I ran into the same problem:
>
>     ENABLE_UART = "1" is not enough you should also add
>     INSTALL_append= " rpi-config" to your local.conf and Serial port
>     will be enabled.
>
>
> ​this should be automatically pulled in if you built a sdcard image.​
I'm using Wic so it does not work unless I extend the machine config with :
MACHINE_EXTRA_RRECOMMENDS += " bcm2835-bootfiles rpi-config"
>
>
>     On 12.09.2017 14:09, yahia farghaly wrote:
>>     I have bitbaked rpi-hwup-image for raspberry pi 3 on sd card and
>>     connected the serial ports to /usb to ttl device/ . i have set
>>     the minicom to
>>     port: /dev/ttyUSB0
>>     baud rate: 115200
>>     the image is booting fine and i can see the prompt on the screen
>>     but cannot see in my serial console using minicom.
>>     *is serial enabled by default for this image ? *
>>     i also tried ENABLE_UART = "1" in local.conf but doesn't help.
>>
>>     how to enable it ? and what the serial device name with respect
>>     to raspberry pi
>>
>>     thanks,
>>
>>     -- 
>>     Yahia Farghaly
>>     Graduated from Faculty of Engineering - Electronics and
>>     Communications Department at Cairo University.
>>     Linkedin <https://linkedin.com/in/yahiafarghaly> - GitHub
>>     <https://github.com/yahiafarghaly>
>>
>>
>>
>>>>
>>
>
>     -- 
>
>     Ayoub Zaki
>     Embedded Systems Consultant
>
>     Vaihinger Str. 2/1
>     71634 Ludwigsburg
>
>     e-mail:ayoub.zaki at embexus.com <mailto:ayoub.zaki at embexus.com>
>     Tel:+49176-62901545 <tel:+49%20176%2062901545>
>     https://embexus.com
>
>
>     --
>     _______________________________________________
>     yocto mailing list
>     yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/yocto
>     <https://lists.yoctoproject.org/listinfo/yocto>
>
>

-- 
Ayoub Zaki
Embedded Systems Consultant

Vaihinger Straße 2/1
D-71634 Ludwigsburg

Tel.     : +4971415074546
Mobile   : +4917662901545
Email    : ayoub.zaki at embexus.com
Homepage : https://embexus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170913/9e31c83b/attachment.html>


More information about the yocto mailing list