Commit Graph

1695 Commits

Author SHA1 Message Date
Andrei Gherzan
a3bd3dba78 poky-raspberrypi.conf: Remove distro file
We added distro file for having BBMASK and thought this would be a good
place to hold some other distro variables. Obviously the only needed
variable was BBMASK after all, so a cleaner way would be to instruct
users to add BBMASK to local.conf

[GITHUB #57]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-06 00:58:43 +03:00
Jack Mitchell
9a84696178 rpi-basic-image: Add new basic image with SSH server
Add a new basic image with ssh-server-dropbear IMAGE_FEATURE

This is to allow people without physical hardware attached to
the Pi such as monitor and keyboard to connect over the network.

[GITHUB #52]

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-03 02:20:01 +03:00
Andrei Gherzan
495d44ce1d poky-raspberrypi.conf: Weakly assign BBMASK
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-31 12:22:50 +03:00
Andrei Gherzan
ad5ef65066 raspberrypi.conf: Set udev PREFERRED_VERSION to 164
It seems like rpi kernel doesn't work well with newer udev version so
we set 164 as preferred version for it.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 19:27:43 +03:00
Andrei Gherzan
6647bb651f omxplayer: Integrate git revision 231c08b42005e3de565013bc1cee18bd5a349c1f
Add four patches:
1. don-t-strip-while-installing.patch
   Don't strip binaries because buildsystem will strip them after all.
2. libraries-are-installed-in-usr-lib.patch
   Libraries are installed in /usr/lib not in /usr/local/lib
3, remove-hardcoded-directory-omxplayer-dist.patch
   We want files to be installed in ${D}. Add a variable in Makefile to
   let users install omxplayer in a specific location.
4. remove-makefile-include.patch
   Remove Makefile.include as it includes hardcoded paths. Rely on
   variables provided by build system.

[GITHUB #34]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:21 +03:00
Andrei Gherzan
cc199637a7 vc-graphics.inc: New provides, compatible machine and init for vchiq
1. Add COMPATIBLE_MACHINE=raspberrypi.
2. This package provides libgl libgles2 and libegl. Add these to
PROVIDES.
3. Add an init script to create vchiq device node while booting. This
device is needed by vc_tvservice_*. Package this init script in ${PN}.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:21 +03:00
Andrei Gherzan
3e0cf999e8 poky-raspberrypi.conf: Remove libav from BBMASK
We will use this package from meta-oe. libav is a dependency for
omxplayer.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
7c82087be9 README: Instruct users to add meta-oe layer to bblayers.conf
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
5de86a6190 bcm2835-bootfiles.bb: Add COMPATIBLE_MACHINE
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
d5c1df58e3 vc-graphics.bb: Change bb file mode to 644
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
6f55f7f9f0 raspberrypi.conf: Set PREFERRED_PROVIDER for egl, libgles2 and gl
These variables are weakly assigned to let user overwrite them.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:05:20 +03:00
Andrei Gherzan
2176dc0bbf RPI.GPIO: Integrate v0.2.0
Patch was added to use setuptools that we already have integrated in
yocto and not the one provided in package. In his way we can use
setuptools bbclass.

[GITHUB #36]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-29 00:04:19 +03:00
Sander van Grieken
32d2d1bcde sdcard_image-rpi.bbclass: Add support for 240M/16M GPU memory split
Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
2012-08-29 00:01:23 +03:00
Andrei Gherzan
12b0f2db37 README: Add instructions for compressed deployed files
[GITHUB #39]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:59:28 +03:00
Andrei Gherzan
9317527ce1 sdcard_image-rpi: Use xzcat if SDIMG_ROOTFS_TYPE is a .xz file
When burning the rootfs partition we use dd if rootfs file is not
compressed and xzcat piped with dd if rootfs file is a .xz file.

[GITHUB #39]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:59:28 +03:00
Andrei Gherzan
221619ec83 raspberrypi.conf: Weakly assign IMAGE_FSTYPES to let users overwrite
[GITHUB #39]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:59:28 +03:00
Andrei Gherzan
6d866926d8 linux-raspberrypi: Update to v3.2.27
Switch to rpi-3.2.27 branch and use
SRCREV 091073bcab483b976ee33dfe914c28df87914a3b.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:58:26 +03:00
Andrei Gherzan
2757e583aa firmware.inc: Update to SRCREV c42f21261f1eeae0df7ad02f34773e279e7af8c5
01/07/2012 firmware

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:58:26 +03:00
Andrei Gherzan
b7c2c6f119 bcm2835-bootfiles: Add stamp in deploy directory
In this way we can tell exactly what version is deployed.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-28 23:58:26 +03:00
Andrei Gherzan
3dfb945730 raspberrypi.conf: Weakly assign PREFERRED_PROVIDER_virtual/egl
Use vc-graphics-hardfp by default as virtual/egl and let the user
overwrite this.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:28 +03:00
Andrei Gherzan
452b7f5e09 vc-graphics.inc: Skip ldflags insane check
Since these binaries are proprietary and we have no control over them,
skip this innsane check to avoid errors like:
ERROR: QA Issue: No GNU_HASH in the elf binary: '<binary>'

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:27 +03:00
Andrei Gherzan
4ff04c2b78 vc-graphics.inc: Package .so file in ${PN}
${PN}-dev is populated before ${PN}. This is why .so files ended up in
${PN}-dev.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:27 +03:00
Andrei Gherzan
43cc40c698 vc-graphics.inc: Set LICENSE to "Proprietary"
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:17:27 +03:00
Andrei Gherzan
49e9178df5 raspberrypi.conf: Add "rtc" to MACHINE_FEATURES_BACKFILL_CONSIDERED
RaspberryPi has no hardware clock, this is why hwclock initscript from
busybox fails at boot. So make sure we don't have this init script
to avoid errors at boot.

[GITHUB #21]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:14:47 +03:00
Andrei Gherzan
8ce28d2b73 linux: Activate UDEV_GE_141
Newer versions of udev mandate that sysfs doesn't have deprecated
entries

[GITHUB #24]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-22 01:14:47 +03:00
Andrei Gherzan
81c06ffcc7 linux.inc: Activate CONFIG_LEGACY_PTYS needed for bootlogd
Activate this to have /dev/ptmx before init script for bootlogd.

[GITHUB #27]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-08-17 11:27:13 +03:00
Andrei Gherzan
010fee44f3 linux-raspberrypi_3.1.9: Fix typo
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-10 11:57:05 +03:00
Andrei Gherzan
7b8df50613 sdcard_image-rpi: Use ${KERNEL_IMAGETYPE}-${MACHINE} as kernel source from deploy dir
${KERNEL_IMAGETYPE} symlink was introduced after denzil so we use
${KERNEL_IMAGETYPE}-${MACHINE} to be able to satisfy the existence in denzil and master
as well.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-10 11:57:05 +03:00
Andrei Gherzan
b3a0db27f6 Merge pull request #30 from agherzan/devel_netbase
netbase: Rename bbappend and directory to match the updated version of n...
2012-07-09 13:15:06 -07:00
Andrei Gherzan
2ea933eac3 netbase: Rename bbappend and directory to match the updated version of netbase
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-09 23:13:34 +03:00
Andrei Gherzan
fc02bba13d Merge pull request #25 from agherzan/devel_kernel
Fix a couple of kernel issues / update kernel / update bootloader and related files / remove unneeded packages
2012-07-09 13:05:15 -07:00
Andrei Gherzan
94d69f8533 sdcard_image-rpi: Copy the kernel specified with KERNEL_FSTYPE
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-06 02:22:28 +03:00
Andrei Gherzan
41afde0961 raspberrypi.conf: Use Image as as kernel fstype
It's a bug in the latest bootloader where rpi doesn't boot
with zImage. Use uncompressed kernel type.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:42:11 +03:00
Andrei Gherzan
b9b0c009c8 linux-raspberrypi: Add CMDLINE for raspberrypi
Because CONFIG_EXT4_USE_FOR_EXT23 is built in, use rootfstype=ext4
to mount ext2/3/4.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +03:00
Andrei Gherzan
44444b0511 bcm2835-mkimage: Remove recipe as bootloader can boot from Image directly
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +03:00
Andrei Gherzan
275c6b1a2b bcm2835-kernel-image: Remove recipe as bootloader can boot from Image directly
There is no need for a mangled kernel image anymore. Precompiled RPI Bootloader
can boot an uncompressed kernel image.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +03:00
Andrei Gherzan
6f744980b5 raspberrypi.conf: Remove bcm2835-kernel-image as we can boot from Image directly
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-05 23:38:58 +03:00
Andrei Gherzan
1f4fad072f firmware.inc: Update to latest upstream
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-03 15:16:01 +03:00
Andrei Gherzan
9d2bde45dd linux-raspberrypi: Update kernel to latest upstream
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-03 15:15:58 +03:00
Andrei Gherzan
a71cbe5274 Merge pull request #18 from agherzan/devel_rmlinuxtools
linux.inc: Remove reference to linux-tools.inc
2012-07-02 10:36:04 -07:00
Andrei Gherzan
2fa4f41e20 Merge pull request #3 from agherzan/devel_yocto
Add yocto build details and distro file
2012-07-02 10:34:55 -07:00
Andrei Gherzan
d37ee52f6b Merge pull request #19 from agherzan/devel_sdimage
New sdcard image class work
2012-07-02 10:33:03 -07:00
Andrei Gherzan
a95712d8e7 sdcard_image-rpi.bbclass: Change to be usable with any image
Instead of being inherited by a specific image recipe, this class can
now be inherited globally in the machine configuration, allowing it to
be used with any image. This means we can remove "inherit image", and
we can also remove the IMAGE_FSTYPES modification since the machine
config does this already.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 18:30:28 +03:00
Andrei Gherzan
f0d4934ed8 raspberrypi.conf: Add variable to set GPU firmware image to be used
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 18:30:24 +03:00
Andrei Gherzan
53eecaf2e9 raspberrypi.conf: Add ext3 to FSTYPE as needed by sd creation tool
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 18:30:20 +03:00
Andrei Gherzan
2567ba074c sdcard_image-rpi.bbclass: Rewrite sdimage creation class - implemented with parted
This implementation doesn't use loop mounts, it uses mcopy to copy files to partitions.
The partition creation is done with parted. Because of using these tools the
IMAGE_DEPENDS was modified accordingly.
Added a way of selecting the desired GPU firmware.
Because we don't create the rootfs image but we rely on an already created rootfs
image, the stamp is available only in the boot partition.
By default the class needs an ext3 rootfs image. This is because we don't have yet
a way of generating cmdline.txt in order to pass the partition type to the kernel.
By default ext3 is mounted so we use this fs type until this will be selectable while
generating a cmdline file.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 18:30:15 +03:00
Andrei Gherzan
6f8544ef12 rpi-hwup-image: Create image based on core-image-minimal
Include kernel modules in rootfs while generating a
core-image-minimal.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 02:00:38 +03:00
Andrei Gherzan
73e31e94e4 README: Add yocto specific infos
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 02:00:31 +03:00
Andrei Gherzan
2b84f802a8 poky-raspberrypi.conf: Add yocto specific distro configure file
This distro configure file relies on poky distro conf.
We use this distro to include raspberrypi-default-versions and to
BBMASK libav and rpi-zram-service and these packages are not included
in poky.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 01:58:37 +03:00
Andrei Gherzan
4b460a3f78 Merge pull request #17 from agherzan/devel_serialname
raspberrypi.conf: Fix serial console name
2012-07-01 11:07:37 -07:00