Replies: 3 comments 5 replies
-
The overrides settings look OK. Did you create a subdirectory under the directory where you put your bbappend for mender-custom-flash-layout, named the same as your custom MACHINE? Look at the |
Beta Was this translation helpful? Give feedback.
-
I duplicated the folder naming from meta-mender-tegra\recipes-bsp\tegra-binaries\mender-custom-flash-layout recipe and the name of the files therein, but in order to make it work I had to change the flash_mender.xml containing folders for the problem child ones to match the machine name I was overriding: jetson-nano-emmc -> jetson-nano-devkit-emmc tegra186 -> jetson-xavier-nx-devkit-tx2-nv Well actually I just created a symlink in my-layer\recipes-bsp\tegra-binaries\mender-custom-flash-layout folder with the matching name that pointed at the proper folder in the same location. yadda:yadda/layers/meta-troll$ tree recipes-bsp/ But if I understand correctly I could have used my own machine name as well, though it seems like that shouldn't have been necessary in the first place. |
Beta Was this translation helpful? Give feedback.
-
two things:
I suppose I can check by seeing what is pulled in for a default jetson-xavier-nx-tx2-nx machine build.. |
Beta Was this translation helpful? Give feedback.
-
Hi, I originally set up custom machines for the xavier-nx and tx2-devkit by following this:
https://github.com/OE4T/meta-tegra/wiki/Creating-a-custom-MACHINE#custom-machine-definitions-for-existing-hardware
In fact the xavier example was for xavier-nx-emmc and I tweaked it back to just the xavier-nx.
For those I created custom flash layouts using a bbappend for mender-custom-flash-layout to provide my own mender_flash.xml files.
So now I've had to bring up another machine based on the xavier-nx-devkit-tx2-nx and though the tx2-devkit one pulled in my custom flash layout from the tegra186 layout the tx2-nx doesn't, I have a feeling it has to do with MACHINEOVERRIDES but could use a push in the right direction.
MACHINEOVERRIDES = "jetson-xavier-nx-devkit-tx2-nx:${MACHINE}"
require conf/machine/jetson-xavier-nx-devkit-tx2-nx.conf
PACKAGE_EXTRA_ARCHS_append = " jetson-xavier-nx-devkit-tx2-nx"
The same is true of setting up a custom machine based on nano-emmc, probably something similar
MACHINEOVERRIDES = "jetson-nano-devkit-emmc:cot:${MACHINE}"
require conf/machine/jetson-nano-devkit-emmc.conf
PACKAGE_EXTRA_ARCHS_append = " jetson-nano-devkit-emmc"
Beta Was this translation helpful? Give feedback.
All reactions