Hello :)
I am trying to flash a NSA325v2 with testing u-boot uboot.2013.10-tld-1.nsa325.mtd0.kwb, the uart-version is working fine. I am using debian wheezy on a pluged usb-stick. Problem is that I want to use the new device tree features and
original u-boot (1.1.4) does not include support for DT. Actually I can not flash because I have bad blocks. What can I do?
regards
Here are some informations about the device:
[ 22.160966] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1
[ 22.187173] Bad eraseblock 100 at 0x000000c80000
[ 22.197458] Bad eraseblock 200 at 0x000001900000
[ 22.258447] 0x000000000000-0x000000100000 : "uboot"
[ 22.264276] 0x000000100000-0x000000180000 : "uboot_env"
[ 22.270331] 0x000000180000-0x000000200000 : "key_store"
[ 22.276468] 0x000000200000-0x000000280000 : "info"
[ 22.282079] 0x000000280000-0x000000c80000 : "etc"
[ 22.287615] 0x000000c80000-0x000001680000 : "kernel_1"
[ 22.293565] 0x000001680000-0x000004640000 : "rootfs1"
[ 22.299437] 0x000004640000-0x000005040000 : "kernel_2"
[ 22.305390] 0x000005040000-0x000008000000 : "rootfs2"
root@debian:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "uboot"
mtd1: 00080000 00020000 "uboot_env"
mtd2: 00080000 00020000 "key_store"
mtd3: 00080000 00020000 "info"
mtd4: 00a00000 00020000 "etc"
mtd5: 00a00000 00020000 "kernel_1"
mtd6: 02fc0000 00020000 "rootfs1"
mtd7: 00a00000 00020000 "kernel_2"
mtd8: 02fc0000 00020000 "rootfs2"
root@debian:~#
root@debian:~/u-boot-utils# cat /etc/fw_env.config
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
bootargs_stock=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) root=/dev/nfs rw init=/init
bootargs_linux=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) root=LABEL=rootfs loglevel=8
bootcmd_linux=setenv bootargs $(bootargs_linux); mw.l f1010100 0020c000; usb reset; ext2load usb 0:1 $(loadaddr) /boot/uImage; ext2load usb 0:1 0x01100000 /boot/uInitrd; bootm $(loadaddr) 0x1100000
I am trying to flash a NSA325v2 with testing u-boot uboot.2013.10-tld-1.nsa325.mtd0.kwb, the uart-version is working fine. I am using debian wheezy on a pluged usb-stick. Problem is that I want to use the new device tree features and
original u-boot (1.1.4) does not include support for DT. Actually I can not flash because I have bad blocks. What can I do?
regards
Here are some informations about the device:
[ 22.160966] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1
[ 22.187173] Bad eraseblock 100 at 0x000000c80000
[ 22.197458] Bad eraseblock 200 at 0x000001900000
[ 22.258447] 0x000000000000-0x000000100000 : "uboot"
[ 22.264276] 0x000000100000-0x000000180000 : "uboot_env"
[ 22.270331] 0x000000180000-0x000000200000 : "key_store"
[ 22.276468] 0x000000200000-0x000000280000 : "info"
[ 22.282079] 0x000000280000-0x000000c80000 : "etc"
[ 22.287615] 0x000000c80000-0x000001680000 : "kernel_1"
[ 22.293565] 0x000001680000-0x000004640000 : "rootfs1"
[ 22.299437] 0x000004640000-0x000005040000 : "kernel_2"
[ 22.305390] 0x000005040000-0x000008000000 : "rootfs2"
root@debian:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "uboot"
mtd1: 00080000 00020000 "uboot_env"
mtd2: 00080000 00020000 "key_store"
mtd3: 00080000 00020000 "info"
mtd4: 00a00000 00020000 "etc"
mtd5: 00a00000 00020000 "kernel_1"
mtd6: 02fc0000 00020000 "rootfs1"
mtd7: 00a00000 00020000 "kernel_2"
mtd8: 02fc0000 00020000 "rootfs2"
root@debian:~#
root@debian:~/u-boot-utils# cat /etc/fw_env.config
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
bootargs_stock=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) root=/dev/nfs rw init=/init
bootargs_linux=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) root=LABEL=rootfs loglevel=8
bootcmd_linux=setenv bootargs $(bootargs_linux); mw.l f1010100 0020c000; usb reset; ext2load usb 0:1 $(loadaddr) /boot/uImage; ext2load usb 0:1 0x01100000 /boot/uInitrd; bootm $(loadaddr) 0x1100000