# 2. peta linux
# 3. apps (latester)
-TFTPROOT := /tftpboot
+TFTPROOT := /tftpboot/uzedcan
system_project:
cd system/script && vivado -mode batch -nolog -nojournal -source recreate.tcl
setenv tftp_dir ''
-setenv bitstream_image system.bit
-setenv dtb_img system.dtb
-setenv kernel_img image.ub
+setenv tftp_path /uzedcan
+setenv bitstream_image ${tftp_path}/system.bit
+setenv dtb_img ${tftp_path}/system.dtb
+setenv kernel_img ${tftp_path}/image.ub
setenv nfsserverip 192.168.1.75
+#setenv nfsserverip 147.32.86.163
+
setenv nfspath /export/canbench
setenv bootargs ${bootargs} console=ttyPS0,115200
CONFIG_SUBSYSTEM_COMPRESS_IMAGE=y
CONFIG_SUBSYSTEM_DTB_PADDING_SIZE=0x1000
CONFIG_SUBSYSTEM_COPY_TO_TFTPBOOT=y
-CONFIG_SUBSYSTEM_TFTPBOOT_DIR="/tftpboot"
+CONFIG_SUBSYSTEM_TFTPBOOT_DIR="/tftpboot/uzedcan"
#
# Firmware Version Configuration
puts "Impl dir: $impl_dir"
file copy -force $impl_dir/top_wrapper.hwdef $dir/../system.hdf
file copy -force $impl_dir/top_wrapper.bit $dir/../system.bit
-file copy -force $dir/../system.hdf /tftpboot/system.hdf
-file copy -force $dir/../system.bit /tftpboot/system.bit
+file copy -force $dir/../system.bit /tftpboot/uzedcan/system.bit
cd $dir/..
exec bootgen -image system.bif -w -process_bitstream bin