Open ghost opened 5 years ago
@outbackdingo I had faced similar issue and I am in process to make sure it builds with both FDO backend as well as RDK backend ( only for RPI)..
Check if gstreamer-gl-1.0.pc is installed in staging directory . This usually happens when gstreamer is compiled without EGL/GLES .
Hopefully by today or tomorrow I will resolve all the pull request comments. :)
Thats great to hear, meanwhhile does anyone have an image i can flash onto a PI 3B and test the touch screen
Sorry I have RPI3 and never used touchscreen
You can try wpewebkit-rdk branch from my repository https://github.com/munezbn/buildroot-wpe/tree/wpewebkit-rdk which is currently under review for merge with this master branch.
Hi there! One solution is to enable BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL
and do a rebuild. The best approach though, is to apply a change similar to the one in this patch for the upstream webkitgtk packaging.
@munezbn i tried building from your tree however the build actually fails
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
ln -sf rootfs.ext2 /home/dingo/Wireless/buildroot/output/images/rootfs.ext4
Executing post-image script board/raspberrypi3/post-image.sh INFO: cmd: "mkdir -p "/home/dingo/Wireless/buildroot/output/build/genimage.tmp"" (stderr): INFO: cmd: "rm -rf "/home/dingo/Wireless/buildroot/output/build/genimage.tmp"/*" (stderr): ERROR: file(bcm2710-rpi-3-b-plus.dtb): stat(/home/dingo/Wireless/buildroot/output/images/bcm2710-rpi-3-b-plus.dtb) failed: No such file or directory ERROR: vfat(boot.vfat): could not setup bcm2710-rpi-3-b-plus.dtb make[1]: [Makefile:776: target-post-image] Error 1 make: [Makefile:79: _all] Error 2
Your image folder doesn't include bcm2710-rpi-3-b-plus.dtb .
The kernel which is build in the config doesn't seems to have 3b+ dtb file. But it is available in rpi-firmware, which you can find in your build dir : build/rpi-firmware-2067241bc7cdf238fdeab7f5a3c22faa57dd5617/boot.
You can manually copy it to image directory and unblock yourself for now.. But for 3B+ box the config file should be different for at least below BR2 options. We will need to find right kernel for 3B+
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9126e25b0934bd7bd843763310ea4b34c6e139d0" BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3"
EDIT: latest RPI kernel repo has support for it. May be you can give a try with Version 4f30a5365296658d66ef8a9f878a25d229e2d5fa and update BR2_LINUX_KERNEL_INTREE_DTS_NAME
I have just opened a pull request that solves @outbackdingo issue.
@inm-certi I think we should try to merge your PR — I have a doubt about it, so please check the comments on it. Thanks for your contribution!
@outbackdingo Could you please update your checkout now that @inm-certi's PR has been merged and try building again?
trying it now, though i suspect once i get there, i wount be able to use the waveshare usb 10.1 touch screen properly, i cant seem to find viable docs for configuring touch, i hear the spi model works thouughh,anyway updated and trying the build anyway now
it did successfully build and the sdcard image booted, now it seems i would have expected WPE Browser to load on start however it is sitting at a console login prompt, i can ssh in using root
@outbackdingo just type: "cog http://www.webkit.org/"
-- Checking for module 'gstreamer-codecparsers-1.0 >= 1.8.3' -- Found gstreamer-codecparsers-1.0 , version 1.14.4 -- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES (Required is at least version "1.8.3") CMake Error at Source/cmake/GStreamerChecks.cmake:40 (message): GStreamerGL is needed for USE_GSTREAMER_GL. Call Stack (most recent call first): Source/cmake/OptionsWPE.cmake:146 (include) Source/cmake/WebKitCommon.cmake:61 (include) CMakeLists.txt:156 (include)
-- Configuring incomplete, errors occurred! See also "/home/dingo/Wireless/buildroot/output/build/wpewebkit-2.22.0/CMakeFiles/CMakeOutput.log". See also "/home/dingo/Wireless/buildroot/output/build/wpewebkit-2.22.0/CMakeFiles/CMakeError.log". make[1]: *** [package/pkg-generic.mk:222: /home/dingo/Wireless/buildroot/output/build/wpewebkit-2.22.0/.stamp_configured] Error 1