LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
enok has quit [Ping timeout: 240 seconds]
enok has joined #yocto
Bardon_ has quit [Ping timeout: 268 seconds]
Bardon has joined #yocto
rm5248 has quit [Quit: Leaving.]
Daanct12 has joined #yocto
davidinux has quit [Ping timeout: 252 seconds]
davidinux has joined #yocto
xmn has joined #yocto
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #yocto
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #yocto
lexano has quit [Ping timeout: 246 seconds]
enok has quit [Quit: enok]
sev99 has quit [Quit: Client closed]
enok has joined #yocto
enok has quit [Ping timeout: 240 seconds]
ldywicki has quit [Quit: Connection closed for inactivity]
LocutusOfBorg has quit [Read error: Connection reset by peer]
LocutusOfBorg has joined #yocto
DvorkinDmitry has quit [Ping timeout: 252 seconds]
Daanct12 has quit [Read error: Connection reset by peer]
xmn has quit [Ping timeout: 255 seconds]
Daanct12 has joined #yocto
simonew has quit [Ping timeout: 256 seconds]
bharathbck has joined #yocto
thomas_34 has joined #yocto
Minvera has quit [Ping timeout: 272 seconds]
Guest57 has joined #yocto
simonew has joined #yocto
GNUmoon2 has quit [Ping timeout: 260 seconds]
GNUmoon2 has joined #yocto
ehussain has joined #yocto
linfax has joined #yocto
Chaser has joined #yocto
alessioigor has quit [Remote host closed the connection]
alessioigor has joined #yocto
mckoan|away is now known as mckoan
goliath has joined #yocto
frieder has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.2.2]
Daanct12 has joined #yocto
Daanct12 has quit [Client Quit]
Daanct12 has joined #yocto
<RP> 5.0 rc1 building
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
Daanct12 has quit [Ping timeout: 255 seconds]
Daanct12 has joined #yocto
Guest57 has quit [Quit: Client closed]
ablu has quit [Read error: Connection reset by peer]
zpfvo has joined #yocto
olani- has joined #yocto
tomzy-0 has joined #yocto
leon-anavi has joined #yocto
enok has joined #yocto
ablu has joined #yocto
Kubu_work has joined #yocto
rfuentess has joined #yocto
Michael_Guest has joined #yocto
alperak has joined #yocto
alperak_ has joined #yocto
alperak_ has quit [Client Quit]
Michael_Guest is now known as michael_e
tlwoerner has quit [Ping timeout: 256 seconds]
simonew has quit [Quit: Client closed]
simonew has joined #yocto
Jones42 has joined #yocto
yannd has joined #yocto
Jones42 has quit [Changing host]
Jones42 has joined #yocto
PaowZ has joined #yocto
pvogelaar has joined #yocto
<Jones42> OnkelUlla Thanks! let me know if you need a beta tester :-)
imx has joined #yocto
<imx> Hello
<imx> How can I add some lines to the fstab? I followed the last post: https://stackoverflow.com/questions/43283825/yocto-recipe-to-update-etc-fstab
<imx> Without result Fstab is still the old one. I add a file fstab with only 1 line inside.
tomzy-0 has quit [Ping timeout: 250 seconds]
tomzy-0 has joined #yocto
<mckoan> imx: last post there is perfect
<mckoan> imx: even the do_install_append() is not needed
<mckoan> imx: be careful about the new syntax FILESEXTRAPATHS:prepend
<imx> i changed this already to the new syntax, after build my added line is not fitted in the fstab file?
<mckoan> imx: did you provide a modified fstab into the recipe as shown?
<imx> i add this to my fstab file: /dev/mmcblk0p1       /var/lib/          auto       defaults,sync  0  0
ehussain has quit [Ping timeout: 260 seconds]
<mckoan> imx: do you have only that line in the file fstab? How do you check the final result?
<imx> yes i have only that line. I check this on my hardware, i program the board and boot
<imx> i want to append this line to my fstab
Daanct12 has quit [Ping timeout: 256 seconds]
dgriego has quit [Ping timeout: 256 seconds]
rbox has quit [Ping timeout: 255 seconds]
dgriego has joined #yocto
rbox has joined #yocto
<mckoan> imx: is this recipe in a layer? is the layer listed in bblayers.conf?
<mckoan> imx: what's the output of: bitbake-layers show-appends base-files
mkazantsev has joined #yocto
prabhakalad has quit [Ping timeout: 255 seconds]
prabhakalad has joined #yocto
<imx> mckoan: is this correct?
starblue has quit [Ping timeout: 256 seconds]
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #yocto
tomzy-0 has quit [Ping timeout: 250 seconds]
Abp has joined #yocto
Abp has quit [Client Quit]
Abp has joined #yocto
Jones42 has quit [Ping timeout: 250 seconds]
starblue has joined #yocto
amitk_ has quit [Ping timeout: 256 seconds]
Daanct12 has joined #yocto
mkazantsev_ has joined #yocto
mkazantsev has quit [Ping timeout: 264 seconds]
<rburton> imx: if you provide a fstable with a bbappend then by design that will _replace_ the fstab, not append. just copy the original, add your line.
Jones42 has joined #yocto
Guest1337 has joined #yocto
<imx> If I understand you good, the fstab must be replaced with my one line file? But this is not the case so my bbappend is not correct build? Right?
<Guest1337> Hello. having issues with:
<Guest1337> do_install() {
<Guest1337>     DST=${D}/opt/program
<Guest1337>     install -d ${DST}
<Guest1337>     cp -aR \
<Guest1337>         ${S}/program@.service \
<Guest1337>         ${S}/program.sh \
<Guest1337>         ${DST}
<Guest1337>     chown -R root:root ${DST}
<Guest1337>     DST=${D}${systemd_system_unitdir}
<Guest1337>     install -d ${DST}
<Guest1337>     install -m 0644 ${S}/program@.service ${DST}
<Guest1337> }
<Guest1337> | DEBUG: Executing shell function do_install
<Guest1337> | cp: missing file operand
<Guest1337> | Try 'cp --help' for more information.
<Guest1337> | WARNING: exit code 1 from a shell command.
<mcfrisk_> Guest1337: ${DST} is a bitbake variable which is empty, $DST will be the shell variable. Use "set -x" to see the detailed log
<Guest1337> "set -x" where? is that a bitbake option?
<mcfrisk_> Guest1337: "set -x" to the do_install() shell function will print the actual commands executed and will show you what the arguments to cp were
mkazantsev__ has joined #yocto
<rburton> imx: i can't see your bbappend so i can't really say
<rburton> Guest1337: use install instead of cp/chown
<imx> DESCRIPTION = "Allows to customize the fstab"
<imx> #PR = "r0"
<imx> FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
<imx> SRC_URI += " \
<imx>    file://fstab \
<imx> "
<imx> do_install:append(){
<imx>    install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/
<imx> }
mkazantsev__ has quit [Remote host closed the connection]
<imx> content fo fstab file: /dev/mmcblk0p1       /var/lib/docker          auto       defaults,sync  0  0
<rburton> that _replaces_ the fstab with the one you provide
<rburton> just copy the default, or write your own complete one
mkazantsev_ has quit [Ping timeout: 252 seconds]
rob_w has joined #yocto
michael_e has quit [Changing host]
michael_e has joined #yocto
sakoman has quit [Ping timeout: 264 seconds]
<imx> Thats the problem the fstab is not changed on the device
mattsm9 has joined #yocto
michael_e has quit [Quit: Client closed]
mattsm has quit [Ping timeout: 260 seconds]
mattsm9 is now known as mattsm
<rburton> what's the filename of that bbappend?
lexano has joined #yocto
sakoman has joined #yocto
sakoman has quit [Ping timeout: 268 seconds]
tlwoerner has joined #yocto
<imx> rburton: base-files_%.bbappend
<rburton> does 'bitbake-layers show-appends base-files' show your bbappend?
<imx> yes
<alperak> @rburton @imx If another base-files_%.bbappend is exist from a different layer and the priority of that layer is higher than others, could there be a problem caused by this?
<rburton> only if the other layer also has a bbappend that tries to add its own fstab
<rburton> in which case adjust your priority
<alperak> @rburton yes, that's what I meant.
sakoman has joined #yocto
bharathbck has quit [Quit: Client closed]
<Guest1337> my cmake has this:
<Guest1337> install(TARGETS cameracapture DESTINATION bin)
<Guest1337> from what i understand, no need for do_install, so, where does the binary go?
<rburton> Guest1337: if you inherit cmake, then $prefix/bin (typically, /usr/bin). Use GNUInstallDirs in the cmake though, instead of hardcoding 'bin'.
sakoman has quit [Ping timeout: 256 seconds]
<Guest1337> is it possible to move it somewhere after compilation (for example, to a custom path?)
<rburton> sure, just mv it
<rburton> do_install:append() { mv ${D}${bindir}/cameracapture ${D}/whatever }
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
<Guest1337> but if i add a custom do_install, does it overwrite cmake's?
<Guest1337> or do they both run
<Saur> Guest1337: Note the :append part of do_install:append()
Guest1337 has quit [Quit: Client closed]
Guest1337 has joined #yocto
<Guest1337> do_install:append() {
<Guest1337>     DST=${D}/opt/custom/path
<Guest1337>     install -d ${DST}
<Guest1337>     mv ${D}${bindir}/dronecan2protobuf ${DST}
<Guest1337> }
<Guest1337> FILES:${PN} += "/opt/custom/path"
<Guest1337> im getting the following error tho: Files/directories were installed but not shipped in any package
<rburton> for /opt/custom/path/dronecan2protobuf?
<Guest1337> oh:
<Guest1337> ERROR: QA Issue: dronecan: Files/directories were installed but not shipped in any package:
<Guest1337>   /usr/bin
<rburton> that's because you didn't delete /usr/bin and there's now an empty directory that isn't being installd
<rburton> isn't being packaged, even
sakoman has joined #yocto
<Guest1337> thanks, rm -rf ${D}${bindir} solved it
sakoman has quit [Ping timeout: 240 seconds]
<Guest1337> Sorry, got the same question. If i add a do_install, does it overwrite cmake install or they both run
<Guest1337> i know there is :append for after
ctraven has joined #yocto
sotaoverride has quit [Killed (osmium.libera.chat (Nickname regained by services))]
ctraven is now known as sotaoverride
sotaover1ide has joined #yocto
<rburton> if you write do_install() {} then that replaces do_install
rm5248 has joined #yocto
<rburton> if you write do_install:append then that _appends_ do_install
<rburton> a task is just a function which is just an executable variable. so its the same as what happened if you do foo="1" then foo="2".
<Guest1337> I see, then how do i know which files end up in the linux image? Im trying to debug/filter what ends up in the custom path
<Guest1337> the cmake install only "installs" the binary itself, right?
<rburton> your recipe builds a package, and whether that goes into the image depends on what the IMAGE_INSTALL and related variables are set to
<rburton> at no point does a recipe's do_install actually go near the final image itself, there's an intermediate step of packages
<Guest1337> but do_install defines what files the package will ship, right?
<rburton> it constructs the tree that the packages are generated from, yes
<rburton> oe-pkgdata-util list-pkg-files -r [recipename] will list the packages the recipe created and what is in them
<rburton> sorry -p not -r
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
rm5248 has quit [Remote host closed the connection]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 246 seconds]
enok has quit [Quit: enok]
enok71 has joined #yocto
simonew has quit [Quit: Client closed]
enok71 is now known as enok
sakoman has joined #yocto
sakoman has quit [Ping timeout: 260 seconds]
asac has joined #yocto
<Guest1337> im trying to use oe-pkgdata-util but im not sure, where are pkgs stored?
Xagen has quit [Ping timeout: 272 seconds]
Minvera has joined #yocto
<mcfrisk_> Guest1337: build/tmp/deploy/ipk or rpm
mattsm9 has joined #yocto
thomas_34 has quit [Quit: Client closed]
mattsm has quit [Ping timeout: 268 seconds]
mattsm9 is now known as mattsm
asac has quit [Quit: leaving]
Jones42 has quit [Ping timeout: 250 seconds]
<rburton> Guest1337: pkgdata doesn't actually look at the packages at all
sakoman has joined #yocto
mattsm3 has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.2.2]
mattsm has quit [Ping timeout: 260 seconds]
mattsm3 is now known as mattsm
sakoman has quit [Ping timeout: 240 seconds]
zhmylove has joined #yocto
mattsm0 has joined #yocto
<zhmylove> Hey Gods! I defined a task as 'do_collect() {'. This task dumps a lot of variables into some file. Is it possible to avoid taskhash mismatch for it? Can I disable task hash verification only for this task? Or I just have to set BB_HASH_IGNORE_MISMATH:task-collect (not sure if this work)?
mattsm has quit [Ping timeout: 252 seconds]
mattsm0 is now known as mattsm
paulg has joined #yocto
mattsm6 has joined #yocto
mattsm has quit [Ping timeout: 255 seconds]
mattsm6 is now known as mattsm
sakoman has joined #yocto
Jones42 has joined #yocto
rob_w has quit [Remote host closed the connection]
sev99 has joined #yocto
sakoman has quit [Ping timeout: 246 seconds]
michalk0 has joined #yocto
Jones42 has quit [Quit: Client closed]
mattsm1 has joined #yocto
<michalk0> Hi everyone. Is there any option in .wks files to mount automatically specific partition? I have added /opt partition in this line:
<michalk0> part /opt --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/opt --ondisk mmcblk --fstype=ext4 --label data --align 8192 --fixed-size 4G --extra-space 0
<michalk0> but it is not mounted on boot. I can do it with custom script or update /etc/fstab file by creating append for base-files recipe, but it is best way to resolve my issue?
mattsm has quit [Ping timeout: 246 seconds]
mattsm has joined #yocto
vladest has quit [Remote host closed the connection]
vladest has joined #yocto
mattsm1 has quit [Ping timeout: 268 seconds]
mattsm3 has joined #yocto
xmn has joined #yocto
mattsm has quit [Ping timeout: 264 seconds]
mattsm has joined #yocto
sakoman has joined #yocto
Chaser has quit [Ping timeout: 246 seconds]
mattsm2 has joined #yocto
mattsm3 has quit [Ping timeout: 256 seconds]
Chaser has joined #yocto
mattsm has quit [Ping timeout: 256 seconds]
mattsm has joined #yocto
mattsm2 has quit [Ping timeout: 256 seconds]
Xagen has joined #yocto
enok has quit [Ping timeout: 268 seconds]
mattsm4 has joined #yocto
sakoman has quit [Ping timeout: 256 seconds]
mattsm has quit [Ping timeout: 240 seconds]
mattsm4 is now known as mattsm
<LetoThe2nd> michalk0: you have to take care of mounting yourself, the win stuff just takes care of the binary image. so probably adjusting stab is the way to go.
mattsm3 has joined #yocto
mattsm has quit [Ping timeout: 240 seconds]
imx has quit [Quit: Client closed]
mattsm has joined #yocto
mattsm3 has quit [Ping timeout: 255 seconds]
LocutusOfBorg has quit [Ping timeout: 252 seconds]
mattsm0 has joined #yocto
mattsm0 is now known as mattsm
mattsm has quit [Ping timeout: 268 seconds]
sakoman has joined #yocto
mattsm2 has joined #yocto
LocutusOfBorg has joined #yocto
mattsm has joined #yocto
Guest1337 has quit [Quit: Client closed]
mattsm7 has joined #yocto
mattsm2 has quit [Ping timeout: 260 seconds]
sakoman has quit [Ping timeout: 264 seconds]
mattsm has quit [Ping timeout: 268 seconds]
mattsm has joined #yocto
asac has joined #yocto
mattsm7 has quit [Ping timeout: 268 seconds]
goliath has quit [Quit: SIGSEGV]
LocutusOfBorg has quit [Read error: Connection reset by peer]
LocutusOfBorg has joined #yocto
mattsm5 has joined #yocto
mattsm has quit [Ping timeout: 264 seconds]
mattsm5 is now known as mattsm
sakoman has joined #yocto
mattsm8 has joined #yocto
<rburton> wic can poke at fstab, but i can't remember how/why
sakoman has quit [Ping timeout: 260 seconds]
<rburton> might be worth reading the documentation
mattsm has quit [Ping timeout: 260 seconds]
mattsm8 is now known as mattsm
<mckoan> michalk0: in addition to a new line in .wks you have to add the proper line in fstab as well
<mckoan> michalk0: wks add the partition, fstab mount it at boot
florian has quit [Quit: Ex-Chat]
<rburton> michalk0: "Specifying a mntpoint causes the partition to automatically be mounted. Wic achieves this by adding entries to the filesystem table (fstab) during image generation. In order for Wic to generate a valid fstab, you must also provide one of the --ondrive, --ondisk, or --use-uuid partition options as part of the command." Maybe pass --use-uuid? This might have regressed and nobody noticed.
<LetoThe2nd> rburton: ah funny
locutusofborg_ has joined #yocto
LocutusOfBorg has quit [Ping timeout: 260 seconds]
enok has joined #yocto
mickeyl has joined #yocto
mickeyl is now known as mickeyl_
ray-san2 has quit [Ping timeout: 255 seconds]
sakoman has joined #yocto
mattsm0 has joined #yocto
sakoman has quit [Ping timeout: 255 seconds]
mattsm has quit [Ping timeout: 246 seconds]
mattsm0 is now known as mattsm
locutusofborg_ has quit [Read error: Connection reset by peer]
Chaser has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mickeyl_ is now known as mickeyl
LocutusOfBorg has joined #yocto
rfuentess has quit [Remote host closed the connection]
locutusofborg_ has joined #yocto
LocutusOfBorg has quit [Ping timeout: 255 seconds]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 268 seconds]
paulg has quit [Ping timeout: 246 seconds]
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tlwoerner> qschulz: have you had a chance to look at the rockchip patches from last week? https://lists.yoctoproject.org/g/yocto-patches/topic/meta_rockchip_patch_v2_1_2/105454848
Xagen has joined #yocto
paulg has joined #yocto
linfax has quit [Ping timeout: 272 seconds]
locutusofborg_ is now known as locutusofborg
locutusofborg has quit [Changing host]
locutusofborg has joined #yocto
<qschulz> tlwoerner: not yet no, can you remind me Thursday if I haven;t answered before then?
<qschulz> tlwoerner: what I can tell you in short: second patch needs to be first I think
<qschulz> then, why not use the mixin for u-boot 2024.04?
<tlwoerner> because 2024.04 doesn't have all the patches to make this work
<qschulz> and finally, I think you can simply define a MACHINEOVERRIDES in the machine conf file instead of including a class in the u-boot recipe
<qschulz> tlwoerner: yes but a handful of patches in a bbappend vs a full recipe using a mixin that is at one point going to be updated?
sakoman has joined #yocto
<qschulz> (the comments may not be on point, it's from vague memory of what I understood/remember from last week)
<tlwoerner> putting the 2nd patch first will be clumsy because the whole rk-u-boot-env override doesn't exist until the 1st patch is applied
<tlwoerner> i could have just lumped it all in together into 1 patch, but wanted to keep the commit message because of its detailed explanation for the change
mickeyl has quit [Quit: Client closed]
<tlwoerner> not everyone is going to care about having a saved u-boot environment, so the ability to save the u-boot environment is machine-specific
<tlwoerner> oops, is *not* machine-specific
<qschulz> tlwoerner: yes, but you can enable this saved u-boot environment feature from a machine config file
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
<qschulz> or better yet, make this a DISTRO_FEATURE? but I'm not sure you want to go the route of custom distro?
<tlwoerner> noooo
<tlwoerner> so instead of a class that is inherited, a conditional in the conf/machine/include/rockchip-defaults.inc (that is included by all machines)?
sakoman has quit [Ping timeout: 268 seconds]
<qschulz> tlwoerner: yes I would have the content of classes/rk-u-boot-env.bbclass inside conf/machine/include/rockchip-wic.inc
<qschulz> uh not wic
<qschulz> rockchip-defaults or whatever it's called
<qschulz> then anyone who wants to use this just have to extend this by doing MACHINE_FEATURES += rk-u-boot-env in their machine conf fiole
<qschulz> then, you can use this override everywhere you want, e.g. in conf/machine/include/rockchip-wic.inc, instead of the bb.utils.contains, you do
mckoan is now known as mckoan|away
<qschulz> IMAGE_INSTALL:append:rk-u-boot-env = " rk-u-boot-env"
<qschulz> same thing for RK_UBOOT_ENV
<qschulz> patch 2 moved to first patch of the series, you would only need the changes to rockchip.wks to motivate, the part in u-boot bbappend would be squashed with patch 1 (which would now be patch 2)
sakoman has joined #yocto
sakoman has quit [Ping timeout: 264 seconds]
zpfvo has quit [Remote host closed the connection]
sev99 has quit [Quit: Client closed]
sev99 has joined #yocto
sakoman has joined #yocto
Xagen has quit [Quit: Textual IRC Client: www.textualapp.com]
sakoman has quit [Ping timeout: 255 seconds]
Xagen has joined #yocto
Chaser has joined #yocto
enok has quit [Ping timeout: 240 seconds]
sakoman has joined #yocto
michalk0 has quit [Quit: Client closed]
sakoman has quit [Ping timeout: 260 seconds]
enok has joined #yocto
florian_kc has joined #yocto
sakoman has joined #yocto
Chaser has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sakoman has quit [Ping timeout: 252 seconds]
michael_e has joined #yocto
Chaser has joined #yocto
Chaser has quit [Ping timeout: 256 seconds]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 268 seconds]
locutusofborg has quit [Read error: Connection reset by peer]
locutusofborg has joined #yocto
sakoman has joined #yocto
sakoman has quit [Ping timeout: 264 seconds]
zhmylove has quit [Quit: Leaving]
vladest has quit [Quit: vladest]
ray-san2 has joined #yocto
enok has quit [Quit: enok]
enok71 has joined #yocto
enok71 is now known as enok
frieder has quit [Remote host closed the connection]
amitk has joined #yocto
sakoman has joined #yocto
sakoman has quit [Ping timeout: 252 seconds]
nerdboy has quit [Ping timeout: 256 seconds]
vladest has joined #yocto
sakoman has joined #yocto
sakoman has quit [Ping timeout: 246 seconds]
dankm has quit [Remote host closed the connection]
nerdboy has joined #yocto
dankm has joined #yocto
sakoman has joined #yocto
mattsm0 has joined #yocto
mattsm has quit [Ping timeout: 256 seconds]
mattsm0 is now known as mattsm
sakoman has quit [Ping timeout: 256 seconds]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
leon-anavi has quit [Remote host closed the connection]
mattsm8 has joined #yocto
k1r0s has joined #yocto
<k1r0s> Hello,which sources I have to check in order to create a custom image with Yocto for the beaglebone black board?
mattsm1 has joined #yocto
sakoman has joined #yocto
mattsm has quit [Ping timeout: 268 seconds]
mattsm1 is now known as mattsm
mattsm8 has quit [Ping timeout: 260 seconds]
<rburton> k1r0s: meta-ti has the beaglebone BSP in
<k1r0s> how do you know that and how do I check that?
<denix> k1r0s: didn't we already cover all this few days ago??? http://irc.yoctoproject.org/irc/%23yocto.2024-04-12.log.html#t2024-04-12T16:14:38
<k1r0s> yes but..
<k1r0s> okay
<k1r0s> I need to understand where to look when building the image for the bbb board
<k1r0s> Like, to me, the most confusing part is when editing the build/conf/bblayers
<rburton> denix: can you convince beagleboard to at least link to meta-ti on their pages?
sakoman has quit [Ping timeout: 260 seconds]
<rburton> k1r0s: git clone .../meta-ti, bitbake-layers add-layer path/to/meta-ti
<denix> rburton: yeah, I can ask...
<rburton> don't edit a file directly when there are tools to do it for you, with validating
<rburton> denix: those dots are doing a lot of talking
<k1r0s> this is the output of the command:
<k1r0s> zigor@zigor-ms7c96:~/Projects/yocto/beaglebone_black/poky/build-beagleboneblack$ bitbake-layers show-layers
<k1r0s> NOTE: Starting bitbake server...
<k1r0s> layer                 path                                      priority
<k1r0s> ==========================================================================
<k1r0s> meta                  /home/zigor/Projects/yocto/beaglebone_black/poky/meta  5
<k1r0s> meta-poky             /home/zigor/Projects/yocto/beaglebone_black/poky/meta-poky  5
<k1r0s> meta-yocto-bsp        /home/zigor/Projects/yocto/beaglebone_black/poky/meta-yocto-bsp  5
<k1r0s> meta-arm              /home/zigor/Projects/yocto/beaglebone_black/meta-arm/meta-arm  5
<k1r0s> meta-arm-toolchain    /home/zigor/Projects/yocto/beaglebone_black/meta-arm/meta-arm-toolchain  5
<k1r0s> meta-ti-bsp           /home/zigor/Projects/yocto/beaglebone_black/meta-ti/meta-ti-bsp  6
sev99 has quit [Quit: Client closed]
<rburton> sounds good
<k1r0s> I've added these layers but I've followed a tutorial, I don't have proof that these layers actually work. The bitbake went well
<k1r0s> I'm looking where to look when adding layers
<rburton> layers.openembedded.org is the official layer index
<k1r0s> like, what are the necessary layers to build the core-image-minimal
<rburton> if the bitbake went well then you have an image, so that's proof right
<k1r0s> ok, wait
<k1r0s> zigor@zigor-ms7c96:~/Projects/yocto/beaglebone_black/poky/build-beagleboneblack$ tree deploy-ti/ | grep .img
<k1r0s>         ├── u-boot-beaglebone-2023.04+gitAUTOINC+f9b966c674-r0.img
<k1r0s>         ├── u-boot-beaglebone.img -> u-boot-beaglebone-2023.04+gitAUTOINC+f9b966c674-r0.img
<k1r0s>         ├── u-boot.img -> u-boot-beaglebone-2023.04+gitAUTOINC+f9b966c674-r0.img
<k1r0s> I just have these img files
<denix> look for .wic* files
<k1r0s> zigor@zigor-ms7c96:~/Projects/yocto/beaglebone_black/poky/build-beagleboneblack$ tree deploy-ti/ | grep .wic.*
<k1r0s>         ├── core-image-minimal-beaglebone-20240412175939.rootfs.wic.bmap
<k1r0s>         ├── core-image-minimal-beaglebone-20240412175939.rootfs.wic.xz
<k1r0s>         ├── core-image-minimal-beaglebone.wic.bmap -> core-image-minimal-beaglebone-20240412175939.rootfs.wic.bmap
<k1r0s>         ├── core-image-minimal-beaglebone.wic.xz -> core-image-minimal-beaglebone-20240412175939.rootfs.wic.xz
<denix> you can then use bmaptool command to flash .wic.xz using .wic.bmap
<k1r0s> so the wic image contains all needed stuff
<rburton> the .wic is the disk image
<rburton> you can unxz it and just dd to a sd, if you want
mattsm1 has joined #yocto
<tlwoerner> bad ross bad ross, no bitbake cookie for you!
mattsm has quit [Ping timeout: 260 seconds]
mattsm1 is now known as mattsm
<tlwoerner> rburton: don't encourage people to use 'dd' when we have 'bmaptool' that is way faster :-/
<rburton> haha
<rburton> yeah bmaptool is faster
<rburton> i was just trying to say its not magic, its just a disk image :)
<tlwoerner> ah, just showin' 'em how the cookie dough is made, eh?
<k1r0s> there are lots of beaglebone references
<k1r0s> where to look?
sakoman has joined #yocto
<rburton> you look at the layer and think "maybe the one maintained by TI is the one i should use"
<tlwoerner> k1r0s: if you explore them by clicking on some of them, it will tell you when that layer/branch had its last commit
<tlwoerner> the first one, for example, was 1 year 3 months ago
<tlwoerner> the TI one, as another example, was 6 days ago
<rburton> and the TI one is maintained by denix :)
<tlwoerner> and that too :-)
sakoman has quit [Ping timeout: 256 seconds]
<RP> 5.0 rc2 looks to have curl and gstreamer ptest warnings, a github network glitch and a pip buildtools error (my fault) so far
<RP> do we consider that good enough? :/
mattsm3 has joined #yocto
mattsm6 has joined #yocto
<k1r0s> One last question, for real. If the meta-ti-bsp states that depends on openembedded-core why the build was successful?
<k1r0s> I've not included that layer
mattsm has quit [Ping timeout: 268 seconds]
mattsm6 is now known as mattsm
<k1r0s> zigor@zigor-ms7c96:~/Projects/yocto/beaglebone_black/poky$ bitbake-layers show-layers
<k1r0s> NOTE: Starting bitbake server...
<k1r0s> layer                 path                                      priority
<k1r0s> ==========================================================================
<k1r0s> meta                  /home/zigor/Projects/yocto/beaglebone_black/poky/meta  5
<k1r0s> meta-poky             /home/zigor/Projects/yocto/beaglebone_black/poky/meta-poky  5
<k1r0s> meta-yocto-bsp        /home/zigor/Projects/yocto/beaglebone_black/poky/meta-yocto-bsp  5
<k1r0s> meta-arm              /home/zigor/Projects/yocto/beaglebone_black/meta-arm/meta-arm  5
<k1r0s> meta-arm-toolchain    /home/zigor/Projects/yocto/beaglebone_black/meta-arm/meta-arm-toolchain  5
<k1r0s> meta-ti-bsp           /home/zigor/Projects/yocto/beaglebone_black/meta-ti/meta-ti-bsp  6
<RP> k1r0s: please use a pastebin or similar for multiple lines like that
<k1r0s> will do next time, sorry for that
<RP> k1r0s: "meta" is oe-core
<k1r0s> ah lmao
<k1r0s> so its all okay, ok
<k1r0s> im going to burn the image
mattsm3 has quit [Ping timeout: 240 seconds]
<k1r0s> tsm
sakoman has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
k1r0s has quit [Ping timeout: 250 seconds]
Haxxa has joined #yocto
sakoman has quit [Ping timeout: 252 seconds]
mattsm6 has joined #yocto
mattsm5 has joined #yocto
mattsm has quit [Ping timeout: 256 seconds]
mattsm5 is now known as mattsm
mattsm6 has quit [Ping timeout: 260 seconds]
mattsm8 has joined #yocto
mattsm has quit [Ping timeout: 260 seconds]
mattsm8 is now known as mattsm
sakoman has joined #yocto
mattsm3 has joined #yocto
sakoman has quit [Ping timeout: 268 seconds]
mattsm has quit [Ping timeout: 264 seconds]
mattsm3 is now known as mattsm
alessioigor has quit [Quit: alessioigor]
mattsm2 has joined #yocto
mattsm has quit [Ping timeout: 268 seconds]
mattsm2 is now known as mattsm
sakoman has joined #yocto
goliath has joined #yocto
mattsm has quit [Ping timeout: 268 seconds]
sakoman has quit [Ping timeout: 256 seconds]
Kubu_work has quit [Quit: Leaving.]
Xagen has quit [Ping timeout: 255 seconds]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 268 seconds]
michael_e has quit [Ping timeout: 272 seconds]
enok has quit [Read error: Connection reset by peer]
enok has joined #yocto
Saur_Home has quit [Quit: Client closed]
sakoman has joined #yocto
Saur_Home has joined #yocto
arielmrmx_ has joined #yocto
Saur_Home has quit [Client Quit]
arielmrmx has quit [Ping timeout: 264 seconds]
Saur_Home has joined #yocto
sakoman has quit [Ping timeout: 260 seconds]
k1r0s has joined #yocto
<k1r0s> Hello lad
Abp has quit [Ping timeout: 268 seconds]
<k1r0s> the board is not detected trough the USB cable. Is there anything I can do to troubleshoot this?
<k1r0s> I've enabled the usbserial manually, no tty device is detected when connecting the board. Even tough the leds are blinking
<k1r0s> I've enabled modules usbserial and ftdi_sio
sakoman has joined #yocto
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #yocto
sakoman has quit [Ping timeout: 256 seconds]
k1r0s has quit [Quit: Client closed]
enok has quit [Ping timeout: 252 seconds]
Saur_Home has quit [Quit: Client closed]
k1r0s has joined #yocto
Saur_Home has joined #yocto
k1r0s has quit [Client Quit]
Guest69 has joined #yocto
Saur_Home has quit [Quit: Client closed]
Saur_Home has joined #yocto
sakoman has joined #yocto
sakoman has quit [Ping timeout: 252 seconds]
jmiehe has joined #yocto
alperak has quit [Quit: Connection closed for inactivity]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 255 seconds]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 268 seconds]
Guest69 has quit [Quit: Client closed]
Ad0 has quit [Ping timeout: 268 seconds]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 256 seconds]
DvorkinDmitry has joined #yocto
<DvorkinDmitry> building with Nanbield: img-gen-rmfs-tppg2.cpio{.gz|.lz4|.lzo|.lzma|.xz|.zst) for bundling; INITRAMFS_IMAGE_NAME might be wrong
Abp has joined #yocto
<DvorkinDmitry> I set INITRAMFS_IMAGE = "img-gen-rmfs" in my local.conf
Abp has quit [Ping timeout: 240 seconds]
florian_kc has quit [Ping timeout: 255 seconds]