how to add an extra bootloader partition beside EBT with TK1?

Dear experts:
I am trying to double the bootloader (EBT partition) for system boot-up robustness.we use emmc,as I know,it support 4 copies of BL in the BCT.I add a partition discription after partition EBT in the file gnu_linux_fastboot_emmc_full.cfg as below:

[partition]
name=EBT
id=5
type=bootloader
allocation_policy=sequential
filesystem_type=basic
size=4194304
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=fastboot.bin

[partition]
name=EBT_double
id=6
type=bootloader
allocation_policy=sequential
filesystem_type=basic
size=4194304
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=u-boot.bin

after I run flash.sh,it prompt errors like “bootloader name size too long”

Attached is another log following “Tegra_Linux_Driver_Package_Boot_Loader_Update_Process.pdf” to move GP1,to add EBT3/EB2/EB1,to modify id. Bytheway,I am using custom’s board

tk1@tk1-VirtualBox:~/Desktop/tk1new/burn/update_fs/Linux_for_Tegra$ sudo ./flash_with_fs.sh
copying bctfile(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/BCT/PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.cfg)… done.
copying bootloader(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/u-boot.bin)… done.
populating kernel to rootfs… done.
populating jetson-tk1_extlinux.conf.emmc to rootfs… done.
done.
Making system.img…
populating rootfs from /home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/rootfs … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image…

---- Raw to Sparse Image Converter v1.0 ----------------------------
0: RAW: 798720( 195 blks) ==> 28:798732
1: SKP: 36864( 9 blks) ==> 798760:36876
2: RAW: 4096( 1 blks) ==> 798772:4108
3: SKP: 16384( 4 blks) ==> 802880:16396
4: RAW: 4096( 1 blks) ==> 802892:4108
5: SKP: 61440( 15 blks) ==> 807000:61452
6: RAW: 8192( 2 blks) ==> 807012:8204
7: SKP: 33546240( 8190 blks) ==> 815216:33546252
8: RAW: 36864( 9 blks) ==> 815228:36876
9: SKP: 99704832( 24342 blks) ==> 852104:99704844
10: RAW: 8192( 2 blks) ==> 852116:8204
11: SKP: 782336( 191 blks) ==> 860320:782348
12: RAW: 6332416( 1546 blks) ==> 860332:6332428
13: SKP: 261312512( 63797 blks) ==> 7192760:261312524
14: RAW: 8192( 2 blks) ==> 7192772:8204
15: SKP: 268427264( 65534 blks) ==> 7200976:268427276
16: RAW: 8192( 2 blks) ==> 7200988:8204
17: SKP: 268427264( 65534 blks) ==> 7209192:268427276
18: RAW: 8192( 2 blks) ==> 7209204:8204
19: SKP: 268427264( 65534 blks) ==> 7217408:268427276
20: RAW: 8192( 2 blks) ==> 7217420:8204
21: SKP: 268427264( 65534 blks) ==> 7225624:268427276
22: RAW: 81920( 20 blks) ==> 7225636:81932
23: SKP: 671006720( 163820 blks) ==> 7307568:671006732
24: RAW: 4096( 1 blks) ==> 7307580:4108
25: SKP: 1073737728( 262143 blks) ==> 7311688:1073737740
– Total: -----------------------------------------------------------
26 CHUNK 3221225472( 786432 blks) ==> 7311700(1785 blks)

done.
system.img built successfully.
copying dtbfile(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/kernel/dtb/tegra124-jetson_tk1-pm375-000-c00-00.dtb)… done.
copying cfgfile(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/cfg/gnu_linux_fastboot_emmc_full.cfg) to flash.cfg… done.
creating gpt(ppt.img)…

*** GPT Parameters ***
Device Sector Size ------- 512
device size -------------- 15766388736
bootpart size ------------ 8388608
userpart size ------------ 15758000128
Erase Block Size --------- 2097152
FS Buffer size ----------- 4096
Partition Config file ---- flash.cfg
Visible partition flag — GP1
Primary GPT output ------- PPT->ppt.img
Secondary GPT output ----- GPT->gpt.img
Target device name ------- none

