summaryrefslogtreecommitdiffstats
path: root/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
...
* u-boot: Use mainline u-boot recipe from oe-corePaul Barker2016-07-083-1/+4
| | | | | | | | | | | | | | | The repository used by u-boot-rpi has not been updated since 2012. In the meantime, mailine u-boot has gained Raspberry Pi support. All we need to do is set UBOOT_MACHINE to an appropriate value in the machine config files. Currently configs are only provided for raspberrypi and raspberrypi2. The master branch of u-boot now also appears to have a config file for raspberrypi3 so support for this can be added in the future when u-boot is upgraded in oe-core. The mainline u-boot recipe creates the file "u-boot.bin" instead of "u-boot.img". Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* rpi-base.inc: Include pi3-miniuart-bt-overlay.dtbAndrei Gherzan2016-04-251-0/+1
| | | | | | This is used to switch BT from ttyUSB0 to ttyS0 (miniUART). Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi*.conf: Serial console definition splitTrevor Woerner2016-04-215-2/+8
| | | | | | | | The latest raspberrypi3 puts its console on ttyS0 instead of ttyAMA0 (like all the preceding boards). Therefore pull this definition out of the common include file and add it separately for each MACHINE. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* rpi-base.inc: Add overlay for rpi-ft5406Petter Mabäcker2016-04-131-0/+1
| | | | | | | rpi-ft5406 is an enabler for Official Raspberry Pi 7 inch touchscreen support. Signed-off-by: Petter Mabäcker <petter@technux.se>
* rpi-base.inc: Remove deprecated MACHINE_FEATURESPetter Mabäcker2016-04-131-1/+1
| | | | Signed-off-by: Petter Mabäcker <petter@technux.se>
* pitft: Add support for pitft28rPetter Mabäcker2016-04-131-0/+1
| | | | | | | | | | | The support for PiTFT 28 inch resistive touchscreen is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft28r" While at it also fix a minor typo in README. Signed-off-by: Petter Mabäcker <petter@technux.se>
* rpi-base.inc: Add rpi3 device tree blobTheodor Gherzan2016-03-101-0/+1
| | | | Signed-off-by: Theodor Gherzan <theodor@resin.io>
* raspberrypi3.conf: Create machine configuration for Raspberrypi 3Theodor Gherzan2016-03-101-0/+9
| | | | Signed-off-by: Theodor Gherzan <theodor@resin.io>
* pitft: Add PiTFT22 supportPetter Mabäcker2016-03-011-0/+1
| | | | | | | | | | | | | | | | | | - Add support to build overlays for PiTFT22 in the kernel. - Setup a basic configuration for the driver The PiTFT22 support is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft22" This patch also includes restructuring of kernel patches per kernel version specific directories. [Support #70] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Allow MACHINE_FEATURES appendsPetter Mabäcker2016-03-011-1/+1
| | | | | | | | Ensure that it's possible to add MACHINE_FEATURES from places that will be executed before rpi-base.inc (like e.g. local.conf), without having them overrided. Signed-off-by: Petter Mabäcker <petter@technux.se>
* raspberrypi0.conf: Add machine configuration for Raspberry Pi ZeroAndrei Gherzan2016-01-111-0/+6
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: add i2c-rtc overlayJonathan Liu2015-10-251-0/+1
| | | | | | | | The update of the kernel in 10a5bace87c19e50014f838031e8f3db334b45b7 to 3.18.16 missed the separate rtc overlays being replaced by the i2c-rtc overlay. Signed-off-by: Jonathan Liu <net147@gmail.com>
* rpi-default-versions: Default kernel on 4.1.%Andrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update kernel to 3.18.16Alex J Lennon2015-10-211-12/+10
| | | | | | | | This requires some changes to KERNEL_DEVICETREE as the dtb layout has changed to support overlays. This change also makes us ready to support kernel 4.x series Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* rpi-default-providers: Let users overwrite the default providersAndrei Gherzan2015-08-101-4/+4
| | | | | | | [Feature #65] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Pierre FICHEUX <pierre.ficheux@gmail.com>
* If SERIAL_CONSOLE is already define by another layer, this value may not be ↵Thomas Perrot2015-06-051-1/+1
| | | | | | good. Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
* rpi-base.inc: Include the RPI2 DTBAndrei Gherzan2015-03-011-0/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi.conf: Use arm1176jzfshf as default tuneAndrei Gherzan2015-03-012-8/+7
| | | | | | | | | 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>
* rpi-base.inc: Use KERNEL_DEVICETREE by defaultAndrei Gherzan2015-03-011-16/+16
| | | | | | | | 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>
* userland: Fix build for armv7Andrei Gherzan2015-03-011-5/+0
| | | | | | | [Bug #49] Change-Id: I340b4134ae4227f315c1c3df1345b04ebd4b874b Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* Add support for Raspberry PI 2Andrei Gherzan2015-02-081-0/+13
| | | | | | | | | 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>
* Use variable for kernel image deployed name on SD cardAndrei Gherzan2015-02-081-1/+1
| | | | | Change-Id: I4a55b53d337930aae3351629a902dbac832ac958 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-versions.inc: Use kernel v3.18 by defaultAndrei Gherzan2015-02-081-1/+1
| | | | | Change-Id: If3ff46ae10b7bee2decead6dfa408833713d16f8 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* xserver-xf86-config: Use SOC specific assignementsAndrei Gherzan2015-02-081-0/+3
| | | | | | | In this way the modifications will be used on all RPI boards. Change-Id: Ife10db876db85c1c4944028a0b49ccae4d8c0d41 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi.conf: Split in specific and common conf. filesAndrei Gherzan2015-02-082-52/+47
| | | | | | | | | | | | *.conf files should hold board specific stuff while rpi-base.inc should include configuration that is common for all Raspberry Pi boards. Remove MACHINE_KERNEL_PR as we don't use it anymore. Minor tweaks. Change-Id: I5e1b12c1d224ac003d2890544beb036f1d5d8643 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* devicetree: Add support for DT overlays with RPi bootloaderFrancois Muller2015-02-071-1/+16
| | | | | | | | Compile overlay device trees and put them in 'overlays/' folder on sdcard RPi boot partition. Change-Id: I3da0032b3c2618165008eec1fc94e97824d09099 Signed-off-by: Francois Muller <francois@concept-embarque.fr>
* devicetree: Add minimal support with RPi bootloaderFrancois Muller2015-02-051-0/+3
| | | | | | | | | | | | | | | | | | | | | [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>
* raspberrypi.conf: add IMAGE_BOOT_FILESMaciej Borzecki2015-01-251-0/+2
| | | | | | | | | | | Add IMAGE_BOOT_FILES that defines a list of files to be placed in boot partition. The variable is effectivey used with wic when building a SD card image. Change-Id: Ie7b2ea032349bf33ce7a9afc70e2fb4806ff9a04 Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-versions: Use 3.12.X as default kernel versionAndrei Gherzan2014-05-081-1/+1
| | | | | Change-Id: Ief7949be4b9726b5b6ba58e6280f6b6ca3fdfdc4 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* mesa: Replace ugly fix for gles/eglAndrei Gherzan2014-02-251-0/+2
| | | | | | | Use instead, the special created recipe mesa-gl which provides on libgl. Change-Id: I5ed3c50a0a794f8ea63cc1906f0139ec47459fa6 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* Merge "tune-arm1176jzfs-s.inc: Add hard float profile, arm1176jzfshf, in ↵Andrei Gherzan2014-02-111-0/+7
|\ | | | | | | AVAILTUNES"
| * tune-arm1176jzfs-s.inc: Add hard float profile, arm1176jzfshf, in AVAILTUNESKazuya Nishimura2014-02-041-0/+7
| | | | | | | | | | | | | | | | * arm1176jzfshf uses -mtune=hard. * Add -mfpu=vfp if vfp is included in TUNE_FEATURES Signed-off-by: Kazuya Nishimura <kazuya.nisimura@gmail.com> Change-Id: If81977cacbba052fa30c4a407ec65e93148d2ee3
* | raspberrypi.conf: Let KERNEL_IMAGETYPE be modifiedAndrei Gherzan2014-01-251-1/+1
| | | | | | | | | | Change-Id: I6019c1ec77ed1ec5c00ab16cb57dd108e2bd5ba8 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* | rpi-default-providers: Move PREFERRED_VERSIONs to rpi-default-versions.incAndrei Gherzan2014-01-252-3/+1
| | | | | | | | | | Change-Id: I61c32aa23eef86cb9861776b37c4ecd8f7c8052c Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* | rpi-default-providers: Use u-boot-rpi as u-boot providerAndrei Gherzan2014-01-251-1/+2
|/ | | | | Change-Id: Ic537cada66ff09cde592da977a109415e05cb19c Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-providers: Use jpeg as default providerAndrei Gherzan2013-11-291-0/+1
| | | | | Change-Id: Ic7f1faa3ed60a3ccd1b0b08ed366cfb71df06536 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-providers: Use 3.10.X as default kernelAndrei Gherzan2013-11-131-1/+1
| | | | | | | | This is the default/base branch on official github repository: https://github.com/raspberrypi/linux/branches Change-Id: I99702ae7548b49a5b4b575b3f02f5a3a48ad347f Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi.conf: is not a usb gadgetDan McGregor2013-11-121-1/+1
| | | | | Change-Id: I93ed1832905e4fdfc5f5d387c37933b60a50f4c5 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* Make Linux 3.6 the default for Raspberry PiAlexandru Niculita2013-11-121-0/+3
| | | | | | | | | | | From: Philipp Wagner <mail@philipp-wagner.com> Kernel 3.6 is also the default for Raspbian and thus should be the most tested version right now. Change-Id: I03a75fa1be3ab0f8f43fb09a8fff779c6d9100e7 Signed-off-by: Philipp Wagner <mail@philipp-wagner.com> Signed-off-by: Alexandru Niculita <alexnick87@gmail.com>
* rpi-default-providers.inc: Remove preferred provider to linux headersAndrei Gherzan2013-06-231-1/+0
| | | | | | | We do this because the recipe was removed. Check: commit 808f5e54f8c9799de39436601b9b8474de3bb323 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* psplash: only set image for MACHINE=raspberrypiPaul Barker2013-06-101-0/+3
| | | | | | | | | | | Instead of overriding the default psplash image, the raspberrypi image is added as an additional image. It is then set as the default in the raspberrypi machine config file so that other targets do not pick up our splash image. Tested on raspberrpi and qemuarm: on raspberrypi I see to Raspberry Pi logo, on qemuarm I see the Yocto Project logo. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* rpi-default-providers: Use userland as provider for egl and gles2Andrei Gherzan2013-03-131-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-providers: Remove virtual/libgl providerAndrei Gherzan2013-03-131-1/+0
| | | | | | There are no libgl binary shipped in raspberrypi firmware repo. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* arch-arm: define different ARMPKGARCH when different CCARGS are usedAndrei Gherzan2012-11-281-0/+1
| | | | | | | | | | | | | | | | | | | | | * without this tune-xscale and tune-arm926ejs were both creating packages in armv5te feed, but each with different -mtune, with OEBasicHash enabled it was causing each package to rebuild with new -mtune after MACHINE switch, but that doesn't make sense with output stored in the same armv5te feed * this makes different feed for each -mtune, but more generic one to be selected with DEFAULTTUNE * tune-iwmmxt and tune-ep9312 were already using this, just move it bellow AVAILTUNES and use ARMPKGARCH_tune-foo syntax * tune-cortexr4 and tune-cortexm3 are using armv7r/armv7m as ARMPKGARCH because there isn't another tune to use the same -march (From OE-Core rev: cffda9a821a3b83a8529d643c567859e091c6846) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* tune-*: define more generic DEFAULTTUNE to share feed between machinesAndrei Gherzan2012-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * this is mostly for backwards compatibility and to share binary feed like it was before, but now without missing different -mtune in it * if you want to build some package with -mtune add something like this to your distro config DEFAULTTUNE_qemuarm_pn-openssl = "arm926ejs" DEFAULTTUNE_qemuarmx_pn-openssl = "xscale" be aware that if you do this you should do it also for all packages which depends on openssl because if you dont and you build e.g. dhcp, then dhcp build for arm926ejs (even with DEFAULTTUNE armv5te) will depend on openssl with arm926ejs, so dhcp in armv5te feed will be rebuild after each MACHINE switch. * cortexm3, cortexr4, iwmmx and ep9312 are using own DEFAULTTUNE because they define also different -march * shared feeds are armv4t: arm920t, arm9tdmi armv5te: arm926ejs, xscale armv7a-neon: cortexa8, cortexa9 (From OE-Core rev: a11bdc36a1be18cc5aa14682b2a2c9ee83141f51) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-versions: Remove preferred version of udevAndrei Gherzan2012-11-271-1/+0
| | | | | | We use now the latest one from meta-openembedded. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi.conf: Remove RPI_GPU_FIRMWARE definitionAndrei Gherzan2012-11-271-4/+1
| | | | | | We don't use this anymore as the memory split is now done from config.txt. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-providers: Use linux-libc-headers-raspberrypiAndrei Gherzan2012-11-271-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* Move fsl-default*.inc from distro to machineAndrei Gherzan2012-09-184-3/+16
| | | | | | | | | | It makes no sense to have distro related configurations in a BSP layer. So let's have these common parts (provides, version etc) in machine directory instead. [GITHUB #73] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi.conf: Fix file permissionsAndrei Gherzan2012-09-161-0/+0
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>