Zdravím, pokouším se provést obnovu z SD kart u svého Turrisu 1.0. Obnova probíhá tak, jak je popsáno v návodu, po rebootu ale Turris nenaběhne, nemůže namountovat ubifs.
Dělám toto:
- s přepínači v poloze 011 010 a s kartou s sdcard.img zasunutou ve slotu nabootuji Turris:
U-Boot 2013.10-rc2-00039-g73346b1-dirty (Jul 02 2015 - 13:47:57)
CPU0: P2020E, Version: 2.1, (0x80ea0021)
Core: e500, Version: 5.1, (0x80211051)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz,
CCB:600 MHz,
DDR:400 MHz (800 MT/s data rate) (Asynchronous), LBC:37.500 MHz
L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
Board: TURRIS1 CPLD: V4.1 PCBA: V4.0
Error, wrong i2c adapter 2 max 2 possible
rom_loc: nor upper bank
SD/MMC : 4-bit Mode
eSPI : Enabled
I2C: Error, wrong i2c adapter 2 max 2 possible
ready
SPI: ready
DRAM: Detected UDIMM 9905428-181.A00LF
2 GiB (DDR3, 64-bit, CL=6, ECC off)
Flash: 16 MiB
L2: 512 KiB enabled
NAND: 256 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment
PCIe1: Root Complex of mini PCIe SLOT, no link, regs @ 0xffe0a000
PCIe1: Bus 00 - 00
PCIe2: Root Complex of PCIe SLOT, x1, regs @ 0xffe09000
02:00.0 - 168c:0030 - Network controller
PCIe2: Bus 01 - 02
PCIe3: Root Complex of PCIe SLOT, no link, regs @ 0xffe08000
PCIe3: Bus 03 - 03
Error, wrong i2c adapter 2 max 2 possible
In: serial
Out: serial
Err: serial
MAC Addresses:
CRC doesn't match.
try: 2 delay: 360000
MAC0 D8:58:D7:00:09:78
MAC1 D8:58:D7:00:09:79
MAC2 D8:58:D7:00:09:7A
Net: Phy not found
PHY reset timed out
eTSEC1, eTSEC2, eTSEC3 [PRIME]
Hit any key to stop autoboot: 0
=>
=> nand scrub.chip -y
NAND scrub.chip: device 0 whole chip
Erasing at 0xffe0000 -- 100% complete.
OK
=>
- stisknu resetovací tlačítko a Turris začne zase bootovat:
U-Boot 2013.10-rc2-00039-g73346b1-dirty (Jul 02 2015 - 13:47:57)
CPU0: P2020E, Version: 2.1, (0x80ea0021)
Core: e500, Version: 5.1, (0x80211051)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz,
CCB:600 MHz,
DDR:400 MHz (800 MT/s data rate) (Asynchronous), LBC:37.500 MHz
L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
Board: TURRIS1 CPLD: V4.1 PCBA: V4.0
Error, wrong i2c adapter 2 max 2 possible
rom_loc: nor upper bank
SD/MMC : 4-bit Mode
eSPI : Enabled
I2C: Error, wrong i2c adapter 2 max 2 possible
ready
SPI: ready
DRAM: Detected UDIMM 9905428-181.A00LF
2 GiB (DDR3, 64-bit, CL=6, ECC off)
Flash: 16 MiB
L2: 512 KiB enabled
NAND: 256 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment
PCIe1: Root Complex of mini PCIe SLOT, no link, regs @ 0xffe0a000
PCIe1: Bus 00 - 00
PCIe2: Root Complex of PCIe SLOT, x1, regs @ 0xffe09000
02:00.0 - 168c:0030 - Network controller
PCIe2: Bus 01 - 02
PCIe3: Root Complex of PCIe SLOT, no link, regs @ 0xffe08000
PCIe3: Bus 03 - 03
Error, wrong i2c adapter 2 max 2 possible
In: serial
Out: serial
Err: serial
MAC Addresses:
CRC doesn't match.
try: 2 delay: 360000
MAC0 D8:58:D7:00:09:78
MAC1 D8:58:D7:00:09:79
MAC2 D8:58:D7:00:09:7A
Net: Phy not found
PHY reset timed out
eTSEC1, eTSEC2, eTSEC3 [PRIME]
Hit any key to stop autoboot: 0
MMC read: dev # 0, block # 2048, count 32768 ... 32768 blocks read: OK
Un-Protect Flash Bank # 1
Erase Flash Bank # 1
...................................................................................................................e
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
HOTOVO
=>
- vypnu napájení, přepnu přepínače do polohy 110 010 a znovu připojím napájení:
U-Boot 2015.04-04654-gbcfb33e-dirty (Jun 26 2015 - 12:50:49)
CPU0: P2020E, Version: 2.1, (0x80ea0021)
Core: e500, Version: 5.1, (0x80211051)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz,
CCB:600 MHz,
DDR:400 MHz (800 MT/s data rate) (Asynchronous), LBC:37.500 MHz
L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
wdt status 00000005 reset
Watchdog enabled
Board: TURRIS CPLD: V4.1 PCBA: V4.0
Error, wrong i2c adapter 2 max 2 possible
in: 56
out: 0
io_config: 255
rom_loc: nor upper bank
SD/MMC : 4-bit Mode
eSPI : Enabled
I2C: Error, wrong i2c adapter 2 max 2 possible
ready
SPI: ready
DRAM: Error, wrong i2c adapter 2 max 2 possible
Detected UDIMM 9905428-181.A00LF
2 GiB (DDR3, 64-bit, CL=6, ECC off)
Flash: 16 MiB
L2: 512 KiB enabled
NAND: 256 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment
PCIe1: Root Complex of mini PCIe SLOT, no link, regs @ 0xffe0a000
PCIe1: Bus 00 - 00
PCIe2: Root Complex of PCIe SLOT, x1 gen1, regs @ 0xffe09000
02:00.0 - 168c:0030 - Network controller
PCIe2: Bus 01 - 02
PCIe3: Root Complex of PCIe SLOT, no link, regs @ 0xffe08000
PCIe3: Bus 03 - 03
Error, wrong i2c adapter 2 max 2 possible
In: serial
Out: serial
Err: serial
Net: Phy 5 not found
PHY reset timed out
eTSEC1
Error: eTSEC1 address not set.
, eTSEC2
Error: eTSEC2 address not set.
, eTSEC3 [PRIME]
Error: eTSEC3 address not set.
Hit any key to stop autoboot: 0
BOOT NAND
wdt status 00000003
UBI: attaching mtd2 to ubi0
UBI: scanning is finished
UBI: empty MTD device detected
UBI: attached mtd2 (name "mtd=0", size 256 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 2044, bad PEBs: 4, corrupted PEBs: 0
UBI: user volume: 0, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 0
UBI: available PEBs: 2004, total reserved PEBs: 40, PEBs reserved for bad PEB handling: 36
Error reading superblock on volume 'ubi0:rootfs' 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'
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'
WARNING: adjusting available memory to 30000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=>
Dělám něco špatně? Používám obraz z http://repo.turris.cz/turris/sdcard-rescue/sdcard.img , nemyslím, že by se poškodil při stahování nebo zapisování na SD kartu. Je možné, že není kompatibilní s mým Turrisem?
Díky za každou radu!