Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] linux-yocto-meson64 4.14: don't use linux-yocto.bbclass #13

Merged
merged 3 commits into from
Mar 26, 2018

Conversation

koenkooi
Copy link
Collaborator

This is an RFC, against 'rocko' instead of master since that's what I'm testing with. I also didn't rename the recipe yet. If the spirit of this PR is something you want I'll respin it properly.


The recipe isn't using any of the linux-yocto features, but is running into the following bugs:

  1. do_patch fails on patch 7 (USB), running 'bitbake virtual/kernel' again makes it silently continue building without 6 of the 36 patches applied. Which leads to:
    | Error: /build/angstrom/v2017.12/build/tmp-angstrom-glibc/work-shared/amlogic-p212/kernel-source/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi:188.1-6 Label or path usb0 not found
  2. The extra tasks like configme() take a lot of time due to trashing the disk IO with branch changes.

Import 'linux.inc' from meta-oe to get the automated defconfig fixup. This can be replaced with

cp ${WORKDIR}/defconfig ${B}/.config
yes '' | oe_runmake -C ${S} O=${B} oldconfig

if so desired.

Signed-off-by: Koen Kooi koen.kooi@linaro.org

The recipe isn't using any of the linux-yocto features, but is running into the following bugs:

1) do_patch fails on patch 7 (USB), running 'bitbake virtual/kernel' again makes it silently continue building without 6 of the 36 patches applied. Which leads to:
	`| Error: /build/angstrom/v2017.12/build/tmp-angstrom-glibc/work-shared/amlogic-p212/kernel-source/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi:188.1-6 Label or path usb0 not found`
2) The extra tasks like configme() take a lot of time due to trashing the disk IO with branch changes.

Import 'linux.inc' from meta-oe to get the automated defconfig fixup. This can be replaced with 'cp ${WORKDIR}/defconfig ${B}/.config' if needed.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
This gives us a git commit for each patch. Also commit any changes made by OE methods.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
@twoerner twoerner mentioned this pull request Mar 13, 2018
@superna9999 superna9999 changed the base branch from rocko to master March 26, 2018 14:30
@superna9999 superna9999 merged commit cb963cb into superna9999:master Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants