@acostach Thank you very much! I was able to build a plain jetson-tx2 v2.45.1+rev2 yocto image and execute the flasher until the point it would actually flash the device.
Now I want to adjust it for my Auvidea JN143 carrier board and the Jetson TX2 4GB (P3489-0080) module.
I have added my Auvidea âtegra186-quill-p3489-0888-a00-00-base.dtb DTBâ file to âbalena-jetson/layers/meta-balena-jetson/recipes-kernel/linuxâ and adjusted âlinux-tegra_%.bbappendâ as you described. I have also adjusted âtegra186-flash-dry_32.2.0.bbâ and added the âjn143-tx2.coffeeâ and âjn143-tx2.svgâ files.
Now during build of my -m jn143-tx2 machine, I get the following error:
ERROR: tegra186-flash-dry-32.2.0-r0 do_configure: Function failed: do_configure (log file is located at /home/osboxes/balena-jetson/build/tmp/work/aarch64-poky-linux/tegra186-flash-dry/32.2.0-r0/temp/log.do_configure.48662)
ERROR: Logfile of failure stored in: /home/osboxes/balena-jetson/build/tmp/work/aarch64-poky-linux/tegra186-flash-dry/32.2.0-r0/temp/log.do_configure.48662
Log data follows:
| DEBUG: Executing shell function do_configure
| 1+0 records in
| 1+0 records out
| 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00012807 s, 32.0 MB/s
| Welcome to Tegra Flash
| version 1.0.0
| Type ? or help for help and q or quit to exit
| Use ! to execute system commands
|
| [ 0.0134 ] tegrasign_v2 --key None --getmode mode.txt
| [ 0.0151 ] Assuming zero filled SBK key
| [ 0.0153 ]
| [ 0.0154 ] Generating RCM messages
| [ 0.0167 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
| [ 0.0184 ] RCM 0 is saved as rcm_0.rcm
| [ 0.0189 ] RCM 1 is saved as rcm_1.rcm
| [ 0.0189 ] List of rcm files are saved in rcm_list.xml
| [ 0.0189 ]
| [ 0.0189 ] Signing RCM messages
| [ 0.0206 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
| [ 0.0227 ] Assuming zero filled SBK key
| [ 0.0264 ]
| [ 0.0265 ] Copying signature to RCM mesages
| [ 0.0283 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
| [ 0.0309 ]
| [ 0.0310 ] Parsing partition layout
| [ 0.0329 ] tegraparser_v2 --pt flash.xml.in.tmp
| [ 0.0353 ]
| [ 0.0353 ] Creating list of images to be signed
| [ 0.0370 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.in.bin --list images_list.xml zerosbk
| [ 0.0392 ] Stat for tegra186-quill-p3310-1000-c03-00-base.dtb failed
| [ 0.0563 ]
| Error: Return value 4
| Command tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.in.bin --list images_list.xml zerosbk
| Keep temporary directory /home/osboxes/balena-jetson/build/tmp/work/aarch64-poky-linux/tegra186-flash-dry/32.2.0-r0/tegraflash/48775
| 1+0 records in
| 1+0 records out
| 70900 bytes (71 kB, 69 KiB) copied, 0.000261411 s, 271 MB/s
| cp: cannot stat âsigned/*â: No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/osboxes/balena-jetson/build/tmp/work/aarch64-poky-linux/tegra186-flash-dry/32.2.0-r0/temp/log.do_configure.48662)
ERROR: Task (/home/osboxes/balena-jetson/build/âŚ/layers/meta-balena-jetson/recipes-bsp/tegra-binaries/tegra186-flash-dry_32.2.0.bb:do_configure) failed with exit code â1â
Am I missing modifications for the TX2 4GB P3489 version?
F. ex. when I look at âtegra186-flash-dry_32.2.0.bbâ, I see there are some definitions that point to the P3310 version of the TX2:
âpinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
âpmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
âpmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
âprod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
âscr_config minimal_scr.cfg
âscr_cold_boot_config mobile_scr.cfg
âbr_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg \
whereas the jetson-tx2-4GB.conf inside R32.2 of Linux_for_Tegra has the following definitions:
PROD_CONFIG=âtegra186-mb1-bct-prod-storm-p3489-1000-a00.cfgâ;
PINMUX_CONFIG=âtegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfgâ;
PMIC_CONFIG=âtegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfgâ;
PMC_CONFIG=âtegra186-mb1-bct-pad-quill-p3489-1000-a00.cfgâ;
BOOTROM_CONFIG=âtegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfgâ;
I am a little bit stuck what exactly I have to adjust in order to make it work for the P3489 version, your help would be highly appreciated. Thanks!