Need help identifying and unbricking IPC

gubergren

n3wb
Joined
Dec 19, 2019
Messages
7
Reaction score
0
Location
Austria
As the title states. I have attached some images of the IPC itself and the serial output. I tried various firmwares which none of them got the device to boot into Linux properly. Any help would be appreciated.
 

Attachments

K175un3

Getting the hang of it
Joined
Dec 17, 2019
Messages
173
Reaction score
60
Location
UK
Hello gubergren, I think that the IP address is 1.1.01.04 on the label. So you may well have to change your ethernet adapter to an IP in that range to connect to it.

I've tried to find out more using information from the barcode, but unfortunately I haven't had any luck finding out anything.
 

gubergren

n3wb
Joined
Dec 19, 2019
Messages
7
Reaction score
0
Location
Austria
I don't think so, I managed to interrupt the boot to run printenv:

Code:
>printenv
bootargs=console=ttyS0,115200 mem=110M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc
bootcmd=sf read 0x200100 0x8000 0x8000;sf read 0x2000000 0xf0000 0x180000;bootm 0x2000000
bootdelay=3
baudrate=115200
ethaddr=00:12:34:56:78:9A
ipaddr=192.168.1.108
serverip=192.168.1.1
autoload=yes
gatewayip=192.168.1.1
netmask=255.255.255.0
ID=000000000000000000
da=tftp 0x02000000 dhboot.bin.img; flwrite;tftp dhboot-min.bin.img;flwrite
dr=tftp 0x02000000 romfs-x.squashfs.img; flwrite
dk=tftp 0x02000000 kernel.img; flwrite
du=tftp 0x02000000 user-x.squashfs.img; flwrite
dw=tftp 0x02000000 web-x.squashfs.img; flwrite
dp=tftp 0x02000000 partition-x.cramfs.img;flwrite
dc=tftp 0x02000000 custom-x.squashfs.img; flwrite
up=tftp 0x02000000 update.img; flwrite
tk=tftp 0x02000000 uImage; bootm
dh_keyboard=1
appauto=1
sysbackup=1
logserver=127.0.0.1
loglevel=4
autosip=192.168.254.254
autolip=192.168.1.108
autogw=192.168.1.1
autonm=255.255.255.0
pd=tftp 0x02000000 pd-x.squashfs.img; flwrite
ethact=ambarella mac
filesize=F040
fileaddr=2000000
stdin=serial
stdout=serial
stderr=serial

Environment size: 1081/131068 bytes
There is no HWID set
 

K175un3

Getting the hang of it
Joined
Dec 17, 2019
Messages
173
Reaction score
60
Location
UK
I'm noticing IP addresses beginning with 192.168 there, try changing to 1.1.01.01 and using an ethernet hub or switch to try and connect.

Otherwise you may well be using an IP address range that is incompatible with the cam.
 

gubergren

n3wb
Joined
Dec 19, 2019
Messages
7
Reaction score
0
Location
Austria
Here is the log for a successful flash
Code:
U-Boot 2010.06-svn3112 (Mar 18 2016 - 16:13:13)
I2C:   ready
DRAM:  110 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0xc81840c8
Fail to get uboot hd.
partition file version 2
rootfstype squashfs root /dev/mtdblock5
TEXT_BASE:01000000
Net:   Detected MACID:00:12:34:56:78:9a
PHY:0x001cc816,addr:0x00
phy RTL8201 init

Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'upgrade_info_7db780a713a4.txt'.
Download to address: 0x5000000
Downloading: #################################################
done
Bytes transferred = 158 (9e hex)
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'romfs-x.squashfs.img'.
Download to address: 0x2000000
Downloading: #################################################
done
Bytes transferred = 1364032 (14d040 hex)

## Checking Image at 02000000 ...
   Legacy image found
   Image Name:   romfs
   Created:      2016-12-19  12:33:41 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1363968 Bytes = 1.3 MiB
   Load Address: 00270000
   Entry Point:  003c0000
   Verifying Checksum ... OK
Programing start at: 0x00270000
SPI probe: 16384 KiB GD25Q128C at 0:0 is now current device
write : 100%
done
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'kernel.img'.
Download to address: 0x2000000
Downloading: #################################################
done
Bytes transferred = 1513672 (1718c8 hex)

