VTP: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 1: Line 1:
Correct u-boot config ('''NOTE:''' have to customize ''ethaddr'' and ''ipaddr''):
Correct u-boot config ('''NOTE:''' have to customize ''ethaddr'' and ''ipaddr''):


autoload=no
  baudrate=115200
  baudrate=115200
  bootargs=ttyPS0,115200 ip=:::::eth0:dhcp nfsroot=129.57.167.16:/vol/diskless/ArchLinux/armv7-devel/root uio_pdrv_genirq.of_id=my-uio ro rootwait
  bootargs=console=ttyPS0,115200 ip=:::::eth0:dhcp nfsroot=129.57.167.16:/vol/diskless/ArchLinux/armv7-devel/root uio_pdrv_genirq.of_id=my-uio ro rootwait
  bootcmd=run $modeboot
  bootcmd=run $modeboot
  bootdelay=3
  bootdelay=3
Line 8: Line 9:
  devicetree_load_address=0x2000000
  devicetree_load_address=0x2000000
  ethact=ethernet@e000b000
  ethact=ethernet@e000b000
  ethaddr=CE:BA:F0:03:00:13
  ethaddr=CE:BA:F0:03:00:07
  fdt_high=0x20000000
  fdt_high=0x20000000
  fdtcontroladdr=3ffa9c70
  fdtcontroladdr=3ffa9e30
fileaddr=2080000
filesize=39cf08
  gatewayip=129.57.68.100
  gatewayip=129.57.68.100
  initrd_high=0x20000000
  initrd_high=0x20000000
  ipaddr=129.57.68.84
  ipaddr=129.57.68.43
  kernel_image=uImage
  kernel_image=uImage
  kernel_load_address=0x2080000
  kernel_load_address=0x2080000
kernel_path=linux-install/ArchLinux-armv71
  modeboot=sdboot
  modeboot=sdboot
  netmask=255.255.255.0
  netmask=255.255.255.0
  sdboot=echo TFTPing Image to RAM... && tftpboot ${kernel_load_address} linux-install/ArchLinux-armv71/uImage && tftpboot ${devicetree_load_address} linux-install/ArchLinux-armv71/devicetree.dtb && bootm ${kernel_load_address} - ${devicetree_load_address};
  sdboot=echo Copying Linux from TFTP server to RAM... && tftpboot ${kernel_load_address} ${kernel_path}/${kernel_image} && tftpboot ${devicetree_load_address} ${kernel_path}/${devicetree_image} && bootm ${kernel_load_address} - ${devicetree_load_address}
  sdboot_no=if mmcinfo; then echo Copying Linux from SD to RAM... && load mmc 0 ${kernel_load_address} ${kernel_image} && load mmc 0 ${devicetree_load_address} ${devicetree_image} && bootm ${kernel_load_address} - ${devicetree_load_address}; fi
  sdboot_no=if mmcinfo; then echo Copying Linux from SD to RAM... && load mmc 0 ${kernel_load_address} ${kernel_image} && load mmc 0 ${devicetree_load_address} ${devicetree_image} && bootm ${kernel_load_address} - ${devicetree_load_address}; fi
  serverip=129.57.167.14
  serverip=129.57.167.14
Line 26: Line 26:
  stdin=serial@e0000000
  stdin=serial@e0000000
  stdout=serial@e0000000
  stdout=serial@e0000000
  tftpboot_no=echo Copying Linux from tftp server to RAM... &&tftpboot ${kernel_load_address} linux_vtp/${kernel_image} &&tftpboot ${devicetree_load_address} linux_vtp/${devicetree_image} &&bootm ${kernel_load_address} - ${devicetree_load_address};
  tftpboot_no=echo Copying Linux from tftp server to RAM... &&tftpboot ${kernel_load_address} linux_vtp/${kernel_image} &&tftpboot ${devicetree_load_address} linux_vtp/${devicetree_image} &&bootm ${kernel_load_address} - ${devicetree_load_address};
 
Environment size: 1465/131068 bytes

Revision as of 11:23, 10 August 2017

Correct u-boot config (NOTE: have to customize ethaddr and ipaddr):

autoload=no
baudrate=115200
bootargs=console=ttyPS0,115200 ip=:::::eth0:dhcp nfsroot=129.57.167.16:/vol/diskless/ArchLinux/armv7-devel/root uio_pdrv_genirq.of_id=my-uio ro rootwait
bootcmd=run $modeboot
bootdelay=3
devicetree_image=zynq-jlab-vtp.dtb
devicetree_load_address=0x2000000
ethact=ethernet@e000b000
ethaddr=CE:BA:F0:03:00:07
fdt_high=0x20000000
fdtcontroladdr=3ffa9e30
gatewayip=129.57.68.100
initrd_high=0x20000000
ipaddr=129.57.68.43
kernel_image=uImage
kernel_load_address=0x2080000
kernel_path=linux-install/ArchLinux-armv71
modeboot=sdboot
netmask=255.255.255.0
sdboot=echo Copying Linux from TFTP server to RAM... && tftpboot ${kernel_load_address} ${kernel_path}/${kernel_image} && tftpboot ${devicetree_load_address}  ${kernel_path}/${devicetree_image} && bootm ${kernel_load_address} - ${devicetree_load_address}
sdboot_no=if mmcinfo; then echo Copying Linux from SD to RAM... && load mmc 0 ${kernel_load_address} ${kernel_image} && load mmc 0 ${devicetree_load_address} ${devicetree_image} && bootm ${kernel_load_address} - ${devicetree_load_address}; fi
serverip=129.57.167.14
stderr=serial@e0000000
stdin=serial@e0000000
stdout=serial@e0000000
tftpboot_no=echo Copying Linux from tftp server to RAM... &&tftpboot ${kernel_load_address} linux_vtp/${kernel_image} &&tftpboot ${devicetree_load_address}  linux_vtp/${devicetree_image} &&bootm ${kernel_load_address} - ${devicetree_load_address};
Environment size: 1465/131068 bytes