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
toh:t-com:spw921v [2020/01/27 12:32] – [Installing OpenWrt] wingman2ktoh:t-com:spw921v [2020/01/28 14:22] – [New instructions for VGV953AKW22] wingman2k
Line 28: Line 28:
 ^ [[docs:techref:hardware:port.jtag|JTAG]]        | No    | ^ [[docs:techref:hardware:port.jtag|JTAG]]        | No    |
  
 +===== Links and Information  =====
  
-===== Backup and Replacement of factory U-Boot =====+[[https://github.com/openwrt-mirror/openwrt/pull/15/commits]] Original Git Hub push request OpenWrt 
 + 
 +[[https://github.com/cornelus1978/u-boot-lantiq/commit/87171de4d884cfff0b7b9403253f94892c9c9af3]] Original Git Hub push request u-boot 
 + 
 +[[https://github.com/openwrt/openwrt/pull/1477]] Current Git Hub push request OpenWrt 
 + 
 +[[https://forum.openwrt.org/t/telekom-speedport-w921v-arcardyan-vgv953-support/40058]] Forum Post Kernel Size 
 +===== New instructions for VGV953AKW22 ===== 
 +WIP!! Due to changes in Kernel partition size there is incompatibility with the previous version. 
 +u-boot 0x0 0x40000 256 KByte 
 +uboot-env 0x40000 0x20000 128 KByte 
 +kernel 0x60000 0x400000 4 MByte 
 +ubi 0x460000 0x1ba0000 27,625 MByte 
 + 
 +This Build is currently not compatible (or not tested) with the VGV953 builds. Fresh install is recommended. 
 + 
 +Serial console is required for conversion to OpenWrt, tftp server that allows uploads (for backup), 
 + 
 +All files from Dropbox can be put into root of the tftp (100 MBit! GBit transfer interrupted), Serial is ttyUSB0. 
 + 
 +Get UART console by shorting R133 solder pads (no resistor, next to the shield in the middle) and powering on the device. 
 +Your terminal must show "CFG 04" somewhere and "UART" in the last line. The R133 short can be removed now. 
 + 
 +Upload a special u-boot.asc RAM image using a serial cable (115200-N-8) GUI tools: terraterm (win) or cutecom (linux) use „Send File”. 
 + 
 +from another shell, use the latest file (19.07.0) with command: <code>cat u-boot.asc > /dev/ttyUSB0</code> 
 + 
 +When you see "VGV953AKW22" in Terminal, u-boot is loaded.   
 + 
 +Backup can be done via tftp (limit the speed to 100M more stable). 
 + 
 +3(4) Commands are already configured in the image for backup, restore and u-boot update. 
 + 
 +<code> 
 +backup=nand read $loadaddr 0 0x2000000 tftpput $loadaddr 0x2000000 vgv953akw22.nand.dump 
 +restore=tftpboot vgv953akw22.nand.dump && nand write $loadaddr 0 0x2000000 
 +update-uboot=run load-uboot-nandtpl-lzo write-uboot-nand 
 +write-uboot-nand=nand erase 0 $filesize && nand write $fileaddr 0 $filesize 
 +</code> 
 + 
 +<code> 
 +VGV953AKW22 # run backup 
 +NAND read: device 0 whole chip 
 +... 
 +Bytes transferred = 33554432 (2000000 hex) 
 +</code> 
 + 
 +<code> 
 +VGV953AKW22 # run restore 
 +... 
 +Bytes transferred = 33554432 (2000000 hex) 
 + 
 +NAND write: device 0 whole chip 
 + 33554432 bytes written: OK 
 +</code> 
 + 
 +<code> 
 +VGV953AKW22 # run update-uboot 
 +... 
 +Bytes transferred = 255871 (3e77f hex) 
 + 
 +NAND erase: device 0 offset 0x0, size 0x3e77f 
 +Erasing at 0x3c000 -- 100% complete. 
 +OK 
 + 
 +NAND write: device 0 offset 0x0, size 0x3e77f 
 + 255871 bytes written: OK 
 +</code> 
 + 
 +after every update-uboot the device needs to be switched off (SPL: cannot start U-Boot) 
 + 
 +you should see now 
 +</code>ERROR: can't get kernel image!</code> 
 + 
 +MAC Address is on the PCB sticker and back of the case if not set change XX:XX:XX and set bootcmd 
 +setenv ethaddr 9C:80:DF:XX:XX:XX 
 +setenv bootcmd run nboot 
 +saveenv 
 +run netinit 
 + 
 +the last command will tftpboot vgv953akw22-initramfs-kernel.bin and start. 
 +from there you use the browser and open the WebIF or what way you prefer and perform Sysupgrade. 
 +===== Replacement of factory U-Boot =====
 Power off board. Power off board.
  
Line 42: Line 125:
 UART</code> UART</code>
  
-Upload a special ([[https://www.dropbox.com/s/gzp8aqzrc8nphs8/uboot-vgv953.asc?dl=1|uboot-vgv953.asc]]) U-Boot RAM image using a serial (baud 115200) cable via „Send File”(terraterm for win or cutecom for linux). +Upload a special ([[https://www.dropbox.com/s/gzp8aqzrc8nphs8/uboot-vgv953.asc?dl=0|uboot-vgv953.asc]]) U-Boot RAM image using a serial (baud 115200) cable via „Send File”(terraterm for win or cutecom for linux).
-Newer version with 16M size restriction ([[https://www.dropbox.com/s/a9kxjske5q2a6vw/u-boot_vgv953_18.06.asc?dl=1|u-boot_vgv953_18.06.asc]]) like before or in shell with "cat u-boot_vgv953_18.06.asc > /dev/ttyUSB0" +
-this is the source ([[https://github.com/cornelus1978/u-boot-lantiq/commit/87171de4d884cfff0b7b9403253f94892c9c9af3|VGV953 Commit]]}+
  
 Wait for U-Boot to load and stop auto-boot process. Wait for U-Boot to load and stop auto-boot process.
- 
-Backup can be done via tftp on u-boot_vgv953_18.06.asc set the speed to 100M on the tftp server interface, more stable! 
-tftpput 0x80000000 0x2000000 vgv953.nand.bin 
-or load initramfs, this will take a long time (hours with webif), save mtd0-3 on a save place. 
-restore might be possible, since i do not have a backup this is not tested. 
-Also note down your MAC Address, it is also on the PCB sticker and back of the case 
  
 Then: Then:
Line 62: Line 137:
 Step 2: Set Your IP addres to "192.168.1.2" and start tftp server Step 2: Set Your IP addres to "192.168.1.2" and start tftp server
  
-Step 3: Place [[https://www.dropbox.com/s/ostgjkgsw7tv03n/uboot-vgv953.bin?dl=1|uboot-vgv953.bin]] in tftp folder +Step 3: Place [[https://www.dropbox.com/s/ostgjkgsw7tv03n/uboot-vgv953.bin?dl=0|uboot-vgv953.bin]] in tftp folder
-[[https://www.dropbox.com/s/nzujd9ffj286npm/u-boot_vgv953_fix.bin?dl=1|u-boot_vgv953_fix.bin]] also fixed version with 16M size limit+
  
 Step 4: Type in console Step 4: Type in console
Line 76: Line 150:
  
 ===== Installing OpenWrt ===== ===== Installing OpenWrt =====
- 
-19.07.0 images can be used, when uploaded. 
  
 Step 1: Stop U-boot auto boot process and modify to auto boot OpenWrt at power on Step 1: Stop U-boot auto boot process and modify to auto boot OpenWrt at power on
  • Last modified: 2020/01/28 14:41
  • by wingman2k