<ray-san>
hi there, i'm building an image for the jetson nano orin, with this kernel: https://github.com/OE4T/meta-tegra/blob/kirkstone/recipes-kernel/linux/linux-tegra_5.10.bb, but i'm missing a lot of kernel modules which are built, but not copied over into my image. I don't find the place, where it is defined, which kernel modules are copied and which ones aren't. I'm a little bit lost here. Can you guys help me out please?
zpfvo has joined #yocto
Vonter has quit [Ping timeout: 246 seconds]
mkazantsev has joined #yocto
<ray-san>
ah, looks like for every kernel module there is a .deb package build. i guess, i can just install those in my image
<KanjiMonster>
ray-san: usually there is a "kernel-modules" meta package that depends on all generated modules
<ray-san>
@KanjiMonster thanks, i will look into that
<Guest25>
ray-san
<Guest25>
# Include modules in rootfs
<Guest25>
IMAGE_INSTALL_append = " \
<Guest25>
kernel-modules \
<Guest25>
"
<Guest25>
should be enough.
<ray-san>
nice, i will check it out
<Guest25>
it will install modules to inside your image. if im not wrong.
<Guest25>
with new syntax u should do IMAGE_INSTALL:APPEND
<ray-san>
@Guest25, yeah sure, i need the new syntax. I think i can figure the rest out from there. Thanks for your help :)
Guest25 has quit [Quit: Client closed]
Guest98 has joined #yocto
rfuentess has quit [Read error: Connection reset by peer]
mvlad has quit [Remote host closed the connection]
florian__ has quit [Ping timeout: 245 seconds]
Haxxa has quit [Quit: Haxxa flies away.]
<khem>
abelloni: I have pushed another patch for binutils onto yoe/mut branch which fixes mingw issue
<JPEW>
JaMa: I really tried to fix the actual bug in patchelf that makes it corrupt the programs, but eventually just decided "nope" and did the easy fix :)
<JPEW>
It's actually pretty easy to repro; keep running `patchelf --set-interpreter` until it corrupts the program
<khem>
what is the issue with patchelf ?
<JPEW>
khem: If you run --set-interpreter enough times on a binary, it will corrupt it and the loader won't load it anymore
<JaMa>
JPEW: see the backports I've sent before you, your PR upstream duplicates another already existing one
<JPEW>
This is a problem for mkfs.ext* specifically since it's one program linked together with multiple names
<JPEW>
JaMa: No, I just couldn't figure out the actual fix
<JPEW>
JaMa: Is that "make LOAD segment extensions based on p_align" ?
Haxxa has joined #yocto
<JPEW>
JaMa: I'm not sure what the connection to 18.04 is, other than that maybe it lays out the ELF files in a specific way that makes it more susceptible
<JaMa>
on what system were you seeing it? I've seen it on 18.04 and there were at least 2 threads on ML also from 18.04
<JPEW>
18.04 in a container
<JaMa>
JPEW: I guess you had more work on new house than to read OE MLs :)
<JPEW>
JaMa: Ya; my office is still mostly boxes
<JaMa>
if you need to fix it quickly, than you can update the uninative.bbclass like I did, I'm using it in all my builds since uninative-3.9 was released
<abelloni>
JPEW: I guess I should ignore your patch then
<JPEW>
abelloni: Yes please
kpo_ has quit [Ping timeout: 246 seconds]
dgriego_ has quit [Ping timeout: 245 seconds]
dgriego has joined #yocto
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
<khem>
I think its really not overwriting but incrementally eating up the page
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
cambrian_invader has joined #yocto
florian__ has joined #yocto
florian__ has quit [Ping timeout: 245 seconds]
alessioigor has quit [Quit: alessioigor]
goliath has quit [Quit: SIGSEGV]
barath has quit [Ping timeout: 245 seconds]
florian__ has joined #yocto
<RP>
JPEW: I do prefer we fix patchelf not to rewrite when it doesn't need to so I like your patch FWIW
<JPEW>
Ya, JaMa did it first though, as well as some better actual fixes for the problem (which I suspect still lingers even if we do only set it once)
<RP>
JPEW: I've written patches to address several of these kinds of things in patchelf, it is tricky to fix all the cases though
<JPEW>
RP: Ya. This in particular seems to be that eventually it moves .dynsym, then doesn't keep it in a LOAD program section
<RP>
JPEW: the trick would be to detect that and add an additional LOAD section if needed
<JPEW>
RP: Right, I think it tries, but perhaps doesn't succeed :)
<JPEW>
JaMas other patches look promising
Alban[m] has quit [Ping timeout: 245 seconds]
Peter[m]1 has quit [Ping timeout: 245 seconds]
jo-so has quit [Ping timeout: 245 seconds]
baeruhne[m] has quit [Ping timeout: 245 seconds]
cb5r has quit [Ping timeout: 245 seconds]
yudjinn[m] has quit [Ping timeout: 245 seconds]
fabatera[m] has quit [Ping timeout: 245 seconds]
TRO[m] has quit [Ping timeout: 245 seconds]
kenrendell[m] has quit [Ping timeout: 245 seconds]
Saur[m] has quit [Ping timeout: 245 seconds]
onkelpit[m] has quit [Ping timeout: 245 seconds]
patersonc[m] has quit [Ping timeout: 245 seconds]
kayterina[m] has quit [Ping timeout: 240 seconds]
tomzy_0[m] has quit [Ping timeout: 240 seconds]
ejoerns[m] has quit [Ping timeout: 240 seconds]
DavisRoman[m] has quit [Ping timeout: 240 seconds]
StephanKlatt[m] has quit [Ping timeout: 240 seconds]
Yrrsinn[m] has quit [Ping timeout: 240 seconds]
Entei[m] has quit [Ping timeout: 240 seconds]
Max[m]12 has quit [Ping timeout: 240 seconds]
Theo[m] has quit [Ping timeout: 240 seconds]
berton[m] has quit [Ping timeout: 240 seconds]
JakubKunert[m] has quit [Ping timeout: 240 seconds]
Jari[m] has quit [Ping timeout: 240 seconds]
fneddy[m] has quit [Ping timeout: 240 seconds]
lrusak[m] has quit [Ping timeout: 240 seconds]
PratikP[m] has quit [Ping timeout: 246 seconds]
klesk[m] has quit [Ping timeout: 246 seconds]
mborzecki has quit [Ping timeout: 246 seconds]
glgspg[m] has quit [Ping timeout: 246 seconds]
linex[m] has quit [Ping timeout: 246 seconds]
falk0n[m] has quit [Ping timeout: 246 seconds]
expert[m] has quit [Ping timeout: 246 seconds]
macpijan[m] has quit [Ping timeout: 246 seconds]
khem has quit [Ping timeout: 246 seconds]
argonautx[m] has quit [Ping timeout: 246 seconds]
tomas[m] has quit [Ping timeout: 246 seconds]
mrybczyn[m] has quit [Ping timeout: 246 seconds]
Salamandar has quit [Ping timeout: 246 seconds]
shoragan[m] has quit [Ping timeout: 246 seconds]
davidinux has quit [Ping timeout: 245 seconds]
otavio_ has quit [Remote host closed the connection]
otavio has joined #yocto
Kubu_work has quit [Quit: Leaving.]
florian__ has quit [Ping timeout: 258 seconds]
R2AMO has quit [Read error: Connection reset by peer]