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

yahia farghaly yahiafarghaly at gmail.com
Wed Sep 13 01:04:07 PDT 2017


Thanks for replying but it gives me this error log


> *ERROR: rpi-hwup-image-1.0-r0 do_rootfs: Unable to install packages.
> Command
> '/yocto/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/recipe-sysroot-native/usr/bin/apt-get
>  install --force-yes --allow-unauthenticated run-postinsts
> packagegroup-core-boot kernel-modules rpi-config' returned 100:*
> *Reading package lists...*
> *Building dependency tree...*
> *Reading state information...*
> *Package rpi-config is not available, but is referred to by another
> package.*
> *This may mean that the package is missing, has been obsoleted, or**is
> only available from another source*
> *E: Package 'rpi-config' has no installation candidate*
>
> *ERROR: rpi-hwup-image-1.0-r0 do_rootfs: Function failed: do_rootfs*
> *ERROR: Logfile of failure stored in:
> /yocto/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_rootfs.2252**ERROR:
> Task
> (/yocto/poky/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb:do_rootfs)
> failed with exit code '1'*


All what i did is  IMAGE_INSTALL_append = "rpi-config" , the recipe file is
not exist in the meta-raspberry

‌

On 13 September 2017 at 09:27, Ayoub Zaki <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.
>
> 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
> Tel: +49176-62901545https://embexus.com
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170913/608ce122/attachment.html>


More information about the yocto mailing list