Traceback (most recent call last):
File "${TOPDIR}/../src/poky/scripts/devtool", line 338, in <module>
ret = main()
File "${TOPDIR}/../src/poky/scripts/devtool", line 325, in main
ret = args.func(args, config, basepath, workspace)
File "${TOPDIR}/../src/poky/scripts/lib/devtool/standard.py", line 834, in modify
if (os.path.exists(srcdir) and os.listdir(srcdir)) and (kernelVersion in staging_kerVer and staging_kbranch == kbranch):
TypeError: 'in <string>' requires string as left operand, not NoneType
Where 'kernelVersion' is None that cause an error.
In the code: "kernelVersion = rd.getVar('LINUX_VERSION')"
So LINUX_VERSION should be initialized
Signed-off-by: Ilja Byckevich <iljabyckevich@gmail.com>
This mutes bitbake warning:
----------------------------->8------------------------
WARNING: .../meta-sunxi/recipes-kernel/linux/linux-sunxi_3.4.bb:
URL: git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.4;protocol=git uses git protocol which is no longer supported by github.
Please change to ;protocol=https in the url.
----------------------------->8------------------------
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
OE/Yocto is migration towards new override syntax,
current master (upcomming honister release) will not
tolerate "_" as override operator.
New override syntax will be backported to
dunfell, gatesgarth, hardknott releases.
Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
Enable open source GPU support for Mali Utgard GPUs (lima driver) and
Mali Midgard and Bifrost GPUs (panfrost driver).
The support is enabled by:
- enabling DRM kernel CONFIGs
- enabling lima, panfrost and kmsro in Mesa
- disabling the specific mali driver overrides in sunxi-mali.inc
To enable open source mainline graphics support just add the following
line in your local.conf:
MACHINEOVERRIDES .= ":use-mailine-graphics"
Please note that some machines may need a bigger CMA value to be able to
start Weston. To do that, add e.g. "cma=128M" to the kernel parameters.
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Use .inc file to share common code and parameters. Also, always apply
orange-pi-zero wifi patch unconditionally: it is easier to spot build
issues while updating recipes if patch is applied regardless of the
machine we're building on.
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
According to:
https://www.kernel.org/category/releases.html
version 5.4 is a longterm release, so:
- add longterm 5.4 series at 5.4.18
- update longterm 4.19 series to 4.19.103
- update stable to 5.5.3
- remove rc, as it quickly gets out of date. rc users will likely build
kernel from master outside of OE anyway
- set 5.4 as the preferred version for linux-mainline
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
This change is an adaptation of commit 81e8a52e8e40e47 from poky/master.
Linux kernel build dependencies include bison since v4.16.
There were two different commits in poky adding those dependencies:
- poky/master: 81e8a52e8e40e47
- poky/sumo: 20e4d309e12bf10
However just adding bison-native to DEPENDS in linux or linux-yocto
class (as in poky/sumo) appears to be insufficient. The reason has
been clarified in 81e8a52e8e40e47 commit message:
"For linux-yocto, we also need to specify the compiler/tools dependencies
for the configme task since it executes before configure and hence the
main kernel build DEPENDS will not always be in the sysroot before it
executes. Without those dependencies the kernel will be incorrectly
configured (i.e. bison is missing) or the configuration will fail
the mitigation tests."
Layer meta-sunxi is compatible with multiple Yocto releases. Some of
those releases have been developed and tested with earlier kernels.
So they may not include new bison kernel build dependencies. That
is why it makes sense to specify new kernel build dependencies
explicitely in meta-sunxi kernel recipes rather than rely upon
upper layers.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Currently, only one of the exposed USB ports works because we haven't
loaded the sunxi musb driver, which enables the OTG port to act in host
mode.
After enabling this driver in the config, both ports work correctly.
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Bump Linux kernel version to 4.15.
Notes:
- orange-pi-zero-plus2: drop patch fixing sdcard detect
-- this fix is already in 4.15
- H2+/H3 SoCs: in 4.15 ethernet works right out of the box
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
This fixes an important brcmfmac use-after-free error:
brcmfmac: change driver unbind order of the sdio function devices
commit 5c3de777bdaf48bd0cfb43097c0d0fb85056cab7 upstream.
commit 01b43f2e3cad60c626daa9b174667a202cee6987 in linux-4.14.y
Without this change, I notice this error regularly when loading the wifi
firmware on the nanopi neo air.
Signed-off-by: Martin Kelly <mkelly@xevo.com>