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

Linux is the OS on target chip. How you connect to it is up to you.
ExtraPuTTY is still the same program, just with extras.
Ah, okay, yeah sorry I think I misinterpreted the Linux bit.

I've only ever used PuTTY for connecting over IP but I'm sure I'll figure it out.
 
I've only ever used PuTTY for connecting over IP but I'm sure I'll figure it out.
See "Connecting to the debug serial interface " here:
 
Has anyone done this yet? I would be willing to do it.

I got a F2V with the live feed not working a couple of years ago with the intention of fixing it, then of course researched it and found it wasn't possible. I ended up buying 2 other FC200s that were sold as "untested" but of course they didn't work either. But now I have another F2V where the live feed still works, so I'd love to use that to fix the others that I've got.

I'm competent at soldering and I've done this type of thing before, just not with these devices, so if someone can guide me through it I'd much appreciate it.

Hi fadetonoir,
welcome on board and thank you for your willingness to tinker on a functioning egg camera to help the community.

First you have to take out the Live View Encoder Board from your egg, take a look here: Teardown with Pictures for Phantom Vision FC200 Camera

Next you have to connect the LVE Board to you computer by an USB-to-TTL adapter, the setup should be:
- 3V to TP8
- GND to TP3
- TX/RX to TP1 and TP2
to locate the TP pads on the board, look at the images on this page: o-gs/dji-firmware-tools

Good work!
 
alright, i've got a hold of a working board. heres the log from putty on the board. it looks completely different than the other boards ive seen. after a while it eventually enters in a loop ( i think)
what do i need to do to extract firmware from the board? im new to putty so extra details or a good link to something that will point me in the right direction would be appreciated.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.04.30 14:11:25 =~=~=~=~=~=~=~=~=~=~=~= 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. DONE Jumping to entry point at 0x81080000. U-Boot 2010.12-rc2 (Sep 04 2013 - 20:37:37) Cores: ARM 297 MHz DDR: 243 MHz I2C: ready DRAM: 128 MiB NAND: boot ==1 uboot-v1.0-uboot-block0 128 MiB MMC: davinci: 0, davinci: 1 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Net: Read from EEPROM @ 0x50 failed Ethernet PHY: GENERIC @ 0xff DaVinci-EMAC Hit any key to stop autoboot: 0 Loading from nand0, offset 0x680000 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 ... 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:osd0=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:off 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: 69/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=c1120c00,layer->video_dev=c1120d70 Trying to register davinci display video device. layer=c1121000,layer->video_dev=c1121170 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: 1a:df:66:37:5a:ad 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 NET: Registered protocol family 10 Could not load host key: /usr/local/etc/ssh_host_ecdsa_key pdi=1073 pdi=0 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 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: 71% 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
 
I'm just jumping in on this discussion. I also have a Phantom 2 Vision (non plus) and have the FPV board out of the FC200 camera and ready to flash with a USB TTL adapter. Looking forward to figuring this out!
 
what do i need to do to extract firmware from the board?

You are in Linux Shell. Read about that to learn the commands.

Check if you have command prompt by pressing "enter" a few times. line with "$" or "#" -> you have it; empty line -> you don't.
If no command prompt, try ctrl+c to terminate the process which blocks the console.

When you have cmd prompt, first you need to terminate the encoding process so it won't continue displaying stuff (assuming it still does). Sometimes there is a script for that, called 'stop'. Try to execute it.
If no such script, then you need to find the problematic process. Use "ps -a" to list processes, then "kill" or "pkill" to terminate the encoding one.
 
You are in Linux Shell. Read about that to learn the commands.

Check if you have command prompt by pressing "enter" a few times. line with "$" or "#" -> you have it; empty line -> you don't.
If no command prompt, try ctrl+c to terminate the process which blocks the console.

When you have cmd prompt, first you need to terminate the encoding process so it won't continue displaying stuff (assuming it still does). Sometimes there is a script for that, called 'stop'. Try to execute it.
If no such script, then you need to find the problematic process. Use "ps -a" to list processes, then "kill" or "pkill" to terminate the encoding one.

