Commit Graph

219 Commits

Author SHA1 Message Date
Petter Mabäcker
b331933938 rpi-config: I2C support
With newer kernels (>=3.18) that supports device-trees I2C
should be enabled with device-trees.

This is now support by adding:
ENABLE_I2C = "1"
in local.conf

This will enable the dtparams:
i2c1
i2c_arm

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-01 14:10:21 +01:00
Khem Raj
68b18fa80e rpi-config: Upgrade to tip of tree to get GPU_MEM_1024
Document it in README

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-02-28 12:48:20 +01:00
Jonathan Liu
048008a935 u-boot-rpi: update path to imagetool-uncompressed.py
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-02-28 10:48:56 +01:00
Jonathan Liu
736e1ba035 rpi-mkimage: install to ${libexecdir}
It doesn't make sense to install to ${libexecdir}/rpi-mkimage as it
changes the path on fido and earlier branches from:
  [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage
to:
  [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage/rpi-mkimage

Using ${libexecdir} instead of ${libexecdir}/rpi-mkimage preserves
the path for fido and earlier.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-02-28 10:48:54 +01:00
Maciej Borzecki
1465bc8787 u-boot-rpi: use STAGING_LIBEXECDIR_NATIVE for rpi-mkimage tools
The rpi-mkimage tools are installed ${libexecdir}/rpi-mkimage within
native sysroot, where ${libexecdir} resolves to /usr/libexec. This caused
the build to fail due to recipe trying to access ${libdir}/mkimage. Fix
the paths to use an unambiguous STAGING_LIBEXECDIR_NATIVE so that a
proper location is used.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
2016-02-26 20:42:18 +01:00
Maciej Borzecki
6bd39a61b7 rpi-mkimage: install tools under {libexecdir}/rpi-mkimage
For consistency with other recipes that look for mkimage
tools (u-boot-rpi, linux-raspberrypi) under ${libexecdir}/rpi-mkimage,
make sure that the tools are installed at the proper location.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
2016-02-26 20:42:11 +01:00
Gary Thomas
bc0d788b47 rpi-config: SPI bus support
With the newer kernels that use device tree, the SPI bus is only
enabled by a device tree setting.  This is now supported by adding
  ENABLE_SPI_BUS = "1"
in local.conf

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2015-12-02 15:33:43 +01:00
Andrei Gherzan
7d2249a2e2 rpi-mkimage: Bump revision
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-10-21 22:58:19 +02:00
Andrei Gherzan
aaf8e2e738 firmware: Bump revision
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-10-21 22:55:43 +02:00
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
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
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
Francois Muller
4dc75cedf7 devicetree: Add minimal support with RPi bootloader
[RPi DT info] https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md#part-3-using-device-trees-on-raspberry-pi

RPi bootloader detects a DT-ready kernel by checking for a specific trailer in kernel.img.
Using latest raspberrypi/firmware (firmware.inc) enables this check ability.
Using latest raspberrypi/tools (rpi-mkimage.bb) gives access to mkknlimg for adding the
required trailer to kernel image.


If KERNEL_DEVICETREE is filled in, the trailer is added to the kernel image before
kernel install task. While creating the SDCard image, this modified kernel is
put on boot partition (as kernel.img) as well as DeviceTree blobs (.dtb files).
If KERNEL_DEVICETREE is empty, this new process isn't operated, legacy one does.

KERNEL_DEVICETREE for RPi is really supported only starting from linux-rapsberry 3.18+
kernels, so as for now it defaults to empty (in machine config file).

Change-Id: Ifea71bbda729b8f3c47be7ba0ba03be5ad2ceeaa
Signed-off-by: Francois Muller <francois@concept-embarque.fr>
2015-02-05 14:07:00 +01:00
Paul Barker
2f98f49fab Remove uses of PRINC
PRINC is now obsolete and the PR Service should be used instead to keep PR
values incrementing on change.

A patch has also been submitted to openembedded-core to bump the appropriate PR
values so that PR doesn't move backwards. This patch should only be applied
after that patch, and only to branches which include that patch (ie. if that
patch doesn't go into daisy in oe-core, this patch shouldn't go into daisy in
meta-raspberrypi).

Change-Id: Ibac9e4e89d12dbd6e94430f47e20b82a67506625
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2014-05-08 21:20:26 +03:00
Andrei Gherzan
833e61aa5c rpi-mkimage: Integrate package
Tool needed to convert bootable images in kernel.img files which can be loaded
by rpi bootloader.

Change-Id: I0088707be5d31d77def1087f51e3f8cc886d19db
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-02-09 03:05:14 +02:00
Andrei Gherzan
34047964fe u-boot-rpi: Integrate package
Change-Id: I61f2cd7d3b64ea3efac618aa2bb3555e9e79da2a
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-02-09 03:05:14 +02:00
David-John Willis
df91a3021d formfactor: Add RaspberryPi formfactor. 2012-04-03 23:05:40 +01:00