Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:t-com:spw921v [2020/01/26 16:59] – [Replacement of factory U-Boot] wingman2k | toh:t-com:spw921v [2020/01/28 14:22] – [New instructions for VGV953AKW22] wingman2k | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| ^ [[docs: | ^ [[docs: | ||
| + | ===== Links and Information | ||
| - | ===== Backup and Replacement of factory U-Boot ===== | + | [[https:// |
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | ===== 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, | ||
| + | |||
| + | 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), | ||
| + | |||
| + | 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 " | ||
| + | |||
| + | 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: < | ||
| + | |||
| + | When you see " | ||
| + | |||
| + | Backup | ||
| + | |||
| + | 3(4) Commands are already configured in the image for backup, restore | ||
| + | |||
| + | < | ||
| + | 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 | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | VGV953AKW22 # run backup | ||
| + | NAND read: device 0 whole chip | ||
| + | ... | ||
| + | Bytes transferred = 33554432 (2000000 hex) | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | VGV953AKW22 # run restore | ||
| + | ... | ||
| + | Bytes transferred = 33554432 (2000000 hex) | ||
| + | |||
| + | NAND write: device 0 whole chip | ||
| + | | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | 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 | ||
| + | | ||
| + | </ | ||
| + | |||
| + | after every update-uboot the device needs to be switched off (SPL: cannot start U-Boot) | ||
| + | |||
| + | you should see now | ||
| + | </ | ||
| + | |||
| + | 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: | ||
| + | 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</ | UART</ | ||
| - | Upload a special ([[https:// | + | Upload a special ([[https:// |
| - | Newer version with 16M size restriction ([[https:// | + | |
| - | this is the source ([[https:// | + | |
| 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 | ||
| - | tftpput 0x?? 0x2000000 vgv953.nand.bin | ||
| - | or load initramfs, this will take a long time, save mtd0-3 on a save place. | ||
| - | restore might be possible, since i do not have a backup this is not tested. | ||
| Then: | Then: | ||
| Line 61: | Line 137: | ||
| Step 2: Set Your IP addres to " | Step 2: Set Your IP addres to " | ||
| - | Step 3: Place [[https:// | + | Step 3: Place [[https:// |
| - | [[https:// | + | |
| Step 4: Type in console | Step 4: Type in console | ||