I’ll give it a shot in the morning. From what I could tell I had command prompt, but I’m just not familiar with this stuff. I’ll do some digging on how to identify the encoding process and update soon.
I’m assuming once I stop the process I can use the script you posted a couple pages ago to build the firmware image we’re looking for?
 
Once in several boots, my board seems to start properly. The primary kernel seems to be fine. Below is my log. If the board is starting up normally, I cannot abort the autoboot procedure. Something is wrong.
Ok, I managed somehow to get into the console. After executing "dd if=/dev/mtd3 of=/tmp/mtd_part0 bs=1048576 count=16 skip=0" I got "dd: can't open '/dev/mtd3': No such file or directory" there are only mtd0 mtd1 and mtd2 under /dev.
 
After executing "dd if=/dev/mtd3 of=/tmp/mtd_part0 bs=1048576 count=16 skip=0" I got "dd: can't open '/dev/mtd3': No such file or directory" there are only mtd0 mtd1 and mtd2 under /dev.

That's a birt wierd.. the log above suggested there is mtd3:

Code:
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

Anyway, dump all the partitions you have, at least we'll have kernel.
Also, check if there's something starting with `ubi` in the `/dev`.
 
after another reboot there are mtd0 mtd1 and mtd3, strange. Indeed I can see what you typed, but now there is another issue "dd: can't open '/tmp/mtd_part0': No such file or directory"
 
There is something like /tmp mounting point does not exist
Code:
DM36x initialization passed!
TI UBL Version: 1.50
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 2010.12-rc2 (Sep 04 2013 - 20:37:37)

Cores: ARM 297 MHz
DDR:   243 MHz
I2C:   ready
DRAM:  128 MiB
NAND:  boot ==1
uboot-v1.0-uboot-block0
128 MiB
MMC:   davinci: 0, davinci: 1
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
Net:   Read from EEPROM @ 0x50 failed
Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Hit any key to stop autoboot:  0

Loading from nand0, offset 0x680000
   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:osd0=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.2.2:255.255.255.0::eth0:off
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: 55/0
UBI: image sequence number: 2012730766
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=c109cc00,layer->video_dev=c109cd70
Trying to register davinci display video device.
layer=c109d000,layer->video_dev=c109d170
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: 0e:b0:d8:14:2b:5a
emac-mii: probed
IP-Config: Gateway not on directly connected network.
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
^C^C^C^C


