On 04/01/2023 11:29, Pawel Zalewski wrote:
Good question, so the defconfig in question is in fact a truncated .config generated from morello_transitional_pcuabi_defconfig.
This was done as Yocto would not produce the correct .config file out of morello_transitional_pcuabi_defconfig, with everything cheri-related being ignored.
Right, I encountered the same issue a while back when I naively did a `make morello_transitional_pcuabi_defconfig` in a Morello-unaware environment. This happens because you need to have your tools in place even to generate the .config, as CONFIG_ARM64_MORELLO depends on CONFIG_CC_HAS_MORELLO, which itself depends on CC knowing about Morello. If possible your best option is to amend your PATH and set LLVM=1 so that the right tools get picked up by make (both to generate .config and build), you do not need to override every tool manually if you do that. Not sure if Yocto supports this approach though.
Kevin
I do not have issues outside of Yocto with morello_transitional_pcuabi_defconfig at all, so it is purely Yocto related and I have not looked into this further.
Regardless, I have realised that this defconfig is wrong as it expects a hardcoded path to the rtl_nic driver, will fix this in v2.
Kind regards, Pawel
On Wed, 4 Jan 2023 at 10:12, Kevin Brodsky kevin.brodsky@arm.com wrote:
On 20/12/2022 16:29, Pawel Zalewski wrote:
|Add recipes for the Linux kernel. The recipe has a common include so that future versions can re-use the code (the recipe is not versioned itself). Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- recipes-kernel/linux/linux-morello-1.5.bb | 9 + .../linux/linux-morello-1.5/defconfig | 3795 +++++++++++++++++|
Out of curiosity, is there something in particular that is missing from morello_transitional_pcuabi_defconfig so that you had to create your own defconfig?
Kevin
|recipes-kernel/linux/linux-morello.inc | 38 + 3 files changed, 3842 insertions(+) create mode 100644 recipes-kernel/linux/linux-morello-1.5.bb create mode 100644 recipes-kernel/linux/linux-morello-1.5/defconfig create mode 100644 recipes-kernel/linux/linux-morello.inc |