[wpe-webkit] Raspberry Pi reference set up for WPE

Pranati. I sa Dwivedi pranati1106 at gmail.com
Mon Mar 28 23:19:52 PDT 2022


Hi

I was trying to set up WPE for raspberry pi and I have tried 2 different
ways but getting error via both. Below I have mentioned my both the ways.


   1. First approach:
      1. For Yocto build system to work properly, some packages need to be
      installed.

      Installed the packages chrpath diffstat gawk texinfo make

      *Command* : apt-get install chrpath diffstat gawk texinfo
      2.

      git clone https://github.com/YoeDistro/yoe-distro.git
      3. cd yoe-distro
      4. In envsetup.sh script, change the path "*home/build*" to the
      actual home directory path. (For eg if the user of the Virtualbox is
      "vm" , change it to *"/home/vm"*
      5. Execute . ./raspberrypi3-envsetup.sh
      6. yoe_setup
      7. cp conf/local.conf.sample conf/local.conf
      8. Comment DL_DIR in nano conf/local.conf
      9. If you do not want to use Docker environment for building, or if
      docker is not installed, set the DOCKER_REPO variable to none.
         - *Command* : *export DOCKER_REPO=none*
      10.

      yoe_add_layer git at github.com:WebPlatformForEmbedded/meta-wpe master. This
      will download the latest master branch of the WPE code from the git
      repository.
      - *ERROR*: Variable DISTRO_FEATURES_append file:
         /home/pranati/wpeonpi/yoe-distro/sources/meta-wpe/conf/layer.conf
line: 44
         contains an operation using the old override syntax. Please
convert this
         layer/metadata before attempting to use with a newer bitbake.

         *Solution* : In file conf/layer.conf change
         change DISTRO_FEATURES_append = " compositor thunder" to
DISTRO_FEATURES +=
         " compositor thunder"
         - *ERROR*: Layer wpe-layer is not compatible with the core layer
         which only supports these series: kirkstone (layer is
compatible with thud
         warrior dunfell gatesgarth sumo zeus)
      11.
      2. Second approach:
   3.

   1. git clone [mailto:git at github.com
   :webplatformforembedded/buildroot.git]git at github.com:
   webplatformforembedded/buildroot.git

   2. cd buildroot

   3. git checkout main

   4. make raspberrypi3_wpe_ml_defconfig

   5. make
   Getting Error after step 5:Please make sure you have the correct access
   rights
   and the repository exists.
   Detected a corrupted git cache.
   Removing it and starting afresh.
   Initialized empty Git repository in
   /home/pranati/pisetup/buildroot/dl/libprovision/git/.git/
   Fetching all references
   ERROR: Repository not found.
   fatal: Could not read from remote repository.
   4.

Let me know if anyone can help me with either of approach on how to
proceed further. And I have attached the screen-shot of the error I am
getting with step 2.

Regards
Pranati Dwivedi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-wpe/attachments/20220329/4b185bb0/attachment.htm>


More information about the webkit-wpe mailing list