aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine
AgeCommit message (Collapse)Author
2020-02-11Add configuration parameter to set boot device for the imageSergey 'Jin' Bostandzhyan
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-03tinker-rk3288: Rename to tinker-boardJoshua Watt
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 Watt
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 Watt
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 Watt
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-24rk3288: Add wic.bmap imagesJoshua Watt
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>
2019-12-12rk3288: Convert to using wicJoshua Watt
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 Watt
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 Woerner
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-09Fix rk3288 bootloaderJoshua Watt
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-05-08classes/rockchip-gpt-img.bbclass: cleanup GPTIMG_APPENDTrevor Woerner
Put MACHINE-specific tweaks into MACHINE configuration. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-09-14conf: machine: Add support for vyasa-rk3288Shyam Saini
This patch adds initial support for the Amarula Vyasa Board. Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
2018-06-13rockchip-defaults.inc: no default kernel versionTrevor Woerner
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-04-30bootloader: set to upstream u-boot for rk3288Trevor Woerner
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-26xf86-video-armsoc-rockchip: removeTrevor Woerner
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-26rockchip-defaults.inc: adjust xserver modulesTrevor Woerner
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-25linux-stable: add/bumpTrevor Woerner
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-25machine: cleanupTrevor Woerner
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-25tinker-rk3288: addTrevor Woerner
Add support for the ASUS Tinker Board. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15veyron-speedy: add bootloaderTrevor Woerner
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15linux-rockchip: removeTrevor Woerner
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>
2017-05-15machine: add UBOOT_MACHINE definition to rock2-squareRomain Perier
This adds the defconfig to be used as part of the build of u-boot for the Rock2 Square. Signed-off-by: Romain Perier <romain.perier@collabora.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2017-03-18machine: rk3288: don't hard-code kernel choiceTrevor Woerner
Allow the user to ultimately choose the kernel. Make 'linux' the _preferred_, not the _required_. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Eddie Cai <eddie.cai.linux@gmail.com>
2017-02-26machine: rk3288: GPT image supportTrevor Woerner
Configure any rk3288 build to generate the new GPT image which is then either flashed to eMMC or dd'ed to an SDcard. Reviewed-by Eddie Cai <eddie.cai.linux@gmail.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-02-26machine: firefly-rk3288: specify bootloaderTrevor Woerner
Set the default preferred bootloader for firefly-rk3288 to be u-boot-rockchip and set the default name of the SPL binary. Reviewed-by Eddie Cai <eddie.cai.linux@gmail.com> Reviewed-by: Jacob Chen <jacob-chen@iotwrt.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-02-26machine: rk3288: enable SoC-specific assignmentsTrevor Woerner
Enable machine overrides for RK3288. Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-02-18machine: rk3066: Use SoC specific assignmentsTrevor Woerner
In this way the modifications will be used on all RK3066 boards. Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18machine: rk3188: Use SoC specific assignementsEddie Cai
In this way the modifications will be used on all RK3188 boards. Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18machine: rk3188: separate rk3188 inc file from rk3066Eddie Cai
Every SoC should have their own inc file. So separate it. Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-18machine: remove DEFAULTTUNEsTrevor Woerner
The DEFAULTTUNE configuration should not be set at the BSP layer but in a DISTRO layer (or a user's conf/local.conf). Remove the two DEFAULTTUNEs that are currently in the layer and add a note in the README to inform users of this issue and potential settings. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@collabora.com>
2016-12-26machine: radxarock: use linux-rockchip by defaultRomain Perier
This is the kernel vendor that supports all hw components for this board, so we use it by default. Reviewed-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Romain Perier <romain.perier@gmail.com>
2016-08-25machine: Replace KERNEL_DEFCONFIG by KBUILD_DEFCONFIGRomain Perier
KBUILD_DEFCONFIG already existed in the yocto project. When it is used with the kernel-yocto bbclass, it specifies an "in-tree" kernel configuration file for use during a kernel build. So instead of use our own variable we use the standard variable designed for that purpose Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
2016-08-15machine: Add machine file for the Radxa Rock2 SquareRomain Perier
Radxa Rock2 is a series of the second single board computer from Radxa. This is the square baseboard. http://radxa.com/Rock2 Signed-off-by: Romain Perier <romain.perier@free-electrons.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2016-08-08machine: Introduce a new variable KERNEL_DEFCONFIGRomain Perier
This variable will hold the name of the in-tree defconfig to use to configure the kernel before compile it. This is better to use in-tree config file now, is we don't plan to maintain a defconfig file per board and it is also synced with upstream. Signed-off-by: Romain Perier <romain.perier@free-electrons.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-10-31Merge branch 'devs/twoerner/machine-rename'Romain Perier
Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-10-31rename machinesTrevor Woerner
Rename the MACHINE configurations to better match the OE pattern of using the board's name. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-10-31rk3066.inc: remove rockchip-update-imgTrevor Woerner
None of the machines based on the RK3066 (or compatible) use an initrd image, therefore an update image can't be successfully generated for them. Therefore remove the request to try building this artifact. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-10-31rk3288.inc: gcc 5.2 is default on masterTrevor Woerner
As of the 2015/09/04 commit 039211f0d8fe79d07b65f2f02e299b9656034214 on openembedded-core, gcc 5.2 (5.%) is now the default on master. Therefore there is no need to request it explicitly. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-10-31machine: Add support to the veyron-speedy machine desc. to work with sato imagesRomain Perier
This includes modules and firmwares to have a working drm and wifi. It also defines the right x11 packages and dependencies. Signed-off-by: Romain Perier <romain.perier@gmail.com>
2015-09-11rk3066.inc: remove rockchip-update-imgTrevor Woerner
None of the machines based on the RK3066 (or compatible) use an initrd image, therefore an update image can't be successfully generated for them. Therefore remove the request to try building this artifact. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-09-07rk3288.inc: gcc 5.2 is default on masterTrevor Woerner
As of the 2015/09/04 commit 039211f0d8fe79d07b65f2f02e299b9656034214 on openembedded-core, gcc 5.2 (5.%) is now the default on master. Therefore there is no need to request it explicitly. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-08-31machine: Add support for veyron speedy boardRomain Perier
Which is formally known as the Asus C201 Chromebook Signed-off-by: Romain Perier <romain.perier@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-31machine: Use cortexa17-neon as default tune for rk3288.incRomain Perier
Support for this tune is now supported in yocto 1.9. As it comes with gcc 5, we also need to require gcc 5.2 and minimal compiler version. Signed-off-by: Romain Perier <romain.perier@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06machine: Improve machine descriptionRomain Perier
Machine descriptions are shown on layers.openembedded.org, so we need something clear and understandable for the user. Signed-off-by: Romain Perier <romain.perier@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06machine: Move rk3288.conf to include directoryRomain Perier
As rk3288 itself is not a machine nor a generic one that we plan to support, and as this file was created to factorize code between rk3288-based platforms, that's better to move it into the include directory. Signed-off-by: Romain Perier <romain.perier@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06machine: Remove generic machine rk3188Romain Perier
It does not match any machine, and I think that it might be difficult to ensure that it will work on all rk3188-based devices if we are not able to test... Signed-off-by: Romain Perier <romain.perier@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-08-06machine: Rename rockchip.inc include file to rk3066.incRomain Perier
This include file is used by rk3066 and rk3188 based devices. So this is better to rename it rk3066.inc and to create another include file rk3188.inc which simply includes it. In that way, we have one include file for each SoC and it reduces confusions. Signed-off-by: Romain Perier <romain.perier@gmail.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2015-07-30conf/machine: Makes SERIAL_CONSOLES overridableFlorent Revest
That's very important to be able to redefine some variables for the need of custom kernels. As on rockchip-based devices the serial interface might change from a kernel to another, makes it overridable using '?='. Signed-off-by: Florent Revest <revestflo@gmail.com> Reviewed-by: Romain Perier <romain.perier@gmail.com>
2015-07-07conf: machine: Update license headersRomain Perier
2015-07-07conf: machine: Prefix MACHINE by SoCs nameRomain Perier