INIT: Entering runlevel: 5
^CCMEMK 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
^CEDMAK 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
^C^C^C
root@Dji-weifs:~#
root@Dji-weifs:~#
root@Dji-weifs:~# stop
-sh: stop: not found
root@Dji-weifs:~#
root@Dji-weifs:~#
root@Dji-weifs:~# dd if=/dev/mtd3 of=/tmp/mtd_part0 bs=1048576 count=16 skip=0
dd: can't open '/tmp/mtd_part0': No such file or directory
root@Dji-weifs:~# dd if=/dev/mtd3 of=/tmp/mtd_part0 bs=1048576 count=16 skip=0
dd: can't open '/tmp/mtd_part0': No such file or directory
root@Dji-weifs:~# cd /dev
root@Dji-weifs:/dev# ls
cmem               ptyp8              shm                tty4
console            ptyp9              tty                tty40
davinci_previewer  ptypa              tty0               tty41
davinci_resizer    ptypb              tty1               tty42
device             ptypc              tty10              tty43
dm365_aew          ptypd              tty11              tty44
dm365_af           ptype              tty12              tty45
dm365mmap          ptypf              tty13              tty46
edma               ptyq0              tty14              tty47
fb0                ptyq1              tty15              tty48
fb1                ptyq2              tty16              tty49
fb2                ptyq3              tty17              tty5
fb3                ptyq4              tty18              tty50
full               ptyq5              tty19              tty51
initctl            ptyq6              tty2               tty52
irqk               ptyq7              tty20              tty53
kmem               ptyq8              tty21              tty54
kmsg               ptyq9              tty22              tty55
mtd0               ptyqa              tty23              tty56
mtd1               ptyqb              tty24              tty57
mtd3               ptyqc              tty25              tty58
mtdblock0          ptyqd              tty26              tty59
mtdblock1          ptyqe              tty27              tty6
mtdblock2          ptyqf              tty28              tty60
mtdblock3          ptyr0              tty29              tty61
null               ptyr1              tty3               tty62
ptmx               ptyr2              tty30              tty63
pts                ptyr3              tty31              tty7
ptyp0              ptyr4              tty32              tty8
ptyp1              ptyr5              tty33              tty9
ptyp2              ptyr6              tty34              ttyS0
ptyp3              ptyr7              tty35              ttyS1
ptyp4              ptyr8              tty36              video0
ptyp5              ptyr9              tty37              video2
ptyp6              ram0               tty38              video3
ptyp7              random             tty39              zero
root@Dji-weifs:/dev# cd /tmp
-sh: cd: can't cd to /tmp
root@Dji-weifs:/dev# ls
cmem               ptyp8              shm                tty4
console            ptyp9              tty                tty40
davinci_previewer  ptypa              tty0               tty41
davinci_resizer    ptypb              tty1               tty42
device             ptypc              tty10              tty43
dm365_aew          ptypd              tty11              tty44
dm365_af           ptype              tty12              tty45
dm365mmap          ptypf              tty13              tty46
edma               ptyq0              tty14              tty47
fb0                ptyq1              tty15              tty48
fb1                ptyq2              tty16              tty49
fb2                ptyq3              tty17              tty5
fb3                ptyq4              tty18              tty50
full               ptyq5              tty19              tty51
initctl            ptyq6              tty2               tty52
irqk               ptyq7              tty20              tty53
kmem               ptyq8              tty21              tty54
kmsg               ptyq9              tty22              tty55
mtd0               ptyqa              tty23              tty56
mtd1               ptyqb              tty24              tty57
mtd3               ptyqc              tty25              tty58
mtdblock0          ptyqd              tty26              tty59
mtdblock1          ptyqe              tty27              tty6
mtdblock2          ptyqf              tty28              tty60
mtdblock3          ptyr0              tty29              tty61
null               ptyr1              tty3               tty62
ptmx               ptyr2              tty30              tty63
pts                ptyr3              tty31              tty7
ptyp0              ptyr4              tty32              tty8
ptyp1              ptyr5              tty33              tty9
ptyp2              ptyr6              tty34              ttyS0
ptyp3              ptyr7              tty35              ttyS1
ptyp4              ptyr8              tty36              video0
ptyp5              ptyr9              tty37              video2
ptyp6              ram0               tty38              video3
ptyp7              random             tty39              zero
root@Dji-weifs:/dev# dd if=/dev/mtd3 of=/tmp/mtd_part0 bs=1048576 count=16 skip=
0
dd: can't open '/tmp/mtd_part0': No such file or directory
root@Dji-weifs:/dev# cd /tmp
-sh: cd: can't cd to /tmp
root@Dji-weifs:/dev# touch mtd_part0
root@Dji-weifs:/dev# ls
cmem               ptyp8              tty                tty41
console            ptyp9              tty0               tty42
davinci_previewer  ptypa              tty1               tty43
davinci_resizer    ptypb              tty10              tty44
device             ptypc              tty11              tty45
dm365_aew          ptypd              tty12              tty46
dm365_af           ptype              tty13              tty47
dm365mmap          ptypf              tty14              tty48
edma               ptyq0              tty15              tty49
fb0                ptyq1              tty16              tty5
fb1                ptyq2              tty17              tty50
fb2                ptyq3              tty18              tty51
fb3                ptyq4              tty19              tty52
full               ptyq5              tty2               tty53
initctl            ptyq6              tty20              tty54
irqk               ptyq7              tty21              tty55
kmem               ptyq8              tty22              tty56
kmsg               ptyq9              tty23              tty57
mtd0               ptyqa              tty24              tty58
mtd1               ptyqb              tty25              tty59
mtd3               ptyqc              tty26              tty6
mtd_part0          ptyqd              tty27              tty60
mtdblock0          ptyqe              tty28              tty61
mtdblock1          ptyqf              tty29              tty62
mtdblock2          ptyr0              tty3               tty63
mtdblock3          ptyr1              tty30              tty7
null               ptyr2              tty31              tty8
ptmx               ptyr3              tty32              tty9
pts                ptyr4              tty33              ttyS0
ptyp0              ptyr5              tty34              ttyS1
ptyp1              ptyr6              tty35              video0
ptyp2              ptyr7              tty36              video2
ptyp3              ptyr8              tty37              video3
ptyp4              ptyr9              tty38              zero
ptyp5              ram0               tty39
ptyp6              random             tty4
ptyp7              shm                tty40
root@Dji-weifs:/dev# dd if=/dev/mtd3 of=/tmp/mtd_part0 bs=1048576 count=16 skip=
0
dd: can't open '/tmp/mtd_part0': No such file or directory
root@Dji-weifs:/dev#
root@Dji-weifs:/dev#
 
