Commit Graph

152 Commits

Author SHA1 Message Date
Trevor Woerner
b3ecb71bec linux-veyron: change fetch protocol
From http to https.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:26:27 -04:00
Trevor Woerner
411baa5d04 veyron-speedy: add bootloader
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-11 01:37:28 -04:00
Trevor Woerner
47024aa81d linux-veyron: add support for gcc6
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-11 01:37:28 -04:00
Trevor Woerner
194165fd02 linux-rockchip: remove
There is no MACHINE that is using it.

This recipe should have really been called "linux-radxa" since that is from
where it is fetching the sources, i.e. github.com/radxa and not
github.com/rockchip-linux.

The conf/machine/include/rk3{066|188}.inc files were still using the old
kernel recipe name.

Now with RSS, the "prebuilt-gcc-linaro" no longer works. Although I could get
this recipe to work again, trying to build the kernel fails with "as:
unrecognized option -EL".

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-11 01:37:28 -04:00
Trevor Woerner
241d71882a linux-veyron: fix COMPATIBLE_MACHINE
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-11 01:37:28 -04:00
Trevor Woerner
21bf07387e layer.conf: add LAYERSERIES_COMPAT
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-11 01:37:28 -04:00
Romain Perier
f634e74cd5 u-boot-rockchip: add rock2 to compatible machines
As this machine is supported by this u-boot, add it to the compatible
machines.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15 11:15:36 -04:00
Romain Perier
a8fb1ff41b u-boot-rockchip: remove duplicated variables
This adds the inclusion of u-boot-common_2017.01.inc and removes
duplicated variables that are already defined by this file.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15 11:15:05 -04:00
Romain Perier
fc7fb633ed u-boot-rockchip: use a correct version
The version is actually not defined. Bitbake implicitly uses "git-r0" by
default.

This commit defines PV to the version of u-boot that is currently
present of the release branch, prefixed by the sha1 of the commit.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15 11:14:18 -04:00
Romain Perier
d5566d1ad7 u-boot-rockchip: copy spl binary from the good task
Currently, the spl binary (that is ${SPL_BINARY}) is copied before the
install task, as part of a prepended func. The u-boot include in poky,
defines the deploy task to be run after the compile task, there is
absolutely no order between this deploy task and the install task. In
some cases, the install task can be executed after the deploy task,
resulting to an error because do_deploy will not find the spl binary in
${B}.

This commit, move the copy of the spl binary after the compile task.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15 11:13:50 -04:00
Romain Perier
64a79b3bcc machine: add UBOOT_MACHINE definition to rock2-square
This adds the defconfig to be used as part of the build of u-boot for
the Rock2 Square.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15 11:13:24 -04:00
Romain Perier
630f9dae8c linux: version bump to 4.11
Linux v4.11 has been released, bump the version to 4.11.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15 11:00:24 -04:00
Trevor Woerner
c34d5bf9a2 README: remove irrelevant information
As of openembedded-core commit 2b3ae58f5eaecc8474761c543ff5347aa0e3c4c8 hardfp
is enabled by default.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-05-09 18:04:12 -04:00
Romain Perier
5da3cc7529 linux: version bump to 4.11-rc8
Linux kernel 4.11 being released soon, bump recipe to 4.11-rc8.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-04-29 02:25:18 -04:00
Romain Perier
2d16766947 README: Update contribution section
Re-worded contribution section in order to send patches correctly on the
mainling list, including the correct headers in the mail (To: for
maintainers and Cc: for the ML)

Signed-off-by: Romain Perier <romain.perier@collabora.com>
2017-04-28 14:18:09 +02:00
Trevor Woerner
9771de6331 machine: rk3288: don't hard-code kernel choice
Allow the user to ultimately choose the kernel. Make 'linux' the _preferred_,
not the _required_.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-03-18 12:52:15 -04:00
Trevor Woerner
3fe23069b5 u-boot-rockchip: race condition fix
Following on from the conversation here:
https://lists.yoctoproject.org/pipermail/yocto/2017-February/034681.html

It turns out there was a race condition in u-boot which explains why some
people saw failures one way and others say failures the other way. This race
has been fixed in openembedded-core:

http://git.openembedded.org/openembedded-core/commit/?id=60c90398580998b2379bb438f0f75b29285135a5

Therefore we need to align with the current behaviour.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15 11:52:36 -04:00
Trevor Woerner
57b8048022 u-boot-rockchip: fix for binutils-2.28
The recent upgrade from binutils-2.27 to binutils-2.28 on openembedded-core
caused a build failure for u-boot-rockchip:

	arm-oe-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try linking with -N

Linking with -N fixes the issue. This patch adds that flag to the build so it
succeeds.

This has been build-tested, as well as run-tested on the firefly-rk3288.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15 10:29:49 -04:00
Trevor Woerner
c912889014 u-boot-rockchip: add DEPENDS for bc
Another native tool added due to recipe-specific sysroots (RSS).

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15 10:15:40 -04:00
Trevor Woerner
2ee7de26a5 u-boot-rockchip: add DEPENDS for dtc
The recent "recipe-specific sysroot" change in openembedded-core has caused
the build to be more strict about what tools can be used from the host. As
such it's probably best to use the generated dtc for u-boot.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15 10:00:41 -04:00
Trevor Woerner
9ed7642ffd u-boot-rockchip: add
This recipe was taken from the Rockchip team's recipe at
6a139d5b75

It was mostly written by Jacob Chen <jacob-chen@iotwrt.com> and I've made a
couple small modifications.

Reviewd-by: Eddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-06 11:12:11 -05:00
Trevor Woerner
4d0f7dab58 classes: rockchip-gpt-img: add
This bbclass was taken from the Rockchip team's work at
53d2e2e474
It was mostly written by Jacob Chen <jacob-chen@iotwrt.com>. I've made some
small modifications and added it.

Older images used (what Rockchip calls) the "legacy parameter" format. Newer
images use u-boot and a GPT partitioning scheme. This class allows the build
to generate a gpt-img file that can either be flashed to eMMC or written to an
SDcard (the same image is used for both).

This is the new image format used for rk3288 SoCs (e.g. the Firefly board).

Reviewed-by: Eddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-05 10:43:02 -05:00
Trevor Woerner
ae1f699851 machine: rk3288: GPT image support
Configure any rk3288 build to generate the new GPT image which is then either
flashed to eMMC or dd'ed to an SDcard.

Reviewed-by Eddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-02-26 01:26:46 -05:00
Trevor Woerner
1a36604417 machine: firefly-rk3288: specify bootloader
Set the default preferred bootloader for firefly-rk3288 to be u-boot-rockchip
and set the default name of the SPL binary.

Reviewed-by Eddie Cai <eddie.cai.linux@gmail.com>
Reviewed-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-02-26 01:24:07 -05:00
Trevor Woerner
b8349d906e machine: rk3288: enable SoC-specific assignments
Enable machine overrides for RK3288.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-02-26 01:13:48 -05:00
Romain Perier
7525c6a895 README: Update informations in README
This updates obsolete informations in the README, like the suggested
version for oe-core or poky. It also updates my email address.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
2017-02-19 11:56:07 +01:00
Eddie Cai
a2ec1eaa1a linux: Add recipe for 4.10
Add mainline kernel support. Now the version is 4.10-rc8.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18 18:32:16 +01:00
Trevor Woerner
b3c70ca0b6 machine: rk3066: Use SoC specific assignments
In this way the modifications will be used on all RK3066 boards.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18 18:26:11 +01:00
Eddie Cai
18f6afefd1 machine: rk3188: Use SoC specific assignements
In this way the modifications will be used on all RK3188 boards.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18 18:24:49 +01:00
Eddie Cai
57a9c8c104 machine: rk3188: separate rk3188 inc file from rk3066
Every SoC should have their own inc file. So separate it.

Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18 18:23:12 +01:00
Trevor Woerner
2fae057dfc machine: remove DEFAULTTUNEs
The DEFAULTTUNE configuration should not be set at the BSP layer but in a
DISTRO layer (or a user's conf/local.conf). Remove the two DEFAULTTUNEs that
are currently in the layer and add a note in the README to inform users of
this issue and potential settings.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18 18:05:44 +01: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