this is from the "nand" (hope it's correct) / # cat /etc/fw_env.config # Configuration file for fw_(printenv/saveenv) utility. # Up to two entries are valid, in this case the redundand # environment sector is assumed present. # Notice, that the "Number of sectors" is ignored on NOR. # MTD device name Device offset Env. size Flash sector sizeby Carlo - uBoot
i've reached step 9 of the uboot guide.. my printenv seems a bit redundant... /mnt/boot/dts # fw_printenv bootargs=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 bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xby Carlo - uBoot
fw_setenv mtdparts 'xxxxxxxxx' /mnt/backup # cat current_envs2.txt bootargs=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 bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000 bootdelby Carlo - uBoot
ok if i give ... /usr/sbin # /usr/sbin/flash_erase /dev/mtd0 0xc0000 1 -/bin/sh: /usr/sbin/flash_erase: not found should i use flash_erase from this tar? or use the default flash_eraseall?by Carlo - uBoot
hi, i've followed your instructions, put the debian system (i didn't get the linux file) where it should be, i've gone one with the uboot procedure, but as i checked w_env.config i noticed that's not mtd0 / # cat /etc/fw_env.config # Configuration file for fw_(printenv/saveenv) utility. # Up to two entries are valid, in this case the redundand # environment sector isby Carlo - uBoot
oki: tomorrow i'm going to give my try should i prepare the usb stick with the fat 32 partition as in buttzy post? or straiglt follow instructions in uboot and kernel/rootfs post? thanksby Carlo - uBoot
QuoteBodhi However, you could have used the NAND dump binary I provided in the u-boot installation thread. as i said before i'm soooooo noooob, there's so much info scattered around, but no organic guide.... however, i've somehow managed to run the nanddump from your package: i've taken a usb drive, partitioned it in two: the first partition is a fat32 first partitionby Carlo - uBoot
here we go / # ls -lsa 0 drwxr-xr-x 19 root root 0 Jan 1 1970 . 0 drwxr-xr-x 19 root root 0 Jan 1 1970 .. 0 drwxr-xr-x 2 root root 0 Apr 12 14:37 bin 0 drwxr-xr-x 6 root root 0 Apr 12 14:37 dev 0 drwxr-xr-x 2 root root 0 Jun 23 2017 e-data 0 drwxr-xr-x 16 root rootby Carlo - uBoot
uh.. the mtd0 file i've previously created seems to have disappeared.. is it normal? / # 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 "kerby Carlo - uBoot
QuoteBodhi No need to. Just download kwboot from my uboot release post if you connect serial console using ARM Linux box. Or use davygravy built 64 bit kwboot for x86 if your Linux console is x86. Try it with the 2017.07-tld-1 uboot for Goflex Net. Wel... i'm running an nsa325 v2, thus it should be an arm.. should i go for the Goflex as well? i've tried to run nudump with the nby Carlo - uBoot
thank you very much, bodhi do i need to follow davygravy uart guide? i have tried to check the md.. but... Marvell>> md ff00003c ff00003c: 00000000 00000000 00000000 00000000 ................ ff00004c: 00000000 00000000 00000000 00000000 ................ ff00005c: 00000000 00000000 00000000 00000000 ................ ff00006c: 00000000 00000000 00000000 ............by Carlo - uBoot
Edit: i had to cross the rx and the tx cable now, should i worry: Bad block at 0xc80000 in erase block from 0xc80000 will be skipped this was given me from the boot Edit 2: i made some more experiments i've plugged the hd somehow and now i've checked for bad sectors, and this is the answer: / # dmesg | grep -i 'bad' Scanning device for bad blocks Bad eraseblockby Carlo - uBoot
Thank you very much bodhi: that was the reference i was missing, i've had only a quick read so far, and i'll do it better as i get home again is the backup made through the "cp" command, besides the "fw_printenv > current_envs.txt"?by Carlo - uBoot
Hiya, i own a nsa 325v2 and would like to install debian on it, just i have some questions i cannot seem to find the answer anywhere, so if there's some sort of noob guide i've missed, please gimme the link. So.. first of all i've read this from nas central and this from Buttzy10169: so if i have understood it well the procedure needs to modify the inborn boot manager, right?by Carlo - uBoot