NOw I realized that I could not got to /tmp

Oh right, the issue is in the logs:
Code:
mount: mount point /tmp does not exist

Try this:
Code:
mount -t tmpfs -o size=20m tmpfs /tmp

Also, it's possible there are ramdisks in '/dev/shm' and '/var/volatile'. Use 'mount' without parameters to see them, and 'df' to see their size.
In case of issues, you may use these (if they exist) or 'umount' them to make more space for creation of the ramdisk in '/tmp'.

Your final option would be to transfer the whole partition directly. But that may take long, and on error you'll lose the whole transfer.
 
Habb and szupek,
please can you confirm you hardware setup to turn on the board: power to TP8 pad or even something else? 5V or 3V?
Thank you

After numerous reflashing of the bootloader I'm still stuck with the boot loop, I can't get him to try load the kernel...
 
Habb and szupek,
please can you confirm you hardware setup to turn on the board: power to TP8 pad or even something else? 5V or 3V?
Thank you

After numerous reflashing of the bootloader I'm still stuck with the boot loop, I can't get him to try load the kernel...
So I’m actually using a bench power supply to power the board with 5v (yes it needs 5v and powering it from your usb post is probably fine here) 3.3v to bsel also comes from my power supply (the 3.3v on tp10 isn’t very accurate. Mine was something like 2.6v and would continue to loop.) I think this is what is causing your/our hang issue.
no special wizardry with the process. You will have to terminate the loop once and rerun the script. To my knowledge the bootloader posted for similar dm36x chips works just fine and is not causing any issues.
 
