Own design board base on Jetson TK1,what should I do to make the board runing on L4T R21.5 system?

I did the steps as wiki,final step is :
sudo ./flash.sh jetson-tk1 mmcblk0p1
terminal print is :

download command failed NvErrow 0x120002
command failure/warning: bootloader download failed (bad data)

Failed flashing ardbeg;

in this case ,someone said config the board id can figure out this problem,I exec this order:
sudo ./flash.sh -B 375 jetson-tk1 mmcblk0p1
terminal print is:
Existing flashapp(/home/ubuntu/Downloads/Linux_for_Tegra/bootloader/nvflash) reused.
*** Flashing target device started. ***
./nvflash --boardid pm375 --bct PM375_Hynix_2GB_H5TC4G63AFR_H5TC4G63CFR_RDA_924MHz.cfg --setbct --configfile flash.cfg --create --bl fastboot.bin --odmdata 0x6009C000 --go
Nvflash 4.13.0000 started
BR_CID: 0x340010017410c10620000000170181c0
rcm version 0X400001
System Information:
chip name: unknown
chip id: 0x40 major: 1 minor: 1
chip sku: 0x0
chip uid: 0x000000017410c10620000000170181c0
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 file required for this command NvError 0x0
command failure/warning: bootloader download failed
Failed flashing ardbeg.

whether my board id is wrong?how can I solve this problem?
(Sorry my English is very pool)

Hi Sql-Embedded,

Could you try install your TK1 via JetPack3.0?

Download link: https://developer.nvidia.com/embedded/dlc/jetpack-l4t-3_0

Just a thought…this really sounds like host side could be failing…perhaps this isn’t the TK1 failing. Make sure the host is not a VM; make sure the host file system is a Linux type such as ext4 (do not use NTFS or VFAT or other non-Linux types); make sure you have about 25GB of host space before flashing; make sure sample rootfs is unpacked with sudo; make sure apply_binaries.sh is run with sudo.

Hi linuxdev,
Thanks for your help ,all the conditions you mention I have checked;
My host is Ubuntu,version is 14.04 ,64bit,not a VM.
My file system is ext4.
Infact I have a real jetson TK1,before i flashed my own board(designed by electronics engineer in my company using Tegra K1),I tried to flash the JETSON TK1 first,and it is successed.
Have you seen this problem before ? Should I flash a bootloader before I falsh the system image?

Sorry I actually know nothing about using JetPack,is there any documents or instructions about this progarm?

You can search for JetPack on the R21.5 page:

There is also a page specific to JetPack:

Try this boardid. Works for me using nvflash with Apalis TK1:

./nvflash --boardid 0x177 0x00 0x03