ix2-200 wont see RAID1 February 27, 2020 05:45PM |
Registered: 4 years ago Posts: 23 |
dpkg-reconfigure mdadm
NAND read: device 0 offset 0x100000, size 0x500000 5242880 bytes read: OK NAND read: device 0 offset 0x1000000, size 0xe00000 14680064 bytes read: ERROR ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-14 20:02:37 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975352 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: 2020-02-27 22:14:03 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 10249645 Bytes = 9.8 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... Bad Data CRC
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00004000 "uboot" mtd1: 00020000 00004000 "uboot_env" mtd2: 00500000 00004000 "uImage" mtd3: 00e00000 00004000 "uInitrd" root@debian:~# cd /boot root@debian:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1 uInitrd Image Name: initramfs-5.2.9-kirkwood-tld-1 Created: Thu Feb 27 15:58:12 2020 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 10249645 Bytes = 10009.42 KiB = 9.77 MiB Load Address: 00000000 Entry Point: 00000000 root@debian:/boot# flash_erase /dev/mtd3 0 0 Erasing 16 Kibyte @ 954000 -- 66 % complete flash_erase: Skipping bad block at 00958000 Erasing 16 Kibyte @ dfc000 -- 100 % complete root@debian:/boot# nandwrite -p /dev/mtd3 /boot/uInitrd Writing data to block 0 at offset 0x0 ...... [removed for brevity] root@debian:/boot#
Re: ix2-200 wont see RAID1 February 27, 2020 06:44PM |
Admin Registered: 13 years ago Posts: 18,548 |
NAND read: device 0 offset 0x1000000, size 0xe00000 14680064 bytes read: ERROR
Re: ix2-200 wont see RAID1 February 27, 2020 07:05PM |
Registered: 4 years ago Posts: 23 |
NAND read: device 0 offset 0x100000, size 0x500000 5242880 bytes read: OK NAND read: device 0 offset 0x1000000, size 0xe00000 14680064 bytes read: ERROR ## Booting image at 00800000 ... Image Name: Linux-5.2.9-kirkwood-tld-1 Created: 2020-02-14 20:02:37 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4975352 Bytes = 4.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 02100000 ... Image Name: initrd.img-5.2.9-kirkwood-tld-1 Created: 2020-02-24 15:34:56 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9713872 Bytes = 9.3 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: ix2-200 wont see RAID1 February 27, 2020 08:25PM |
Admin Registered: 13 years ago Posts: 18,548 |