Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

            Userland dependency of wpeframework and snapshot feature is removed with vc4 changes. wayland opengl is enabled for gstreamer plugins. Gstreamer packages are enabled with GLES2 and EGL libraries.

  Westeros Changes :

      Userland uses dispmanx for rendering graphics and video. With vc4graphics instead of dispmanx, DRM (Direct Rendering Manager) module is used.  DRM is a subsystem of the Linux kernel responsible for interfacing with GPUs of modern video cards. DRM is a kernel module that gives direct hardware access to DRI clients. Westeros-dispmanx is suppressed and westeros-drm is used for rendering.  Westeros-sink is enabled to use v4l2 by modifying soc-path to v4l2Westeros was updated to latest revision for supporting video codecs that are already used.

     Gstreamer packages are enabled with GLES2 and EGL libraries. 

List of changes done

 System Work Flow

           Direct Rendering Infrastructure (DRI) provide interface to interface Mesa, OpenGL and other 3D rendering API libraries with the device drivers and hardware. Mesa also contains an implementation of software rendering called swrast that allows shaders to run on the CPU as a fallback when no graphics hardware accelerators are present. The Gallium software rasterizer is known as softpipe or when built with support for LLVM llvmpipe, which generates CPU code at runtime

...

  •  Flashing the image

       Image is flashed to micro SD card before inserting to RPI board.   

    Command to flash the image

        Generated image has to be flashed to an micro SD card using this command in local PC:

    $ sudo dd if=<path to ImageName.rpi-sdimg> of=<path to micro SD card space> bs=4M

Ex: 

$ sudo dd if=rdk-generic-hybrid-thunder-image_default_20200302130659.rootfs.rpi-sdimg of=/dev/sdc bs=4M
317+0 records in
317+0 records out
1329594368 bytes (1.3 GB, 1.2 GiB) copied, 104.88 s, 12.7 MB/s
$ sync


The micro SD card is then inserted to the Raspberry Pi board and booted to check for containers created. The Raspberry Pi board is connected to the PC via a USB to serial converter and the logs can be checked in console or can be connected via HDMI cable to a TV and logs will be shown in the terminal

References