*** PARTITION LAYOUT(23 partitions) ***
[ BCT] BH 0 16383 8.0MiB
[ PPT] UH 0 4095 2.0MiB ppt.img
[ PT] UH 4096 8191 2.0MiB
[ GP1] UH 8192 12287 2.0MiB
[ EBT3] UV 12288 20479 4.0MiB u-boot.bin
[ EBT2] UV 20480 28671 4.0MiB u-boot.bin
[ EBT1] UV 28672 36863 4.0MiB u-boot.bin
[ EBT] UV 36864 45055 4.0MiB u-boot.bin
[ LNX] UV 45056 77823 16.0MiB
[ SOS] UV 77824 90111 6.0MiB
[ NVC] UV 90112 94207 2.0MiB
[ MPB] UV 94208 106495 6.0MiB
[ MBP] UV 106496 118783 6.0MiB
[ APP] UV 118784 6410239 3072.0MiB system.img
[ DTB] UV 6410240 6418431 4.0MiB tegra124-jetson_tk1-pm375-000-c00-00.dtb
[ EFI] UV 6418432 6549503 64.0MiB
[ USP] UV 6549504 6557695 4.0MiB
[ TP1] UV 6557696 6565887 4.0MiB
[ TP2] UV 6565888 6574079 4.0MiB
[ TP3] UV 6574080 6582271 4.0MiB
[ WB0] UV 6582272 6586367 2.0MiB
[ UDA] UV 6586368 30773247 11810.0MiB
[ GPT] UH 30773248 30777343 2.0MiB gpt.img
copying flasher(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/fastboot.bin)… done.
Existing flashapp(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/nvflash) reused.
*** Flashing target device started. ***
./nvflash --bct PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.cfg --setbct --configfile flash.cfg --create --bl fastboot.bin --odmdata 0x6009C000 --go
Nvflash 4.13.0000 started
USB device not found
Failed flashing ardbeg.
tk1@tk1-VirtualBox:~/Desktop/tk1new/burn/update_fs/Linux_for_Tegra$ sudo ./flash_with_fs.sh
copying bctfile(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/BCT/PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.cfg)… done.
copying bootloader(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/u-boot.bin)… done.
populating kernel to rootfs… done.
populating jetson-tk1_extlinux.conf.emmc to rootfs… done.
done.
Making system.img…
populating rootfs from /home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/rootfs … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image…

---- Raw to Sparse Image Converter v1.0 ----------------------------
0: RAW: 798720( 195 blks) ==> 28:798732
1: SKP: 36864( 9 blks) ==> 798760:36876
2: RAW: 4096( 1 blks) ==> 798772:4108
3: SKP: 16384( 4 blks) ==> 802880:16396
4: RAW: 4096( 1 blks) ==> 802892:4108
5: SKP: 61440( 15 blks) ==> 807000:61452
6: RAW: 8192( 2 blks) ==> 807012:8204
7: SKP: 33546240( 8190 blks) ==> 815216:33546252
8: RAW: 36864( 9 blks) ==> 815228:36876
9: SKP: 99704832( 24342 blks) ==> 852104:99704844
10: RAW: 8192( 2 blks) ==> 852116:8204
11: SKP: 782336( 191 blks) ==> 860320:782348
12: RAW: 6332416( 1546 blks) ==> 860332:6332428
13: SKP: 261312512( 63797 blks) ==> 7192760:261312524
14: RAW: 8192( 2 blks) ==> 7192772:8204
15: SKP: 268427264( 65534 blks) ==> 7200976:268427276
16: RAW: 8192( 2 blks) ==> 7200988:8204
17: SKP: 268427264( 65534 blks) ==> 7209192:268427276
18: RAW: 8192( 2 blks) ==> 7209204:8204
19: SKP: 268427264( 65534 blks) ==> 7217408:268427276
20: RAW: 8192( 2 blks) ==> 7217420:8204
21: SKP: 268427264( 65534 blks) ==> 7225624:268427276
22: RAW: 69632( 17 blks) ==> 7225636:69644
23: SKP: 671019008( 163823 blks) ==> 7295280:671019020
24: RAW: 4096( 1 blks) ==> 7295292:4108
25: SKP: 1073737728( 262143 blks) ==> 7299400:1073737740
– Total: -----------------------------------------------------------
26 CHUNK 3221225472( 786432 blks) ==> 7299412(1782 blks)

