This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Proper bootargs Settings for DM6446 EVM?

Other Parts Discussed in Thread: TVP5146

Hello!

 

While working off site with another engineer for one of my clients, we got a (DSP side) codec server and associated client (ARM side) application up and running fine. However, we failed to save the various uboot environment variables, and when we got back, some modifications were made to the bootargs, and the application started to segment fault.

 

We were able to get the application to stop segment faulting by changing the resolution specified in the bootargs. However, now, the OSD adds weird diagonal lines to the output. Also, now the kernel complains about not being able to load the AEW driver and the I2C driver is outputting errors (see below).

 

Here are our current uboot environment variable settings:

 

 

bootdelay=3
baudrate=115200
nfshost=10.0.1.60
hostname=DM6446EVM
bootfile="uImage"
filesize=167e28
fileaddr=80700000
netmask=255.255.0.0
ipaddr=10.0.1.61
serverip=10.0.1.60
rootpath=/opt/montavista4/pro/devkit/arm/v5t_le/target
gatewayip=10.0.1.1
bootcmd=tftp ; bootm ${fileaddr}
setbootargs=setenv bootargs console=ttyS0,${baudrate}n8 noinitrd rw ip=${ipaddr} root=/dev/nfs nfsroot=${nfshost}:${root
path},nolock mem=120M video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr
.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=$(videostd)
bootargs=console=ttyS0,115200n8 noinitrd rw ip=10.0.1.61 root=/dev/nfs nfsroot=10.0.1.60:/opt/montavista4/pro/devkit/arm
/v5t_le/target,nolock mem=120M video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci
_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=ntsc
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:5c:fa
videostd=ntsc

 

 

Here is the kernel boot output:

 

 

Starting kernel ...

Uncompressing Linux.....................................................................................................
Linux version 2.6.10_mvl401-davinci_evm (darwin@localhost.localdomain) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.104.060
0975 2006-07-06)) #1 Wed Nov 19 16:29:56 PST 2008
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
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
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
DM6443
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=10.0.1.61 root=/dev/nfs nfsroot=10.0.1.60:/opt/montavista4/pr
o/devkit/arm/v5t_le/target,nolock mem=120M video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2
025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=ntsc
PID hash table entries: 512 (order: 9, 8192 bytes)
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: 120MB = 120MB total
Memory: 118272KB available (2698K code, 551K data, 180K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
DaVinci: 71 gpio irqs
Registering platform device 'serial8250.0'. Parent at platform
Registering platform device 'musb_hdrc'. Parent at platform
Registering platform device 'mmc.0'. Parent at platform
DaVinci I2C DEBUG: 16:27:17 Nov 19 2008
Registering platform device 'i2c'. Parent at platform
ch0 default output "COMPOSITE", mode "NTSC"
MUX: initialized LOEEN
MUX: initialized LFLDEN
VPBE Encoder Initialized
LogicPD encoder initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
musb_hdrc: version 2.2a/db-0.4.8 [cppi-dma] [host] [debug=0]
musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
musb_hdrc: MHDRC RTL version 1.300
musb_hdrc: USB Host mode controller at c8002000 using DMA, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
MUX: initialized MCBSP0
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Nov 19 2008 16:26:45 Installing.
Registering platform device 'davincifb.0'. Parent at platform
davincifb davincifb.0: dm_osd0_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 2025KB
davincifb davincifb.0: dm_vid0_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_vid0_fb: 720x576x16@0,0 with framebuffer size 2500KB
davincifb davincifb.0: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb.0: dm_vid1_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_vid1_fb: 720x576x16@0,0 with framebuffer size 2500KB
watchdog: TI DaVinci Watchdog Timer: timer margin 64 sec
Registering platform device 'davinci_resizer.2'. Parent at platform
Registering platform device 'davinci_previewer.2'. Parent at platform
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
Registering platform device 'ti_davinci_emac'. Parent at platform
TI DaVinci EMAC: MAC address is 00:0e:99:02:5c:fa
TI DaVinci EMAC Linux version updated 5.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
Registering platform device 'DavinciDisplay.1'. Parent at platform
Trying to register davinci display video device.
layer=c77d5c00,layer->video_dev=c77d5d64
Trying to register davinci display video device.
layer=c77d5a00,layer->video_dev=c77d5b64
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

 Davici AEW Driver cannot be loaded
 VIDEO PORT is not enabledData Flow path from CCDC is disabled

 Davinci AF driver cannot be loaded
 VIDEO PORT is not enabled
 CCDC needs to be configured<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
MUX: initialized HDIREN
MUX: initialized ATAEN
hda: TOSHIBA MK4032GAX, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
hda: max request size: 1024KiB
hda: 78140160 sectors (40007 MB), CHS=16383/255/63
 hda: hda1 hda2
    ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
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.0:USB HID core driver
mice: PS/2 mouse device common for all mice
mmc mmc.0: Supporting 4-bit mode
mmc mmc.0: Using DMA mode
Registering platform device 'davinci-audio.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
      device=eth0, addr=10.0.1.61, mask=255.0.0.0, gw=255.255.255.255,
     host=10.0.1.61, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=10.0.1.60, rootpath=
Looking up port of RPC 100003/2 on 10.0.1.60
Looking up port of RPC 100005/1 on 10.0.1.60
VFS: Mounted root (nfs filesystem).
Freeing init memory: 180K
INIT: version 2.85 booting
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
Activating swap...done.
Remounting root filesystem...done.
Calculating module dependencies
Loading modules:
Checking all file systems: fsck
fsck 1.35 (28-Feb-2004)
Mounting local filesystems: mount nothing was mounted
Cleaning: /tmp /var/lock /var/run done.
Setting up networking (ifupdown) ..
Cleaning: /etc/network/run/ifstate done.
Starting network interfaces: done.
Starting hotplug subsystem:
   pci
   pci      [success]
   usb
   usb      [success]
   isapnp
   isapnp   [success]
   ide
   ide      [success]
   input
   input    [success]
   scsi
   scsi     [success]
done.
Starting portmap daemon: portmap.
done.
Setting pseudo-terminal access permissions...done.
Updating /etc/motd...done.
INIT: Entering runlevel: 3
Starting NFS common utilities: statd lockd.
Starting internet superserver: inetd.
Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista Software,Inc.
mvltd[1042]: can't send broadcast message: Network is unreachable
mvltd[1042]: can't send broadcast message: Network is unreachable
mvltd[1043]: started on port 34577

 

 

Does anyone know what the appropriate bootargs settings are?

 

Have a great day!

 

Take care,

Darwin