Запись в блоге юзера Gol

Издевательства над DJI N1 Video Encoder

DJI N1 video encoder железки

https://store.dji.com/product/n1-video-encoder

Полный размер


Продолжение...



Полный размер


На борту всё тот же DM368, видеовходы HDMI на базе ADV7611 и аналоговый, на базе TVP5151. Как и в бортовой части лайтбриджа, в этой коробочке полезную работу делает процесс encode_usb.

Лог загрузки


DM36x initialization passed!
UBL Product Vesion : DJI-WM610-UBL-1.0-rc4(2014-08-13)
Dji UBL Version: 1.51(Aug 13 2014 - 11:04:49)
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
DONE
Jumping to entry point at 0x81080000.

U-Boot Product Vesion : DJI-ABP-Uboot-1.0-rc5(2015-05-25)
U-Boot 2010.12-rc2-svn2459-Dji (May 25 2015 - 16:50:45)
Cores: ARM 432 MHz
DDR: 340 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-05-28 6:44:08 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4085088 Bytes = 3.9 MiB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32.17-davinci1
Created: 2015-05-28 6:44:08 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4085088 Bytes = 3.9 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK

Starting kernel ...

[ 0.000000] Kernel Product Vesion : DJI-ABP-Kernel-1.1-rc7(2015-05-28)
[ 0.000000] Linux version 2.6.32.17-davinci1 (root@dji) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #18 PREEMPT Thu May 28 14:44:06 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,0:vid1=0,0:osd0=0,0:osd1=0,0 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: 44396KB available (3688K code, 456K 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.030000] EVM: HD imager video input
[ 0.100000] bio: create slab <bio-0> at 0
[ 0.100000] DM365 IPIPE initialized in Continuous mode
[ 0.100000] SCSI subsystem initialized
[ 0.110000] usbcore: registered new interface driver usbfs
[ 0.110000] usbcore: registered new interface driver hub
[ 0.110000] usbcore: registered new device driver usb
[ 0.110000] vpss vpss: dm365_vpss vpss probed
[ 0.110000] vpss vpss: dm365_vpss vpss probe success
[ 0.110000] dm365_afew_hw_init
[ 0.120000] ch0 default output "COMPOSITE", mode "PAL"
[ 0.120000] VPBE Encoder Initialized
[ 0.120000] cfg80211: Using static regulatory domain info
[ 0.120000] cfg80211: Regulatory domain: US
[ 0.120000] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 0.120000] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 0.120000] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.120000] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.120000] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.120000] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 0.120000] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 0.120000] cfg80211: Calling CRDA for country: US
[ 0.120000] LogicPD encoder initialized
[ 0.120000] Switching to clocksource timer0_1
[ 0.130000] musb_hdrc: version 6.0, pio, host, debug=0
[ 0.150000] musb_hdrc: USB Host mode controller at fec64000 using PIO, IRQ 12
[ 0.150000] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 0.150000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[ 0.150000] usb usb1: configuration #1 chosen from 1 choice
[ 0.150000] hub 1-0:1.0: USB hub found
[ 0.150000] hub 1-0:1.0: 1 port detected
[ 0.150000] NET: Registered protocol family 2
[ 0.150000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.150000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.150000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.150000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.150000] TCP reno registered
[ 0.150000] NET: Registered protocol family 1
[ 0.150000] RPC: Registered udp transport module.
[ 0.150000] RPC: Registered tcp transport module.
[ 0.150000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.160000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.160000] msgmni has been set to 86
[ 0.170000] alg: No test for stdrng (krng)
[ 0.170000] io scheduler noop registered (default)
[ 0.220000] DM365 IPIPEIF probed
[ 0.230000] imp serializer initialized
[ 0.230000] davinci_previewer initialized
[ 0.230000] davinci_resizer initialized
[ 0.230000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.230000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[ 0.650000] console [ttyS0] enabled
[ 0.650000] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[ 0.660000] brd: module loaded
[ 0.670000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron NAND 128MiB 3,3V 8-bit)
[ 0.680000] Creating 4 MTD partitions on "davinci_nand.0":
[ 0.690000] 0x000000000000-0x0000004a0000 : "bootloader"
[ 0.700000] 0x0000004a0000-0x000000e00000 : "kernel"
[ 0.700000] 0x000000e00000-0x000007f00000 : "filesystem"
[ 0.710000] 0x000000000000-0x000008000000 : "all"
[ 0.720000] davinci_nand davinci_nand.0: controller rev. 2.3
[ 0.730000] UBI: attaching mtd2 to ubi0
[ 0.730000] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 0.740000] UBI: logical eraseblock size: 126976 bytes
[ 0.740000] UBI: smallest flash I/O unit: 2048
[ 0.750000] UBI: sub-page size: 512
[ 0.750000] UBI: VID header offset: 2048 (aligned 2048)
[ 0.760000] UBI: data offset: 4096
[ 0.890000] usb 1-1: new high speed USB device using musb_hdrc and address 2
[ 1.040000] usb 1-1: configuration #1 chosen from 1 choice
[ 1.040000] hub 1-1:1.0: USB hub found
[ 1.060000] hub 1-1:1.0: 2 ports detected
[ 1.230000] UBI: attached mtd2 to ubi0
[ 1.230000] UBI: MTD device name: "filesystem"
[ 1.240000] UBI: MTD device size: 113 MiB
[ 1.240000] UBI: number of good PEBs: 904
[ 1.250000] UBI: number of bad PEBs: 0
[ 1.250000] UBI: max. allowed volumes: 128
[ 1.250000] UBI: wear-leveling threshold: 4096
[ 1.260000] UBI: number of internal volumes: 1
[ 1.260000] UBI: number of user volumes: 1
[ 1.270000] UBI: available PEBs: 0
[ 1.270000] UBI: total number of reserved PEBs: 904
[ 1.280000] UBI: number of PEBs reserved for bad PEB handling: 9
[ 1.280000] UBI: max/mean erase counter: 18/1
[ 1.290000] UBI: image sequence number: 278366661
[ 1.290000] UBI: background thread "ubi_bgt0d" started, PID 332
[ 1.300000] console [netcon0] enabled
[ 1.300000] netconsole: network logging started
[ 1.310000] Initializing USB Mass Storage driver...
[ 1.320000] usbcore: registered new interface driver usb-storage
[ 1.320000] USB Mass Storage support registered.
[ 1.330000] usbcore: registered new interface driver usbserial
[ 1.330000] usbserial: USB Serial Driver core
[ 1.340000] USB Serial support registered for cp210x
[ 1.340000] usbcore: registered new interface driver cp210x
[ 1.350000] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
[ 1.360000] i2c /dev entries driver
[ 1.360000] Linux video capture interface: v2.00
[ 1.370000] adv761x init
[ 1.370000] vpfe-capture: vpss clock vpss_master enabled
[ 1.380000] vpfe-capture vpfe-capture: v4l2 device registered
[ 1.390000] vpfe-capture vpfe-capture: video device registered
[ 1.390000] EVM: switch to tvp5151 cvbs video input
[ 1.400000] vpfe-capture vpfe-capture: v4l2 sub device tvp5150 registered
[ 1.410000] EVM: switch to adv761x video input
[ 1.410000] adv761x_probe=>Chip found @ 0x4c (adv7611)
[ 1.440000] vpfe-capture vpfe-capture: v4l2 sub device adv761x registered
[ 1.450000] vpfe_register_ccdc_device: DM365 ISIF
[ 1.460000] DM365 ISIF is registered with vpfe.
[ 1.460000] Trying to register davinci display video device.
[ 1.470000] layer=c1198000,layer->video_dev=c1198164
[ 1.470000] Trying to register davinci display video device.
[ 1.480000] layer=c1198400,layer->video_dev=c1198564
[ 1.490000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
[ 1.490000] watchdog watchdog: heartbeat 1 sec
[ 1.500000] TCP cubic registered
[ 1.500000] NET: Registered protocol family 17
[ 1.510000] lib80211: common routines for IEEE802.11 drivers
[ 1.540000] encrypt device:atsha204 found
[ 1.630000] Clocks: disable unused mmcsd0
[ 1.630000] Clocks: disable unused mmcsd1
[ 1.630000] Clocks: disable unused spi0
[ 1.630000] Clocks: disable unused spi1
[ 1.630000] Clocks: disable unused spi2
[ 1.630000] Clocks: disable unused spi3
[ 1.630000] Clocks: disable unused spi4
[ 1.630000] Clocks: disable unused pwm0
[ 1.630000] Clocks: disable unused pwm1
[ 1.630000] Clocks: disable unused pwm2
[ 1.630000] Clocks: disable unused pwm3
[ 1.630000] Clocks: disable unused timer1
[ 1.630000] Clocks: disable unused timer3
[ 1.630000] Clocks: disable unused emac
[ 1.630000] Clocks: disable unused voice_codec
[ 1.630000] Clocks: disable unused asp0
[ 1.630000] Clocks: disable unused rto
[ 1.630000] Clocks: disable unused mjcp
[ 1.700000] nnnn===0
[ 1.700000] davinci_emac_probe: using random MAC addr: ae:f4:08:4c:01:27
[ 1.710000] emac-mii: probed
[ 1.750000] UBIFS: recovery needed
[ 1.810000] UBIFS: recovery completed
[ 1.810000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 1.820000] UBIFS: file system size: 110342144 bytes (107756 KiB, 105 MiB, 869 LEBs)
[ 1.830000] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[ 1.830000] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 1.840000] UBIFS: default compressor: lzo
[ 1.840000] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 1.850000] VFS: Mounted root (ubifs filesystem) on device 0:13.
[ 1.860000] Freeing init memory: 116K

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

