LaCie NS2 - *** Warning - bad CRC, using default January 10, 2025 01:55PM |
Registered: 11 days ago Posts: 11 |
ns2> env default -a ## Resetting to default environment ns2> saveenv Saving Environment to SPI Flash... SF: Detected mx25l4005a with page size 256 Bytes, erase size 4 KiB, total 512 KiB Erasing SPI flash...Writing to SPI flash...done OK ns2> env save Saving Environment to SPI Flash... Erasing SPI flash...Writing to SPI flash...done OK ns2> reset
U-Boot 2020.07-rc5-00057-gfce0bb3e2bd8 (Jul 09 2020 - 11:11:59 +0200) NS v2 SoC: Kirkwood 88F6281_A1 I2C: ready DRAM: 256 MiB Loading Environment from SPI Flash... SF: Detected mx25l4005a with page size 256 Bytes, erase size 4 KiB, total 512 KiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: eth0: ethernet-controller@72000 88E1116 Initialized on ethernet-controller@72000 Hit any key to stop autoboot: 0 ns2> version U-Boot 2020.07-rc5-00057-gfce0bb3e2bd8 (Jul 09 2020 - 11:11:59 +0200) NS v2 arm-buildroot-linux-gnueabi-gcc.br_real (Buildroot 2020.02-00011-g7ea8a52) 8.4.0 GNU ld (GNU Binutils) 2.32 ns2>
Re: LaCie NS2 - *** Warning - bad CRC, using default January 10, 2025 05:27PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 11, 2025 09:45AM |
Registered: 11 days ago Posts: 11 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 11, 2025 03:22PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 12, 2025 09:46PM |
Admin Registered: 14 years ago Posts: 19,231 |
sf probe 0 20000000and then
env default -a saveenv reset
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 09:47AM |
Registered: 11 days ago Posts: 11 |
ns2> sf probe 0 20000000 SF: Detected mx25l4005a with page size 256 Bytes, erase size 4 KiB, total 512 KiB ns2> env default -a ## Resetting to default environment ns2> saveenv Saving Environment to SPI Flash... Erasing SPI flash...Writing to SPI flash...done OK ns2> reset resetting ... U-Boot 2020.07-rc5-00057-gfce0bb3e2bd8 (Jul 09 2020 - 11:11:59 +0200) NS v2 SoC: Kirkwood 88F6281_A1 I2C: ready DRAM: 256 MiB Loading Environment from SPI Flash... SF: Detected mx25l4005a with page size 256 Bytes, erase size 4 KiB, total 512 KiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: eth0: ethernet-controller@72000 88E1116 Initialized on ethernet-controller@72000 Hit any key to stop autoboot: 0 ns2>
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 11:15AM |
Registered: 11 days ago Posts: 11 |
root@debian:/media/tools# ls . busybox flash_erase fw_printenv nandump .. e2fsck fw_env.config nanddump nandwrite root@debian:/media/tools# cd .. root@debian:/media# ls . kwboot_2024.04-rc3 tools .. kwboot_static_2024.04-rc3 u-boot-netspace_v2-2011.kwb kwboot linux-tools-installation-bodhi.tar.gz u-boot-netspace_v2-2020.07.kwb root@debian:/media#
fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000Connected via uart
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 11:50AM |
Registered: 11 days ago Posts: 11 |
root@debian:/media# nanddump -l 0x80000 -f mtd0 /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 4096, page size 1, OOB size 0 Dumping data starting at 0x00000000 and ending at 0x00080000...
root@debian:/media# flash_erase /dev/mtd0 0 4 Erasing 4 Kibyte @ 3000 -- 100 % complete root@debian:/media# nandwrite /dev/mtd0 u-boot-netspace_v2-2011.kwb Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x1000 ... Written 5049 blocks containing only 0xff bytes Those block may be incorrectly treated as empty!
root@debian:/media# nanddump -l 0x80000 -f mtd00 /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 4096, page size 1, OOB size 0 Dumping data starting at 0x00000000 and ending at 0x00080000...
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 12:34PM |
Registered: 11 days ago Posts: 11 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 02:01PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 03:43PM |
Admin Registered: 14 years ago Posts: 19,231 |
md5sum ddd15a49fbd8e83782b9376a483bcf64 uboot.2025.01-tld-1.netspace_v2.kwb sha256sum 2bb3f3e7dfbd5d229c04e14a39acca26827ec72d6a82294619a3ce19f1de4c47 uboot.2025.01-tld-1.netspace_v2.kwb
env default -a saveenv printenv reset
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 05:05PM |
Registered: 11 days ago Posts: 11 |
root@user-VirtualBox:/home/user# kwboot -B 115200 /dev/ttyUSB0 -b u-boot-netspace_v2-2011.12-00260-ga24d58e.kwb -t kwboot version 2024.01 Detected kwbimage v0 with SPI boot signature Patching image boot signature to UART Sending boot message. Please reboot the target.../ Sending boot image header (512 bytes)... 25 % [.... ] Done Sending boot image data (237468 bytes)... 0 % [......................................................................] 98 % [.................................... ] Done Finishing transfer [Type Ctrl-\ + c to quit] U-Boot 2011.12-00260-ga24d58e (Feb 17 2012 - 15:48:09) NS v2 SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB WARNING: Caches not enabled SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 0 ns2> env print autoload=no baudrate=115200 bootargs=console=ttyS0,115200 bootcmd=dhcp && run netconsole; if run usbload || run diskload; then bootm; fi bootdelay=3 bootfile=uImage diskload=ide reset && ext2load ide 0:1 $loadaddr /boot/$bootfile ethact=egiga0 ethaddr=00:d0:4b:8f:b1:3f loadaddr=0x800000 netconsole=set stdin $stdin,nc; set stdout $stdout,nc; set stderr $stderr,nc; stderr=serial stdin=serial stdout=serial usbload=usb start && fatload usb 0:1 $loadaddr /boot/$bootfile Environment size: 501/4092 bytes ns2> env default -f ## Resetting to default environment ns2> saveenv Saving Environment to SPI Flash... SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB Erasing SPI flash...Writing to SPI flash...done ns2> version U-Boot 2011.12-00260-ga24d58e (Feb 17 2012 - 15:48:09) NS v2 arm-marvell-linux-uclibcgnueabi-gcc (crosstool-NG 1.13.2) 4.6.2 20111004 (prerelease) GNU ld (crosstool-NG 1.13.2) 2.21.53.20110922 ns2> ide reset Reset IDE: Bus 0: OK Device 0: Model: 240GB SSD Firm: V3.22 Ser#: H47704J001783 Type: Hard Disk Supports 48-bit addressing Capacity: 228936.5 MB = 223.5 GB (468862128 x 512) ns2> ext2load ide 0:1 0x800000 /boot/u-boot-netspace_v2-2011.kwb Loading file "/boot/u-boot-netspace_v2-2011.kwb" from ide device 0:1 (hda1) 237814 bytes read ns2> sf probe 0 SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB ns2> sf erase 0 0x50000 ns2> sf write 0x800000 0 0x50000 ns2> sf probe 0 20000000 SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB ns2> sf probe 0 20000000 SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB ns2> env default -f ## Resetting to default environment ns2> saveenv Saving Environment to SPI Flash... Erasing SPI flash...Writing to SPI flash...done
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 05:09PM |
Admin Registered: 14 years ago Posts: 19,231 |
Quote
root@user-VirtualBox:/home/user# kwboot -B 115200 /dev/ttyUSB0 -b u-boot-netspace_v2-2011.12-00260-ga24d58e.kwb -t
Done
Finishing transfer
[Type Ctrl-\ + c to quit]
U-Boot 2011.12-00260-ga24d58e (Feb 17 2012 - 15:48:09) NS v2
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 05:18PM |
Admin Registered: 14 years ago Posts: 19,231 |
> root@debian:/media# nanddump -l 0x80000 -f mtd0 > /dev/mtd0 > ECC failed: 0 > ECC corrected: 0 > Number of bad blocks: 0 > Number of bbt blocks: 0 > Block size 4096, page size 1, OOB size 0 > Dumping data starting at 0x00000000 and ending at > 0x00080000... >>
> root@debian:/media# flash_erase /dev/mtd0 0 4 > Erasing 4 Kibyte @ 3000 -- 100 % complete > root@debian:/media# nandwrite /dev/mtd0 > u-boot-netspace_v2-2011.kwb > Writing data to block 0 at offset 0x0 > Writing data to block 1 at offset 0x1000 > ... > Written 5049 blocks containing only 0xff bytes > Those block may be incorrectly treated as empty! >>
> root@debian:/media# nanddump -l 0x80000 -f mtd00 > /dev/mtd0 > ECC failed: 0 > ECC corrected: 0 > Number of bad blocks: 0 > Number of bbt blocks: 0 > Block size 4096, page size 1, OOB size 0 > Dumping data starting at 0x00000000 and ending at > 0x00080000... >>
Re: LaCie NS2 - *** Warning - bad CRC, using default January 13, 2025 05:22PM |
Admin Registered: 14 years ago Posts: 19,231 |
Quote
Enviroment is saved..... and lost uart access from windows and linux termilal. But now I can access via kwboot from linux desktop.
Re: LaCie NS2 - *** Warning - bad CRC, using default January 14, 2025 02:06PM |
Admin Registered: 14 years ago Posts: 19,231 |
bootcmd=dhcp && run netconsole; if run usbload || run diskload; then bootm; fi
setenv bootcmd 'if run usbload || run diskload; then bootm; fi' saveenvOr just do a reset, and it will boot the u-boot on flash, since you have flashed it.
Re: LaCie NS2 - *** Warning - bad CRC, using default January 14, 2025 02:22PM |
Registered: 11 days ago Posts: 11 |
99 % [................. ] Done Finishing transfer [Type Ctrl-\ + c to quit] U-Boot 2025.01-tld-1-g6311f29e56b9-dirty (Jan 13 2025 - 13:28:18 -0800) NS v2 SoC: Kirkwood 88F6281_A1 I2C: Could not initialize timer (err -11) resetting ...
Yes. With transparent clipboad with windows and file transfer.Quote
Is the Virtual Box running on a x86 PC?
Re: LaCie NS2 - *** Warning - bad CRC, using default January 14, 2025 02:50PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 14, 2025 04:24PM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 15, 2025 01:55PM |
Registered: 11 days ago Posts: 11 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 16, 2025 08:10AM |
Registered: 11 days ago Posts: 11 |
ns2> ver U-Boot 2020.07-rc5-00057-gfce0bb3e2bd8 (Jul 09 2020 - 11:11:59 +0200) NS v2 arm-buildroot-linux-gnueabi-gcc.br_real (Buildroot 2020.02-00011-g7ea8a52) 8.4.0 GNU ld (GNU Binutils) 2.32
Re: LaCie NS2 - *** Warning - bad CRC, using default January 17, 2025 12:23AM |
Admin Registered: 14 years ago Posts: 19,231 |
Re: LaCie NS2 - *** Warning - bad CRC, using default January 17, 2025 06:20AM |
Registered: 11 days ago Posts: 11 |