Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:cisco:vedge_1000 [2024/08/11 12:17] – [Installing OpenWrt] bluecmdinbox:toh:cisco:vedge_1000 [2024/08/11 12:20] – [Installing OpenWrt] bluecmd
Line 57: Line 57:
 === Alternative 1: Boot installation from unlocked u-boot via TFTP === === Alternative 1: Boot installation from unlocked u-boot via TFTP ===
  
-  * Calculate the CRC32 of your boot file using the following command: <code>python3 -c 'd = open("openwrt-initramfs-kernel.bin", "rb").read(); import binascii; print("crc32 -v 0x20000000 " + hex(len(d)) + " " + hex(binascii.crc32(d))[2:].rjust(8, "0"))'</code>+  * Download the ''openwrt-octeon-generic-cisco_vedge1000-initramfs-kernel.bin'' file somewhere locally and set up a TFTP server serving the file. 
 +    * Example TFTP server command to serve the files in the current directory: ''sudo /usr/sbin/in.tftpd -sLv .'' 
 +  * Calculate the CRC32 of your boot file using the following command: <code>python3 -c 'd = open("openwrt-octeon-generic-cisco_vedge1000-initramfs-kernel.bin", "rb").read(); import binascii; print("crc32 -v 0x20000000 " + hex(len(d)) + " " + hex(binascii.crc32(d))[2:].rjust(8, "0"))'</code>
  
   * If you are not in the u-boot prompt, reboot the device and press **Ctrl-x** to enter u-boot   * If you are not in the u-boot prompt, reboot the device and press **Ctrl-x** to enter u-boot
Line 68: Line 70:
     * If the previous crc32 command does not complain, continue with the boot     * If the previous crc32 command does not complain, continue with the boot
     * ''bootoctlinux $loadaddr endbootargs''     * ''bootoctlinux $loadaddr endbootargs''
- +  * Continue with the **Prepare the disk** step
-Example tftp server command: ''sudo /usr/sbin/in.tftpd -sLv .'' +
  
 === Alternative 2: Boot installation from inside OEM OS (USB drive, SD card, SSH, HTTP(S)) === === Alternative 2: Boot installation from inside OEM OS (USB drive, SD card, SSH, HTTP(S)) ===
Line 84: Line 84:
     * ''ext2load usb 0:1 $loadaddr openwrt-install.bin''     * ''ext2load usb 0:1 $loadaddr openwrt-install.bin''
     * ''bootoctlinux $loadaddr endbootargs''     * ''bootoctlinux $loadaddr endbootargs''
-  * Skip to the **Prepare the disk step**+  * Continue with the **Prepare the disk** step
  
 === Prepare the disk === === Prepare the disk ===
  • Last modified: 2024/09/02 20:29
  • by bluecmd