AgeCommit message (Collapse)AuthorFilesLines
2020-04-29arm-trusted-firmware: Upgrade 2.2 -> 2.3HEADmasterJoshua Watt2-96/+1
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>
2020-04-19linux-yocto: rockchip COMPATIBLE_MACHINEsTrevor Woerner3-0/+3
Add bbappend for the remaining linux-yocto kernels. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-04-19Use linux-yocto kernel from OE-coreJoshua Watt11-103/+41
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>
2020-03-29LAYERSERIES_COMPAT: update for dunfellTrevor Woerner1-1/+1
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-03-28kernel bumpsTrevor Woerner4-8/+8
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>
2020-03-03kernel bumpsTrevor Woerner3-6/+6
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>
2020-02-28kernel bumpsTrevor Woerner4-6/+15
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>
2020-02-14linux-longterm: set COMPATIBLE_MACHINETrevor Woerner1-0/+2
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>
2020-02-14kernel bumpsTrevor Woerner3-6/+6
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>
2020-02-14remove imageTrevor Woerner3-59/+0
This is a BSP layer, not a software demonstration layer. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-14wic cleanupTrevor Woerner2-52/+0
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>
2020-02-14veyron-speedy: remove machineTrevor Woerner20-5550/+1
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>
2020-02-11Allow to override WKS_FILE variableSergey 'Jin' Bostandzhyan4-4/+4
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>
2020-02-11Add tinker-board-s machine configurationSergey 'Jin' Bostandzhyan2-0/+28
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>
2020-02-11Add configuration parameter to set boot device for the imageSergey 'Jin' Bostandzhyan9-20/+28
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>
2020-02-03kernel: enable -c menuconfigTrevor Woerner2-1/+55
This patch allows the user to run menuconfig from bitbake. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03rename: linux-stable.inc -> linux-mutual.incTrevor Woerner4-3/+3
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03linux-stable: 5.5.1 addTrevor Woerner2-7/+7
Remove linux-stable_5.3. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03linux-stable: 5.4.2 -> 5.4.17Trevor Woerner1-2/+2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03linux-longterm: 4.19.88 -> 4.19.101Trevor Woerner1-2/+2
Changed name from linux-stable to linux-longterm. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-02-03tinker-rk3288: Rename to tinker-boardJoshua Watt3-2/+2
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-03rock-pi-4: Fix descriptionJoshua Watt1-1/+1
The Rock Pi 4 is based on a RK3399, not a RK3288 Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27rock-pi-4: Add machineJoshua Watt3-0/+36
Adds the machine definition for the Rock Pi 4 based around the RK3399 SoC. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27rk3399: Add generic rk3399 supportJoshua Watt10-3/+170
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-27gcc-arm-none-eabi-native: Add recipeJoshua Watt1-0/+37
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-27arm-trusted-firmware: Add recipeJoshua Watt1-0/+38
Adds a recipe to build Arm Trusted Firmware Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27rk3288: Add common rk3288 boot include wicJoshua Watt4-64/+31
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-24rk3288: Add wic.bmap imagesJoshua Watt3-3/+3
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-24Remove u-boot-rockchipJoshua Watt3-53/+0
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>
2019-12-12rk3288: Convert to using wicJoshua Watt8-4/+127
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-10rk3288: Append GPT image typeJoshua Watt1-1/+1
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-10rock2-square: reinstate non-idbloader u-bootTrevor Woerner3-0/+15
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-09mesa: Enable panfrost for rk3288 SOCJoshua Watt1-0/+1
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-09linux-stable: 5.2.20 -> 5.4.2Trevor Woerner2-7/+7
remove: 5.2.20 add: 5.4.2 Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-09linux-stable: 5.3.5 -> 5.3.15Trevor Woerner1-2/+2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-09linux-stable: 4.19.78 -> 4.19.88Trevor Woerner1-2/+2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-09Fix rk3288 bootloaderJoshua Watt3-13/+3
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-10-09kernel bumpsTrevor Woerner6-23/+16
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-09layer compat: warrior -> zeuszeusTrevor Woerner1-1/+1
Update the LAYERSERIES_COMPAT from warrior to zeus. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-08-27u-boot tinker: remove patchTrevor Woerner2-37/+0
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-05-08linux-stable: 5.0.13 -> 5.0.14Trevor Woerner1-2/+2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-05-08README: update statusTrevor Woerner1-1/+0
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-08classes/rockchip-gpt-img.bbclass: cleanup GPTIMG_APPENDTrevor Woerner3-1/+2
Put MACHINE-specific tweaks into MACHINE configuration. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-05-08linux-stable: 5.0.9 -> 5.0.13Trevor Woerner1-2/+2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-23tinker-rk3288 u-boot: disable CONFIG_SPL_I2C_SUPPORTTrevor Woerner2-0/+39
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-23linux-stable_4.19: 4.19.6 -> 4.19.36Trevor Woerner1-2/+2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-23linux-stable_5.0: 5.0.9 addTrevor Woerner1-0/+7
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-03layer.conf: update for warriorTrevor Woerner1-1/+1
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-12-05linux-stable_4.19: addTrevor Woerner1-0/+7
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-12-05linux-stable_4.18: 4.18.8 -> 4.18.20Trevor Woerner1-2/+2
Signed-off-by: Trevor Woerner <twoerner@gmail.com>