2019/07/19

Tandberg C Series Codec Recovery Guide

# You can see this process on booting.

U-Boot 2010.06-83 (Jul 20 2011 - 08:13:44) MPC83XX

Reset Status:

CPU:   e300c1, MPC8347_TBGA_EA, Rev: 3.0 at 600 MHz, CSB: 200 MHz

I2C:   ready

DRAM:  DDR2 RAM: 512 MiB

RAM data bus test       [PASS]

RAM address bus test    [PASS]

FLASH: 4 MiB

NAND:  2048 MiB

RTC:   2013-08-12 (Monday) - Time:  5:43:51

PCI Video Processor Detection   [PASS]

America main board

       Rev: B

       SN: PB0519992

       Object level: 06

       MAC: 00:50:60:0C:DF:21

America video input board

       Rev: B

       SN: PB0519750

       Object level: 05

Net:   TSEC0, TSEC1

Hwmon: 39

Eth:   Configure the external switch

Eth:   Configure the internal switch 88e61xx

Press 'b' to enter u-boot prompt

Press 'c' to stop autoboot:  0

yaffs: Mounting /flash

Configure FPGAs

FPGA configuration failed



# This 6 Davinch HD Chips are video codec. if this chips are fail, device will not boot up.

Setting up Davinci HD (00.10.00)... 675Mhz       [DONE]

Setting up Davinci HD (00.11.00)... 675Mhz       [DONE]

Setting up Davinci HD (00.12.00)... 675Mhz       [DONE]

Setting up Davinci HD (00.13.00)... 675Mhz       [DONE]

Setting up Davinci HD (00.14.00)... 675Mhz       [DONE]

Setting up Davinci HD (00.15.00)... 675Mhz       [DONE]

Copy /flash/active/arm/rootfs to 0x03000000... File not found

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Copy /flash/active/arm/kernel to 0x02000000... File not found

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Copy /flash/active/arm/u-boot.bin to 0x01000000... File not found

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Error: filesize must be > 0

Copy /flash/active/kernel to 0x01000000... File not found

Copy /flash/active/rootfs to 0x02000000... File not found

Copy /flash/active/c40.dtb to 0x03000000... File not found

save exit: isCheckpointed 1

Wrong Image Format for bootm command


ERROR: can't get kernel image!     # If there is no image, you can meet this message.

AMERICA>        # C series devices has own specific code name.(C40 device has code name America)

AMERICA> ?      # You can use ?(help) commands like this.

?       - alias for 'help'

armboot - Setup and boot Davinci HD over PCI

armc    - Console to ARM on Davinci-HD

audiotest- Internal audio test commands

backlight- Change backlight status

base    - print or set address offset

bdinfo  - print Board Info structure

boardinfo- Print board information

boot    - boot default, i.e., run 'bootcmd'

bootd   - boot default, i.e., run 'bootcmd'

bootelf - Boot from an ELF image in memory

bootm   - boot application image from memory

bootp   - boot image via network using BOOTP/TFTP protocol

bootvx  - Boot vxWorks from an ELF image

clocks  - print clock configuration

cmp     - memory compare

coninfo - print console devices and information

cp      - memory copy

crc32   - checksum calculation

date    - get/set/reset date & time

dcache  - enable or disable data cache

dhcp    - boot image via network using DHCP/TFTP protocol

echo    - echo args to console

editenv - edit environment variable

endeavourpower- Power on Endeavour

erase   - erase FLASH memory

ethtest - perform misc tandberg ethernet tests

exit    - exit script

extswitch- Setup external ethernet switch

false   - do nothing, unsuccessfully

fdt     - flattened device tree utility commands

flinfo  - print FLASH memory information

fpgaconfig- configure FPGAs

go      - start application at address 'addr'

halt    - HALT CPU and turn to power suspend

help    - print command description/usage

hwmon   - Print hardware monitor values

hwmonupg- Upgrade hardware monitor firmware via I2C

i2c     - I2C sub-system

icache  - enable or disable instruction cache

iminfo  - print header information for application image

imls    - list all images found in flash

imxtract- extract a part of a multi-image

iself   - is it a ELF image?

itest   - return true/false on integer compare

led     - Flash LEDs

loadb   - load binary file over serial line (kermit mode)

loads   - load S-Record file over serial line

loady   - load binary file over serial line (ymodem mode)

loop    - infinite loop on address range

md      - memory display

mii     - MII utility commands

miim    - MII in Multi-chip addressing mode utility commands

mm      - memory modify (auto-incrementing address)

mtest   - simple RAM read/write test

mw      - memory write (fill)

nand    - NAND sub-system

nandtest- perform misc tandberg nand tests (DESTRUCTIVE)

nboot   - boot from NAND device

nfs     - boot image via network using NFS protocol

nm      - memory modify (constant address)

pci     - list and access PCI Configuration Space

phydump - dump all registers in phy

ping    - send ICMP ECHO_REQUEST to network host

portdump- dump all registers in a port in 61xx switch

portstatclear- dump all registers in a port in 61xx switch

preboot - Run some c-code before booting

printenv- print environment variables

prodaudio- set audio board data

prodmain- set main board data

prodmodule- set module data

prodset - prodset

prodvideo- set video board data

progtftp- get file from tftp and write to NOR flash

protect - enable or disable FLASH write protection

pt      - production tests (run all tests if no argument)

ramtest - perform misc tandberg ram tests

rarpboot- boot image via network using RARP/TFTP protocol

repeat  - Repeat commands

reset   - Perform RESET of the CPU

run     - run commands in an environment variable

runelf  - Run an ELF image in memory

saveenv - save environment variables to persistent storage

selectsw- show/set active software

setenv  - set environment variables

showvar - print local hushshell variables

sleep   - delay execution for some time

