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

yahia farghaly yahiafarghaly at gmail.com
Wed Sep 13 01:16:29 PDT 2017


ok, i fixed this thanks for the note but it still gives me the error.



‌

On 13 September 2017 at 10:07, Andrea Galbusera <gizero at gmail.com> wrote:

>
>
> On Wed, Sep 13, 2017 at 10:04 AM, yahia farghaly <yahiafarghaly at gmail.com>
> wrote:
>
>>
>> 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
>>
>
> You missed the space before rpi-config from the original suggestion in
> IMAGE_INSTALL_append. This is always required when overriding variables
> with _append
>
>
>>
>>>>
>> 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-62901545 <+49%20176%2062901545>https://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>
>>
>> --
>> _______________________________________________
>> 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/6c876790/attachment.html>


More information about the yocto mailing list