Commit Graph

126 Commits

Author SHA1 Message Date
Trevor Woerner
3c771667ce linux-veyron: add support for gcc6
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-10 01:40:57 -04:00
Trevor Woerner
83afa0ed1d linux-veyron: update protocol
From "http" to "https".

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-10 01:40:57 -04:00
Trevor Woerner
f9b90962fc linux-veyron: fix parsing
Bitbake is unable to parse this recipe when KCONFIG_MODE is set to an empty
string. The defconfig is automatically found and used.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-10 01:40:57 -04:00
Trevor Woerner
4075daaa7e more MACHINE name fixes
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-10 01:40:57 -04:00
Trevor Woerner
f4c040aab4 layer.conf: LAYERSERIES_COMPAT
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-10 01:40:56 -04:00
Romain Perier
e50c375578 machine: radxarock: use linux-rockchip by default
This is the kernel vendor that supports all hw components for this board,
so we use it by default.

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2016-12-26 10:50:01 -05:00
Romain Perier
0f7f53c00e recipes-kernel: New recipe for linux-rockchip
New URL, fixes build failure. It should work with krogoth and morty.
Currently only the radxa rock is supported

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2016-12-26 10:49:45 -05:00
Romain Perier
4c8c9e535f recipes-devtools: Add recipe for prebuilt-gcc-linaro
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2016-12-26 10:49:30 -05:00
Romain Perier
c86ebc7fd7 recipes-kernel: linux: Remove old recipes for linux-rockchip
These recipes are outdated, no longer build and use the wrong SRC_URI.
That's preferable to drop these recipes and rewrite the stuff from
scratch.

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2016-12-26 10:49:16 -05:00
Romain Perier
a3b8c140a0 recipes-kernel: linux: Remove recipe for next
This BSP meta layer should not be used for kernel development. For this
the developer can simply compile his kernel outside of yocto. We prefer
provide recipes for upstream and vendors kernel.

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2016-12-26 10:48:27 -05:00
Trevor Woerner
ff4b14c419 linux_4.7.bb: bump version to 4.7.10
The version needs updating in order to build successfully.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>
2016-12-16 15:21:25 +01:00
Romain Perier
ce7b1e8f23 README: Change my email
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2016-11-23 17:04:13 +01:00
Romain Perier
5b0d2cd5f9 recipes-kernel: linux: inherit from KBUILD_DEFCONFIG and remove CONFIG_COMMAND
As we use KBUILD_DEFCONFIG, KERNEL_CONFIG_COMMAND is no longer required

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
2016-08-25 19:52:43 +02:00
Romain Perier
561f2a80b9 machine: Replace KERNEL_DEFCONFIG by KBUILD_DEFCONFIG
KBUILD_DEFCONFIG already existed in the yocto project. When it is used
with the kernel-yocto bbclass, it specifies an "in-tree" kernel
configuration file for use during a kernel build. So instead of use our
own variable we use the standard variable designed for that purpose

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
2016-08-25 19:51:48 +02:00
Romain Perier
e3efa2f2ec recipes-kernel: linux: Add rock2-square to the compatible machines
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-15 23:49:46 -04:00
Romain Perier
4123509beb machine: Add machine file for the Radxa Rock2 Square
Radxa Rock2 is a series of the second single board computer from Radxa.
This is the square baseboard.

http://radxa.com/Rock2

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-15 23:49:18 -04:00
Romain Perier
6e4e8a8e57 README: Update my email address
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
2016-08-08 19:42:12 +02:00
Romain Perier
6649996182 recipes-kernel: linux: Bump release to 4.7
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-08 07:59:39 -04:00
Romain Perier
373fd58297 recipes-kernel: linux: Remove inclusion of kernel.bbclass
This bbclass is already required by linux-yocto.inc, so remove it as it
is redundant.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-08 07:59:28 -04:00
Romain Perier
bde3e571b9 recipes-kernel: linux: Remove the assignment of KCONFIG_MODE
This hack was required to ask do_kernel_configme to don't pass
option --noallconfig to configme (which had bad effects for
the current configuration). As the task configme is disabled,
this assignment is no longer required.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-08 07:59:17 -04:00
Romain Perier
ac1fce7ff7 recipes-kernel: linux: Use KERNEL_DEFCONFIG to configure the kernel
We define the KERNEL_CONFIGCOMMAND variable in order to launch
'make <defconfig' during the configure step of the recipe. As the old
'file://defconfig' is no longer required, we remove it. The task
do_kernel_configme is incompatible with the notion of in-tree defconfig,
so we disable it.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-08 07:59:08 -04:00
Romain Perier
8e1caba550 machine: Introduce a new variable KERNEL_DEFCONFIG
This variable will hold the name of the in-tree defconfig to use
to configure the kernel before compile it. This is better to use
in-tree config file now, is we don't plan to maintain a defconfig
file per board and it is also synced with upstream.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-08 07:58:46 -04:00
Romain Perier
5440eb5b30 linux: Renaming machines names in COMPATIBLE_MACHINE
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 20:45:17 +01:00
Romain Perier
3ec7904f8f Merge branch 'devs/twoerner/machine-rename'
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:44:34 +01:00
Trevor Woerner
4c59c2b941 rename machines
Rename the MACHINE configurations to better match the OE pattern of using the
board's name.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:43:15 +01:00
Trevor Woerner
0f48617a59 rk3066.inc: remove rockchip-update-img
None of the machines based on the RK3066 (or compatible) use an initrd image,
therefore an update image can't be successfully generated for them. Therefore
remove the request to try building this artifact.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:42:49 +01:00
Trevor Woerner
e2fe396daf rk3288.inc: gcc 5.2 is default on master
As of the 2015/09/04 commit 039211f0d8fe79d07b65f2f02e299b9656034214 on
openembedded-core, gcc 5.2 (5.%) is now the default on master. Therefore there
is no need to request it explicitly.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:42:08 +01:00
Romain Perier
86d3251eb5 Add new recipe for vboot-utils
This is the chrome OS verified boot utils, required to generate
partition layout and sign kernel on veyron platforms

