Age | Commit message (Collapse) | Author |
|
Fixes the serial port output stopping mid way through the boot process
by reverting the kernel commit that caused it.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
We already have a dependency on meta-arm/meta-arm in order to build
tf-a (there's no point carrying our own recipe when there's a common,
consolidated one to use in meta-arm).
meta-arm/meta-arm now has a dependency on meta-arm/meta-arm-toolchain.
meta-arm-toolchain has a recipe for virtual/arm-none-eabi-gcc, so we might
as well use that too, and remove our own version. Note that using the
meta-arm-toolchain recipe required a small change to how the dependency is
specified.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
The --align argument isn't intended to make a partition exist at a fixed
location like the Rockchip boot ROM requires. Use the recently added
--offset argument which will fail to build the image if the partition
can't be placed at the correct location. Also used --fixed-size to make
sure that Wic isn't inserting hidden padding that changes things around.
Finally, the location of the rootfs isn't required to be at sector
262144 since u-boot and the kernel reads the partition table to find it
and actually hasn't been at this location anyway since Wic has been
padding the /boot partition, so remove it's alignment requirements.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Converts the build to pull the canonical TF-A recipe from meta-arm
instead of duplicating it in this layer.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Upgrades arm-trusted-firmware to the latest version, which fixes a bug
where the RK3399 would hang during a warm reboot
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Add bbappend for the remaining linux-yocto kernels.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Updates all machines to use the linux-yocto kernel from OE-core instead
of maintaining distinct kernels in this repository.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
mainline: 5.6-rc3 -> 5.6-rc7
stable: 5.5.7 -> 5.5.13
longterm: 5.4.23 -> 5.4.28
longterm: 4.19.107 -> 4.19.113
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
longterm 4.19.106 -> 4.19.107
longterm 5.4.22 -> 5.4.23
stable 5.5.6 -> 5.5.7
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
longterm 4.19.103 -> 4.19.106
stable 5.4.19 -> longterm 5.4.22
stable 5.5.3 -> 5.5.6
mainline 5.6-rc3 (new)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
The older, longterm, kernel doesn't have support for some of the newer
MACHINEs, so list the ones it does support explicitly.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
longterm: 4.19.101 -> 4.19.103
stable: 5.4.17 -> 5.4.19
stable: 5.5.1 -> 5.5.3
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
This is a BSP layer, not a software demonstration layer.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Now that we've switched to using wic for image layout, we can remove the
unused recipes for proprietary vendor tools.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
This MACHINE hasn't built successfully in a long time. Remove it, and
everything associated with it that isn't used anywhere else.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Currently machine configs define the partition layout for each machine
by setting the WKS_FILE variable. However, there are situations where it
may be needed to use a different, non default layout. To simplify such
configurations we will set WKS_FILE using ?= so that it can be easily
overriden in local configurations.
Signed-off-by: Sergey Bostandzhyan <jin@mediatomb.cc>
|
|
Asus Tinker Board-S has emmc on mmcblk1, this is also the default
configuration when building the image. If you need an image for booting
from the sd card set RK_BOOT_DEVICE to mmcblk0
Signed-off-by: Sergey Bostandzhyan <jin@mediatomb.cc>
|
|
wic modifies /etc/fstab on the root file system during image generation,
without the --ondisk parameter it assumes some default device name which
leads to an /etc/fstab file populated with /dev/sda entries.
This is not correct for the machines in the rockchip layer which use
mmcblkX.
This patch introduces an RK_BOOT_DEVICE option which is being set in the
machine configuratoin and which is being used in the wks files.
The variable expansion in the wks is handled by propagating the variable to
the wic environment.
This results in correct /etc/fstab entries and in a correct kernel
bootargs root= parameter.
Signed-off-by: Sergey Bostandzhyan <jin@mediatomb.cc>
|
|
This patch allows the user to run menuconfig from bitbake.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Remove linux-stable_5.3.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Changed name from linux-stable to linux-longterm.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
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>
|
|
The Rock Pi 4 is based on a RK3399, not a RK3288
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
|
|
Adds the machine definition for the Rock Pi 4 based around the RK3399
SoC.
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 recipe to build Arm Trusted Firmware
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>
|
|
remove: 5.2.20
add: 5.4.2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
Signed-off-by: Trevor Woerner <twoerner@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>
|
|
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>
|
|
Update the LAYERSERIES_COMPAT from warrior to zeus.
Signed-off-by: Trevor Woerner <twoerner@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>
|
|
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>
|
|
Put MACHINE-specific tweaks into MACHINE configuration.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
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>
|