Commit Graph

426 Commits

Author SHA1 Message Date
Trevor Woerner
6e0ce163b0 kernel: enable -c menuconfig
This patch allows the user to run menuconfig from bitbake.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03 14:03:27 -05:00
Trevor Woerner
f45146a0d7 rename: linux-stable.inc -> linux-mutual.inc
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03 13:40:22 -05:00
Trevor Woerner
21dc7d1caa linux-stable: 5.5.1 add
Remove linux-stable_5.3.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03 12:33:20 -05:00
Trevor Woerner
e211102cd3 linux-stable: 5.4.2 -> 5.4.17
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03 12:24:33 -05:00
Trevor Woerner
7b9df638e5 linux-longterm: 4.19.88 -> 4.19.101
Changed name from linux-stable to linux-longterm.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03 11:54:29 -05:00
Joshua Watt
0b7d842fca tinker-rk3288: Rename to tinker-board
Renames the tinker-rk3288 to match the convention of naming the machines
with the manufacturers official board name.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-02-03 11:05:55 -05:00
Joshua Watt
764e7c8431 rock-pi-4: Fix description
The Rock Pi 4 is based on a RK3399, not a RK3288

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-02-03 11:05:26 -05:00
Joshua Watt
a0162457c5 rock-pi-4: Add machine
Adds the machine definition for the Rock Pi 4 based around the RK3399
SoC.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27 16:32:28 -05:00
Joshua Watt
01467664da rk3399: Add generic rk3399 support
Adds support for the rk3399 SoC. Notably:
 *) Split out the default kernel config and image type from
    rockchip-defaults.inc now that not all support chips are ARMv7
 *) Apply a patch to Arm Trusted Firmware to fix a compile issue
 *) Arm Trusted Firmware requires the arm-none-eabi-native compiler to
    compile the M0 firmware.
 *) Modify u-boot to pull in the ATF files when compiling
 *) The rk3399 is support by the panfrost driver in mesa, so enable it

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27 16:32:19 -05:00
Joshua Watt
1035b5d734 gcc-arm-none-eabi-native: Add recipe
Adds a recipe to pull down the prebuilt GCC for compiling on Cortex-R
and Cortex-M processors from ARM. This toolchain is required to build
Arm Trusted Firmware for the Rockchip rk3399 SoC, since it must compile
some firmware for the M0 coprocessor.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27 16:32:09 -05:00
Joshua Watt
2b92cf7f8e arm-trusted-firmware: Add recipe
Adds a recipe to build Arm Trusted Firmware

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27 16:31:55 -05:00
Joshua Watt
fdd07d09c2 rk3288: Add common rk3288 boot include wic
Adds a common rk3288-boot.wks file that all machine kickstart files can
include to get their boot partitions correctly configured.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27 10:18:44 -05:00
Joshua Watt
d59f392f3f rk3288: Add wic.bmap images
Adds the wic bitmap images to IMAGE_FSTYPES. bmaptool can use these
files to efficiently copy sparse images to media

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-24 14:11:28 -05:00
Joshua Watt
143227b5d4 Remove u-boot-rockchip
Removes the u-boot-rockchip recipe. Upstream oe-core has dropped support
for Python2, which is required to build this recipe. It appears that no
machines are actually using it anymore, so it can be removed.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-24 13:29:30 -05:00
Joshua Watt
5e96349999 rk3288: Convert to using wic
Coverts the firefly-rk3288, tinker-rk3288, and vyasa-rk3288 machines to
use wic instead of the rockchip-gpt-img class. The rock2-squared machine
has to keep the older image class because u-boot doesn't provided a
combined idbloader for it.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-12-12 01:20:26 -05:00
Joshua Watt
e8fd1f92ed rk3288: Append GPT image type
Appends the GPT image type to IMAGE_FSTYPES instead of overriding. This
allows additional types to be preserved if they are specified in
local.conf

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-12-10 23:00:58 -05:00
Trevor Woerner
6732e8b981 rock2-square: reinstate non-idbloader u-boot
Unfortunately, although the rock2-square is an rk3288-based device, its U-Boot
has not been updated to use the TPL+SPL/idbloader mechanism. This commit adds
back the previous U-Boot packaging but only for the rock2-square.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-10 12:52:18 -05:00
Joshua Watt
85f1ba657f mesa: Enable panfrost for rk3288 SOC
Configures mesa to build in the panfrost and render-only KMS driver
when building for the rk3288 SOC. The panfrost kernel module is already
compiled as a module by default for armv7.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-12-09 22:59:15 -05:00
Trevor Woerner
017e3e3868 linux-stable: 5.2.20 -> 5.4.2
remove: 5.2.20
add: 5.4.2

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-09 21:37:08 -05:00
Trevor Woerner
7afe95d11c linux-stable: 5.3.5 -> 5.3.15
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-09 21:36:56 -05:00
Trevor Woerner
756ca9711d linux-stable: 4.19.78 -> 4.19.88
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-09 21:36:49 -05:00
Joshua Watt
295b58facf Fix rk3288 bootloader
Recent versions of u-boot use a combined SPL/TPL (called idbloader.img)
in the loader1 partition, which then loads the full u-boot from the
loader2 partition. Update the GPT partition class to reflect this
change. Additionally, remove the u-boot bbappend since it is no longer
needed.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-12-09 21:32:23 -05:00
Trevor Woerner
59408a8b23 kernel bumps
delete: 4.17 and 4.18
update: 4.19.36 -> 4.19.78 (LTS)
update: 5.0.14 -> 5.2.20 (EOL)
add:    5.3.5 (current stable)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-10-09 14:24:51 -04:00
Trevor Woerner
78d19c52fb layer compat: warrior -> zeus
Update the LAYERSERIES_COMPAT from warrior to zeus.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-10-09 07:37:15 -04:00
Trevor Woerner
74fe21490a u-boot tinker: remove patch
The tinker-rk3288 MACHINE is no longer in need of a patch to disable I2C in
SPL. The latest _defconfig no longer enables this option by default.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-08-27 11:58:48 -04:00
Trevor Woerner
3806ac2240 linux-stable: 5.0.13 -> 5.0.14
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-05-08 10:04:22 -04:00
Trevor Woerner
cb595da70d README: update status
As of early 2019, U-Boot has been fixed and the firefly-rk3288 boots again.
Update the status in the README to reflect this change.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-05-08 10:04:22 -04:00
Trevor Woerner
bc09904bc2 classes/rockchip-gpt-img.bbclass: cleanup GPTIMG_APPEND
Put MACHINE-specific tweaks into MACHINE configuration.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-05-08 10:04:22 -04:00
Trevor Woerner
14d058ab4c linux-stable: 5.0.9 -> 5.0.13
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-05-08 10:04:21 -04:00
Trevor Woerner
c8c1333050 tinker-rk3288 u-boot: disable CONFIG_SPL_I2C_SUPPORT
The SPL for the Tinker Board has to fit into 32 KiB. Currently this limit
is exceeded.

CONFIG_SPL_I2C_SUPPORT is not needed to move to main U-Boot. So let's
disable it.

Suggested-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: David Wu <david.wu@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

This patch was imported from the U-Boot patchwork:
https://patchwork.ozlabs.org/patch/1049112/

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-23 15:41:24 -04:00
Trevor Woerner
5169cb5931 linux-stable_4.19: 4.19.6 -> 4.19.36
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-23 05:30:02 -04:00
Trevor Woerner
988fe279da linux-stable_5.0: 5.0.9 add
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-23 05:11:10 -04:00
Trevor Woerner
605f5fe077 layer.conf: update for warrior
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-03 02:10:56 -04:00
Trevor Woerner
6e68ab9d95 linux-stable_4.19: add
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-12-05 21:35:00 -05:00
Trevor Woerner
0330f0a2c2 linux-stable_4.18: 4.18.8 -> 4.18.20
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-12-05 21:34:13 -05: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