@quaddamage, can you have a look at a log I pasted below. The board starts once in a few trials, I pasted three power ups - two failed to bootup on third, it was succesful. On eevery powerup it shows DM36x initialization passed.
1. Does it mean that my bootloader is fine and my boot image is corrupted? (why it starts sometimes?
2. I am not sure how to stop decoding process, I've never managed to stop autoboot, I am only succesful with Ctrl+C, but like in example pasted below it seems that if I am doing it too often, the cli is blocked for 5 minutes (INIT: Id "S" respawning too fast: disabled for 5 minutes)
3. I am a total noob at Linux, but @popeye, did you use p2v+ ubl and uboot files? I recall that in case p2v+ part after loading from nand0 is diffrent. In case of primary kernel the offset was like 0x46.... and for recovery 0x900... . Here I can see diffrent value for the primary one. Also in case of p2v in a log below, you can see (Data Size: 2118348 Bytes = 2 MiB), in p2v+ it was 4MB if I remember well. @quaddamage does it make any diffrence or it is only about loading a kernel?
4. I will try to do what you described, however can you tell me how to transfer specific partition directly in case I fail?



Code:
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...
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...
DM36x initialization passed!
TI UBL Version: 1.50
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 2010.12-rc2 (Sep 04 2013 - 20:37:37)

Cores: ARM 297 MHz
DDR:   243 MHz
I2C:   ready
DRAM:  128 MiB
NAND:  boot ==1
uboot-v1.0-uboot-block0
128 MiB
MMC:   davinci: 0, davinci: 1
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
Net:   Read from EEPROM @ 0x50 failed
Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Hit any key to stop autoboot:  0

Loading from nand0, offset 0x680000
   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:osd0=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.2.2:255.255.255.0::eth0:off
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: 55/0
UBI: image sequence number: 2012730766
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=c17fcc00,layer->video_dev=c17fcd70
Trying to register davinci display video device.
layer=c17fd000,layer->video_dev=c17fd170
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: e2:5a:d3:b5:3c:60
emac-mii: probed
IP-Config: Gateway not on directly connected network.
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
INIT: Entering runlevel: 5
^CCMEMK 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
^CIRQK 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
^Cawk: /proc/devices: No such file or directory
BusyBox v1.13.2 (2011-03-24 18:58:44 CDT) multi-call binary

Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

Options:
        -m      Create the special file using the specified mode (default a=rw)
TYPEs include:
        b:      Make a block device
        c or u: Make a character device
        p:      Make a named pipe (MAJOR and MINOR are ignored)

^C^C^C^C

stop
INIT: Id "S" respawning too fast: disabled for 5 minutes
.
 
Also what prompter should I expect? now I have something like ~# previously there were some letters(something root@Dji-weifs).
now I have all mtds
Code:
cmem               fb2                mtdblock0          tty1
console            fb3                mtdblock1          tty2
davinci_previewer  full               mtdblock2          ttyS0
davinci_resizer    initctl            mtdblock3          ttyS1
device             irqk               null               video0
dm365_aew          kmem               ptmx               video2
dm365_af           kmsg               pts                video3
dm365mmap          mtd0               ram0               zero
edma               mtd1               random
fb0                mtd2               shm
fb1                mtd3               tty0

@quaddamage
/ # mount -t tmpfs -o size=20m tmpfs /tmp
mount: mount point /tmp does not exist

there is nothing under /dev/shm, /var is also empty

@popeye I am using 5V, connections are with pads described on github, 4 pads next to reach other


result of a mount command:

Code:
/var # mount
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
/dev/mtdblock3 on /mnt/nand type jffs2 (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
mdev on /dev type tmpfs (rw)
/var #


Now, by randomly pressing Ctrl+C I managed to get to another prompter :|
Code:
DM36x initialization passed!
TI UBL Version: 1.50
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 2010.12-rc2 (Sep 04 2013 - 20:37:37)

Cores: ARM 297 MHz
DDR:   243 MHz
I2C:   ready
DRAM:  128 MiB
NAND:  boot ==1
uboot-v1.0-uboot-block0
128 MiB
MMC:   davinci: 0, davinci: 1
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
Net:   Read from EEPROM @ 0x50 failed
Ethernet PHY: GENERIC @ 0xff
DaVinci-EMAC
Hit any key to stop autoboot:  0

Loading from nand0, offset 0x680000
   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:osd0=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.2.2:255.255.255.0::eth0:off
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.60 BogoMIPS (lpj=245760)
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: 55/0
UBI: image sequence number: 2012730766
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: 72:b5:54:a4:a6:11
emac-mii: probed
IP-Config: Gateway not on directly connected network.
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
^CIRQK 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
^CNET: Registered protocol family 10

root@Dji-weifs:~#
root@Dji-weifs:~#
root@Dji-weifs:~#
root@Dji-weifs:~#
root@Dji-weifs:~#
root@Dji-weifs:~#
 
Last edited:
And I got to a point where I cannot transfer a file using Ymodem. No reaction for a few minutes. I am wondering why I have two ramdisk mounted - maybe this could be a problem. but the board is just after a restart and I executed mounting command only once.

ymodem problem.PNG
 

Members online

No members online now.

Forum statistics

Threads
143,107
Messages
1,467,690
Members
104,992
Latest member
Johnboy94