{"id":20331161,"url":"https://github.com/comcast/rdk-on-raspberrypi","last_synced_at":"2025-03-04T12:25:40.320Z","repository":{"id":140976338,"uuid":"55094706","full_name":"Comcast/rdk-on-raspberrypi","owner":"Comcast","description":"Documentation for running RDK profiles ( Video, broadband, Camera ) on Raspberrypi boards","archived":false,"fork":false,"pushed_at":"2020-09-14T18:09:16.000Z","size":22,"stargazers_count":15,"open_issues_count":0,"forks_count":13,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-01-14T15:24:57.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Comcast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-30T20:16:22.000Z","updated_at":"2023-08-27T20:33:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca212a02-b6f7-4a4b-b554-d311ef62171c","html_url":"https://github.com/Comcast/rdk-on-raspberrypi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Frdk-on-raspberrypi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Frdk-on-raspberrypi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Frdk-on-raspberrypi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comcast%2Frdk-on-raspberrypi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Comcast","download_url":"https://codeload.github.com/Comcast/rdk-on-raspberrypi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241846189,"owners_count":20030012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T20:19:01.891Z","updated_at":"2025-03-04T12:25:40.299Z","avatar_url":"https://github.com/Comcast.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# rdk-on-raspberrypi\nDocumentation for running RDK profiles ( Video, broadband, Camera ) on Raspberrypi boards\n\nSetting up workspace\n\n```shell\nmkdir rpi-yocto\ngit clone git://git.yoctoproject.org/poky\ngit clone git://git.openembedded.org/meta-openembedded\ngit clone git://git.yoctoproject.org/meta-raspberrypi\ngit clone git://github.com/WebPlatformForEmbedded/meta-wpe\ngit clone git://github.com/96boards/meta-96boards\n\nsource poky/oe-init-build-env rpi-ml-build\n\nbitbake-layers add-layer ../meta-openembedded/meta-oe\nbitbake-layers add-layer ../meta-openembedded/meta-multimedia\nbitbake-layers add-layer ../meta-openembedded/meta-python\nbitbake-layers add-layer ../meta-openembedded/meta-networking\nbitbake-layers add-layer ../meta-raspberrypi\nbitbake-layers add-layer ../meta-96boards\nbitbake-layers add-layer ../meta-wpe\n```\n\nEdit conf/local.conf\nSet Machine\n\n```shell\nMACHINE = \"raspberrypi3\"\n```\n\nyou can use raspberrypi2 as well if you own raspberrypi2 machine.\n\nIgnore QT\n```shell\nBBMASK = \"recipes-qt\"\n```\nRemove X11 from distro features\n```shell\nDISTRO_FEATURES_remove_rpi = \"x11\"\n```\nBuild WPE with Westeros Compositor\n\n```shell\nbitbake wpe-westeros-image\n```\n\nFor westeros-wpe-image to runtime test. Here are steps, please document them publicly so folks using this image\nCan try them out. These are validated on RaspberryPI3\n\n ```shell\nsudo dd if=tmp/deploy/images/raspberrypi3/westeros-wpe-image-raspberrypi3.rpi-sdimg of=/dev/sdX\n ```\n\nwhere X is the letter a,b,c which your box would have mounted the uSD card on you can check that with dmesg | tail -10\nwhen you insert the card into your computer.\n\nOnce booted login as ‘root’ it has no password\n\nRun\n```shell\nexport XDG_RUNTIME_DIR=/tmp\nexport WAYLAND_DISPLAY=wayland-0\n/usr/bin/WPELauncher\n ```\nThis should result in WPE launched on screen and you can try to play a video manually\n\nOr you can launch a video like\n ```shell\n/usr/bin/WPELauncher https://www.youtube.com/tv#/watch/video/control?v=-YGDyPAwQz0\u0026resume\n ```\nwhich will play one video automatically\n\n\nSecond test is to run big bunny video launch it like\n ```shell\ngst-launch-1.0 souphttpsrc location=\"http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_h264.mov\" ! typefind ! qtdemux name=demux demux. ! queue ! h264parse ! omxh264dec ! glimagesink demux. ! queue ! faad ! autoaudiosink\n```\nResize SD-Card\n\nAdd in local.conf\n```shell\nCORE_IMAGE_EXTRA_INSTALL_append = \" 96boards-tools \"\n```\nand build the image again and flash it to SD-Card then run the following after firstboot.\n\n```shell\n\nparted /dev/mmcblk0 resizepart 2 100%\nresize2fs -p /dev/mmcblk0p2\nreboot\n\n```\n\nWith systemd if dhcp does not work then you have to set /etc/resolv.conf symlink correctly.\n\n```shell\nln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomcast%2Frdk-on-raspberrypi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomcast%2Frdk-on-raspberrypi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomcast%2Frdk-on-raspberrypi/lists"}