DJI Phantom 2 Vision FC200 EGG camera - Black video FPV solution to fix

Hi guys. I want to thank everyone who contributed to this thread. I've had a non-functioning camera for over a year. Following the process you developed, I now have a working camera again.

I appreciate all the work you did with documenting a fix. Hoping other folks find this helpful as well.
 
Hey guys

Well after some time I have managed to get a successful response from a cam that had no FPV, it’s hard to find what I would call a definitive output on this thread but mine seems to indicate that the flash was successful

I did end up trying a couple of flash files, with no luck but then found a set from I think someone on page 8 or 9.

Only issue I have now is that the camera isn’t transmitting the wifi signal, I can’t see it in INSSIDER, I promised the missus I would be done at 7pm so not had a chance to look further into it, it may be a loose connection when i temp reassembled the boards.

Back soon. Hopefully with good news
 
Last edited:
  • Like
Reactions: Mark The Droner
@quaddamage

here is the output, but i still cant get it to show up on INSSIDER, it worked before I flashed the board (before i did anything at all, now nothing ??

Has anyone come across this before

...................................................................................................................................... done, booting the kernel.
Linux version 2.6.32.17-davinci1 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #38 PREEMPT Mon Jul 22 20:12:25 PDT 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM36x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm36x_rev1.2 variant 0x8
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 12192
Kernel command line: console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=OFF:vid1=OFF:eek:sd0=480x272x16,4050K mem=48MB davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=480x272 ubi.mtd=3,2048 root=ubi0:rootfs rootfstype=ubifs ip=192.168.1.10:192.168.1.5:192.168.1.2:255.255.255.0::eth0:eek:ff
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 48MB = 48MB total
Memory: 44164KB available (3976K code, 377K data, 140K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 147.28 BogoMIPS (lpj=245248)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 8 gpio irqs
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x5c/0x12c()
autorequest GPIO-20
Modules linked in:
Backtrace:
[<c002f5ec>] (dump_backtrace+0x0/0x114) from [<c0316d98>] (dump_stack+0x18/0x1c)
r7:c1027f00 r6:c01a71b8 r5:c03cab0d r4:00000065
[<c0316d80>] (dump_stack+0x0/0x1c) from [<c0040b78>] (warn_slowpath_common+0x50/0x68)
[<c0040b28>] (warn_slowpath_common+0x0/0x68) from [<c0040bdc>] (warn_slowpath_fmt+0x30/0x38)
r7:00000000 r6:c043b228 r5:c045a590 r4:c043b228
[<c0040bac>] (warn_slowpath_fmt+0x0/0x38) from [<c01a71b8>] (gpio_ensure_requested+0x5c/0x12c)
r3:00000014 r2:c03cab24
[<c01a715c>] (gpio_ensure_requested+0x0/0x12c) from [<c01a730c>] (gpio_direction_output+0x84/0x148)
r9:00000000 r8:c045a590 r7:00000001 r6:00000014 r5:40000013
r4:c043b228
[<c01a7288>] (gpio_direction_output+0x0/0x148) from [<c000ebf0>] (dm365_evm_init+0x24/0x294)
[<c000ebcc>] (dm365_evm_init+0x0/0x294) from [<c000b518>] (customize_machine+0x20/0x2c)
r8:00000000 r7:00000001 r6:c000b4f8 r5:00000000 r4:c0022be0
[<c000b4f8>] (customize_machine+0x0/0x2c) from [<c002b3d4>] (do_one_initcall+0x64/0x1c4)
[<c002b370>] (do_one_initcall+0x0/0x1c4) from [<c0008474>] (kernel_init+0x9c/0x118)
r7:00000000 r6:00000000 r5:00000000 r4:c0022be0
[<c00083d8>] (kernel_init+0x0/0x118) from [<c00440f8>] (do_exit+0x0/0x668)
r5:00000000 r4:00000000
---[ end trace 1b75b31a2719ed1c ]---
davinci_serial_init:97: failed to get UART2 clock
EVM: tvp5146 SD video input
bio: create slab <bio-0> at 0
DM365 IPIPE initialized in Continuous mode
SCSI subsystem initialized
vpss vpss: dm365_vpss vpss probed
vpss vpss: dm365_vpss vpss probe success
dm365_afew_hw_init
ch0 default output "LCD", mode "480x272"
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
LogicPD encoder initialized
Switching to clocksource timer0_1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 86
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
Console: switching to colour frame buffer device 60x34
davincifb davincifb.0: dm_osd0_fb: 480x272x16@0,0 with framebuffer size 4050KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 382KB
davincifb davincifb.0: dm_osd1_fb: 480x272x4@0,0 with framebuffer size 255KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 382KB
DM365 IPIPEIF probed
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
Creating 4 MTD partitions on "davinci_nand.0":
0x000000000000-0x000000640000 : "bootloader"
0x000000640000-0x000000680000 : "params"
0x000000680000-0x000001280000 : "kernel"
0x000001280000-0x000008000000 : "filesystem2"
davinci_nand davinci_nand.0: controller rev. 2.3
UBI: attaching mtd3 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd3 to ubi0
UBI: MTD device name: "filesystem2"
UBI: MTD device size: 109 MiB
UBI: number of good PEBs: 872
UBI: number of bad PEBs: 4
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 872
UBI: number of PEBs reserved for bad PEB handling: 8
UBI: max/mean erase counter: 58/1
UBI: image sequence number: 248044948
spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
Using RX channel = 17 , TX channel = 16 and event queue = 3
UBI: background thread "ubi_bgt0d" started, PID 906
at25 spi0.0: 8 KByte at25640 eeprom, pagesize 32
spi_davinci spi_davinci.0: Controller at 0xfec66000
console [netcon0] enabled
netconsole: network logging started
mice: PS/2 mouse device common for all mice
tsc2004: probe of 1-0000 failed with error -121
i2c /dev entries driver
Linux video capture interface: v2.00
ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)
ths7303 1-002c: ths7303 write failed
ths7303: probe of 1-002c failed with error -121
vpfe_init
vpfe-capture: vpss clock vpss_master enabled
vpfe-capture vpfe-capture: v4l2 device registered
vpfe-capture vpfe-capture: video device registered
EVM: switch to tvp5146 SD video input
tvp514x 1-005d: tvp514x 1-005d decoder driver registered !!
vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
EVM: switch to <NULL> video input
vpfe-capture vpfe-capture: v4l2 sub device tvp7002 register fails
EVM: switch to } video input
ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)
ths7353 1-002e: No platform data!!
ths7353 1-002e: ths7353 write failed
ths7353: probe of 1-002e failed with error -121
vpfe-capture vpfe-capture: v4l2 sub device ths7353 register fails
EVM: switch to } video input
vpfe-capture vpfe-capture: v4l2 sub device cat6023 register fails
vpfe_register_ccdc_device: DM365 ISIF
DM365 ISIF is registered with vpfe.
af major#: 251, minor# 0
AF Driver initialized
aew major#: 250, minor# 0
AEW Driver initialized
Trying to register davinci display video device.
layer=c10ccc00,layer->video_dev=c10ccd70
Trying to register davinci display video device.
layer=c10cd000,layer->video_dev=c10cd170
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
watchdog watchdog: heartbeat 60 sec
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic3x
No device for DAI davinci-i2s
asoc: tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci EVM (tlv320aic3x)
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Clocks: disable unused mmcsd0
Clocks: disable unused mmcsd1
Clocks: disable unused spi1
Clocks: disable unused spi2
Clocks: disable unused spi3
Clocks: disable unused spi4
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused pwm3
Clocks: disable unused timer1
Clocks: disable unused timer3
Clocks: disable unused usb
Clocks: disable unused emac
Clocks: disable unused voice_codec
Clocks: disable unused rto
Clocks: disable unused mjcp
nnnn===0
davinci_emac_probe: using random MAC addr: b2:fa:8d:26:13:90
emac-mii: probed
IP-Config: Complete:
device=eth0, addr=192.168.1.10, mask=255.255.255.0, gw=192.168.1.2,
host=192.168.1.10, domain=, nis-domain=(none),
bootserver=192.168.1.5, rootserver=192.168.1.5, rootpath=
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 107929600 bytes (105400 KiB, 102 MiB, 850 LEBs)
UBIFS: journal size: 5459968 bytes (5332 KiB, 5 MiB, 43 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 4952683 bytes (4836 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 140K
INIT: version 2.86 booting
##Process /etc/init.d/rcS...
mount: mount point /tmp does not exist
INIT: Entering runlevel: 5
CMEMK module: built on Mar 24 2011 at 16:58:03
Reference Linux version 2.6.32
File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm368-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc7000000 of size 0x4400000
heap fallback enabled - will try heap if pool buffer is not available
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
cmemk initialized
IRQK module: built on Mar 24 2011 at 16:58:17
Reference Linux version 2.6.32
File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm368-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Mar 24 2011 at 16:58:11
Reference Linux version 2.6.32
File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm368-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
UBI: scrubbed PEB 804 (LEB 0:27), data moved to PEB 549
UBI: scrubbed PEB 808 (LEB 0:30), data moved to PEB 804
NET: Registered protocol family 10
UBI: scrubbed PEB 189 (LEB 0:194), data moved to PEB 808
UBI: scrubbed PEB 430 (LEB 0:192), data moved to PEB 548
Could not load host key: /usr/local/etc/ssh_host_ecdsa_key
pdi=0
pdi=1073
Encode demo started.
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
detectVide to crEVM: switch to tvp5146 SD video input
eate
fd = hCapture->fd
Composite input selected
UBI: scrubbed PEB 42 (LEB 0:53), data moved to PEB 430
listening.************************************************aaaaa2===-1
Capture input sevpfe-capture vpfe-capture: width = 320, height = 240, bpp = 1
t to Composite:5vpfe-capture vpfe-capture: adjusted width = 320, height = 240, bpp = 1, bytesperline = 320, sizeimage = 115200

vpfe-capture vpfe-capture: width = 320, height = 240, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 320, height = 240, bpp = 1, bytesperline = 320, sizeimage = 115200
***********video.c: semkey1: 852289 semkey1: 852292 shmkey: -1
params->maxFrameRate ==30000
Venc1.c : minNumOutBufs 2, minOutBufSize[0] 115200, minOutBufSize[1] 800
video.c: minNumOutBufs 2
osdThrFxn: process ID is 1076 ***********
ctrlThrFxn: process ID is 1072 ***********
* pid of Xorg :-1 ==-1
************************************************************************************************************************************************************************************************************************************************************************************************************video_interrupt= 0 ARM Load: 76% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:01 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 320x240 Sound Codec: N/A Sampling Freq: N/A

********************************* pid of Xorg :1072 ==1073
****************************************************************************************************************************************************************************************************************************************************************************video_interrupt= 0 ARM Load: 11% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Encode Display: D1 NTSC Video Codec:
H.264 HP Resolution: 320x240 Sound Codec: N/A Sampling Freq: N/A

*************************************************************** pid of Xorg :1072 ==1073
**********************************************************************************************************************************************************************************************************************************************video_interrupt= 0 ARM Load: 12% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:03 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 320x240 Sound Codec: N/A Sampling Freq: N/A
 
Ok cracked it, finally I now have a working Egg camera, here was my method

Spoiler log file
Bad Data CRC
ERROR: can't get kernel image!

Loading from nand0, offset 0x980000
Image Name: Linux-2.6.32.17-davinci1
Created: 2013-07-23 3:12:28 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2118348 Bytes = 2 MiB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32.17-davinci1
Created: 2013-07-23 3:12:28 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2118348 Bytes = 2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.......................................................................................................................................... done, booting the kernel.
Linux version 2.6.32.17-davinci1 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #38 PREEMPT Mon Jul 22 20:12:25 PDT 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM36x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm36x_rev1.2 variant 0x8
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 12192
Kernel command line: console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=OFF:vid1=OFF:eek:sd0=480x272x16,4050K mem=48MB davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=480x272 ubi.mtd=3,2048 root=ubi0:rootfs rootfstype=ubifs ip=192.168.1.10:192.168.1.5:192.168.1.2:255.255.255.0::eth0:eek:ff
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 48MB = 48MB total
Memory: 44164KB available (3976K code, 377K data, 140K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 147.28 BogoMIPS (lpj=245248)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 8 gpio irqs
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at drivers/gpio/gpiolib.c:101 gpio_ensure_requested+0x5c/0x12c()
autorequest GPIO-20
Modules linked in:
Backtrace:
[<c002f5ec>] (dump_backtrace+0x0/0x114) from [<c0316d98>] (dump_stack+0x18/0x1c)
r7:c1027f00 r6:c01a71b8 r5:c03cab0d r4:00000065
[<c0316d80>] (dump_stack+0x0/0x1c) from [<c0040b78>] (warn_slowpath_common+0x50/0x68)
[<c0040b28>] (warn_slowpath_common+0x0/0x68) from [<c0040bdc>] (warn_slowpath_fmt+0x30/0x38)
r7:00000000 r6:c043b228 r5:c045a590 r4:c043b228
[<c0040bac>] (warn_slowpath_fmt+0x0/0x38) from [<c01a71b8>] (gpio_ensure_requested+0x5c/0x12c)
r3:00000014 r2:c03cab24
[<c01a715c>] (gpio_ensure_requested+0x0/0x12c) from [<c01a730c>] (gpio_direction_output+0x84/0x148)
r9:00000000 r8:c045a590 r7:00000001 r6:00000014 r5:40000013
r4:c043b228
[<c01a7288>] (gpio_direction_output+0x0/0x148) from [<c000ebf0>] (dm365_evm_init+0x24/0x294)
[<c000ebcc>] (dm365_evm_init+0x0/0x294) from [<c000b518>] (customize_machine+0x20/0x2c)
r8:00000000 r7:00000001 r6:c000b4f8 r5:00000000 r4:c0022be0
[<c000b4f8>] (customize_machine+0x0/0x2c) from [<c002b3d4>] (do_one_initcall+0x64/0x1c4)
[<c002b370>] (do_one_initcall+0x0/0x1c4) from [<c0008474>] (kernel_init+0x9c/0x118)
r7:00000000 r6:00000000 r5:00000000 r4:c0022be0
[<c00083d8>] (kernel_init+0x0/0x118) from [<c00440f8>] (do_exit+0x0/0x668)
r5:00000000 r4:00000000
---[ end trace 1b75b31a2719ed1c ]---
davinci_serial_init:97: failed to get UART2 clock
EVM: tvp5146 SD video input
bio: create slab <bio-0> at 0
DM365 IPIPE initialized in Continuous mode
SCSI subsystem initialized
vpss vpss: dm365_vpss vpss probed
vpss vpss: dm365_vpss vpss probe success
dm365_afew_hw_init
ch0 default output "LCD", mode "480x272"
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
LogicPD encoder initialized
Switching to clocksource timer0_1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 86
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
Console: switching to colour frame buffer device 60x34
davincifb davincifb.0: dm_osd0_fb: 480x272x16@0,0 with framebuffer size 4050KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 382KB
davincifb davincifb.0: dm_osd1_fb: 480x272x4@0,0 with framebuffer size 255KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 382KB
DM365 IPIPEIF probed
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
Creating 4 MTD partitions on "davinci_nand.0":
0x000000000000-0x000000640000 : "bootloader"
0x000000640000-0x000000680000 : "params"
0x000000680000-0x000001280000 : "kernel"
0x000001280000-0x000008000000 : "filesystem2"
davinci_nand davinci_nand.0: controller rev. 2.3
UBI: attaching mtd3 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd3 to ubi0
UBI: MTD device name: "filesystem2"
UBI: MTD device size: 109 MiB
UBI: number of good PEBs: 872
UBI: number of bad PEBs: 4
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 872
UBI: number of PEBs reserved for bad PEB handling: 8
UBI: max/mean erase counter: 58/1
UBI: image sequence number: 248044948
spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
Using RX channel = 17 , TX channel = 16 and event queue = 3
UBI: background thread "ubi_bgt0d" started, PID 906
at25 spi0.0: 8 KByte at25640 eeprom, pagesize 32
spi_davinci spi_davinci.0: Controller at 0xfec66000
console [netcon0] enabled
netconsole: network logging started
mice: PS/2 mouse device common for all mice
tsc2004: probe of 1-0000 failed with error -121
i2c /dev entries driver
Linux video capture interface: v2.00
ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)
ths7303 1-002c: ths7303 write failed
ths7303: probe of 1-002c failed with error -121
vpfe_init
vpfe-capture: vpss clock vpss_master enabled
vpfe-capture vpfe-capture: v4l2 device registered
vpfe-capture vpfe-capture: video device registered
EVM: switch to tvp5146 SD video input
tvp514x 1-005d: tvp514x 1-005d decoder driver registered !!
vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
EVM: switch to <NULL> video input
vpfe-capture vpfe-capture: v4l2 sub device tvp7002 register fails
EVM: switch to } video input
ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)
ths7353 1-002e: No platform data!!
ths7353 1-002e: ths7353 write failed
ths7353: probe of 1-002e failed with error -121
vpfe-capture vpfe-capture: v4l2 sub device ths7353 register fails
EVM: switch to } video input
vpfe-capture vpfe-capture: v4l2 sub device cat6023 register fails
vpfe_register_ccdc_device: DM365 ISIF
DM365 ISIF is registered with vpfe.
af major#: 251, minor# 0
AF Driver initialized
aew major#: 250, minor# 0
AEW Driver initialized
Trying to register davinci display video device.
layer=c1122c00,layer->video_dev=c1122d70
Trying to register davinci display video device.
layer=c1123000,layer->video_dev=c1123170
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
watchdog watchdog: heartbeat 60 sec
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic3x
No device for DAI davinci-i2s
asoc: tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci EVM (tlv320aic3x)
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Clocks: disable unused mmcsd0
Clocks: disable unused mmcsd1
Clocks: disable unused spi1
Clocks: disable unused spi2
Clocks: disable unused spi3
Clocks: disable unused spi4
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused pwm3
Clocks: disable unused timer1
Clocks: disable unused timer3
Clocks: disable unused usb
Clocks: disable unused emac
Clocks: disable unused voice_codec
Clocks: disable unused rto
Clocks: disable unused mjcp
nnnn===0
davinci_emac_probe: using random MAC addr: 56:2f:9a:29:8a:84
emac-mii: probed
IP-Config: Complete:
device=eth0, addr=192.168.1.10, mask=255.255.255.0, gw=192.168.1.2,
host=192.168.1.10, domain=, nis-domain=(none),
bootserver=192.168.1.5, rootserver=192.168.1.5, rootpath=
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 107929600 bytes (105400 KiB, 102 MiB, 850 LEBs)
UBIFS: journal size: 5459968 bytes (5332 KiB, 5 MiB, 43 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 4952683 bytes (4836 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:13.
Freeing init memory: 140K
INIT: version 2.86 booting
##Process /etc/init.d/rcS...
UBI: scrubbed PEB 45 (LEB 0:54), data moved to PEB 544
mount: mount point /tmp does not exist
INIT: Entering runlevel: 5
CMEMK module: built on Mar 24 2011 at 16:58:03
Reference Linux version 2.6.32
File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm368-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc7000000 of size 0x4400000
heap fallback enabled - will try heap if pool buffer is not available
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
cmemk initialized
IRQK module: built on Mar 24 2011 at 16:58:17
Reference Linux version 2.6.32
File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm368-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Mar 24 2011 at 16:58:11
Reference Linux version 2.6.32
File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm368-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
NET: Registered protocol family 10
UBI: scrubbed PEB 192 (LEB 0:195), data moved to PEB 543
Could not load host key: /usr/local/etc/ssh_host_ecdsa_key
pdi=0
pdi=1073
Encode demo started.
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
detectVide to crEVM: switch to tvp5146 SD video input
eate
fd = hCapture->fd
Composite input selected
UBI: scrubbed PEB 815 (LEB 0:95), data moved to PEB 542
listening.************************************aaaaa2===-1
Capture input sevpfe-capture vpfe-capture: width = 320, height = 240, bpp = 1
t to Composite:5vpfe-capture vpfe-capture: adjusted width = 320, height = 240, bpp = 1, bytesperline = 320, sizeimage = 115200

vpfe-capture vpfe-capture: width = 320, height = 240, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 320, height = 240, bpp = 1, bytesperline = 320, sizeimage = 115200
***********video.c: semkey1: 852289 semkey1: 852292 shmkey: -1
params->maxFrameRate ==30000
Venc1.c : minNumOutBufs 2, minOutBufSize[0] 115200, minOutBufSize[1] 800
video.c: minNumOutBufs 2
pid of Xorg :-1 ==-1
osdThrFxn: process ID is 1076 ***********
ctrlThrFxn: process ID is 1072 ***********
********************************************************************************************************************************************************************************************************************************************************************************************************************************************* pid of Xorg :1072 ==1073
****************************************************************************************************************************************************************************************************************************************************************************video_interrupt= 0 ARM Load: 72% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Encode Display: D1 NTSC Video Codec:
H.264 HP Resolution: 320x240 Sound Codec: N/A Sampling Freq: N/A

**************************************************************** pid of Xorg :1072 ==1073
*********************************************************************************************************************************************************************************************************************************************video_interrupt= 0 ARM Load: 11% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:03 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 320x240 Sound Codec: N/A Sampling Freq: N/A

I had to tap 5v from the TTL board to TP8, some have mentioned this wasnt needed, but without it I couldnt get Putty to show anything.

Putty doesnt show anything if the board is corrupted, getting into BOOTME mode was fiddly, but once I touched the resistor then putty started showing the BOOTME message,

I tried a couple of different files and in the end the ones that worked for me were called ublp2.img u-boot_prop.img.

You can see from my previous post that using ubootp2.img resulted in No WIFI being transmitted, not sure why.

I have added the files I used to my google drive, here is the link

I hope someone finds this helpful, and I will be doing a video guide to it at some point.

Many thanks to all those who have helped out in this thread, you know who you all are.
 
Last edited:
Guys, the files I linked to worked fine for one egg camera, but the one shush sent me, the files gave me all sorts of strange things on Putty, in the end I used the files from the vision plus fix and they worked, maybe the camera has a different chipset? Thoughts anyone
 
  • Like
Reactions: Mark The Droner
in the end I used the files from the vision plus fix and they worked, maybe the camera has a different chipset? Thoughts anyone
Both Vision and Vision Plus use the same chips, no update was made there.

VP software has different configuration though - the flash memory map is different, meaning the NAND is divided into partitions in a different manner:
O-Gs wiki - Structure of DaVinci NAND dump

It is possible that later models of the Vision have that change already - DJI never intended DaVinci FW to be updated beyond factory, so any changes there would have no influence over users.
 
Hi fellows, I got a stubborn board that is in a bootloop, I cannot get it into a bootmode,when I hook the middle resistor to the tp10, it's mute - wout any output on serial interface. I changed cables, played around with voltages (5V vs 3.3V) etc, without success.
Anyone came across similiar problem?
Cheers!
 
Hi Again, I have the same problem with another board. Both were flashed by me and now the common problem is that they cannot get into the bootmode properly. On normal power up, both spew only this part:
Code:
 initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
After connecting TP10 and the middle resistor, uart output is mute. Both behaved normally before - "Boot me" could be seen, now not.
Is it possible that flashing uboot and ubl affecter boot mode somehow? Can anyone check this?
Cheers,
Łukasz
 
Hi Again, I have the same problem with another board. Both were flashed by me and now the common problem is that they cannot get into the bootmode properly. On normal power up, both spew only this part:
Code:
 initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
After connecting TP10 and the middle resistor, uart output is mute. Both behaved normally before - "Boot me" could be seen, now not.
Is it possible that flashing uboot and ubl affecter boot mode somehow? Can anyone check this?
Cheers,
Łukasz

I had that, i used the wrong files to flash with, ive done 3 cameras and for some reason they used different files to work

camera 1 ubl1_editedByGaucho.img u-boot_modifiedByGaucho.img
camera 2 ubl1_prop.img u-boot_prop.img
camera 3 ublp2.img ubootp2.img

Not sure why i had to use different files but as i said ive repaired 3 so far. all the files are available on the forum.

I have created a Visual basic tool which is a self extracting archive and will copy all the files needed to your profile and creates a desktop shortcut called NANDflash.exe on the desktop, it has the 3 set of files that I have used
NET FRAME WORK 4.5 MUST BE INSTALLED FOR THIS TOOL TO WORK

 
Last edited:
  • Like
Reactions: Mark The Droner
If anyone comes across this thread and wants to do the repair themselves I have written a video guide and built a tool to do all the flashing part, you will just need to buy the TTL to USB adapter to do the repair.

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
I was waiting for this for a long time, friend of mine who passed in the meantime gave me his crashed p2v few years ago, after I manage to fix the p2 suddenly camera stopped working ... Hope that I ll be able to repair it with this solution. Thank you for all the efforts!
 
  • Like
Reactions: crash1sttime
If anyone comes across this thread and wants to do the repair themselves I have written a video guide and built a tool to do all the flashing part, you will just need to buy the TTL to USB adapter to do the repair.
Any specific TTL to USB adapter recommended from Amazon (Canada)?
 
Any specific TTL to USB adapter recommended from Amazon (Canada)?
Okay, I decided in the end that because of my essential tremor I would not attempt this FC200 repair myself...the soldering points would have presented a difficult situation given the small contact points on the 3rd PCB.

I am pleased to say that through this forum, Turner reached out to me and I availed myself of his repair service and my P2V /FC200 is back to its original FPV working condition.

Great service! Anyone who wants the link to his FC200 service, PM me and I will send you the link.
 
Okay, I decided in the end that because of my essential tremor I would not attempt this FC200 repair myself...the soldering points would have presented a difficult situation given the small contact points on the 3rd PCB.

I am pleased to say that through this forum, Turner reached out to me and I availed myself of his repair service and my P2V /FC200 is back to its original FPV working condition.

Great service! Anyone who wants the link to his FC200 service, PM me and I will send you the link.

I do the repair in the UK, ive had a few so far, if anyone contacts me from the states I refer them to Turner
 
@quaddamage

I have this from an FC200, ive done a search and it suggests flashing the UBIF using Linux, do you agree ?

davinci_emac_probe: using random MAC addr: 72:e8:fe:54:c9:f0
emac-mii: probed
IP-Config: Gateway not on directly connected network.
UBIFS: recovery needed
UBIFS error (pid 1): ubifs_recover_leb: corrupt empty space LEB 3:2048, corruption starts at 101532
UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 3:101532
UBIFS error (pid 1): ubifs_recover_leb: LEB 3 scanning failed
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 6400 mtdblock0 (driver?)
1f01 256 mtdblock1 (driver?)
1f02 12288 mtdblock2 (driver?)
1f03 112128 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Backtrace:
[<c002f5ec>] (dump_backtrace+0x0/0x114) from [<c0316d98>] (dump_stack+0x18/0x1c)
r7:00008000 r6:c1014000 r5:c0024808 r4:c043b590
[<c0316d80>] (dump_stack+0x0/0x1c) from [<c0316df0>] (panic+0x54/0x12c)
[<c0316d9c>] (panic+0x0/0x12c) from [<c0008fbc>] (mount_block_root+0x1e0/0x220)
r3:00000001 r2:c1027eb0 r1:c1027f78 r0:c03abdf6
[<c0008ddc>] (mount_block_root+0x0/0x220) from [<c000918c>] (prepare_namespace+0x94/0x1c8)
r8:00000000 r7:00000000 r6:00000000 r5:c0024808 r4:c0024818
[<c00090f8>] (prepare_namespace+0x0/0x1c8) from [<c00084bc>] (kernel_init+0xe4/0x118)
r5:00000000 r4:c043ae40
[<c00083d8>] (kernel_init+0x0/0x118) from [<c00440f8>] (do_exit+0x0/0x668)
r5:00000000 r4:00000000
 
  • Like
Reactions: Mark The Droner
Yes. Root File System is UbiFS, and that's what is damaged. Requires to boot Linux in simplified form to flash it. All correct.

yeah i just read and re read and read again the instructions on the wiki and its well over my head, guess this board isnt getting repaired
 

Members online

No members online now.

Forum statistics

Threads
143,066
Messages
1,467,358
Members
104,936
Latest member
hirehackers