done.
system.img built successfully.
copying dtbfile(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/kernel/dtb/tegra124-jetson_tk1-pm375-000-c00-00.dtb)… done.
copying cfgfile(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/cfg/gnu_linux_fastboot_emmc_full.cfg) to flash.cfg… done.
creating gpt(ppt.img)…

*** GPT Parameters ***
Device Sector Size ------- 512
device size -------------- 15766388736
bootpart size ------------ 8388608
userpart size ------------ 15758000128
Erase Block Size --------- 2097152
FS Buffer size ----------- 4096
Partition Config file ---- flash.cfg
Visible partition flag — GP1
Primary GPT output ------- PPT->ppt.img
Secondary GPT output ----- GPT->gpt.img
Target device name ------- none

*** PARTITION LAYOUT(23 partitions) ***
[ BCT] BH 0 16383 8.0MiB
[ PPT] UH 0 4095 2.0MiB ppt.img
[ PT] UH 4096 8191 2.0MiB
[ GP1] UH 8192 12287 2.0MiB
[ EBT3] UV 12288 20479 4.0MiB u-boot.bin
[ EBT2] UV 20480 28671 4.0MiB u-boot.bin
[ EBT1] UV 28672 36863 4.0MiB u-boot.bin
[ EBT] UV 36864 45055 4.0MiB u-boot.bin
[ LNX] UV 45056 77823 16.0MiB
[ SOS] UV 77824 90111 6.0MiB
[ NVC] UV 90112 94207 2.0MiB
[ MPB] UV 94208 106495 6.0MiB
[ MBP] UV 106496 118783 6.0MiB
[ APP] UV 118784 6410239 3072.0MiB system.img
[ DTB] UV 6410240 6418431 4.0MiB tegra124-jetson_tk1-pm375-000-c00-00.dtb
[ EFI] UV 6418432 6549503 64.0MiB
[ USP] UV 6549504 6557695 4.0MiB
[ TP1] UV 6557696 6565887 4.0MiB
[ TP2] UV 6565888 6574079 4.0MiB
[ TP3] UV 6574080 6582271 4.0MiB
[ WB0] UV 6582272 6586367 2.0MiB
[ UDA] UV 6586368 30773247 11810.0MiB
[ GPT] UH 30773248 30777343 2.0MiB gpt.img
copying flasher(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/ardbeg/fastboot.bin)… done.
Existing flashapp(/home/tk1/Desktop/tk1new/burn/update_fs/Linux_for_Tegra/bootloader/nvflash) reused.
*** Flashing target device started. ***
./nvflash --bct PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.cfg --setbct --configfile flash.cfg --create --bl fastboot.bin --odmdata 0x6009C000 --go
Nvflash 4.13.0000 started
BR_CID: 0x340010017410b104000000000eff83c0
rcm version 0X400001
Skipping BoardID read at miniloader level
System Information:
chip name: unknown
chip id: 0x40 major: 1 minor: 1
chip sku: 0x0
chip uid: 0x000000017410b104000000000eff83c0
macrovision: disabled
hdcp: disabled
jtag: disabled
sbk burned: false
board id: 0
warranty fuse: 0
dk burned: false
boot device: emmc
operating mode: 3
device config strap: 0
device config fuse: 0
sdram config strap: 0

RCM communication completed
BCT sent successfully
sending file: tegra124-jetson_tk1-pm375-000-c00-00.dtb

  • 59637/59637 bytes sent
    tegra124-jetson_tk1-pm375-000-c00-00.dtb sent successfully
    odm data: 0x6009c000
    downloading bootloader – load address: 0x83d88000 entry point: 0x83d88000
    sending file: fastboot.bin
  • 594363/594363 bytes sent
    fastboot.bin sent successfully
    waiting for bootloader to initialize
    bootloader downloaded successfully
    ML execution and Cpu Handover took 1 Secs
    Partition backup took 0 Secs
    setting device: 2 3
    deleting device partitions
    creating partition: BCT
    creating partition: PPT
    creating partition: PT
    creating partition: GP1
    creating partition: EBT3
    failed executing command 17 NvError 0x120002
    command failure/warning: create failed (bad data)
    bootloader status: partition name is too big or unsupported (code: 19) message: nverror:0x4 (0x4) CreatePartition 1770 flags: 0

Finally I found that “bootloader name size too long” means “EBT3” “EBT_double” too long, naming it as “EB3” “EBD” will fix it.