]> rtime.felk.cvut.cz Git - fpga/zynq/canbench-sw.git/commitdiff
bootscript: changed IPs, updated paths
authorMartin Jerabek <jerabma7@fel.cvut.cz>
Tue, 17 May 2016 21:50:38 +0000 (23:50 +0200)
committerMartin Jerabek <jerabma7@fel.cvut.cz>
Tue, 17 May 2016 21:53:09 +0000 (23:53 +0200)
Makefile
petalinux/bootscript.txt
petalinux/subsystems/linux/config
system/script/dist.tcl

index 9347c0a650c3dabd9111a203294ffaec49334ec6..444e90d37fd27780b568d2eea5d75ab0aaebd0fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 # 2. peta linux
 # 3. apps (latester)
 
-TFTPROOT := /tftpboot
+TFTPROOT := /tftpboot/uzedcan
 
 system_project:
        cd system/script && vivado -mode batch -nolog -nojournal -source recreate.tcl
index 1da6faa23a974a18d45f3ef560635018d146a0a1..d7ddeafd5fcaa06f35202200084d096f4732749c 100644 (file)
@@ -2,11 +2,14 @@ echo "Running bootscript ..."
 
 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
index e571949b9630bdbef0f8e8ee7b306f7591adfd48..6bee6553178d1730937517fa36335a4c8afb1d02 100644 (file)
@@ -187,7 +187,7 @@ CONFIG_SUBSYSTEM_UIMAGE_HASH_CRC32=y
 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
index f4f25e21f93f14991048091b09238db275ba08a9..35fe1c05380956d2c40ca3d16bff6ea0f343f0e2 100644 (file)
@@ -11,8 +11,7 @@ puts "Project dir: $dir"
 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