<vmeson>
I swear that I heard something about this on Twitter or a podcast recently. Anyway, I found that article quickly by googling for: squirrel blind research -- fun!
GNUmoon has joined #yocto
florian_kc has quit [Ping timeout: 252 seconds]
sakoman has quit [Quit: Leaving.]
vladest has quit [Remote host closed the connection]
vladest has joined #yocto
seninha has quit [Quit: Leaving]
chep` has joined #yocto
chep has quit [Read error: Connection reset by peer]
chep- has joined #yocto
chep- is now known as chep
chep` has quit [Ping timeout: 248 seconds]
azcraft has quit [Remote host closed the connection]
seninha has joined #yocto
sakoman has joined #yocto
starblue has quit [Ping timeout: 252 seconds]
paulg has left #yocto [Leaving]
starblue has joined #yocto
paulg has joined #yocto
kscherer has quit [Quit: Konversation terminated!]
seninha has quit [Remote host closed the connection]
<LetoThe2nd>
is there a canonical yocto way to disable the console on a framebuffer, or does it boil down to CONFIG_VT = n in kernelconfig?
rfuentess has joined #yocto
shoragan has quit [Remote host closed the connection]
shoragan has joined #yocto
zpfvo has joined #yocto
frieder has joined #yocto
frieder has quit [Ping timeout: 268 seconds]
mckoan|away is now known as mckoan
<mckoan>
good morning
prabhakarlad has joined #yocto
olani- has quit [Ping timeout: 260 seconds]
olani- has joined #yocto
frieder has joined #yocto
zpfvo has quit [Ping timeout: 246 seconds]
frieder has quit [Remote host closed the connection]
frieder has joined #yocto
prabhakarlad has quit [Quit: Client closed]
zpfvo has joined #yocto
vladest has quit [Ping timeout: 268 seconds]
xmn has quit [Ping timeout: 268 seconds]
xmn has joined #yocto
Schlumpf has joined #yocto
aak-rookie has joined #yocto
Spinola has joined #yocto
vladest has joined #yocto
leon-anavi has joined #yocto
<Spinola>
Hi There. I'm using the kirkstone branch, and run into a problem with the SDK that I'm generating. After installing the SDK at a developers machine, I try to execute make scripts and get an error that gmp.h is mot found. What should I include into the SDK to make this error goaway?
louis_ is now known as louson
florian has joined #yocto
zpfvo has quit [Ping timeout: 268 seconds]
zpfvo has joined #yocto
Schlumpf has quit [Ping timeout: 260 seconds]
GNUmoon has quit [Ping timeout: 255 seconds]
Spinola_62 has joined #yocto
Spinola has quit [Quit: Client closed]
<Spinola_62>
Hi There. I'm using the kirkstone branch, and run into a problem with the SDK that I'm generating. After installing the SDK at a developers machine, I try to execute 'make scripts' and get an error that 'gmp.h' is not found. What should I include into the SDK to make this error go away?
<mckoan>
Spinola_62: doble postiing is not needed
<mckoan>
Spinola_62: how did you create the SDK ?
ptsneves has joined #yocto
<Spinola_62>
Sorry for that, but I've now installed the IRC client app, instead of using the webclient
<Spinola_62>
In file included from /home/datawatt/toolchain/sysroots/x86_64-pokysdk-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/11.3.0/plugin/include/gcc-plugin.h:28:0,
<Spinola_62>
from scripts/gcc-plugins/gcc-common.h:7,
<Spinola_62>
from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
<Spinola_62>
compilation terminated.
<Spinola_62>
scripts/gcc-plugins/Makefile:54: recipe for target 'scripts/gcc-plugins/arm_ssp_per_task_plugin.so' failed
<LetoThe2nd>
any pointer on how to elegantly just a have an image on an fb display after startup? I'm trying to use fbi but it seems to be clashing with the tty there. and in turn i have no idea where that one comes from.
<rburton>
custom image in psplash, and don't tell it to switch to another terminal
<rburton>
Spinola_62: what release of yocto is that?
<Spinola_62>
kirkstone
<rburton>
what script are you after in particular? adding the package instead might be easier than trying to beat the kernel build system into doing the right thing.
<rburton>
(it needs heavy beating)
<Spinola_62>
I trying to use the SDk on a developers machine, to let him develop a kernel module
<LetoThe2nd>
rburton: not tell it to switch?
<rburton>
LetoThe2nd: trying to remember decade-old knowledge of how to stop the kernel switching tty when it gets to a login (so it stays on the splash)
GNUmoon has quit [Remote host closed the connection]
dShapo has quit [Quit: Client closed]
aak-rookie has joined #yocto
aak-rookie has quit [Client Quit]
tepperson has quit [Ping timeout: 264 seconds]
<Spinola_62>
I'm having a problem with the SDK generate with "kirkstone", see https://pastebin.com/embed_js/tvfgAi5J. Which package is missing from the SDK, and how should I include that?
<rburton>
as i alluded to, it's trying to build native tools using target binaries, because the kernel is a pain
<rburton>
you can probably install something directly into the sdk instead of building pieces
<rburton>
i'm actually building a sdk right now to test as this is missing in the test matrix
<Spinola_62>
I've been using the SDK with Rocko until now, and I had no problems at all.
<rburton>
new kernel pulls in more bits when you 'make scripts'
<rburton>
as i said, ideally you don't need to do that
tepperson has joined #yocto
<Spinola_62>
I'm not sure what you mean be that. What would I need to develop a device driver on another machine(that's not running bitbake etc.) How can I get that when not using the SDK?
<rburton>
install the tools into the sdk itself
<Spinola_62>
How should I do that? (I assume that after that I don't have to run 'make scripts' anymore?)
<rburton>
i dont know yet. someone else might.
<mckoan>
Spinola_62: if you need to build a kernel module using the SDK you rea doing that in the wrong way
<mckoan>
s/rea/are
<mckoan>
and I wonder why a kernel module should care of gmp.h
<Spinola_62>
I meant a linux device driver :-)
<Spinola_62>
As @rburton mentioned, it has something to do with building the native tools at the machine which has the sdk installed.
<rburton>
mckoan: its the 'make scripts' bit in the kernel tools which needs gmp as it builds all the tools
<Spinola_62>
Eventually the device driver will be build and included as an external kernel module in the image generated at the build system (using yocto / bitbake)
<rburton>
for development, using the sdk is fine, that's the point of the sdk
<rburton>
bah why does update-mandb need to run in a qemu
<LetoThe2nd>
rburton: found evil magic in vendors u-boot script that always sets console=tty1. thanks for the pointer!
<mckoan>
rburton: but he's building the kernel *inside* the SDK, weird
<Entei[m]>
I've been looking at this piece of BitBake documentation for more than 30 mins now, I still don't understand the when to use .= and when to use :append style appends.
tepperson has quit [Read error: Connection reset by peer]
tepperson_ has joined #yocto
BobPungartnik has joined #yocto
BobPungartnik has quit [Client Quit]
<Spinola_62>
[rburton] Just curious, anything to report on the (kirkstone) SDK problem?
aak-rookie has joined #yocto
vladest has joined #yocto
aak-rookie has quit [Quit: Client closed]
<rburton>
Spinola_62: just back from lunch
<Spinola_62>
[rburton] sorry didn't realize our different timezones
<rburton>
It was a late lunch :)
<rburton>
zeddii: have you built out-of-tree kernel modules in a sdk before?
<rburton>
zeddii: i added kernel-devsrc to the SDK, grabbed the hellomod example, it appears to do the right thing (set KDIR, M=$(pwd), make modules) but fails
<rburton>
./include/uapi/linux/types.h:5:10: fatal error: asm/types.h: No such file or directory
<rburton>
5 | #include <asm/types.h>
<rburton>
looks like it forgot to get told the sysroot
<zeddii>
rburton. I can't say I have, I've always tested them in a normal build, or on target.
<zeddii>
At the risk of insulting what you've tried, and I didn't check history. Did you run the "make scripts prepare" ? That wouldn't have fixed the uapi missing file (but libc-headers should have installed it) .. but you never know.
<rburton>
ah
<rburton>
was under the impression that the devsrc package did those bits already
<rburton>
-rw-rw-r-- 1 ross ross 5136 Mar 2 15:24 hellomod.ko
<rburton>
success
<rburton>
Spinola_62: i added kernel-devsrc to a sdk, make scripts prepare in the devsrc directory, then build an out-of-tree module and it worked. a gmp dependency being missing is very likely. what release were you using?
<zeddii>
naw. it provides what is needed to run that. but not provide it, since we end up with cross arch QA errors if done in advance.
<rburton>
zeddii: ah because its host tooling in a "target" package. its almost like the kernel build needs to split itself into host and target parts.
<rburton>
trying not to say "burn it down with fire"
<zeddii>
yah. about 6 years ago, we were about 90% of the way to getting that to be done in advance with qemu-system doing the target bits on the build host. but didn't quite get it done. still an old bugzilla for it somewhere.
<rburton>
zeddii: you'd think the kernel would give you a 'build the tools you need on the' button so we could just ship a nativesdk-kernel-tools recipe and a target kernel-devsrc. but hey the kernel makefiles are a disaster :)
<zeddii>
I still get lost in them after a decade of fixing bugs on and off
davidinux has quit [Ping timeout: 255 seconds]
<zeddii>
a LOT has changed in them over the past few years, such a thing could have arrived and I missed it :)
<rburton>
Spinola_62: my bet is your build is fixed if you do TOOLCHAIN_HOST_TASK += "nativesdk-gmp" in the image
<Spinola_62>
[rburton] I will give it a try, will take a few moments :-)
thomasd13 has joined #yocto
gsalazar has joined #yocto
Schlumpf has quit [Quit: Client closed]
Poppy has joined #yocto
goliath has quit [Quit: SIGSEGV]
<thomasd13>
Hi, does somebody else have problems with building the package "zfs"? I fail at the configure state: configure: error: "Python >= 3.4 is required"
<thomasd13>
It detects somehow python 3.1
<Poppy>
Hey, I have one recipe to create user home dir and set partition right access. An other partition is sued to deploy ssh keys. There is a way to resolve the error : conflicts between attempted installs Y and X recipes)
<thomasd13>
I checked my hosttools: python which is stored there has following version: Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Poppy has quit [Quit: Client closed]
<tepperson_>
is there a way to execute a command when an ethernet port becomes connected to something?
d-s-e has quit [Ping timeout: 255 seconds]
<LetoThe2nd>
tepperson_: depends on your network management system. pretty sure networkd has means to do so, and there is always ifplugd
<rburton>
tepperson_: when your system has a routable IP, or when a cable is physically connected to a specific port? The former is more useful (and easier)
<tepperson_>
LetoThe2nd: networkmanager
<rburton>
use systemd, and you can piggy back on the network-online target
<rburton>
networkmanager has events and hooks, yes. see its documentation.
<LetoThe2nd>
tepperson_: see rburton :-)
<tepperson_>
/etc/NetworkManager/dispatcher.d/up.d/whatever.sh should work right?
d-s-e has joined #yocto
<rburton>
yeah sounds right
<Spinola_62>
[rburton] After adding "nativesdk-gmp" to the sdk, things got worse. Now the sdk itself fails to install. https://pastebin.com/embed_js/RNQv0cj0
<rburton>
what exactly did you add to the image?
frieder has quit [Quit: Leaving]
frieder has joined #yocto
azcraft has quit [Remote host closed the connection]
<Spinola_62>
[rburton] I added this line to my local.conf : TOOLCHAIN_HOST_TASK += " nativesdk-gmp"
<rburton>
I wonder if that needs to be an :append instead of += for some reason
<Spinola_62>
[rburton] will give that a try also ..
<jandryuk[m]>
Hi. I asked this in #oe yesteday but didn't get a response. I would like to create a customized grub2 for xen-pvh virtual machines in my layer. The issue I have is that `require recipes-bsp/grub/grub2.inc` (for the oe-core/meta file) doesn't work for a .bb in my layer. grub2.inc SRC_URI specifies many patches, but the FILES search path doesn't include oe-core and they cannot be found. Is there a good way to handle this sort of
<jandryuk[m]>
FILESEXTRAPATHS_prepend := "${TOPDIR}/layers/openembedded-core/meta/recipes-bsp/grub/files:" works but seems icky
<jandryuk[m]>
cross-layer require & SRC_URI?
<rburton>
Spinola_62: what release were you on? need to backport the missing dependency fix.
prabhakarlad has quit [Quit: Client closed]
<Spinola_62>
[rburton] how do I get the info you need?
<rburton>
Spinola_62: well, what branch of poky/oe-core are you using?
<Spinola_62>
kirkstone
<rburton>
thanks
<thomasd13>
Can I somehow supply a package with a specific python version (for example python3.9) at buildtime? Currently it is using the python version in "hosttools". And that is a symlink on my host python3. I would like to isolate that and give that damn package python3.9
<rburton>
inherit python3native and you have the native python3 that we built to use
<thomasd13>
Thank you rburton!
<rburton>
though if its detecting 3.1 and you have 3.10 on your host then you just found a bug in zfs
<thomasd13>
rburton, yes correct. I found that and also ask the maintainer about it. For them it seems to be fixed, but somehow on my system it still triggers the bug
<thomasd13>
But thank god that python3native is using python3.8 :) Now its working
<thomasd13>
rburton, can I further specify which python version from python3native should be used, if I have there multiple to choose? Or is it just one specific version and I have to deal with it
frieder has quit [Remote host closed the connection]
<Spinola_62>
[rburton] When I remove the line from my local.conf : TOOLCHAIN_HOST_TASK += " nativesdk-gmp", the SDK can be installed again! I will try tomorrow with TOOLCHAIN_HOST_TASK:append = " nativesdk-gmp". Have to leave now is 6 p.m. ;-)
rfuentess has quit [Remote host closed the connection]
leon-anavi has quit [Quit: Leaving]
florian_kc has quit [Ping timeout: 268 seconds]
florian has quit [Quit: Ex-Chat]
sakoman has quit [Ping timeout: 248 seconds]
skrawn has quit [Quit: Konversation terminated!]
Guest61 has joined #yocto
thomasd13 has quit [Ping timeout: 268 seconds]
goliath has joined #yocto
mckoan is now known as mckoan|away
sakoman has joined #yocto
zpfvo has quit [Remote host closed the connection]
d-s-e has quit [Quit: Konversation terminated!]
seninha has joined #yocto
nerdboy has quit [Ping timeout: 255 seconds]
nerdboy has joined #yocto
nerdboy has joined #yocto
nerdboy has quit [Changing host]
Spinola_62 has quit [Read error: Connection reset by peer]
azcraft has joined #yocto
tepperson_ has quit [Ping timeout: 252 seconds]
tepperson_ has joined #yocto
florian_kc has joined #yocto
amitk has quit [Ping timeout: 248 seconds]
nemik has quit [Ping timeout: 255 seconds]
nemik has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
ptsneves has quit [Ping timeout: 248 seconds]
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
alimon has quit [Ping timeout: 248 seconds]
alimon has joined #yocto
olani- has quit [Ping timeout: 268 seconds]
prabhakarlad has joined #yocto
<tepperson_>
i just put the name of an image recipe in SWUPDATE_IMAGES right?
<tepperson_>
i was missing another important variable, i got my answer, yes image name goes in there
meego has joined #yocto
<meego>
Is there a "proper" way of extending machines? I'm creating my own bsp layer with a machine conf containing "require ../../../meta-raspberrypi/conf/machine/raspberrypi3-64.conf" but I'm hitting some errors which lower my confidence that is a good practice.
<meego>
e.g. "do_kernel_metadata: A KBUILD_DEFCONFIG 'bcm2709_defconfig' was specified, but not present in the source tree"
Guest61 has quit [Quit: Client closed]
warthog9 has quit [Ping timeout: 248 seconds]
Thorn has quit [Ping timeout: 264 seconds]
meego has quit [Remote host closed the connection]
meego has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
<tepperson_>
for a wic image, is there a way to have the last partition take all the rest of the disk space?