Commit Graph

1683 Commits

Author SHA1 Message Date
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
Andrei Gherzan
d4a1ba2b24 Merge pull request #16 from GaryThomas/updates
bcm2835-kernel-image: Fix dependency
2012-07-01 11:06:30 -07:00
Andrei Gherzan
644c7ebad5 linux.inc: Remove reference to linux-tools.inc
linux-tools.inc was removed. More info:
commit b485f3e0e55ad62079ed0913970ff0620f4808ea
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
recipes-kernel: remove linux-tools.inc
perf has been moved to a standalone package, making linux-tools.inc
unecessary. It can now be removed and recipes that included it
updated.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-01 15:15:25 +03:00
Andrei Gherzan
5756b300b9 raspberrypi.conf: Fix serial console name
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-01 14:29:01 +03:00
Gary Thomas
0d19bc02c7 bcm2835-kernel-image: Fix dependency
Add dependency on kernel image as it must be built before this
package can be completed.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2012-06-30 13:59:44 -06:00
David-John Willis
ea603975e9 Merge pull request #5 from agherzan/devel_misc
bcm2835-bootfiles: Modify LICENSE to match license from poky common licenses.
2012-06-29 15:15:49 -07:00
David-John Willis
426cafd050 Merge pull request #13 from tthef/master
Packaging of firmware for VC graphics
2012-06-29 15:10:34 -07:00
Tomas Frydrych
0e566b3483 firmware: use common include to set source revision and include date in version
The firmware is split over multiple packages all of which need to use the same
source revision. Also, the firmware is currently not formally versioned, so
at least use the date the firmware was released in the versions.
2012-06-22 07:50:50 +01:00
Tomas Frydrych
fac94bf7de vc-graphics: package firmware for VC graphics
This package adds a egl.pc file for use with libEGL (it is necessary to
specify a custom include paths for the compiler due to brokenness in the
firmware header files).
2012-06-20 20:28:00 +01:00
David-John Willis
2bd08428ce Merge pull request #7 from koenkooi/patch-1
README: fix setup-scripts URL
2012-05-22 08:04:50 -07:00
Koen Kooi
5d388065dc README: fix setup-scripts URL
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-22 10:49:13 +03:00
David-John Willis
9179bbb13a Merge pull request #6 from GaryThomas/master
linux-raspberrypi: Fix kernel build when host uses make 3.82
2012-05-21 13:55:53 -07:00
Gary Thomas
d298418c6e linux-raspberrypi: Fix build issue with make 3.82
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2012-05-21 13:55:39 -06:00