mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
Merge pull request #3 from agherzan/devel_yocto
Add yocto build details and distro file
This commit is contained in:
commit
2fa4f41e20
20
README
20
README
|
@ -44,4 +44,24 @@ It is preferred that people raise pull requests using GIThub by forking the appr
|
||||||
https://github.com/djwillis/
|
https://github.com/djwillis/
|
||||||
(More info on achieving this can be found at http://help.github.com/send-pull-requests/)
|
(More info on achieving this can be found at http://help.github.com/send-pull-requests/)
|
||||||
|
|
||||||
|
Yocto BSP Layer - RaspberryPi
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
This layer depends on:
|
||||||
|
|
||||||
|
URI: git://git.yoctoproject.org/poky
|
||||||
|
branch: master
|
||||||
|
revision: HEAD
|
||||||
|
|
||||||
|
How to use it:
|
||||||
|
|
||||||
|
1. source poky/oe-init-build-env rpi-build
|
||||||
|
2. Add meta-raspberrypi in bblayers.conf
|
||||||
|
3 Set MACHINE to raspberrypi in local.conf
|
||||||
|
4. Modify distro to DISTRO ?= "poky-raspberrypi" in local.conf
|
||||||
|
5. bitbake rpi-hwup-image
|
||||||
|
6. dd to a SD card the generated sdimg file
|
||||||
|
7. Boot your RPI.
|
||||||
|
|
||||||
Layer maintainer: John Willis <John.Willis at distant-earth.com>
|
Layer maintainer: John Willis <John.Willis at distant-earth.com>
|
||||||
|
Andrei Gherzan <andrei at gherzan.ro>
|
||||||
|
|
7
conf/distro/poky-raspberrypi.conf
Normal file
7
conf/distro/poky-raspberrypi.conf
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
require conf/distro/poky.conf
|
||||||
|
|
||||||
|
# There is no libav in poky
|
||||||
|
# Systemd is not yet in poky
|
||||||
|
# rpi-zram-service is a systemd service
|
||||||
|
# and it needs systemd
|
||||||
|
BBMASK = "libav|rpi-zram-service"
|
7
recipes-core/images/rpi-hwup-image.bb
Normal file
7
recipes-core/images/rpi-hwup-image.bb
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Base this image on core-image-minimal
|
||||||
|
include recipes-core/images/core-image-minimal.bb
|
||||||
|
|
||||||
|
# Include modules in rootfs
|
||||||
|
IMAGE_INSTALL += " \
|
||||||
|
kernel-modules \
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user