Pogoplug V3 (POGO-P24) uBoot instalation March 30, 2022 12:26PM |
Registered: 2 years ago Posts: 9 |
/tools # cat /proc/mtd dev: size erasesize name mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit" mtd1: 00e00000 00020000 "boot" mtd2: 07200000 00020000 "rootfs"Should it be safe to proceed? I think I managed to backup there mtd but I cannot backup current envs (fw_printenv returns a memory allocation error and blparam is nowhere to be found).
<6>[ 1.670000] Scanning device for bad blocks <4>[ 1.710000] Bad eraseblock 653 at 0x0000051a0000 <4>[ 1.740000] Bad eraseblock 954 at 0x000007740000Thanks!
Re: Pogoplug V3 (POGO-P24) uBoot instalation March 30, 2022 04:32PM |
Admin Registered: 13 years ago Posts: 18,856 |
> /tools # cat /proc/mtd > dev: size erasesize name > mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit" > mtd1: 00e00000 00020000 "boot" > mtd2: 07200000 00020000 "rootfs" >> Should it be safe to proceed?
Quote
3. Be sure to save your current uBoot image in mtd0, or have a backup image saved somewhere as precaution.
Dumping NAND mtd0:
nanddump --noecc --omitoob -f mtd1 /dev/mtd1
/usr/sbin/flash_erase /dev/mtd1 0x0 6 /usr/sbin/nandwrite /dev/mtd1 uboot.spl.2013.10.ox820.850mhz.mtd0.img /usr/sbin/nandwrite -s 262144 /dev/mtd1 uboot.2015.10-tld-2.ox820.mtd0.img /usr/sbin/flash_erase /dev/mtd1 0x00100000 1 /usr/sbin/nandwrite -s 1048576 /dev/mtd1 uboot.2015.10-tld-2.ox820.environment.img
Re: Pogoplug V3 (POGO-P24) uBoot instalation March 31, 2022 05:06AM |
Registered: 2 years ago Posts: 9 |
I was suspecting that, because I noticed the size of mtd0 was the sum of mtd1 and mtd2... :-)Quote
The mtds are actually the same.
/tools # ./fw_printenv Warning: Bad CRC, using default environment bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm bootdelay=5 baudrate=115200Should I worry about this or can I just disregard this message? I do not expect to have any use for default envs except for the MAC, which I already have from the serial console boot log, which I previously saved.
Re: Pogoplug V3 (POGO-P24) uBoot instalation March 31, 2022 04:51PM |
Admin Registered: 13 years ago Posts: 18,856 |
Re: Pogoplug V3 (POGO-P24) uBoot instalation April 01, 2022 07:27AM |
Registered: 2 years ago Posts: 9 |