Commit Graph

192 Commits

Author SHA1 Message Date
Trevor Woerner
080f3fc060 kernel bump:
deleted: 4.17 and 4.18
added:   4.19.78 (LTS)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-10-09 15:22:05 -04:00
Trevor Woerner
e353b08fc2 conf/layer.conf: update COMPAT to thud
Update this layer's compatibility declaration to the next release: thud.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-10-02 04:27:10 -04:00
Trevor Woerner
2476870e46 linux-stable: add 4.18
Since 4.17 is EOL, add a 4.18 recipe.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-09-15 12:00:05 -04:00
Trevor Woerner
2a0732ef9d linux-stable: 4.17.17 -> 4.17.19
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-09-15 12:00:05 -04:00
Trevor Woerner
35ef6a6100 README: re-write
Create a more modern README file for this BSP layer clarifying patch
submission, adding status and history, and removing build instructions
(which are better described with OE/Yocto Project documentation).

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-09-14 12:21:20 -04:00
Shyam Saini
4c4d7dae31 conf: machine: Add support for vyasa-rk3288
This patch adds initial support for the Amarula Vyasa Board.

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
2018-09-14 11:13:48 -04:00
Trevor Woerner
c84de579e2 README: remove bouncy email
The provided email for Romain doesn't appear to be valid anymore.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-08-30 09:42:16 -04:00
Trevor Woerner
498b6d8245 linux-stable: 4.17.11 -> 4.17.17
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-08-21 00:25:45 -04:00
Trevor Woerner
c8f65ec56f linux-stable: 4.17.6 -> 4.17.11
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-08-01 11:55:50 -04:00
Trevor Woerner
654e9d61c9 linux-stable: 4.17.3 -> 4.17.6
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-07-13 18:28:07 -04:00
Trevor Woerner
a8ce2c0b9b rockchip-gpt-img.bbclass: fix dts filename
Remove the "${KERNEL_IMAGETYPE}" (i.e. zImage) that preceeded the dts file
since that file no longer has the image-type prepended to it in the deploy
dir.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-07-13 18:28:07 -04:00
Trevor Woerner
fad863b47b linux-stable: update 4.17.1 -> 4.17.3
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-07-02 13:34:31 -04:00
Trevor Woerner
258ce2c195 linux-stable: update 4.16.15 -> 4.17.1
Tracking the latest master of all dependency layers, gcc was recently
updated to gcc8% from gcc7% and linux-stable-4.16.y fails to build.
linux-stable-4.17.y succeeds with gcc8%, so update to it and make it
the default.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-13 22:22:05 -04:00
Trevor Woerner
d2a3f0f22a rockchip-defaults.inc: no default kernel version
Don't specify a default kernel version for linux-stable, allow the build
system to pick, or the user to choose (if there is a choice).

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-13 22:21:14 -04:00
Trevor Woerner
5c868ff7e2 linux-stable: update 4.16.14 -> 4.16.15
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-13 22:21:14 -04:00
Trevor Woerner
30bdde8bfe linux-stable: update 4.16.11 -> 4.16.14
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-13 22:21:14 -04:00
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