Skip to content

Instantly share code, notes, and snippets.

@leon-anavi
Last active November 16, 2015 07:17
Show Gist options
  • Save leon-anavi/1b575a070191839544aa to your computer and use it in GitHub Desktop.
Save leon-anavi/1b575a070191839544aa to your computer and use it in GitHub Desktop.
ci20-flashing-nand-errors
U-Boot 2013.10-rc3-gb2e1fea (Feb 02 2015 - 12:04:12)
Board: ci20 (Ingenic XBurst JZ4780 SoC)
DRAM: 1 GiB
NAND: 8192 MiB
MMC: jz_mmc msc1: 0
In: serial
Out: serial
Err: serial
Net: dm9000
Hit any key to stop autoboot: 2  1  0
NAND erase.chip: device 0 whole chip
Erasing at 0x0 -- 0% complete.
Erasing at 0x5000000 -- 1% complete.
Erasing at 0xa200000 -- 2% complete.
Skipping bad block at 0x0b400000
Skipping bad block at 0x0b600000
Erasing at 0xf400000 -- 3% complete.
Erasing at 0x14600000 -- 4% complete.
Erasing at 0x19800000 -- 5% complete.
Erasing at 0x1ea00000 -- 6% complete.
Erasing at 0x23c00000 -- 7% complete.
Erasing at 0x28e00000 -- 8% complete.
Erasing at 0x2e000000 -- 9% complete.
Erasing at 0x33200000 -- 10% complete.
Erasing at 0x38400000 -- 11% complete.
Erasing at 0x3d600000 -- 12% complete.
Erasing at 0x42800000 -- 13% complete.
Erasing at 0x47a00000 -- 14% complete.
Erasing at 0x4cc00000 -- 15% complete.
Erasing at 0x51e00000 -- 16% complete.
Erasing at 0x57000000 -- 17% complete.
Erasing at 0x5c200000 -- 18% complete.
Erasing at 0x61400000 -- 19% complete.
Erasing at 0x66600000 -- 20% complete.
Erasing at 0x6b800000 -- 21% complete.
Erasing at 0x70a00000 -- 22% complete.
Erasing at 0x75c00000 -- 23% complete.
Erasing at 0x7ae00000 -- 24% complete.
Erasing at 0x7fe00000 -- 25% complete.
Erasing at 0x85000000 -- 26% complete.
Erasing at 0x8a200000 -- 27% complete.
Erasing at 0x8f400000 -- 28% complete.
Erasing at 0x94600000 -- 29% complete.
Erasing at 0x99800000 -- 30% complete.
Erasing at 0x9ea00000 -- 31% complete.
Erasing at 0xa3c00000 -- 32% complete.
Erasing at 0xa8e00000 -- 33% complete.
Erasing at 0xae000000 -- 34% complete.
Erasing at 0xb3200000 -- 35% complete.
Erasing at 0xb8400000 -- 36% complete.
Erasing at 0xbd600000 -- 37% complete.
Erasing at 0xc2800000 -- 38% complete.
Erasing at 0xc7a00000 -- 39% complete.
Erasing at 0xccc00000 -- 40% complete.
Erasing at 0xd1e00000 -- 41% complete.
Erasing at 0xd7000000 -- 42% complete.
Erasing at 0xdc200000 -- 43% complete.
Erasing at 0xe1400000 -- 44% complete.
Erasing at 0xe6600000 -- 45% complete.
Erasing at 0xeb800000 -- 46% complete.
Erasing at 0xf0a00000 -- 47% complete.
Erasing at 0xf5c00000 -- 48% complete.
Erasing at 0xfae00000 -- 49% complete.
Erasing at 0xffe00000 -- 50% complete.
Erasing at 0x105000000 -- 51% complete.
Erasing at 0x10a200000 -- 52% complete.
Erasing at 0x10f400000 -- 53% complete.
Erasing at 0x114600000 -- 54% complete.
Erasing at 0x119800000 -- 55% complete.
Erasing at 0x11ea00000 -- 56% complete.
Erasing at 0x123c00000 -- 57% complete.
Erasing at 0x128e00000 -- 58% complete.
Erasing at 0x12e000000 -- 59% complete.
Erasing at 0x133200000 -- 60% complete.
Erasing at 0x138400000 -- 61% complete.
Erasing at 0x13d600000 -- 62% complete.
Erasing at 0x142800000 -- 63% complete.
Erasing at 0x147a00000 -- 64% complete.
Erasing at 0x14cc00000 -- 65% complete.
Erasing at 0x151e00000 -- 66% complete.
Erasing at 0x157000000 -- 67% complete.
Erasing at 0x15c200000 -- 68% complete.
Erasing at 0x161400000 -- 69% complete.
Erasing at 0x166600000 -- 70% complete.
Erasing at 0x16b800000 -- 71% complete.
Erasing at 0x170a00000 -- 72% complete.
Erasing at 0x175c00000 -- 73% complete.
Erasing at 0x17ae00000 -- 74% complete.
Erasing at 0x17fe00000 -- 75% complete.
Erasing at 0x185000000 -- 76% complete.
Erasing at 0x18a200000 -- 77% complete.
Erasing at 0x18f400000 -- 78% complete.
Erasing at 0x194600000 -- 79% complete.
Erasing at 0x199800000 -- 80% complete.
Erasing at 0x19ea00000 -- 81% complete.
Erasing at 0x1a3c00000 -- 82% complete.
Erasing at 0x1a8e00000 -- 83% complete.
Erasing at 0x1ae000000 -- 84% complete.
Erasing at 0x1b3200000 -- 85% complete.
Erasing at 0x1b8400000 -- 86% complete.
Erasing at 0x1bd600000 -- 87% complete.
Erasing at 0x1c2800000 -- 88% complete.
Erasing at 0x1c7a00000 -- 89% complete.
Erasing at 0x1ccc00000 -- 90% complete.
Erasing at 0x1d1e00000 -- 91% complete.
Skipping bad block at 0x1d4400000
Erasing at 0x1d7000000 -- 92% complete.
Erasing at 0x1dc200000 -- 93% complete.
Erasing at 0x1e1400000 -- 94% complete.
Erasing at 0x1e6600000 -- 95% complete.
Erasing at 0x1eb800000 -- 96% complete.
Erasing at 0x1f0a00000 -- 97% complete.
Erasing at 0x1f5c00000 -- 98% complete.
Erasing at 0x1fae00000 -- 99% complete.
Skipping bad block at 0x1ff800000
Skipping bad block at 0x1ffa00000
Skipping bad block at 0x1ffc00000
Skipping bad block at 0x1ffe00000
OK
12168 bytes read in 30 ms (395.5 KiB/s)
writing 8 copies of SPL from 0x80000000
writing code page 0 to 0x0 from 0x80000000
writing code page 1 to 0x4000 from 0x80002000
writing code page 0 to 0x100000 from 0x80000000
writing code page 1 to 0x104000 from 0x80002000
writing code page 0 to 0x200000 from 0x80000000
writing code page 1 to 0x204000 from 0x80002000
writing code page 0 to 0x300000 from 0x80000000
writing code page 1 to 0x304000 from 0x80002000
writing code page 0 to 0x400000 from 0x80000000
writing code page 1 to 0x404000 from 0x80002000
writing code page 0 to 0x500000 from 0x80000000
writing code page 1 to 0x504000 from 0x80002000
writing code page 0 to 0x600000 from 0x80000000
writing code page 1 to 0x604000 from 0x80002000
writing code page 0 to 0x700000 from 0x80000000
writing code page 1 to 0x704000 from 0x80002000
397904 bytes read in 97 ms (3.9 MiB/s)
NAND write: device 0 offset 0x800000, size 0x80000
524288 bytes written: OK
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 2097152 bytes (2048 KiB)
UBI: logical eraseblock size: 2080768 bytes
UBI: smallest flash I/O unit: 8192
UBI: VID header offset: 8192 (aligned 8192)
UBI: data offset: 16384
UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 57:0, read 64 bytes
UBI error: ubi_read_volume_table: the layout volume was not found
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
Error, no UBI device/partition selected!
Error, no UBI device/partition selected!
29130752 bytes read in 4318 ms (6.4 MiB/s)
Error, no UBI device/partition selected!
134217728 bytes read in 19718 ms (6.5 MiB/s)
Error, no UBI device/partition selected!
134217728 bytes read in 19710 ms (6.5 MiB/s)
Error, no UBI device/partition selected!
134217728 bytes read in 19726 ms (6.5 MiB/s)
Error, no UBI device/partition selected!
134217728 bytes read in 19724 ms (6.5 MiB/s)
Error, no UBI device/partition selected!
134217728 bytes read in 19735 ms (6.5 MiB/s)
Error, no UBI device/partition selected!
130007040 bytes read in 19141 ms (6.5 MiB/s)
Error, no UBI device/partition selected!
All done :)
ci20#
U-Boot SPL 2013.10-rc3-gb2e1fea (Feb 02 2015 - 12:04:35)
SDRAM H5TQ2G83CFR initialization... done
U-Boot 2013.10-rc3-gb2e1fea (Feb 02 2015 - 12:04:35)
Board: ci20 (Ingenic XBurst JZ4780 SoC)
DRAM: 1 GiB
NAND: 8192 MiB
MMC: jz_mmc msc1: 0
*** Warning - bad CRC, using default environment
In: eserial4
Out: eserial4
Err: eserial4
Net: dm9000
Hit any key to stop autoboot: 2  1  0
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 2097152 bytes (2048 KiB)
UBI: logical eraseblock size: 2080768 bytes
UBI: smallest flash I/O unit: 8192
UBI: VID header offset: 8192 (aligned 8192)
UBI: data offset: 16384
UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 57:0, read 64 bytes
UBI error: ubi_read_volume_table: the layout volume was not found
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:boot", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:boot' errno=-19!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem
Usage:
ubifsload <addr> <filename> [bytes]
- load file 'filename' to address 'addr'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ci20#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment