Yocto Tutorial - 02 Understanding the local.conf in Yocto: How to Customize Linux Distribution

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 18

  • @sarimjalil6690
    @sarimjalil6690 5 месяцев назад

    Salam,
    Great video, I am new to yocto to build system and learning a lot from your videos. They are on point and provide the right amount of information. One thing that I want to know about the "MACHINE" tag. If I want to build for some other board like for nxp, rockchip where can I find their provided meta layer and how to include that here so that I can use that. Can you make a video about some other board thats not included already here and just show the process on how to add files for that board to build an image.

    • @techabyte8
      @techabyte8  5 месяцев назад +1

      Wa elykum mussalam,
      For others boards, you can visit the website of the the respective board. They usually provide the link to there meta-layer, as well as how to build them.
      Furthermore you can visit Open-Embedded layer repository. There you can find most of the meta-layers. Open-Embedded repo is jus repo, they do not show how to build for a certain board.
      In future, I will try to build for different boards.

    • @sarimjalil6690
      @sarimjalil6690 5 месяцев назад

      @@techabyte8 Thanks, Looking forward to more great videos (y)

  • @tuhoang6609
    @tuhoang6609 10 месяцев назад

    Nice tutorial

    • @techabyte8
      @techabyte8  10 месяцев назад

      Glad you think so!

  • @kunalnemade6252
    @kunalnemade6252 Год назад +1

    Hello Munawar,
    Thanks for the video detaild explanations. I learnt a lot.
    However, I am still wondering on how to write own receipe from scrach for something beyong "helloWorld" thingy. For example, writing receipe for a small C project having dependancies such as pthread or memcached DB or SSL for that matter.
    Also, It would be good to know about do_install do_compile do_fetch functions and their use.
    Big thanks
    Kunal

    • @techabyte8
      @techabyte8  Год назад

      Hi Kunal,
      Your welcome, I appreciate that. In future I would definitely be making videos on the topics you mentioned.

  • @anujkumar-no1mv
    @anujkumar-no1mv Год назад +1

    Hi Munawar,
    Thanks for such a wonderful video. I followed the video and was successfully able to boot for BBB, but I am unable to access the GPIO in sys/class/gpio, and there is no GPIO directory. Any help is appreciated.

    • @techabyte8
      @techabyte8  Год назад

      Hi Anuj,
      You need to configure the Kernel to get sysfs for GPIOs.

    • @techabyte8
      @techabyte8  Год назад

      Here are some steps to enable sysfs Gpios.
      1) Execute bitbake -c menuconfig linux-yocto.
      2) In menuconfig, go to "General setup" and press Enter.
      3) In General setup, go to " Configure standard kernel features (expert user)" and press y.
      4) Using arrow keys select save press Enter thrice.
      5) Go to exit and press Enter.
      6) Go to "Device Drivers --> GPIO Support --> /sys/class/gpio" and press y.
      7) Go to Save and press Ennter thrice.
      8) Now Exit the menuconfig by selecting Exit thrice.
      9) Execute bitbake core-image-full-cmdline.
      10) Install image to BBB and try to access sysfs Gpios

    • @anujkumar-no1mv
      @anujkumar-no1mv Год назад

      @@techabyte8 Thanks for help. After executing menuconfig, there is no option to select /sys/class/gpio.Please check the settings below.
      config - Linux/arm 5.15.54 Kernel Configuration
      > Device Drivers > GPIO Support ──────────────┐ │
      │ │ --- GPIO Support
      │ │ (512) Maximum number of GPIOs for fast path │ │
      │ │ [ ] Debug GPIO calls
      │ │ -*- Character device (/dev/gpiochipN) support
      │ │ [*] Support GPIO ABI Version 1

    • @techabyte8
      @techabyte8  Год назад

      Hi Anuj,
      I think you missed step 2 to 5.
      First you need to go to General Setup and enable the expert mode.

    • @sarimjalil6690
      @sarimjalil6690 5 месяцев назад

      @@anujkumar-no1mv The /sys/calss/gpio systen has been officially deprecated and the new libgpiod system is now used which you can see in your menuconfig as /dev/gpiochipN. Search about libgpiod and you will understand.

  • @ganeshbhosle6497
    @ganeshbhosle6497 9 месяцев назад

    nice video ... I have one question ... That if I want to add python3.10 support to my image the how and from where I will get the .bb files

    • @techabyte8
      @techabyte8  9 месяцев назад

      Hello,
      If you're wondering whether Python 3 recipe is in one of the layers, try this command:
      *bitbake-layers show-recipes | grep python3*
      If you see *python3* in the list, it means the recipe is there.
      Now, in your local.conf, just add:
      *IMAGE_INSTALL += "python3"*
      After that, build the entire image. Python 3 should be in your image.
      Furthermore, you can refer to my following Video:
      ruclips.net/video/naszh2WoHAM/видео.html
      Hope this helps!

  • @abhishekk.r-r1s
    @abhishekk.r-r1s 10 месяцев назад

    DISTRO 'qti-distro-rb-debug' not found. Please set a valid DISTRO in your local.conf I am continously getting this error,please help me regarding this

    • @techabyte8
      @techabyte8  10 месяцев назад

      Hi there,
      are you building for beagle-bone black or some other board.
      Could you please share the content of local.conf file.

  • @axiediary3182
    @axiediary3182 4 месяца назад

    damn many ads..