Trying to upgrade to 2017.07-2023.04 U-Boot January 28, 2024 09:15AM |
Registered: 8 years ago Posts: 21 |
Pogov4> reset resetting ... U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: MVEBU_MMC: 0 In: serial Out: serial Err: serial Net: egiga0 No link on egiga0 ping failed; host 192.168.0.100 is not alive
1. uBoot envs config should be defined as followed in your /etc/fw_env.config cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 - And your mtd partitions should be: cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 0db00000 00020000 "data"
Re: Trying to upgrade to 2017.07-2023.04 U-Boot January 28, 2024 11:56AM |
Admin Registered: 13 years ago Posts: 18,821 |
> 1. uBoot envs config should be defined as followed > in your /etc/fw_env.config > > cat /etc/fw_env.config > # MTD device name Device offset Env. size Flash > sector size Number of sectors > /dev/mtd0 0xc0000 0x20000 0x20000 > > - And your mtd partitions should be: > > cat /proc/mtd > dev: size erasesize name > mtd0: 00100000 00020000 "u-boot" > mtd1: 00400000 00020000 "uImage" > mtd2: 02000000 00020000 "rootfs" > mtd3: 0db00000 00020000 "data" >>
Quote
https://forum.doozan.com/read.php?3,12381
Note: for boxes such as Pogo V4 and Zyxel NSA3xx, the mtd partition definition are kept the same as stock definition, therefore is different from the one above.
Re: Trying to upgrade to 2017.07-2023.04 U-Boot January 28, 2024 01:21PM |
Registered: 8 years ago Posts: 21 |
1. Setup fw_env.config U-Boot envs config should be defined as followed in your /etc/fw_env.config cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 If you don't have /etc/fw_env.config file in your system then go ahead and create this file: echo "/dev/mtd0 0xc0000 0x20000 0x20000" > /etc/fw_env.config - And your mtd partitions should be: cat /proc/mtd dev: size erasesize name mtd0: 00200000 00020000 "u-boot" mtd1: 00300000 00020000 "uImage" mtd2: 00300000 00020000 "uImage2" mtd3: 00800000 00020000 "failsafe" mtd4: 07000000 00020000 "root" 2. Backup mtd0 and envs Save your current uBoot image and envs image in mtd0, and save your current u-boot envs with fw_printenv. Copy these 3 files to a persistent storage. 2.1 Dumping NAND mtd0: nanddump --noecc --omitoob -l 0x80000 -f mtd0.pogo_v4 /dev/mtd0 nanddump --noecc --omitoob -f mtd0.pogo_v4.envs -s 786432 -l 131072 /dev/mtd0 2.2. Save envs: fw_printenv > current_envs.txt
Re: Trying to upgrade to 2017.07-2023.04 U-Boot January 28, 2024 10:25PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Latest released kernel: linux-6.6.3-kirkwood-tld-1-bodhi.tar.bz2 (01 Dec 2023)
Latest released rootfs: Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (01 Nov 2023)
Note: If this is your first time installation, then you only need rootfs Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (this has kernel linux-6.5.7-kirkwood-tld-1 already installed). Please scroll down to 01 Nov 2023 section for download link and installation instruction.