Commit Graph

426 Commits

Author SHA1 Message Date
Trevor Woerner
707e473933 linux-stable: update 4.16.8 -> 4.16.11
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-05-24 14:55:53 -04:00
Trevor Woerner
7c75b07c8d linux-stable: update 4.16.7 -> 4.16.8
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-05-11 09:12:52 -04:00
Trevor Woerner
821ee0bddc linux-stable: update 4.16.6 -> 4.16.7
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-05-03 12:02:31 -04:00
Trevor Woerner
3b58c9e26f linux-stable: update 4.16.5 -> 4.16.6
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-05-01 17:10:03 -04:00
Trevor Woerner
f0e2287af9 bootloader: set to upstream u-boot for rk3288
The upstream u-boot bootloader seems to work fine for both the tinker-rk3288
and the firefly-rk3288, so switch to it by default for rk3288 boards.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-30 17:16:08 -04:00
Trevor Woerner
d4bcaf1819 u-boot-rockchip: rename patch dir
Make the location of the u-boot-rockchip patches recipe-specific.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-27 16:48:44 -04:00
Trevor Woerner
d9a545e830 linux-stable: update to 4.16.5
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-27 10:53:00 -04:00
Trevor Woerner
f673a6b905 xf86-video-armsoc-rockchip: remove
This fork of xf86-video-armsoc, from mmind, has stopped compiling. Updating
to the code used by the rockchip-linux people compiles, but then crashes at
runtime.

mmind himself says there's little point to xf86-video-armsoc anymore,
especially with projects like lima and panfrost to consider.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-26 19:24:10 -04:00
Trevor Woerner
be84ce07ef rockchip-defaults.inc: adjust xserver modules
It looks like xf86-video-fbturbo is mostly AllWinner-specific
(https://github.com/ssvb/xf86-video-fbturbo). Also, it looks like it provides
an accelerated xserver fbdev by making use of the mali blobs. Therefore
there's no need for it.

Add current xserver modules for modesetting, glx, exa.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-26 19:22:24 -04:00
Trevor Woerner
2f3644e039 linux-stable: add/bump
Provide a linux-stable recipe for 4.16.2
git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Remove 4.12 recipe from
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-25 23:00:46 -04:00
Trevor Woerner
02f601cfee machine: cleanup
Create a conf/machine/include/rockchip-defaults.inc that includes
rockchip-wide defaults, then organize the conf/machine/include/rk*.inc and
individual machine files accordingly.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-25 23:00:39 -04:00
Trevor Woerner
1ffcfc9ff2 tinker-rk3288: add
Add support for the ASUS Tinker Board.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-25 09:34:53 -04:00
Trevor Woerner
1fa1fba729 rockchip-gpt-img: fix intermittent build failure
If a new build is kicked off, and no changes are required to the image
contents themselves, but a new rockchip gpt image needs to be generated, the
build will fail because this build (run now) will look for an ext4 rootfs that
should also exist from this build. However, since no changes were made to the
rootfs, a rootfs with this build's timestamp will not exist. I.e. when
generating the rockchip gpt image, the script currently looks for the rootfs
in:

	<image name>-<machine name>-<timestamp>.rootfs.<rootfs type>

In other words, if the last build to be done had a timestamp of <yesterday>
and the build the is currently running has a timestamp of <now>, when the
build tries to generate the rockchip gpt image, it will look for:

	<image name>-<machine name>-<now>.rootfs.ext4

but that file will not exist. The file that will exist is:

	<image name>-<machine name>-<yesterday>.rootfs.ext4

Therefore, don't look for the absolute file, but use the symlink instead which
does not include the timestamp, but will point to the latest rootfs:

	<image name>-<machine name>.ext4

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-25 09:34:42 -04:00
Trevor Woerner
87a8187d39 u-boot-rockchip: update for latest firmware bootloader
There was an update to the rockchip firmware bootloader that appears to
require an update to the u-boot bootloader as well.

The old firmware bootloader was: RK3288UbootLoader_V2.30.06.bin
The new firmware bootloader is:  rk3288_ubootloader_v1.01.06.bin

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-24 12:57:44 -04:00
Trevor Woerner
42176d5b36 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-15 00:57:37 -04:00
Trevor Woerner
95c6ec2ece vboot-utils-native: fix DEPENDS
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15 00:57:37 -04:00
Trevor Woerner
40266ef478 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-15 00:57:37 -04:00
Trevor Woerner
4eacb16d56 linux-veyron: add support for gcc7
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15 00:57:37 -04:00
Trevor Woerner
5c60caf643 linux-veyron: fix COMPATIBLE_MACHINE
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15 00:57:37 -04:00
Trevor Woerner
d3fcb3d80d veyron-speedy: add bootloader
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15 00:57:37 -04:00
Trevor Woerner
46b2247564 linux-veyron: change fetch protocol
From http to https.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15 00:57:37 -04:00
Trevor Woerner
ff495a3853 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-15 00:57:37 -04:00
Trevor Woerner
f68891089a layer.conf: add LAYERSERIES_COMPAT
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15 00:57:37 -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