Commit Graph

162 Commits

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

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:23:07 -04:00
Trevor Woerner
6fffcb1a23 remove petitboot
It doesn't build, and hasn't been able to build in a long time. The point of
petitboot was to enable booting an image from uSD. Initially the rockchip
bootloaders did not support booting from uSD. However, more recent rockchip
bootloaders do support booting an image from uSD. If your board doesn't
support booting from uSD, try updating your device's in-flash bootloader.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:18:35 -04:00
Trevor Woerner
56bf918733 vboot-utils-native: fix DEPENDS
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:18:35 -04:00
Trevor Woerner
c42296e9e1 README: cleanup
Remove references to poky fido, use consistent formatting, wrap lines, update
URLs, etc.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:18:35 -04:00
Trevor Woerner
353847bf4d linux-veyron: add support for gcc7
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:18:35 -04:00
Trevor Woerner
22f3ded678 linux-veyron: fix COMPATIBLE_MACHINE
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:18:35 -04:00
Trevor Woerner
3ff299a22e veyron-speedy: add bootloader
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:18:35 -04:00
Trevor Woerner
67bb13297e 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-14 17:18:35 -04:00
Trevor Woerner
dc5d1d5dd3 layer.conf: add LAYERSERIES_COMPAT
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-14 17:18:35 -04:00
Trevor Woerner
9ca8dc3a36 u-boot-rockchip: update require path 2008.01
The oe-core recipe was updated (2017.11 -> 2018.01), this recipe needs to be
updated to suit. Note, however, that this u-boot from rockchip is at version
2017.07.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-01-23 11:24:36 -05:00
Trevor Woerner
1464d61aec u-boot-rockchip: update require path 2007.11
The oe-core recipe was updated (2017.09 -> 2017.11), this recipe needs to be
updated to suit. Note, however, that this u-boot from rockchip is at version
2017.07.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-12-05 08:42:17 -05:00
Trevor Woerner
76f520fb55 u-boot-rockchip: update require path
The oe-core recipe was updated (2017.07 -> 2017.09), this recipe needed to be
updated to suit. However, this u-boot (from rockchip) is at version 2017.07.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-09-19 17:06:58 -04:00
Trevor Woerner
3e32eb4cb1 u-boot-rockchip: update require path
The oe-core recipe was updated (2017.05 -> 2017.07), this recipe needed to
be updated to suit. However, this u-boot (from rockchip) is still at version
2017.05.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-07-25 06:58:12 -04:00
Trevor Woerner
e728743edd linux: 4.11 -> 4.12
Bump mainline kernel to latest release.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-07-16 18:41:54 -04:00
Trevor Woerner
eeda53d872 rockchip-gpt-img: fix deprecated notation
The older "IMAGE_DEPENDS..." notation has been deprecated in favour of the
newer "do_image_...[depends]" notation.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-06-30 20:37:25 -04:00
Trevor Woerner
c20bfc59c1 u-boot-rockchip: update require path
The oe-core recipe was updated, this recipe needed to be updated to suit.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-06-11 02:01:10 -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