01 > ȸҰ

 
작성일 : 19-05-07 13:55
zynq flash config 명령어
 글쓴이 : 이로직…
조회 : 21  
//----------zynq config file

setenv gatewayip 192.168.1.1;setenv ipaddr 192.168.1.100;setenv serverip 192.168.1.9;setenv netmask 255.255.255.0

sf probe
// kernel
sf read 0x2080000 0x500000 0x500000

// device tree
sf read 0x2000000 0x900000 0x20000

// radmdisk
sf read 0x4000000  0x920000 0x5E0000

// boot cmd
bootm 0x2080000 0x4000000 0x2000000


tftpboot 0x2080000 uImage

tftpboot 0x2000000 devicetree.dtb
tftpboot 0x2000000 zynq-awt.dtb
tftpboot 0x2000000 zynq-proxy.dtb


tftpboot 0x4000000 uramdisk.image.gz


tftpboot 0x4000000 new.uramdisk.image.gz


tftpboot 0x2080000 uImage ;tftpboot 0x2000000 zynq-proxy.dtb ;tftpboot 0x4000000 uramdisk.image.gz ;bootm 0x2080000 0x4000000 0x2000000
tftpboot 0x2080000 uImage ;tftpboot 0x2000000 zynq-proxy.dtb ;tftpboot 0x4000000 new.uramdisk.image.gz ;bootm 0x2080000 0x4000000 0x2000000

ifconfig eth1 192.168.1.102 netmask 255.255.255.0 broadcast 192.168.1.200 up

// flash kernel write
sf probe 0
tftpboot 0x2080000 uImage
sf erase 0x500000 0x400000
sf write 0x2080000 0x500000 0x400000


// rasmdisk write
sf probe 0
tftpboot 0x4000000 uramdisk.image.gz

tftpboot 0x4000000 new.uramdisk.image.gz
sf erase 0x920000   0x5e0000
sf write 0x4000000  0x920000 0x5e0000

// device tree
sf probe 0
tftpboot 0x4000000 devicetree.dtb
tftpboot 0x4000000 zynq-zed.dtb
tftpboot 0x4000000 zynq-awt.dtb
tftpboot 0x4000000 zynq-proxy.dtb