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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>