Signed-off-by: Romain Perier <romain.perier@gmail.com>²
2015-10-31 18:35:39 +01:00
Romain Perier
13dc067936 Adding licenses directory with the Chromium license (the BSD-Style one)
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:35:39 +01:00
Romain Perier
c1a0b02951 machine: Add support to the veyron-speedy machine desc. to work with sato images
This includes modules and firmwares to have a working drm and wifi. It also
defines the right x11 packages and dependencies.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:35:39 +01:00
Romain Perier
969b72e26a Add new recipe for the armsoc xorg driver
This is the xorg driver required to work with the Rockchip DRM.
It works with both the one from linux-veyron and the one in the
linux mainline kernel.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:35:39 +01:00
Romain Perier
6f141995cb Add a new recipe for linux-firmware-bcm-veyron
It includes firmware and system files for Broadcom bcm4354 required
to work with the linux kernel. These are the files from chromeos.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:35:39 +01:00
Romain Perier
85fcdbd4f0 Add new recipe for brcm-patchram-plus
This is the chromeos Broadcom patchram utility. We need it in order
to kick bluetooth device dynamically and "patch" bcm4354 chip with
the right firmware. It will be only required on linux-veyron, not
with linux mainline.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:35:39 +01:00
Romain Perier
9e09b09400 Add new recipe for linux-veyron
This is the linux kernel tree used by Google on veyron-based
chromebooks.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31 18:35:39 +01:00
Trevor Woerner
5b764a3729 rk3066.inc: remove rockchip-update-img
None of the machines based on the RK3066 (or compatible) use an initrd image,
therefore an update image can't be successfully generated for them. Therefore
remove the request to try building this artifact.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-09-11 14:37:51 -04:00
Trevor Woerner
cba4c8779a rk3288.inc: gcc 5.2 is default on master
As of the 2015/09/04 commit 039211f0d8fe79d07b65f2f02e299b9656034214 on
openembedded-core, gcc 5.2 (5.%) is now the default on master. Therefore there
is no need to request it explicitly.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-07 03:14:24 -04:00
Romain Perier
a8540f935b README: Update versions for poky and oe-core
Update documentation to show that we now support yocto 1.9_M2

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-31 07:47:52 +02:00
Romain Perier
7b89cebaa3 machine: Add support for veyron speedy board
Which is formally known as the Asus C201 Chromebook

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-31 07:47:52 +02:00
Romain Perier
0088534919 machine: Use cortexa17-neon as default tune for rk3288.inc
Support for this tune is now supported in yocto 1.9. As it comes
with gcc 5, we also need to require gcc 5.2 and minimal compiler
version.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-31 07:47:52 +02:00
Romain Perier
a90620fd2b recipes-kernel: linux: Update to lastest upstream tag
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-31 07:47:42 +02:00
Romain Perier
bff76c74c5 README: Add a contributing section
This section explains how to send patches to the Yocto Project mailing list
and the required patches format

Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-08-27 09:54:18 +02:00
Romain Perier
5445cdf9c7 machine: Improve machine description
Machine descriptions are shown on layers.openembedded.org, so we need something
clear and understandable for the user.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06 13:15:02 +02:00
Romain Perier
a505d0a3ef machine: Move rk3288.conf to include directory
As rk3288 itself is not a machine nor a generic one that we plan to support,
and as this file was created to factorize code between rk3288-based platforms,
that's better to move it into the include directory.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06 13:15:02 +02:00
Romain Perier
3f75364177 machine: Remove generic machine rk3188
It does not match any machine, and I think that it might be difficult to ensure
that it will work on all rk3188-based devices if we are not able to test...

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06 13:14:53 +02:00
Romain Perier
ac7c320104 machine: Rename rockchip.inc include file to rk3066.inc
This include file is used by rk3066 and rk3188 based devices. So this
is better to rename it rk3066.inc and to create another include file
rk3188.inc which simply includes it. In that way, we have one include
file for each SoC and it reduces confusions.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06 13:10:29 +02:00
Romain Perier
24b2d8459b Updating README to reflect new repository
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-07-31 14:54:00 +02:00
Florent Revest
23cf07b739 conf/machine: Makes SERIAL_CONSOLES overridable
That's very important to be able to redefine some variables for the need
of custom kernels. As on rockchip-based devices the serial interface might
change from a kernel to another, makes it overridable using '?='.

Signed-off-by: Florent Revest <revestflo@gmail.com>
Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-07-30 15:10:51 +02:00
Romain Perier
14ccfc2cd8 recipes-kernel: linux: Update to 4.1.x (using the upstream branch) 2015-07-17 19:02:26 +02:00
Romain Perier
e580c44bf1 recipes-kernel: linux: Change COMPATIBLE_MACHINE to match new naming rules 2015-07-14 15:51:13 +00:00
Romain Perier
fbef8def0b conf: machine: Update license headers 2015-07-07 17:38:17 +00:00