Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 30, 2014 02:55AM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 30, 2014 09:26AM |
Registered: 10 years ago Posts: 12 |
[root@pogoe2 ~]# dmesg | grep -i 'bad' [ 14.706954] Scanning device for bad blocks [ 14.712020] Bad eraseblock 67 at 0x000000860000 [ 14.716820] Bad eraseblock 132 at 0x000001080000 [ 14.728687] Bad eraseblock 292 at 0x000002480000 [ 14.744875] Bad eraseblock 510 at 0x000003fc0000 [ 14.756000] Bad eraseblock 660 at 0x000005280000 [ 14.758126] Bad eraseblock 689 at 0x000005620000 [ 14.758173] Bad eraseblock 690 at 0x000005640000 [ 14.759630] Bad eraseblock 710 at 0x0000058c0000
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 30, 2014 04:10PM |
Admin Registered: 13 years ago Posts: 19,114 |
uboot.2013.10-tld-1.nsa325.mtd0.kwb uboot.2013.10-tld-1.nsa325.uart.kwb
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2013.10-tld-1.nsa325.uart.kwb -p
U-Boot 2013.10-tld-1 (Aug 29 2014 - 22:07:26)
cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 Erase mtd0 flash_erase /dev/mtd0 0 4 Write image to NAND nandwrite /dev/mtd0 uboot.2013.10-tld-1.nsa325.mtd0.kwb
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 03:17AM |
Registered: 11 years ago Posts: 80 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 06:41AM |
Registered: 11 years ago Posts: 214 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 08:42AM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 08:45AM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 09:14AM |
Admin Registered: 13 years ago Posts: 19,114 |
sunfire
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 01:50PM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 05:07PM |
Admin Registered: 13 years ago Posts: 19,114 |
sunfire
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile August 31, 2014 05:25PM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 01, 2014 02:20AM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 01, 2014 05:57AM |
Registered: 11 years ago Posts: 80 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 01, 2014 01:08PM |
Admin Registered: 13 years ago Posts: 19,114 |
cat arch/arm/mach-kirkwood/nsa325-setup.c.orig | grep -5 MTD static struct mtd_partition nsa325_nand_parts[] = { { .name = "uboot", .offset = 0, .size = SZ_1M, .mask_flags = MTD_WRITEABLE }, {
cat arch/arm/mach-kirkwood/nsa325-setup.c.orig | grep -5 MTD static struct mtd_partition nsa325_nand_parts[] = { { .name = "uboot", .offset = 0, .size = SZ_1M }, {
sigma
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 04, 2014 07:07PM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 04, 2014 08:20PM |
Admin Registered: 13 years ago Posts: 19,114 |
sigma
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 06:05AM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 12:29PM |
Registered: 11 years ago Posts: 214 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 03:50PM |
Admin Registered: 13 years ago Posts: 19,114 |
sigma
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 04:14PM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 04:33PM |
Admin Registered: 13 years ago Posts: 19,114 |
-rw-r--r-- 1 root root 312828 Aug 29 22:12 uboot.2013.10-tld-1.nsa325.uart.kwb -rw-r--r-- 1 root root 393216 Aug 30 01:28 uboot.2013.10-tld-1.nsa325.mtd0.kwb
uboot.2013.10-tld-1.nsa325.uart.kwb
sigma
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 05:19PM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 05:31PM |
Admin Registered: 13 years ago Posts: 19,114 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 05, 2014 06:42PM |
Admin Registered: 13 years ago Posts: 19,114 |
sigma
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 06, 2014 02:07AM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 06, 2014 02:38AM |
Admin Registered: 13 years ago Posts: 19,114 |
sunfire
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 06, 2014 06:57AM |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 06, 2014 04:03PM |
Admin Registered: 13 years ago Posts: 19,114 |
Quote
This is because the envs location this U-Boot uses is 0xC0000. There is nothing in that location yet. Feel free to set the envs to boot into Debian just like you have done for stock u-boot before, but don't save with saveenv. Just cut/paste the old envs to set them here for booting.
set_bootargs_usb=console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) bootcmd_usb=mw.l f1010100 0020c000; setenv bootargs $set_bootargs_usb; usb start; ext2load usb 0:1 $loadaddr /boot/uImage; ext2load usb 0:1 0x01100000 /boot/uInitrd; bootm $loadaddr 0x01100000 bootcmd=run bootcmd_usb arcNumber=4495 mainlineLinux=yes machid=118f
saveenv
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 06, 2014 08:22PM |
Registered: 10 years ago Posts: 16 |
Re: 2014.07 U-Boot for FDT and Non-FDT Kernel - GoFlexNet, GoFlexHome, PogoE02, Dockstar, iConnect, NetgearStora, PogoV4/Mobile September 06, 2014 08:35PM |
Admin Registered: 13 years ago Posts: 19,114 |