Filesystem Product Vesion : DJI-WM610-Filesystem-1.0-rc3(2014-06-06)
Runing /etc/init.d/rcS
[ 3.480000] CMEMK module: built on Jan 14 2014 at 19:23:51
[ 3.500000] Reference Linux version 2.6.32
[ 3.500000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 3.520000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 3.540000] heap fallback enabled - will try heap if pool buffer is not available
[ 3.550000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 3.560000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 3.570000] cmemk initialized
[ 3.590000] IRQK module: built on Jan 14 2014 at 19:23:57
[ 3.610000] Reference Linux version 2.6.32
[ 3.610000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 3.630000] irqk initialized
[ 3.680000] EDMAK module: built on Jan 14 2014 at 19:24:08
[ 3.680000] Reference Linux version 2.6.32
[ 3.700000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[ 3.860000] exFAT: Version 1.2.9
[ 3.900000] usbcore: registered new interface driver usb_68013
[ 3.930000] usb 68013 module init ok
sulogin: no password entry for root
login[461]: root login on 'ttyS0'

#Process /etc/profile...
root@Dji-Pro:~# encrypt check ok
umount: can't umount /mnt/usb: No such file or directory
rmdir: '/mnt/usb': No such file or directory
Init libusb faild!
Auto to detect v[ 6.460000] EVM: switch to adv761x video input
ideo input type:[ 6.470000] adv761x_querystd=>no signal

Default video [ 6.480000] EVM: switch to tvp5151 cvbs video input
input selected:Hdmi_yuv
HDMI input is not connected....
Try to connected CVBS input...
Failed to set video input to 0 (Invalid argument)
[ 9.760000] EVM: switch to adv761x video input
[ 9.760000] adv761x_querystd=>no signal
HDMI input is no[ 9.770000] EVM: switch to tvp5151 cvbs video input
t connected....
Try to connected CVBS input...
Failed to set video input to 0 (Invalid argument)
[ 13.030000] EVM: switch to adv761x video input
[ 13.030000] adv761x_querystd=>no signal
HDMI input is no[ 13.040000] EVM: switch to tvp5151 cvbs video input
t connected....


Ссылки


Файловая система DJI N1 video encoder
Gol      Воскресенье, 3 Апреля, 2016 01:34       8


Добавить комментарий
 

Гость Воскресенье, 22 Мая, 2016 23:43 цитировать ссылка на коммент

Очень нужна помощь
Упал phanto 3 pro и подвес разделился на 2 части
После ремонта подвеса появилась надпись No Signal, камера видео пишет
При попытке прошить пищит ошибку
Осмотр платы подвеса показал что треснут nand MT29F1G08ABAEAH4 (относится к DM368)
nand был заменен но видео не появилось и подвес не прошивается
Ради эксперимента был запаян nand с модуля передатчика phantom 2 vision+
Может есть идеи как и чем можно прошить nand для восстановления подвеса?

 

 

Gol Понедельник, 23 Мая, 2016 08:05 цитировать ссылка на коммент

2 Гость:
Можно попробовать стандартной давинчевой SFH, через BOOTME. Но для этого надо образы рабочие сначала снять. У меня их нету, так что ничем помочь не могу.

 

 

Gol Понедельник, 23 Мая, 2016 09:26 цитировать ссылка на коммент

2 Гость:
В скайпе стукнись к челу с ником memo.problem, может поможет.

 

 

Гость Понедельник, 23 Мая, 2016 14:35 цитировать ссылка на коммент

Есть возможность взять рабочий фантом
Можно подробнее про sfh и bootme
В скайп постучусь
Спасибо

 

 

Гость Четверг, 7 Июля, 2016 01:19 цитировать ссылка на коммент

Hello can anyone help me with the nand flash part number of phantom 2 vision plus?

 

 

Гость Среда, 5 Октября, 2016 03:32 цитировать ссылка на коммент

А где можно почитать про то как слить рабочие образы?
Как зашить уже прочитал на wiki ti

 

 

shick Суббота, 5 Ноября, 2016 18:04 цитировать ссылка на коммент

Привет. При попытке запустить encode_usb выдаёт ошибку GetFPGA status err!

CAN-шина подключена. Что может быть? Есть вариант как-то обойти данную ошибку?

 

 

Гость Вторник, 19 Сентября, 2017 21:26 цитировать ссылка на коммент

Я менял нанд , картинка появилась, но тормозит сильно. Как разобраться в чем проблема?

 

Сколько букв в слове Гол?

Вы вошли как Гость      

Сейчас на сайте: 1 и 12 гостей









Страница сгенерирована за 0.054401874542236 мкс