source  - run script from memory

temp    - Print temperatures on compute slices

test    - minimal test like /bin/sh

tetest  - Thorough Ethernet test

tftpboot- boot image via network using TFTP protocol

timelog - Log time in micro seconds

timeset - Set time to be used with the timeused command

timeused- Show time used from reset. Additional it show time used since the timeset command where issued

true    - do nothing, successfully

ttwrapper- Print TANDBERG wrapper text

uartcfg - Change UART parameters

urelay  - UART relay between UART 0 and 1

urelaylog- Show UART relay log between UART 0 and 1

version - print monitor version

videoswitch- Setup internal video ethernet switch

vpec    - Console to Video FPGA

ycat    - cat file from yaffs

ydump   - yaffs device struct

yln     - yaffs ln symlink (implies ln -s))

yls     - yaffs ls

ymkdir  - yaffs mkdir

ymount  - mount yaffs

ymv     - yaffs mv

yprog   - get file from yaffs fs and write to NOR flash

yrd     - read file from yaffs

yrdm    - read file to memory from yaffs

yreadlink- yaffs readlink

yrm     - yaffs rm

yrmdir  - yaffs rmdir

ystring - ystring write a string to a file

ytest   - yaffs test return 1 if file/ directory/ link exist

ytrace  - yaffs trace mask

yumount - unmount yaffs

ywr     - write file to yaffs

ywrm    - write file from memory to yaffs

ywrtftp - get file from tftp server and write to NAND flash

AMERICA>



# To recover, set the IP address using DHCP.

AMERICA> dhcp

BOOTP broadcast 1

DHCP client bound to address 192.168.16.86



# Check the IP address using this command.

AMERICA> printenv ipaddr

ipaddr=192.168.16.86



# After starting TFTP server service at your PC, and set TFTP server IP address to download image.

AMERICA> setenv serverip 192.168.16.72



# TFTP server will be image archive.

AMERICA> setenv tftp_path



# Set the Image name.

AMERICA> setenv saturnpkg s52000tc5_1_4.pkg



# Start download the image.

AMERICA> run pkgex



BOOTP broadcast 1

DHCP client bound to address 192.168.16.86

save exit: isCheckpointed 1

NAND erase: device 0 whole chip

Skipping bad block at  0x2ae80000

Skipping bad block at  0x34600000

Skipping bad block at  0x43e40000

Skipping bad block at  0x47140000

Skipping bad block at  0x47440000

Skipping bad block at  0x49500000

Skipping bad block at  0x496c0000

Skipping bad block at  0x72980000

Skipping bad block at  0x72b80000

Skipping bad block at  0x7b840000

Erasing at 0x7ffc0000 -- 100% complete.

OK

yaffs: Mounting /flash

Using TSEC0 device

TFTP from server 192.168.16.72; our IP address is 192.168.16.86

Filename '/s52000tc5_1_4.pkg'.

Load address: 0x2000000

Loading: #################################################################

done

Bytes transferred = 215957872 (cdf4170 hex)

Copy pkgextract.elf from NOR flash to 0x1000000

## Starting application at 0x00042c40 ...

Buildtime: Jul 20 2011 08:14:11

Write version information to /flash/image1/version

Extract             /flash/image1//pki/signcert.pem

Extract             /flash/image1/endeavour/pkgextract.elf

Extract             /flash/image1/endeavour/u-boot.bin

Extract             /flash/image1/endeavour/endeavour.pkg ....................

## Application terminated, rc = 0x0

Reprogram NOR from /flash/image1

Un-Protected 1 sectors

. done

Erased 1 sectors

4

Copy /flash/image1/bootsw to 0x01000000...      [DONE]

Write /flash/image1/bootsw (669728) to NOR flash

Program NOR flash from address 0xfff00000 to 0xfffaffff

Try 1 of 3

Un-Protected 11 sectors

Erase flash...

........... done

Erased 11 sectors

Copy to flash...

Protected 11 sectors

done

4

Copy /flash/image1/pkgextract.elf to 0x01000000...      [DONE]

Write /flash/image1/pkgextract.elf (121176) to NOR flash

Program NOR flash from address 0xffd00000 to 0xffd1ffff

Try 1 of 3

Un-Protected 2 sectors

Erase flash...

.. done

Erased 2 sectors

Copy to flash...

Protected 2 sectors

done

Program hwmon, read file from /flash/image1/S01710.bin.wrapper...

String is: File last modified: 2012-04-17 13:13:33, MD5: 3450236d34642e4137a10e17a25b4eb1, description:"Version:45"

HWMON: Updating from version 39 to version 45

Number of pages to program: 156

Start magic = 0x0c94 OK

Programming flash [100%]save exit: isCheckpointed 1



# After downloading and installing, restart automatically.

Doing reboot...



# Now join the Web management!

login:

Last login: Mon Aug 12 07:38:13 on ttyS0

Do you really want to perform a factory reset? [y/N] y

Performing a factory reset!

/mnt/base/image1/config.img on /config type ext2 (rw,sync,noatime,loop=/dev/loop8,encryption=aes)

Flash device: /dev/mtd0

Image:        /mnt/base/active/bootsw

Offset:       0x00300000

Max size:     0x00100000

Retry 1 times if failing

File length   0x000a3820 (669728)

Image is up to date, exiting

Flash device:  /dev/mtd0

Erase block:   0x002f0000

Erase NOR flash block 0x002f0000 (65536/0x10000 bytes)

Flash device: /dev/mtd0

Image:        /mnt/base/active/pkgextract.elf

Offset:       0x00100000

Max size:     0x00100000

Retry 1 times if failing

File length   0x0001d958 (121176)

Image is up to date, exiting

Factory reset: OK

No comments:

Post a Comment