Commit Graph

386 Commits

Author SHA1 Message Date
Jonathan Liu
c6f7ec52cf rpi-config: fix setting decode_WVC1 in config.txt
Signed-off-by: Jonathan Liu <net147@gmail.com>
2015-09-24 01:40:38 +03:00
Petter Mabäcker
bdbe28d7f3 pi-blaster: Bump SRCREV
Update to latest revision in order to get rid of the integration patch
'0001-handle-install-data-hook-when-cross-compile.patch' that has been
submitted upstream.

Changes since cd318cd63031a30249a4c08435b97263fa76d7b7:
  bce7c1b Merge pull request #45 from Technux/dev/technux
  74510ff Display an error message if unable to open mbox
  53197ca handle install-data-hook when cross compile

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-09-24 01:28:59 +03:00
Jonathan Liu
16718000cf sdcard_image-rpi.bbclass: use existing ROOTFS_SIZE variable
The ROOTFS_SIZE variable is already set to the aligned root filesystem size.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2015-09-23 23:02:58 +03:00
Khem Raj
17dad9328b README: Add extra iformation on creating/sending patches using git
Current instructions could be improvised to help user in creating
properly formatted patches with some command help on git format-patch
and git send-email

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-08-10 23:37:14 +02:00
Andrei Gherzan
ade923f17d rpi-default-providers: Let users overwrite the default providers
[Feature #65]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Pierre FICHEUX <pierre.ficheux@gmail.com>
2015-08-10 23:16:08 +02:00
Petter Mabäcker
4c06098563 packagegroup-rpi-test: Add pi-blaster
Ensure that pi-blaster is built and included by default when building
'rpi-test-image'.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-08-10 01:50:08 +02:00
Mauro Carvalho Chehab
b47cbb6996 linux-raspberrypi.inc: Make kgdboc kernel param optional
The kernel debugger over console (kgdboc) parameter is being added
unconditionally to the kernel command line but this means that the
kernel will stop and wait for gdb to attach in case of a exception
or when sending a sysrq-g key. This behaviour may not be what most
users wants that are not remotely debugging the kernel over serial
console so make it optional by adding a ENABLE_KGDB config option.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
[javier: Extended commit message and made it conditional]
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
2015-08-10 00:36:20 +02:00
Derek Foreman
bfe2307cc4 sdcard_image-rpi.bbclass: Allocate more space for boot partition
The boot partition currently has a size of 20 MiB but just the start elf
binaries account almost 12 MiB, which means that only 8 MiB is left for
the kernel image. A recent kernel with many of its options built-in can
easily be more than 4 MiB so let's double the boot partition size to 40
MiB to make sure that it has enough room for the kernel image, the DTBs
and possible even a backup kernel.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
[javier: Extended the commit message]
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
2015-08-09 23:55:55 +02:00
Gary Thomas
d676d54f04 sdcard_image: Fix sdcard image generation
Recent updates to the MSDOS tools (OE-core is now at 3.0.28) have made
it an error to overwrite an image using mkfs.vfat.  This patch fixes
that problem by removing any old/stale images, thus starting from scratch.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2015-08-09 23:51:06 +02:00
Khem Raj
f188f3d756 userland: Fix POSIX compliance expectation
We have errors like below with glibc 2.22+

net_sockets_common.c:139:20: error: storage size of 'hints' isn't known
    struct addrinfo hints, *info, *p;
                        ^

newer glibc has now fixed the definitions of getaddrinfo and ilk to be
enabled with correct posix version.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-08-09 23:02:30 +02:00
Petter Mabäcker
7457bf182c wiringpi: Bump SRCREV
Update wiringpi to latest revision. Due to a refactoring of the build
procedure in wiringpi the integration patch 'makefile-install.patch'
didn't apply anymore. While migrating that patch it was simplified and
generated using 'git format-patch' instead, to make it easier to maintain
the patch in the future.

[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:53:27 +02:00
Petter Mabäcker
b78459f260 omxplayer: Bump SRCREV
[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:52:37 +02:00
Petter Mabäcker
83c9ed7dc7 userland: bump SRCREV
Update to latest version of userland for rpi.

[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:52:19 +02:00
Petter Mabäcker
9182a217c9 rpi-gpio: update version to 0.5.11
[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:52:00 +02:00
Petter Mabäcker
27a8acecf5 pi-blaster: bump to latest version
Removed 'enable-autotools-support.patch' since it is included in latest
upstream. Also fix a cross compiling issue.

[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:51:35 +02:00
Petter Mabäcker
5f057d9343 bcm2835: update version to 1.44
[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:48:31 +02:00
Petter Mabäcker
3eafe9d57a rpi-mkimage: Bump SRCREV
Update to latest version of rpi-mkimg

[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:47:58 +02:00
Petter Mabäcker
25d8f0b8d8 bcm: Bump SRCREV
Update to latest version of firmware.git

[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-07-19 14:46:02 +02:00
Thomas Perrot
c8532df1c2 If SERIAL_CONSOLE is already define by another layer, this value may not be good.
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
2015-06-05 16:38:14 +02:00
Trevor Woerner
0fc2b1c3ac bcm2835: update SRC_URI
It appears as though the location of this tarball has changed. The current
SRC_URI works but is redirected to this new location.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-06-05 16:32:38 +02:00
Petter Mabäcker
bfd50c24a2 README: fix outdated device tree info
After '6392a63 rpi-base.inc: Use KERNEL_DEVICETREE by default' was
introduced, the default value for 3.18+ kernels was changed. Ensure this
is reflected in the README.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-06-05 14:49:47 +02:00
Petter Mabäcker
4a4373c02d devicetree: auto-disable dts for old kernels
After '6392a63 rpi-base.inc: Use KERNEL_DEVICETREE by default' was
introduced, kernel versions < 3.18 might not be buildable. Since full
device tree support was introduced in 3.18 this change ensures that all
kernel < 3.18 will automatically disable device tree.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-06-05 14:49:46 +02:00
Petter Mabäcker
6ef9d94a2c linux-raspberrypi: Update 3.12 branch to latest
Update linux-raspberrypi_3.12 to latest revision.

Remove sl030raspberrypii2ckernel.patch since it will not apply anymore
and its content seems to be obsolite after
'558d0bf Fix grabbing lock from atomic context in i2c driver' was
merged to 3.12.

[Support #60]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-05-18 00:48:49 +02:00
Petter Mabäcker
bcae58ba84 linux-raspberrypi: Drop support for old kernel versions
meta-raspberrypi currently supports too many versions in order to ensure
that all of them are frequently tested and updated. Change to only
support latest stable + 2 long term versions.

[Support #59]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-05-18 00:48:49 +02:00
Petter Mabäcker
e1c5efc658 linux-raspberrypi: Add 3.14 support
Add basic support for Linux 3.14, cherry-pick changes from 3.18.y in
order to solve some debugfs warnings and get better support
for i2s for BCM2708.

- 3.14 lacks BCM2709 support and will not by default be able to use for
raspberry pi 2.

Below warnings still exists they are harmless and exists due to that
snd_soc_pcm512x is triggered to be loaded twice. The problem is solved
after device tree support for the driver was introduced in 3.18.y and no
easy solution exists to solve this problem on older kernel versions (see
https://github.com/raspberrypi/linux/issues/662 for more info).

   pcm512x 1-004c: Failed to reset device: -5
   pcm512x: probe of 1-004c failed with error

Remove sl030raspberrypii2ckernel.patch since it will not apply anymore
and its content seems to be obsolite after cherry-picking
'558d0bf Fix grabbing lock from atomic context in i2c driver'.

[Support #57]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-05-18 00:48:49 +02:00
Petter Mabäcker
c9f29df249 linux-raspberrypi: Update 3.18 branch to 3.18.11
Update linux-raspberrypi_3.18 to latest version.
Remove sl030raspberrypii2ckernel.patch since it will not apply anymore
and its content seems to be obsolite in later kernel versions.

[Support #56]

Change-Id: I91e57f4e65d9c1c9d12014f5d11b0acd950e2d1d
Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-04-30 21:55:02 +02:00
Andrei Gherzan
b896a7da70 .gitignore: Ignore some stuff
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12 22:20:51 +01:00
Andrei Gherzan
a7ce059274 rpi-basic-image: Define rpi SPLASH specific package
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12 22:20:51 +01:00
Andrei Gherzan
d1fa1c0b75 vc-graphics: Move to recipes-graphics
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12 22:20:51 +01:00
Andrei Gherzan
ddd1f03373 firmware.inc: Move to recipes-bsp
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12 22:20:51 +01:00
Andrei Gherzan
5810be737d bootfiles: Move to recipes-bsp
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12 22:20:51 +01:00
Andrei Gherzan
c0ee9c7641 bcm2835: More recipe to devtools
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12 22:20:51 +01:00
Petter Mabäcker
df7eeb6f86 xserver-xf86-config: add rpi2 awareness
Use a MACHINEOVERRIDE that is visible for both raspberrypi
and raspberrypi2.

[Bug #52]

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-03-12 22:20:51 +01:00
Andrei Gherzan
57c8e6bffb rpi-base.inc: Include the RPI2 DTB
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 22:43:40 +01:00
Andrei Gherzan
4e59c28f70 README: Layer now depends on meta-oe too
Samba is a build dependency for omxplayer.

Signed-off-by: Andrei Gherzan <andrei@resin.io>
2015-03-01 01:28:28 +01:00
Andrei Gherzan
23add242bc README: Remove info about gerrit server
We are not using the gerrit server anymore.
Send patches using the mailing list.

Signed-off-by: Andrei Gherzan <andrei@resin.io>
2015-03-01 01:21:06 +01:00
Petter Mabäcker
7146e12374 layer.conf: set high layer priority
Set a high layer prio to ensure that meta-raspberrypi addons
are always prioritized above the depended layers.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-03-01 01:13:43 +01:00
Andrei Gherzan
1350ba8acf raspberrypi.conf: Use arm1176jzfshf as default tune
Reformat the tune-arm1176jzf-s.inc file.
There is not 'PACKAGE_EXTRA_ARCHS_tune-armv6hf-vfp'. Replace it by
'PACKAGE_EXTRA_ARCHS_tune-armv6hf'.

Change-Id: I0dd63b1dd3e1ebc7fe0600e93fb9d27a6a833cd9
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:59:51 +01:00
Andrei Gherzan
6392a63985 rpi-base.inc: Use KERNEL_DEVICETREE by default
We already switched to kernel v3.18 by default so we can activate
KERNEL_DEVICETREE by default too.

Change-Id: I69612be72f8254d462421112cf851e17a1ef24f8
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:59:50 +01:00
Andrei Gherzan
1949a0d5ba userland: Fix build for armv7
[Bug #49]

Change-Id: I340b4134ae4227f315c1c3df1345b04ebd4b874b
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:59:48 +01:00
Andrei Gherzan
ba383ecd35 linux-raspberrypi: Refactor kernel recipes
We use this to simplify the update process. Updating a kernel version will not
require renaming the recipe but only tweaking LINUX_VERSION.

Update kernel version:
        - bump SRCREV
        - bump LINUX_VERSION if needed

[Support #26]

Change-Id: I7565ddd1f03cc34c34aa5da92664a0057b415c9a
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:48:34 +01:00
Andrei Gherzan
4147bd7214 userland: Bump SRCREV
Change-Id: If1d2608322749db4baa445ba94bc471a0ac86a5c
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:33 +01:00
Andrei Gherzan
fde4b34aa2 bcm2835: Update to v1.38
Change-Id: Iebac94415602454dd4e2808c8e02d0083f804029
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:31 +01:00
Andrei Gherzan
72c43866c1 rpi-gpio: Update to v0.5.9
Change-Id: Ifc455b9106f07583ccaf3fe82723baaeb5e04d2e
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:29 +01:00
Andrei Gherzan
b7c3a935cc omxplayer: Bump SRCREV
Add a patch to fix the pkg-config mechanism in ffmpeg.

Change-Id: Ib506bb4e26a8a0c5c294ed55da0a0da8dc67a2d7
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01 00:43:26 +01:00
Andrei Gherzan
d8bf60ce6c README: Github repo changed
Change-Id: If16b5a782d7154c05f6502554a03d215774e4c07
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-14 02:00:57 +01:00
Andrei Gherzan
463d0e2d7d README: As users asked - bitbucket mirror
Change-Id: I240e5686d4740a84c35e5063ba08bff363b1b91e
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-11 21:19:40 +01:00
Andrei Gherzan
54c5451a04 Add support for Raspberry PI 2
Add machine configuration file.
Change the kernel image name on SD card.
Use the defconfig for this machine (bcm2709_defconfig).

Change-Id: I6549d5f49b1ed32ef4d44aca6f7af4234618c1a8
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 14:46:42 +02:00
Andrei Gherzan
dedd45f4f8 Use variable for kernel image deployed name on SD card
Change-Id: I4a55b53d337930aae3351629a902dbac832ac958
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:30:40 +02:00
Andrei Gherzan
8c8a5cd64c linux-raspberrypi.inc: Make KERNEL_DEFCONFIG machine specific
Change-Id: I241a8adead67717f31d1b2e66a71bd5c3edfa9fd
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08 00:28:37 +02:00