I have a TMX320DM365 and I'm receiving some errors upon initial boot. As a result of the errors, the demo programs do not work. I have not made any changes to the system. It's dated as February 29th, 2012 on the box, revision H. The boot output is below. You can see I'm getting these "out of memory" errors, and at the end both demos fail. Any input would be greatly appreciated; thanks!
Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2026248 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2026248 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (a0850430@gtlnxlsf02.gt.desi9
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
PLL0: fixedrate: 24000000, commonrate: 121500000, vpssrate: 243000000
PLL0: vencrate: 27000000, ddrrate: 243000000, mmcsdrate: 121500000
PLL1: armrate: 297000000, voicerate: 99000000, vencrate: 74250000
MUX: initialized SPI0_SCLK
MUX: initialized SPI0_SDO)
MUX: initialized SPI0_SDI
MUX: initialized SPI0_SDENA0
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists. Total pages: 29696
Kernel command line: mem=116M console=ttyS0,115200n8 root=/dev/mtdblock3 rw roo0
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 03
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 116MB = 116MB total
Memory: 113152KB available (3497K code, 712K data, 168K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 104 gpio irqs
DM365 IPIPE initialized in Continuous mode
Generic PHY: Registered new driver
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
LogicPD encoder initialized
Avnetlcd encoder initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Mar 2 2009 12:21:46 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_p6
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 16
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 16
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
davincifb davincifb.0: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_p4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 4
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
davinci_ldc initialized
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfac20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfad06000 (irq = 41) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
netconsole: not configured, aborting
Davinci EMAC MII Bus: probed
MAC address is 00:0e:99:03:51:b5
TI DaVinci EMAC Linux version updated 4.0
Linux video capture interface: v2.00
starting ccdc_reset...<7>
End of ccdc_reset...<5>vpfe ccdc capture vpfe ccdc capture.1: vpif_register_dec1
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9P031
TVP514X : nummber of channels = 1
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP514X
Trying to register davinci display video device.
layer=c72e9400,layer->video_dev=c72e9560
Trying to register davinci display video device.
layer=c72e9200,layer->video_dev=c72e9360
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP7002
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x00360000 : "bootloader"
0x00360000-0x003a0000 : "params"
0x003a0000-0x007a0000 : "kernel"
0x007a0000-0x207a0000 : "filesystem1"
0x207a0000-0x307a0000 : "filesystem2"
nand_davinci nand_davinci.0: hardware revision: 2.3
dm_spi.0: davinci SPI Controller driver at 0xc7866000 (irq = 42) use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
MUX: initialized GPIO33
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c7868000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
davinci-mmc davinci-mmc.1: Supporting 4-bit mode
davinci-mmc davinci-mmc.1: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.
ASoC version 0.13.1
AIC3X Audio Codec 0.1
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci DM365 EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
nand_update_bbt: Out of memory
**>> Block 1422 retired
nand_update_bbt: Out of memory
**>> Block 1419 retired
nand_update_bbt: Out of memory
**>> Block 1389 retired
nand_update_bbt: Out of memory
**>> Block 1357 retired
nand_update_bbt: Out of memory
**>> Block 1345 retired
nand_update_bbt: Out of memory
**>> Block 1318 retired
nand_update_bbt: Out of memory
**>> Block 1303 retired
nand_update_bbt: Out of memory
**>> Block 1288 retired
nand_update_bbt: Out of memory
**>> Block 1284 retired
nand_update_bbt: Out of memory
**>> Block 1273 retired
nand_update_bbt: Out of memory
**>> Block 1226 retired
nand_update_bbt: Out of memory
**>> Block 1214 retired
nand_update_bbt: Out of memory
**>> Block 1148 retired
nand_update_bbt: Out of memory
**>> Block 1137 retired
nand_update_bbt: Out of memory
**>> Block 1073 retired
nand_update_bbt: Out of memory
**>> Block 1013 retired
nand_update_bbt: Out of memory
**>> Block 1005 retired
nand_update_bbt: Out of memory
**>> Block 994 retired
nand_update_bbt: Out of memory
**>> Block 990 retired
nand_update_bbt: Out of memory
**>> Block 985 retired
nand_update_bbt: Out of memory
**>> Block 939 retired
nand_update_bbt: Out of memory
**>> Block 928 retired
nand_update_bbt: Out of memory
**>> Block 874 retired
nand_update_bbt: Out of memory
**>> Block 863 retired
nand_update_bbt: Out of memory
**>> Block 854 retired
nand_update_bbt: Out of memory
**>> Block 821 retired
nand_update_bbt: Out of memory
**>> Block 810 retired
nand_update_bbt: Out of memory
**>> Block 801 retired
nand_update_bbt: Out of memory
**>> Block 800 retired
nand_update_bbt: Out of memory
**>> Block 798 retired
nand_update_bbt: Out of memory
**>> Block 745 retired
nand_update_bbt: Out of memory
**>> Block 731 retired
nand_update_bbt: Out of memory
**>> Block 719 retired
nand_update_bbt: Out of memory
**>> Block 655 retired
nand_update_bbt: Out of memory
**>> Block 642 retired
nand_update_bbt: Out of memory
**>> Block 570 retired
nand_update_bbt: Out of memory
**>> Block 558 retired
nand_update_bbt: Out of memory
**>> Block 470 retired
nand_update_bbt: Out of memory
**>> Block 393 retired
nand_update_bbt: Out of memory
**>> Block 372 retired
nand_update_bbt: Out of memory
**>> Block 354 retired
nand_update_bbt: Out of memory
**>> Block 309 retired
nand_update_bbt: Out of memory
**>> Block 281 retired
nand_update_bbt: Out of memory
**>> Block 265 retired
nand_update_bbt: Out of memory
**>> Block 219 retired
nand_update_bbt: Out of memory
**>> Block 199 retired
nand_update_bbt: Out of memory
**>> Block 180 retired
nand_update_bbt: Out of memory
**>> Block 135 retired
nand_update_bbt: Out of memory
**>> Block 107 retired
nand_update_bbt: Out of memory
**>> Block 15 retired
nand_update_bbt: Out of memory
**>> Block 1949 retired
nand_update_bbt: Out of memory
**>> Block 1857 retired
nand_update_bbt: Out of memory
**>> Block 1477 retired
nand_update_bbt: Out of memory
**>> Block 1429 retired
nand_update_bbt: Out of memory
**>> Block 1406 retired
nand_update_bbt: Out of memory
**>> Block 1328 retired
nand_update_bbt: Out of memory
**>> Block 1326 retired
nand_update_bbt: Out of memory
**>> Block 1309 retired
nand_update_bbt: Out of memory
**>> Block 1282 retired
nand_update_bbt: Out of memory
**>> Block 1265 retired
nand_update_bbt: Out of memory
**>> Block 1264 retired
nand_update_bbt: Out of memory
**>> Block 1259 retired
nand_update_bbt: Out of memory
**>> Block 1237 retired
nand_update_bbt: Out of memory
**>> Block 1236 retired
nand_update_bbt: Out of memory
**>> Block 1234 retired
nand_update_bbt: Out of memory
**>> Block 1217 retired
nand_update_bbt: Out of memory
**>> Block 1201 retired
nand_update_bbt: Out of memory
**>> Block 1200 retired
nand_update_bbt: Out of memory
**>> Block 1197 retired
nand_update_bbt: Out of memory
**>> Block 1169 retired
nand_update_bbt: Out of memory
**>> Block 797 retired
nand_update_bbt: Out of memory
**>> Block 796 retired
nand_update_bbt: Out of memory
**>> Block 795 retired
nand_update_bbt: Out of memory
**>> Block 794 retired
nand_update_bbt: Out of memory
**>> Block 793 retired
nand_update_bbt: Out of memory
**>> Block 791 retired
nand_update_bbt: Out of memory
**>> Block 790 retired
nand_update_bbt: Out of memory
**>> Block 789 retired
nand_update_bbt: Out of memory
**>> Block 788 retired
nand_update_bbt: Out of memory
**>> Block 787 retired
nand_update_bbt: Out of memory
**>> Block 784 retired
nand_update_bbt: Out of memory
**>> Block 783 retired
nand_update_bbt: Out of memory
**>> Block 777 retired
nand_update_bbt: Out of memory
**>> Block 776 retired
nand_update_bbt: Out of memory
**>> Block 773 retired
nand_update_bbt: Out of memory
**>> Block 772 retired
nand_update_bbt: Out of memory
**>> Block 771 retired
nand_update_bbt: Out of memory
**>> Block 770 retired
nand_update_bbt: Out of memory
**>> Block 769 retired
nand_update_bbt: Out of memory
**>> Block 766 retired
nand_update_bbt: Out of memory
**>> Block 763 retired
nand_update_bbt: Out of memory
**>> Block 762 retired
nand_update_bbt: Out of memory
**>> Block 761 retired
nand_update_bbt: Out of memory
**>> Block 760 retired
nand_update_bbt: Out of memory
**>> Block 759 retired
nand_update_bbt: Out of memory
**>> Block 758 retired
nand_update_bbt: Out of memory
**>> Block 734 retired
nand_update_bbt: Out of memory
**>> Block 730 retired
nand_update_bbt: Out of memory
**>> Block 718 retired
nand_update_bbt: Out of memory
**>> Block 716 retired
nand_update_bbt: Out of memory
**>> Block 711 retired
nand_update_bbt: Out of memory
**>> Block 704 retired
nand_update_bbt: Out of memory
**>> Block 696 retired
nand_update_bbt: Out of memory
**>> Block 684 retired
nand_update_bbt: Out of memory
**>> Block 676 retired
nand_update_bbt: Out of memory
**>> Block 656 retired
nand_update_bbt: Out of memory
**>> Block 648 retired
nand_update_bbt: Out of memory
**>> Block 644 retired
nand_update_bbt: Out of memory
**>> Block 636 retired
nand_update_bbt: Out of memory
**>> Block 624 retired
nand_update_bbt: Out of memory
**>> Block 622 retired
nand_update_bbt: Out of memory
**>> Block 619 retired
nand_update_bbt: Out of memory
**>> Block 611 retired
nand_update_bbt: Out of memory
**>> Block 603 retired
nand_update_bbt: Out of memory
**>> Block 592 retired
nand_update_bbt: Out of memory
**>> Block 581 retired
nand_update_bbt: Out of memory
**>> Block 573 retired
nand_update_bbt: Out of memory
**>> Block 541 retired
nand_update_bbt: Out of memory
**>> Block 533 retired
nand_update_bbt: Out of memory
**>> Block 525 retired
nand_update_bbt: Out of memory
**>> Block 505 retired
nand_update_bbt: Out of memory
**>> Block 501 retired
nand_update_bbt: Out of memory
**>> Block 499 retired
nand_update_bbt: Out of memory
**>> Block 492 retired
nand_update_bbt: Out of memory
**>> Block 468 retired
nand_update_bbt: Out of memory
**>> Block 464 retired
nand_update_bbt: Out of memory
**>> Block 454 retired
nand_update_bbt: Out of memory
**>> Block 437 retired
nand_update_bbt: Out of memory
**>> Block 430 retired
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 168K
nand_update_bbt: Out of memory
**>> Block 1418 retired
nand_update_bbt: Out of memory
**>> Block 1435 retired
nand_update_bbt: Out of memory
**>> Block 1437 retired
nand_update_bbt: Out of memory
**>> Block 1439 retired
nand_update_bbt: Out of memory
**>> Block 1441 retired
nand_update_bbt: Out of memory
**>> Block 1443 retired
nand_update_bbt: Out of memory
**>> Block 1445 retired
nand_update_bbt: Out of memory
**>> Block 1475 retired
nand_update_bbt: Out of memory
**>> Block 1478 retired
nand_update_bbt: Out of memory
**>> Block 1479 retired
nand_update_bbt: Out of memory
**>> Block 1480 retired
nand_update_bbt: Out of memory
**>> Block 1486 retired
nand_update_bbt: Out of memory
**>> Block 1487 retired
nand_update_bbt: Out of memory
**>> Block 1488 retired
nand_update_bbt: Out of memory
**>> Block 1489 retired
nand_update_bbt: Out of memory
**>> Block 1490 retired
nand_update_bbt: Out of memory
**>> Block 1491 retired
nand_update_bbt: Out of memory
**>> Block 1498 retired
nand_update_bbt: Out of memory
**>> Block 1499 retired
nand_update_bbt: Out of memory
**>> Block 1500 retired
nand_update_bbt: Out of memory
**>> Block 1510 retired
nand_update_bbt: Out of memory
**>> Block 1513 retired
nand_update_bbt: Out of memory
**>> Block 1525 retired
nand_update_bbt: Out of memory
**>> Block 1526 retired
INIT: Entering runlevel: 3
Starting internet superserver: inetd.
Starting audio loopback demo
Starting video loopback demo
audio_loopback: underrun occurred
ths7353_setvalue -start
main : Enter
vpbe_UE_1 : Enter
initializing capture device
ths7353_setvalue -end
ths7353_setvalue -start
setting data format
Detecting if driver supports COMPONENT
input.name = RAW
input.name = RAW-1
input.name = COMPOSITE
input.name = SVIDEO
input.name = COMPONENT
ths7353_setvalue -end
querystd, erorxxx, val = 1, val1 = 1
error: InitDevice:ioctl:VIDIOC_G_INPUT
Error in setting capture format
Failed to intialize capture
main : Leave