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

Joined
Sep 12, 2019
Messages
16
Reaction score
1
Age
38
Good morning,
I was try to fix Phnatom 2 Vision FC200 camera (EGG). When I connect UART to camera Board#3 I got this msg:

DM36x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
Valid magicnum, 0xA1ACED66, found in block 0x0000001C.
Valid magicnum, 0xA1ACED66, found in block 0x0000001F.
Valid magicnum, 0xA1ACED66, found in block 0x00000022.
Valid magicnum, 0xA1ACED66, found in block 0x00000025.
Valid magicnum, 0xA1ACED66, found in block 0x00000028.
Valid magicnum, 0xA1ACED66, found in block 0x0000002B.
Valid magicnum, 0xA1ACED66, found in block 0x0000002E.
No valid boot image found!
NAND Boot failed.
Aborting...

And after many flashing try with different kernel ( from LB, from P3C, from TI site,...) I stuck at almost same boot part "UBI: attaching mtd2 to ubi0"
LOG:


DM36x initialization passed!
UBL Product Vesion : DJI-GSP-UBL-1.0-rc10(2014-08-15)
Dji UBL Version: 1.51(Aug 15 2014 - 17:05:12)
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
Uboot Checksum:0x7E25B44B
Actua Checksum:0x7E25B44B

U-Boot Product Vesion : DJI-GSP-Uboot-1.0-rc4(2014-07-23)
U-Boot 2010.12-rc2-svn-Dji (Jul 23 2014 - 11:14:40)
Cores: ARM 432 MHz
DDR: 297 MHz
I2C: ready
DRAM: 128 MiB
NAND: 128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
*** Warning - bad CRC, using default environment

Net: Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Press ESC to abort autoboot in 1 seconds

Loading from nand0, offset 0x4a0000
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Loading from nand0, offset 0x900000
Image Name: Linux-2.6.32.17-davinci1
Created: 2015-02-12 3:09:59 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3665856 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32.17-davinci1
Created: 2015-02-12 3:09:59 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3665856 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK

Starting kernel ...

[ 0.000000] Kernel Product Vesion : DJI-GRC-Kernel-1.0-rc8(2014-11-21)
[ 0.000000] Linux version 2.6.32.17-davinci1 (u@dji) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Thu Feb 12 11:09:57 HKT 2015
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: DaVinci DM36x EVM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] DaVinci dm36x_rev1.2 variant 0x8
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 12192
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=0,10K:vid1=0,10K:eek:sd0=1920x1080X16,8100K mem=48MB davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs ip=off lpj=1077248
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 48MB = 48MB total
[ 0.000000] Memory: 44836KB available (3304K code, 409K data, 108K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:245
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop (skipped) preset value.. 215.44 BogoMIPS (lpj=1077248)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] DaVinci: 8 gpio irqs
[ 0.000000] NET: Registered protocol family 16
[ 0.080000] bio: create slab <bio-0> at 0
[ 0.080000] SCSI subsystem initialized
[ 0.090000] usbcore: registered new interface driver usbfs
[ 0.090000] usbcore: registered new interface driver hub
[ 0.090000] usbcore: registered new device driver usb
[ 0.100000] cfg80211: Using static regulatory domain info
[ 0.100000] cfg80211: Regulatory domain: US
[ 0.100000] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 0.100000] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 0.100000] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 0.100000] cfg80211: Calling CRDA for country: US
[ 0.100000] Switching to clocksource timer0_1
[ 0.110000] musb_hdrc: version 6.0, pio, host, debug=0
[ 0.130000] musb_hdrc: USB Host mode controller at fec64000 using PIO, IRQ 12
[ 0.130000] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 0.130000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[ 0.130000] usb usb1: configuration #1 chosen from 1 choice
[ 0.130000] hub 1-0:1.0: USB hub found
[ 0.130000] hub 1-0:1.0: 1 port detected
[ 0.130000] NET: Registered protocol family 2
[ 0.130000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.130000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.130000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.130000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.130000] TCP reno registered
[ 0.130000] NET: Registered protocol family 1
[ 0.130000] RPC: Registered udp transport module.
[ 0.130000] RPC: Registered tcp transport module.
[ 0.130000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.140000] kfile init
[ 0.140000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.140000] msgmni has been set to 87
[ 0.150000] alg: No test for stdrng (krng)
[ 0.150000] io scheduler noop registered (default)
[ 0.210000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.210000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[ 0.580000] davinci_interrupt 368: VBUS error workaround (delay coming)
[ 0.590000] console [ttyS0] enabled
[ 0.600000] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[ 0.610000] brd: module loaded
[ 0.610000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
[ 0.620000] Creating 4 MTD partitions on "davinci_nand.0":
[ 0.630000] 0x000000000000-0x0000004a0000 : "bootloader"
[ 0.640000] 0x0000004a0000-0x000000e00000 : "kernel"
[ 0.650000] 0x000000e00000-0x000007f00000 : "filesystem"
[ 0.660000] 0x000000000000-0x000008000000 : "all"
[ 0.660000] davinci_nand davinci_nand.0: controller rev. 2.3
[ 0.670000] UBI: attaching mtd2 to ubi0
[ 0.680000] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 0.680000] UBI: logical eraseblock size: 126976 bytes
[ 0.690000] UBI: smallest flash I/O unit: 2048
[ 0.690000] UBI: sub-page size: 512
[ 0.700000] UBI: VID header offset: 2048 (aligned 2048)
[ 0.700000] UBI: data offset: 4096
[ 0.710000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 0:0, read 64 bytes
[ 0.720000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 0:2048, read 512 bytes
[ 0.730000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 1:0, read 64 bytes
[ 0.740000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 1:2048, read 512 bytes
[ 0.750000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 2:0, read 64 bytes
[ 0.760000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 2:2048, read 512 bytes
[ 0.770000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 3:0, read 64 bytes
[ 0.780000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 3:2048, read 512 bytes
[ 0.780000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 4:0, read 64 bytes
[ 0.790000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 4:2048, read 512 bytes
[ 0.800000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 5:0, read 64 bytes
[ 0.810000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 5:2048, read 512 bytes
[ 0.820000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 6:0, read 64 bytes
[ 0.830000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 6:2048, read 512 bytes
[ 0.840000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 7:0, read 64 bytes
[ 0.850000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 7:2048, read 512 bytes
[ 0.860000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 8:0, read 64 bytes
[ 0.870000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 8:2048, read 512 bytes
[ 0.880000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 9:0, read 64 bytes
[ 0.890000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 9:2048, read 512 bytes
[ 0.900000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 10:0, read 64 bytes
[ 0.910000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 11:0, read 64 bytes
[ 0.920000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 11:2048, read 512 bytes
[ 0.930000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 12:0, read 64 bytes
[ 0.940000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 12:2048, read 512 bytes
[ 0.950000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 13:0, read 64 bytes
[ 0.950000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 13:2048, read 512 bytes
[ 0.960000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 14:0, read 64 bytes
[ 0.970000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 14:2048, read 512 bytes
[ 0.980000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 15:0, read 64 bytes
[ 0.990000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 15:2048, read 512 bytes
[ 1.000000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 16:0, read 64 bytes
[ 1.010000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 16:2048, read 512 bytes
[ 1.020000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 17:0, read 64 bytes
[ 1.030000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 17:2048, read 512 bytes
[ 1.040000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 18:0, read 64 bytes
[ 1.050000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 18:2048, read 512 bytes
[ 1.060000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 19:0, read 64 bytes
[ 1.070000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 19:2048, read 512 bytes
[ 1.080000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 20:0, read 64 bytes
[ 1.090000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 20:2048, read 512 bytes
[ 1.100000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 21:0, read 64 bytes
[ 1.110000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 21:2048, read 512 bytes
[ 1.120000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 22:0, read 64 bytes
[ 1.130000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 22:2048, read 512 bytes
[ 1.140000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 23:0, read 64 bytes
[ 1.140000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 23:2048, read 512 bytes
[ 1.150000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 24:0, read 64 bytes
[ 1.160000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 24:2048, read 512 bytes
[ 1.170000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 25:0, read 64 bytes
[ 1.180000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 25:2048, read 512 bytes
[ 1.190000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 26:0, read 64 bytes
[ 1.200000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 26:2048, read 512 bytes
[ 1.210000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 27:0, read 64 bytes
[ 1.220000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 27:2048, read 512 bytes
[ 1.230000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 28:0, read 64 bytes
[ 1.240000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 28:2048, read 512 bytes
[ 1.250000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 29:0, read 64 bytes
[ 1.260000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 29:2048, read 512 bytes
[ 1.270000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 30:0, read 64 bytes
[ 1.280000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 30:2048, read 512 bytes
[ 1.290000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 31:0, read 64 bytes
[ 1.300000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 31:2048, read 512 bytes
[ 1.310000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 32:0, read 64 bytes
[ 1.320000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 32:2048, read 512 bytes
[ 1.330000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 33:0, read 64 bytes
[ 1.330000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 33:2048, read 512 bytes
[ 1.340000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 34:0, read 64 bytes
[ 1.350000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 34:2048, read 512 bytes
[ 1.360000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 35:0, read 64 bytes
[ 1.370000] UBI error: ubi_io_read: error -74 while reading 512 bytes from PEB 35:2048, read 512 bytes
[ 1.380000] UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 36:0, read 64 bytes
[ 1.390000] UBI error: process_eb: bad image sequence number 248044948 in PEB 36, expected 1667215269
[ 1.400000] UBI error: ubi_init: cannot attach mtd2
[ 1.410000] UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
[ 1.420000] console [netcon0] enabled
[ 1.420000] netconsole: network logging started
[ 1.430000] Initializing USB Mass Storage driver...
[ 1.430000] usbcore: registered new interface driver usb-storage
[ 1.440000] USB Mass Storage support registered.
[ 1.440000] usbcore: registered new interface driver usbtest
[ 1.450000] i2c /dev entries driver
[ 1.460000] watchdog watchdog: heartbeat 1 sec
[ 1.460000] TCP cubic registered
[ 1.460000] NET: Registered protocol family 17
[ 1.470000] lib80211: common routines for IEEE802.11 drivers
[ 1.470000] ksocket init
[ 2.400000] encrypt device:at88 found
[ 2.730000] davinci_interrupt 368: VBUS error workaround (delay coming)
[ 4.880000] davinci_interrupt 368: VBUS error workaround (delay coming)
[ 7.030000] davinci_interrupt 368: VBUS error workaround (delay coming)


When I try to read BadBlock in NAND, from UBoot, msg:

Dji-Pro # nand bad

Device 0 bad blocks:
07f80000
07fa0000
07fc0000
07fe0000
Dji-Pro #


Can it be problem with UBoot, Davinci NAND controller inside kernel, NAND itself, or problem with incompatible kernel on/for this board. Because I dont have option to find all flashing fils for this board. OK, I know that original UBoot is different version 1.50 from 1.51 for now.
 
After all day on console and PC, here is result:

DM36x initialization passed!
UBL Product Vesion : DJI-GSP-UBL-1.0-rc10(2014-08-15)
Dji UBL Version: 1.51(Aug 15 2014 - 17:05:12)
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
Uboot Checksum:0x7E25B44B
Actua Checksum:0x7E25B44B

U-Boot Product Vesion : DJI-GSP-Uboot-1.0-rc4(2014-07-23)
U-Boot 2010.12-rc2-svn-Dji (Jul 23 2014 - 11:14:40)
Cores: ARM 432 MHz
DDR: 297 MHz
I2C: ready
DRAM: 128 MiB
NAND: 128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
*** Warning - bad CRC, using default environment

Net: Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Press ESC to abort autoboot in 1 seconds

Loading from nand0, offset 0x4a0000
Image Name: Linux-2.6.32.17-davinci1
Created: 2015-03-30 9:54:39 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4032832 Bytes = 3.8 MiB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32.17-davinci1
Created: 2015-03-30 9:54:39 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4032832 Bytes = 3.8 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK

Starting kernel ...

[ 0.000000] Kernel Product Vesion : DJI-NOHDMI-WM610-Kernel-1.0-rc6(2015-03-30)
[ 0.000000] Linux version 2.6.32.17-davinci1 (root@dji) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #16 PREEMPT Mon Mar 30 17:54:38 HKT 2015
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: DaVinci DM36x EVM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] DaVinci dm36x_rev1.2 variant 0x8
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 12192
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=0,10K:vid1=0,10K:eek:sd0=1920x1080X16,8100K mem=48MB davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs ip=off lpj=1077248
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 48MB = 48MB total
[ 0.000000] Memory: 44452KB available (3640K code, 451K data, 116K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:245
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop (skipped) preset value.. 215.44 BogoMIPS (lpj=1077248)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] DaVinci: 8 gpio irqs
[ 0.000000] NET: Registered protocol family 16
[ 0.110000] bio: create slab <bio-0> at 0
[ 0.110000] DM365 IPIPE initialized in Continuous mode
[ 0.110000] SCSI subsystem initialized
[ 0.120000] usbcore: registered new interface driver usbfs
[ 0.120000] usbcore: registered new interface driver hub
[ 0.120000] usbcore: registered new device driver usb
[ 0.120000] vpss vpss: dm365_vpss vpss probed
[ 0.120000] vpss vpss: dm365_vpss vpss probe success
[ 0.120000] dm365_afew_hw_init
[ 0.130000] ch0 default output "COMPOSITE", mode "PAL"
[ 0.130000] VPBE Encoder Initialized
[ 0.130000] cfg80211: Using static regulatory domain info
[ 0.130000] cfg80211: Regulatory domain: US
[ 0.130000] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 0.130000] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 0.130000] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.130000] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.130000] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.130000] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.130000] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 0.130000] cfg80211: Calling CRDA for country: US
[ 0.130000] LogicPD encoder initialized
[ 0.130000] Switching to clocksource timer0_1
[ 0.140000] musb_hdrc: version 6.0, pio, host, debug=0
[ 0.160000] musb_hdrc: USB Host mode controller at fec64000 using PIO, IRQ 12
[ 0.160000] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 0.160000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[ 0.160000] usb usb1: configuration #1 chosen from 1 choice
[ 0.160000] hub 1-0:1.0: USB hub found
[ 0.160000] hub 1-0:1.0: 1 port detected
[ 0.160000] NET: Registered protocol family 2
[ 0.160000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.160000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.160000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.160000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.160000] TCP reno registered
[ 0.160000] NET: Registered protocol family 1
[ 0.160000] RPC: Registered udp transport module.
[ 0.160000] RPC: Registered tcp transport module.
[ 0.160000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.170000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.170000] msgmni has been set to 86
[ 0.180000] alg: No test for stdrng (krng)
[ 0.180000] io scheduler noop registered (default)
[ 0.210000] VBUS on (a_wait_vrise), devctl 01
[ 0.220000] davincifb davincifb.0: dm_osd0_fb: Initial window configuration is invalid.
[ 0.300000] Console: switching to colour frame buffer device 240x67
[ 0.310000] davinci_interrupt 370: VBUS error workaround (delay coming)
[ 0.310000] VBUS off (a_wait_vfall) ERROR, devctl 80
[ 0.390000] davincifb davincifb.0: dm_osd0_fb: 1920x1080x16@0,0 with framebuffer size 8100KB
[ 0.390000] davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 10KB
[ 0.390000] davincifb davincifb.0: dm_osd1_fb: 720x576x4@0,0 with framebuffer size 810KB
[ 0.400000] davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 10KB
[ 0.460000] DM365 IPIPEIF probed
[ 0.460000] imp serializer initialized
[ 0.460000] davinci_previewer initialized
[ 0.460000] davinci_resizer initialized
[ 0.460000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.470000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[ 0.940000] console [ttyS0] enabled
[ 0.950000] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[ 0.960000] brd: module loaded
[ 0.970000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
[ 0.980000] Creating 4 MTD partitions on "davinci_nand.0":
[ 0.980000] 0x000000000000-0x0000004a0000 : "bootloader"
[ 0.990000] 0x0000004a0000-0x000000e00000 : "kernel"
[ 1.000000] 0x000000e00000-0x000007f00000 : "filesystem"
[ 1.010000] 0x000000000000-0x000008000000 : "all"
[ 1.020000] davinci_nand davinci_nand.0: controller rev. 2.3
[ 1.030000] UBI: attaching mtd2 to ubi0
[ 1.030000] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.040000] UBI: logical eraseblock size: 126976 bytes
[ 1.040000] UBI: smallest flash I/O unit: 2048
[ 1.050000] UBI: sub-page size: 512
[ 1.050000] UBI: VID header offset: 2048 (aligned 2048)
[ 1.060000] UBI: data offset: 4096
[ 1.540000] UBI: attached mtd2 to ubi0
[ 1.540000] UBI: MTD device name: "filesystem"
[ 1.550000] UBI: MTD device size: 113 MiB
[ 1.550000] UBI: number of good PEBs: 904
[ 1.560000] UBI: number of bad PEBs: 0
[ 1.560000] UBI: max. allowed volumes: 128
[ 1.560000] UBI: wear-leveling threshold: 4096
[ 1.570000] UBI: number of internal volumes: 1
[ 1.570000] UBI: number of user volumes: 0
[ 1.580000] UBI: available PEBs: 891
[ 1.580000] UBI: total number of reserved PEBs: 13
[ 1.590000] UBI: number of PEBs reserved for bad PEB handling: 9
[ 1.590000] UBI: max/mean erase counter: 1/1
[ 1.600000] UBI: image sequence number: 0
[ 1.600000] UBI: background thread "ubi_bgt0d" started, PID 331
[ 1.610000] console [netcon0] enabled
[ 1.610000] netconsole: network logging started
[ 1.620000] Initializing USB Mass Storage driver...
[ 1.620000] usbcore: registered new interface driver usb-storage
[ 1.630000] USB Mass Storage support registered.
[ 1.640000] i2c /dev entries driver
[ 1.640000] Linux video capture interface: v2.00
[ 1.650000] vpfe_init
[ 1.650000] vpfe-capture: vpss clock vpss_master enabled
[ 1.660000] vpfe-capture vpfe-capture: v4l2 device registered
[ 1.660000] vpfe-capture vpfe-capture: video device registered
[ 1.670000] EVM: switch to ambarella video input
[ 1.670000] vpfe-capture vpfe-capture: v4l2 sub device ambarella registered
[ 1.680000] vpfe_register_ccdc_device: DM365 ISIF
[ 1.690000] DM365 ISIF is registered with vpfe.
[ 1.690000] Trying to register davinci display video device.
[ 1.700000] layer=c10acc00,layer->video_dev=c10acd64
[ 1.700000] Trying to register davinci display video device.
[ 1.710000] layer=c10ad000,layer->video_dev=c10ad164
[ 1.720000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
[ 1.720000] watchdog watchdog: heartbeat 1 sec
[ 1.730000] TCP cubic registered
[ 1.730000] NET: Registered protocol family 17
[ 1.740000] lib80211: common routines for IEEE802.11 drivers
[ 2.360000] VBUS on (a_wait_vrise), devctl 01
[ 2.460000] davinci_interrupt 370: VBUS error workaround (delay coming)
[ 2.460000] VBUS off (a_wait_vfall) ERROR, devctl 80
[ 4.510000] VBUS on (a_wait_vrise), devctl 01
[ 4.610000] davinci_interrupt 370: VBUS error workaround (delay coming)
[ 4.610000] VBUS off (a_wait_vfall) ERROR, devctl 80
[ 6.660000] VBUS on (a_wait_vrise), devctl 01
[ 6.760000] davinci_interrupt 370: VBUS error workaround (delay coming)
[ 6.760000] VBUS off (a_wait_vfall) ERROR, devctl 80


I think this is error with USB HUB, because this board dont have USB, and kernel have it in boot option. Same problem with any other kernel, always VBUS. Maybe edit Kernel and disable USB support?
 
Finaly got Live LINUX kernel boot, but still need to work on image.


DM36x initialization passed!
UBL Product Vesion : DJI-GSP-UBL-1.0-rc10(2014-08-15)
Dji UBL Version: 1.51(Aug 15 2014 - 17:05:12)
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
Uboot Checksum:0x7E25B44B
Actua Checksum:0x7E25B44B

U-Boot Product Vesion : DJI-GSP-Uboot-1.0-rc4(2014-07-23)
U-Boot 2010.12-rc2-svn-Dji (Jul 23 2014 - 11:14:40)
Cores: ARM 432 MHz
DDR: 297 MHz
I2C: ready
DRAM: 128 MiB
NAND: 128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
Use the first environment
Net: Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Press ESC to abort autoboot in 1 seconds

Loading from nand0, offset 0x4a0000
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Loading from nand0, offset 0x900000
Image Name: Linux-2.6.32.17-davinci1
Created: 2015-02-12 3:09:59 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3665856 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32.17-davinci1
Created: 2015-02-12 3:09:59 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3665856 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK

Starting kernel ...

[ 0.000000] Kernel Product Vesion : DJI-GRC-Kernel-1.0-rc8(2014-11-21)
[ 0.000000] Linux version 2.6.32.17-davinci1 (u@dji) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Thu Feb 12 11:09:57 HKT 2015
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: DaVinci DM36x EVM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] DaVinci dm36x_rev1.2 variant 0x8
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 12192
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rw dm365_imp.oper_mode=0 video=davincifb:vid0=0,10K:vid1=0,10K:eek:sd0=1920x1080X16,8100K mem=48MB davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs ip=off lpj=1077248
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 48MB = 48MB total
[ 0.000000] Memory: 44836KB available (3304K code, 409K data, 108K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:245
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop (skipped) preset value.. 215.44 BogoMIPS (lpj=1077248)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] DaVinci: 8 gpio irqs
[ 0.000000] NET: Registered protocol family 16
[ 0.080000] bio: create slab <bio-0> at 0
[ 0.080000] SCSI subsystem initialized
[ 0.090000] usbcore: registered new interface driver usbfs
[ 0.090000] usbcore: registered new interface driver hub
[ 0.090000] usbcore: registered new device driver usb
[ 0.100000] cfg80211: Using static regulatory domain info
[ 0.100000] cfg80211: Regulatory domain: US
[ 0.100000] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 0.100000] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 0.100000] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.100000] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 0.100000] cfg80211: Calling CRDA for country: US
[ 0.100000] Switching to clocksource timer0_1
[ 0.110000] musb_hdrc: version 6.0, pio, host, debug=0
[ 0.130000] musb_hdrc: USB Host mode controller at fec64000 using PIO, IRQ 12
[ 0.130000] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 0.130000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[ 0.130000] usb usb1: configuration #1 chosen from 1 choice
[ 0.130000] hub 1-0:1.0: USB hub found
[ 0.130000] hub 1-0:1.0: 1 port detected
[ 0.130000] NET: Registered protocol family 2
[ 0.130000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.130000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.130000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.130000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.130000] TCP reno registered
[ 0.130000] NET: Registered protocol family 1
[ 0.130000] RPC: Registered udp transport module.
[ 0.130000] RPC: Registered tcp transport module.
[ 0.130000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.140000] kfile init
[ 0.140000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.140000] msgmni has been set to 87
[ 0.150000] alg: No test for stdrng (krng)
[ 0.150000] io scheduler noop registered (default)
[ 0.210000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.210000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[ 0.580000] davinci_interrupt 368: VBUS error workaround (delay coming)
[ 0.590000] console [ttyS0] enabled
[ 0.590000] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[ 0.600000] brd: module loaded
[ 0.610000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
[ 0.620000] Creating 4 MTD partitions on "davinci_nand.0":
[ 0.630000] 0x000000000000-0x0000004a0000 : "bootloader"
[ 0.640000] 0x0000004a0000-0x000000e00000 : "kernel"
[ 0.650000] 0x000000e00000-0x000007f00000 : "filesystem"
[ 0.650000] 0x000000000000-0x000008000000 : "all"
[ 0.660000] davinci_nand davinci_nand.0: controller rev. 2.3
[ 0.670000] UBI: attaching mtd2 to ubi0
[ 0.670000] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 0.680000] UBI: logical eraseblock size: 126976 bytes
[ 0.690000] UBI: smallest flash I/O unit: 2048
[ 0.690000] UBI: sub-page size: 512
[ 0.700000] UBI: VID header offset: 2048 (aligned 2048)
[ 0.700000] UBI: data offset: 4096
[ 1.180000] UBI: attached mtd2 to ubi0
[ 1.190000] UBI: MTD device name: "filesystem"
[ 1.190000] UBI: MTD device size: 113 MiB
[ 1.200000] UBI: number of good PEBs: 904
[ 1.200000] UBI: number of bad PEBs: 0
[ 1.210000] UBI: max. allowed volumes: 128
[ 1.210000] UBI: wear-leveling threshold: 4096
[ 1.220000] UBI: number of internal volumes: 1
[ 1.220000] UBI: number of user volumes: 1
[ 1.230000] UBI: available PEBs: 0
[ 1.230000] UBI: total number of reserved PEBs: 904
[ 1.230000] UBI: number of PEBs reserved for bad PEB handling: 9
[ 1.240000] UBI: max/mean erase counter: 3/2
[ 1.250000] UBI: image sequence number: 758217906
[ 1.250000] UBI: background thread "ubi_bgt0d" started, PID 269
[ 1.260000] console [netcon0] enabled
[ 1.260000] netconsole: network logging started
[ 1.270000] Initializing USB Mass Storage driver...
[ 1.270000] usbcore: registered new interface driver usb-storage
[ 1.280000] USB Mass Storage support registered.
[ 1.280000] usbcore: registered new interface driver usbtest
[ 1.290000] i2c /dev entries driver
[ 1.300000] watchdog watchdog: heartbeat 1 sec
[ 1.300000] TCP cubic registered
[ 1.310000] NET: Registered protocol family 17
[ 1.310000] lib80211: common routines for IEEE802.11 drivers
[ 1.320000] ksocket init
[ 2.250000] encrypt device:at88 found
[ 2.270000] mfi_i2c_client addr:17
[ 2.280000] Clocks: disable unused vpss_master
[ 2.280000] Clocks: disable unused mmcsd0
[ 2.280000] Clocks: disable unused mmcsd1
[ 2.280000] Clocks: disable unused spi0
[ 2.280000] Clocks: disable unused spi1
[ 2.280000] Clocks: disable unused spi2
[ 2.280000] Clocks: disable unused spi3
[ 2.280000] Clocks: disable unused spi4
[ 2.280000] Clocks: disable unused pwm0
[ 2.280000] Clocks: disable unused pwm1
[ 2.280000] Clocks: disable unused pwm2
[ 2.280000] Clocks: disable unused pwm3
[ 2.280000] Clocks: disable unused timer1
[ 2.280000] Clocks: disable unused timer3
[ 2.280000] Clocks: disable unused emac
[ 2.280000] Clocks: disable unused voice_codec
[ 2.280000] Clocks: disable unused asp0
[ 2.280000] Clocks: disable unused rto
[ 2.280000] Clocks: disable unused mjcp
[ 2.360000] davinci_emac_probe: using random MAC addr: 86:c3:4e:87:13:cf
[ 2.370000] emac-mii: probed
[ 2.450000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 2.450000] UBIFS: file system size: 110342144 bytes (107756 KiB, 105 MiB, 869 LEBs)
[ 2.460000] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[ 2.470000] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 2.470000] UBIFS: default compressor: lzo
[ 2.480000] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 2.480000] VFS: Mounted root (ubifs filesystem) on device 0:13.
[ 2.490000] Freeing init memory: 108K
[ 2.730000] davinci_interrupt 368: VBUS error workaround (delay coming)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>WM610<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Filesystem Product Vesion : DJI-WM610-Filesystem-1.0-rc3(2014-06-06)
Runing /etc/init.d/rcS
[ 4.220000] CMEMK module: built on Jan 13 2015 at 19:24:09
[ 4.240000] Reference Linux version 2.6.32
[ 4.240000] File /home/DJI2/Project/enc_nohdmi_wm610/src/dvsdk/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 4.260000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 4.290000] heap fallback enabled - will try heap if pool buffer is not available
[ 4.300000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 4.310000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 4.310000] cmemk initialized
[ 4.340000] IRQK module: built on Jan 13 2015 at 19:23:41
[ 4.360000] Reference Linux version 2.6.32
[ 4.360000] File /home/DJI2/Project/enc_nohdmi_wm610/src/dvsdk/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 4.380000] irqk initialized
[ 4.430000] EDMAK module: built on Jan 13 2015 at 19:23:04
[ 4.450000] Reference Linux version 2.6.32
[ 4.450000] File /home/DJI2/Project/enc_nohdmi_wm610/src/dvsdk/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[ 4.560000] usbcore: registered new interface driver usb_68013
[ 4.570000] usb 68013 module init ok
sulogin: no password entry for root
login[369]: root login on 'ttyS0'
#Process /etc/profile...
root@Dji-Pro:~#
encode_usb V00.02.02.00(Nov 3 2015 11:23:52).
Entry Encrypt qury mode
[ 4.880000] davinci_interrupt 368: VBUS error workaround (delay coming)
Init libusb faild!
Auto to detect video input type:
Cannot open /dev/video0 (No such file or directory)
Usage: encode [options]

Options:
-v | --videofile Video file to record to
-y | --display_standard Video standard to use for display (see below).
Same video standard is used at input.
-r | --resolution Video resolution ('width'x'height')
[video standard default]
-b | --videobitrate Bit rate to encode video at [variable]
-g | --gop_interal GOP interval[30]
-w | --watchdog_disable Disable watchDog [watchDog Disabled]
-f | --write_disable Disable recording of encoded file [enabled]
-I | --video_input Video input source [video standard default]
-n | --nooutput don't output the stream [off]
-m | --mode libusb async send mode [off]
-a | --autodetect autodetect the video input port and standard [off]
-s | --serialdata receive data from uart1 and append to h264 stream trail[off]-h | --help Print this message

Video standards available
1 D1 @ 30 fps (NTSC)
2 D1 @ 25 fps (PAL)
3 720P @ 30 fps [Default]
4 720P @ 50 fps - for DM368
5 720P @ 60 fps - for DM368
6 1080I @ 25 fps - for DM368
7 1080I @ 30 fps - for DM368
8 1080P @ 25 fps - for DM368
9 1080P @ 30 fps - for DM368
10 1080P @ 50 fps - for DM368
11 1080P @ 60 fps - for DM368
Video inputs available:
1 Composite
2 HDMI
[ 7.030000] davinci_interrupt 368: VBUS error workaround (delay coming)
 
  • Like
Reactions: Mark The Droner
Nice progress.

Maybe now doing the standard firmware update will work?


root@Dji-Pro:~# ifconfig
eth0 Link encap:Ethernet HWaddr 1A:D1:01:AC:40:39
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:52 Base address:0x7000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@Dji-Pro:~# ls -ls
total 2988
4 -rwxr-xr-x 1 root 0 3571 Mar 29 2015 Vend_Ax.iic
2504 -rwxr-xr-x 1 root 0 2561860 Mar 29 2015 encode_usb
4 -rwxr-xr-x 1 root 0 185 Mar 29 2015 eth0config
40 -rwxr-xr-x 1 root 0 40846 Mar 29 2015 fxload
4 -rwxr-xr-x 1 root 0 1728 Mar 29 2015 loadmodule-rc
108 -rwxr-xr-x 1 root 0 107922 Mar 29 2015 monitor
12 -rwxr-xr-x 1 root 0 10896 Mar 29 2015 mtderase
16 -rwxr-xr-x 1 root 0 14599 Mar 29 2015 mtdwritefile
24 -rwxr-xr-x 1 root 0 22901 Mar 29 2015 setsecurity
4 -rwxr-xr-x 1 root 0 110 Mar 29 2015 sshenable
4 -rwxr-xr-x 1 root 0 44 Mar 29 2015 stop
124 -rwxr-xr-x 1 root 0 125638 Mar 29 2015 update
124 -rwxr-xr-x 1 root 0 126891 Mar 29 2015 update68013
16 -rwxr-xr-x 1 root 0 12457 Mar 29 2015 usbupdate
root@Dji-Pro:~#



Tnx, also now is possible to PING 192.168.1.10, but still need to find solution how to enable UDP stream via Ethernet, and how to enable to config video input from Ambarella to DM36X...
 
but still need to find solution how to enable UDP stream via Ethernet, and how to enable to config video input from Ambarella to DM36X...

If this in anything like Ph3 (and until now, it is), the FW update contains:
- u-boot (which we don't care about that much)
- a proper kernel, with kernel modules required to talk to other chips
- an app binary which does the encoding, with a few shared objects

So after the update, you might have everything working. And if not - you'll at least have the binary to run.
 
I dont know how to update FC200 camera, I know there is one bin file to update board #1 (with Ambarella SoC.), but not sure is that file update firmware too on board #3. For now only ping is possible, but still without video feed.

I was try with kernel from LB and P3 top board. With LB there is no video input config, and with P3 have reset loop:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>WM610<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Filesystem Product Vesion : DJI-WM610-Filesystem-1.0-rc3(2014-06-06)
Runing /etc/init.d/rcS
[ 4.550000] VBUS on (a_wait_vrise), devctl 01
[ 4.650000] davinci_interrupt 370: VBUS error workaround (delay coming)
[ 4.650000] VBUS off (a_wait_vfall) ERROR, devctl 80
[ 4.870000] CMEMK module: built on Jan 13 2015 at 19:24:09
[ 4.890000] Reference Linux version 2.6.32
[ 4.890000] File /home/DJI2/Project/enc_nohdmi_wm610/src/dvsdk/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 4.910000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 4.940000] heap fallback enabled - will try heap if pool buffer is not available
[ 4.960000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 4.970000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 4.970000] cmemk initialized
[ 5.010000] IRQK module: built on Jan 13 2015 at 19:23:41
[ 5.030000] Reference Linux version 2.6.32
[ 5.030000] File /home/DJI2/Project/enc_nohdmi_wm610/src/dvsdk/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 5.050000] irqk initialized
[ 5.120000] EDMAK module: built on Jan 13 2015 at 19:23:04
[ 5.140000] Reference Linux version 2.6.32
[ 5.140000] File /home/DJI2/Project/enc_nohdmi_wm610/src/dvsdk/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[ 5.290000] usbcore: registered new interface driver usb_68013
[ 5.290000] usb 68013 module init ok
sulogin: no password entry for root
login[437]: root login on 'ttyS0'
#Process /etc/profile...
root@Dji-Pro:~#
encode_usb V00.02.02.00(Nov 3 2015 11:23:52).
Entry Encrypt qury mode
[ 6.700000] VBUS on (a_wait_vrise), devctl 01
[ 6.800000] davinci_interrupt 370: VBUS error workaround (delay coming)
[ 6.800000] VBUS off (a_wait_vfall) ERROR, devctl 80
Init libusb faild!
Auto to detect v[ 7.740000] EVM: switch to ambarella video input
ideo input type:
Default video input selected:Hdmi_yuv
Setting video standard to: 0x100000000000000
Capture input set to Hdmi_yuv:11
[ 7.750000] davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
[ 7.760000] davinci_previewer davinci_previewer.2: ipipe_set_preview_config
[ 7.770000] vpfe-capture vpfe-capture: IPIPE Chained
[ 7.770000] vpfe-capture vpfe-capture: Resizer present
Capture videoStd[ 7.780000] EVM: switch to ambarella video input
Old=0000000b
[ 7.790000] vpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1
[ 7.790000] vpfe-capture vpfe-capture: adjusted width = 1280, height = 720, bpp = 1, bytesperline = 1280, sizeimage = 1382400
[ 7.810000] vpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1
[ 7.810000] vpfe-capture vpfe-capture: adjusted width = 1280, height = 720, bpp = 1, bytesperline = 1280, sizeimage = 1382400
videoFrameRate=30000, width=1280, height=720
Venc1.c : minNumOutBufs 2, minOutBufSize[0] 1382400, minOutBufSize[1] 800
GOP interval:30, outBufSize:1382400, enAdpBW:1, airRate=0, slice=6, VUI=4,timeScale=60001
osdThrFxn: process ID is 442 ***********
watchdog timeout:5
ctrlThrFxn: process ID is 434 ***********
stopGetFPGAstatus err!
FPGA[1,0,1,0]-1.000000:0
hdmi status is 1
ARM Load: 64% Video fps: 0 fps Video bit rate: 0 kbps PHY Bandwidth: 0 kbps Time: 00:00:01 Resolution: 1280x720

usb bus error dectected!
umount: can't remount none read-only
umount: mdev busy - remounted read-only
The system is going down NOW!
Sent SIGTERM to all processes

Sent SIGKILL to all processes
Requesting system reboot

How is hard to find working kernel, with Video input and network stream over ethernet (192.168.1.10)
 
Looks like you're right - it's Ambarella FW only. Extractable with:
Code:
./amba_fwpak.py -vvv -s -m fc200_firmware_plus_v1.3.0g.bin

Only Ambarella partitions inside, chip from a5m family.

You will probably need someone to dump firmware from a working board, then.
Or if you want to continue with frankensteining the firmware, find firmware for a device which also sends video stream via wi-fi.

One thing you didn't clearly explained - did you re-flashed the root filesystem, or just found a kernel on which the old one worked?
 
Last edited:
Yes, I was use command nand erase.chip and after that Uboot, UBL,...tmp FS, FS, AT88, kernel,... All parts from P3 and LB.
I will try to modify, but best solution is to find FS and kernel. Or just File System.
 
Good day!

Fantastic work, following closely as I have the same problem after following the repair guide at; DJI Phantom 2 Vision+ Plus Blank Screen Corrupt NAND fix

Seems we have the exact same hardware according to my readout;

Code:
Dji-Pro # DM36x initialization passed!
UBL Product Vesion : DJI-GSP-UBL-1.0-rc10(2014-08-15)
Dji UBL Version: 1.51(Aug 15 2014 - 17:05:12)
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
Uboot Checksum:0x7E25B44B
Actua Checksum:0x7E25B44B

U-Boot Product Vesion : DJI-GSP-Uboot-1.0-rc4(2014-07-23)
U-Boot 2010.12-rc2-svn-Dji (Jul 23 2014 - 11:14:40)
Cores: ARM 432 MHz
DDR:   297 MHz
I2C:   ready
DRAM:  128 MiB
NAND:  128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
*** Warning - bad CRC, using default environment

Net:   Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Press ESC to abort autoboot in 1 seconds

Loading from nand0, offset 0x4a0000
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Loading from nand0, offset 0x900000
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Dji-Pro #

Have another Phantom 2 Vision + with the same symptoms, anything I can do to see if there is a salvageable kernel?

*Update: Both phantoms have exact same firmware issues
 
Last edited:
The most efficient way of fixing that would be for someone to buy a crashed drone and just dump the firmware. Unless someone who already has it is willing to tap to the Live Feed board and dump everything (but I have a feeling this won't gonna happen).

As soon as one person publishes the dumped firmware, all devices of that type are becoming fixable.
 
I see there is a number of people offering repair services on eBay. If only one of them could be cooerced into sharing the firmware...
 
The most efficient way of fixing that would be for someone to buy a crashed drone and just dump the firmware. Unless someone who already has it is willing to tap to the Live Feed board and dump everything (but I have a feeling this won't gonna happen).

As soon as one person publishes the dumped firmware, all devices of that type are becoming fixable.

Dumping NAND is like a having bank account. This is insurance for future, for one day.... We need kernel, and working FileSystem, because all settings is in the FS. But who would like to dump images for P2 Vision and P2 Vision Plus.
 
Good day!

Fantastic work, following closely as I have the same problem after following the repair guide at; DJI Phantom 2 Vision+ Plus Blank Screen Corrupt NAND fix

Seems we have the exact same hardware according to my readout;

Code:
Dji-Pro # DM36x initialization passed!
UBL Product Vesion : DJI-GSP-UBL-1.0-rc10(2014-08-15)
Dji UBL Version: 1.51(Aug 15 2014 - 17:05:12)
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
Uboot Checksum:0x7E25B44B
Actua Checksum:0x7E25B44B

U-Boot Product Vesion : DJI-GSP-Uboot-1.0-rc4(2014-07-23)
U-Boot 2010.12-rc2-svn-Dji (Jul 23 2014 - 11:14:40)
Cores: ARM 432 MHz
DDR:   297 MHz
I2C:   ready
DRAM:  128 MiB
NAND:  128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
*** Warning - bad CRC, using default environment

Net:   Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Press ESC to abort autoboot in 1 seconds

Loading from nand0, offset 0x4a0000
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Loading from nand0, offset 0x900000
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Dji-Pro #

Have another Phantom 2 Vision + with the same symptoms, anything I can do to see if there is a salvageable kernel?

*Update: Both phantoms have exact same firmware issues


Maybe kernel start booting at diff. offset. It is not possible that both kernel are damaged:

** Unknown image type
 
For now I have Linux boot, I can ping Eth0 at 192.168.10, but dont have any opened port.
I need to find solution how video is transmited to WiFi module, is it like a network stream or USB connection, and check how to recive video signal from Ambarella....
 
For now I have Linux boot, I can ping Eth0 at 192.168.10, but dont have any opened port.
I need to find solution how video is transmited to WiFi module, is it like a network stream or USB connection, and check how to recive video signal from Ambarella....
Interesting research you have done so far......I have the Phantom 2 Vision with the FC200 (egg camera) that failed after a DJI firmware update.....tried installing a new FC200 but it too was suffering from the lack of FPV video transmission back to the RC/phone.....I wqorked with a local DJI Dealer and he admitted he has seen this issue many times before and did not have a fix for it.....so I am keenly interested in your progress and hopefully, final solution. Thx.
 
For a good soul who would like to dump the firmware from working board:

The commands below will transfer it via ymodem, divided to 8 parts to avoid losing whole transfer on error.

On Windows, use ExtraPuTTY and after each "lsz" command select "File Transfer -> Ymodem receive".
The 8 parts, when combined, will crate image of the whole NAND.

Code:
dd if=/dev/mtd3 of=/tmp/mtd_part0 bs=1048576 count=16 skip=0
lsz --ymodem -b -8 /tmp/mtd_part0
rm /tmp/mtd_part0

dd if=/dev/mtd3 of=/tmp/mtd_part1 bs=1048576 count=16 skip=16
lsz --ymodem -b -8 /tmp/mtd_part1
rm /tmp/mtd_part1

dd if=/dev/mtd3 of=/tmp/mtd_part2 bs=1048576 count=16 skip=32
lsz --ymodem -b -8 /tmp/mtd_part2
rm /tmp/mtd_part2

dd if=/dev/mtd3 of=/tmp/mtd_part3 bs=1048576 count=16 skip=48
lsz --ymodem -b -8 /tmp/mtd_part3
rm /tmp/mtd_part3

dd if=/dev/mtd3 of=/tmp/mtd_part4 bs=1048576 count=16 skip=64
lsz --ymodem -b -8 /tmp/mtd_part4
rm /tmp/mtd_part4

dd if=/dev/mtd3 of=/tmp/mtd_part5 bs=1048576 count=16 skip=80
lsz --ymodem -b -8 /tmp/mtd_part5
rm /tmp/mtd_part5

dd if=/dev/mtd3 of=/tmp/mtd_part6 bs=1048576 count=16 skip=96
lsz --ymodem -b -8 /tmp/mtd_part6
rm /tmp/mtd_part6

dd if=/dev/mtd3 of=/tmp/mtd_part7 bs=1048576 count=16 skip=112
lsz --ymodem -b -8 /tmp/mtd_part7
rm /tmp/mtd_part7
 
  • Like
Reactions: masterphantom
Maybe this will help, if you can't find it here you need to lQQk elsewhere..
 

Members online

No members online now.

Forum statistics

Threads
143,055
Messages
1,467,298
Members
104,920
Latest member
stovebayen