## Checking Image at 02000000 ...
   Legacy image found
   Image Name:   kernel
   Created:      2016-12-19  12:33:41 UTC
   Image Type:   ARM Linux Firmware (uncompressed)
   Data Size:    1513608 Bytes = 1.4 MiB
   Load Address: 000f0000
   Entry Point:  00270000
   Verifying Checksum ... OK
Programing start at: 0x000f0000
write : 100%
done
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'user-x.squashfs.img'.
Download to address: 0x2000000
Downloading: #################################################
done
Bytes transferred = 7917632 (78d040 hex)

## Checking Image at 02000000 ...
   Legacy image found
   Image Name:   user
   Created:      2017-03-08   8:11:22 UTC
   Image Type:   ARM Linux Standalone Program (gzip compressed)
   Data Size:    7917568 Bytes = 7.6 MiB
   Load Address: 005d0000
   Entry Point:  00e00000
   Verifying Checksum ... OK
Programing start at: 0x005d0000
write : 100%
done
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'web-x.squashfs.img'.
Download to address: 0x2000000
Downloading: #################################################
done
Bytes transferred = 2146368 (20c040 hex)

## Checking Image at 02000000 ...
   Legacy image found
   Image Name:   web
   Created:      2016-12-19  12:33:43 UTC
   Image Type:   ARM Linux Standalone Program (uncompressed)
   Data Size:    2146304 Bytes = 2 MiB
   Load Address: 003c0000
   Entry Point:  005d0000
   Verifying Checksum ... OK
Programing start at: 0x003c0000
write : 100%
done
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'partition-x.cramfs.img'.
Download to address: 0x2000000
Downloading: #################################################
done
Bytes transferred = 4160 (1040 hex)

## Checking Image at 02000000 ...
   Legacy image found
   Image Name:   partition
   Created:      2016-12-19  12:33:41 UTC
   Image Type:   ARM Linux Standalone Program (uncompressed)
   Data Size:    4096 Bytes = 4 KiB
   Load Address: 000e0000
   Entry Point:  000f0000
   Verifying Checksum ... OK
Programing start at: 0x000e0000
write : 100%
done
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'custom-x.squashfs.img'.
Download to address: 0x2000000
Downloading: #################################################
done
Bytes transferred = 28736 (7040 hex)

## Checking Image at 02000000 ...
   Legacy image found
   Image Name:   custom
   Created:      2016-12-19  12:33:50 UTC
   Image Type:   ARM Linux Standalone Program (uncompressed)
   Data Size:    28672 Bytes = 28 KiB
   Load Address: 00eb0000
   Entry Point:  00ed0000
   Verifying Checksum ... OK
Programing start at: 0x00eb0000
write : 100%
done
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename '.FLASHING_DONE_STOP_TFTP_NOW'.
Download to address: 0x82000000
Downloading: #
done
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'success.txt'.
Download to address: 0x2000000
Downloading: T
Abort
Erasing SPI flash...
Writing to SPI flash...
unknown core,use back
done
spi operation is out of range.
spi operation is out of range.
first power?
spi operation is out of range.
read flags error
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.10.50
   Created:      2016-12-19  11:42:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1513544 Bytes = 1.4 MiB
   Load Address: 00208000
   Entry Point:  00208000
   Verifying Checksum ... OK
   Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock5
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
get bootargs info failed

Starting kernel ...
unknown core,use back
uboot magic is not match.


U-Boot 2010.06-svn3112 (Mar 18 2016 - 16:13:13)
I2C:   ready
DRAM:  110 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0xc81840c8
Fail to get uboot hd.
partition file version 2
rootfstype squashfs root /dev/mtdblock5
TEXT_BASE:01000000
Net:   Detected MACID:00:12:34:56:78:9a
PHY:0x001cc816,addr:0x00
phy RTL8201 init
 

K175un3

Getting the hang of it
Joined
Dec 17, 2019
Messages
173
Reaction score
60
Location
UK
This may be of some use, nmap for listing all attached network devices.


And some info on use.

 
Top