Skip to content

Instantly share code, notes, and snippets.

@pietrushnic
Created October 10, 2015 17:04
Show Gist options
  • Save pietrushnic/25b13d6bc57af4a2fdda to your computer and use it in GitHub Desktop.
Save pietrushnic/25b13d6bc57af4a2fdda to your computer and use it in GitHub Desktop.
U-Boot SPL 2015.10-rc4-08397-gac644a813ecf (Oct 10 2015 - 10:07:18)
DRAM: 2048 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
U-Boot 2015.10-rc4-08397-gac644a813ecf (Oct 10 2015 - 10:07:18 +0200) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
I2C: ready
DRAM: 2 GiB
NAND: strength = 40/1024
0
8192 MiB
MMC: SUNXI SD/MMC: 0
MMC: no card present
*** Warning - MMC init failed, using default environment
Setting up a 1024x768 vga console (overscan 0x0)
In: serial
Out: vga
Err: vga
SCSI: SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net: eth0: ethernet@01c50000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
Hit any key to stop autoboot: 2  1  0
(FEL boot)
## Executing script at 43100000
NAND erase: device 0 whole chip
Erasing at 0x0 -- 0% complete.Skipping bad block at 0x01800000
Skipping bad block at 0x02400000
Skipping bad block at 0x02600000
Erasing at 0x5000000 -- 1% complete.Erasing at 0xa200000 -- 2% complete.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.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 0x1fbc00000
Skipping bad block at 0x1fbe00000
Skipping bad block at 0x1fc000000
Skipping bad block at 0x1fc200000
Skipping bad block at 0x1fc400000
Skipping bad block at 0x1fc600000
Skipping bad block at 0x1fc800000
Skipping bad block at 0x1fca00000
Skipping bad block at 0x1fcc00000
Skipping bad block at 0x1fce00000
Skipping bad block at 0x1fd000000
Skipping bad block at 0x1fd200000
Skipping bad block at 0x1fd400000
Skipping bad block at 0x1fd600000
Skipping bad block at 0x1fd800000
Skipping bad block at 0x1fda00000
Skipping bad block at 0x1fdc00000
Skipping bad block at 0x1fde00000
Skipping bad block at 0x1ffc00000
Skipping bad block at 0x1ffe00000
OK
Unknown command 'sunxi_nand' - try 'help'
NAND write: device 0 offset 0x0, size 0xc000
49152 bytes written: OK
NAND write: device 0 offset 0x100000, size 0xc000
49152 bytes written: OK
NAND write: device 0 offset 0x200000, size 0xc000
49152 bytes written: OK
NAND write: device 0 offset 0x300000, size 0xc000
49152 bytes written: OK
NAND write: device 0 offset 0x400000, size 0xc000
49152 bytes written: OK
NAND write: device 0 offset 0x500000, size 0xc000
49152 bytes written: OK
NAND write: device 0 offset 0x600000, size 0xc000
49152 bytes written: OK
NAND write: device 0 offset 0x700000, size 0xc000
49152 bytes written: OK
Unknown command 'sunxi_nand' - try 'help'
NAND write: device 0 offset 0x800000, size 0xc0000
786432 bytes written: OK
Saving Environment to MMC...
MMC: no card present
!MMC init failed
nand - NAND sub-system
Usage:
nand info - show available NAND devices
nand device [dev] - show or set current device
nand read - addr off|partition size
nand write - addr off|partition size
read/write 'size' bytes starting at offset 'off'
to/from memory address 'addr', skipping bad blocks.
nand read.raw - addr off|partition [count]
nand write.raw - addr off|partition [count]
Use read.raw/write.raw to avoid ECC and access the flash as-is.
nand write.trimffs - addr off|partition size
write 'size' bytes starting at offset 'off' from memory address
'addr', skipping bad blocks and dropping any pages at the end
of eraseblocks that contain only 0xFF
nand erase[.spread] [clean] off size - erase 'size' bytes from offset 'off'
With '.spread', erase enough for given file size, otherwise,
'size' includes skipped bad blocks.
nand erase.part [clean] partition - erase entire mtd partition'
nand erase.chip [clean] - erase entire chip'
nand bad - show bad blocks
nand dump[.oob] off - dump page
nand scrub [-y] off size | scrub.part partition | scrub.chip
really clean NAND erasing bad blocks (UNSAFE)
nand markbad off [...] - mark bad block(s) at offset (UNSAFE)
nand biterr off - make a bit error at offset (UNSAFE)
MMC: no card present
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI init error 22
scanning bus for devices...
Found 0 device(s).
SCSI device 0:
Device 0: not available
USB device 0: unknown device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment