请问老师,我先将根文件系统带的那个dm816x_1080p_demo.264用命令./decode_a8host_debug.xv5T -i ../data/videos/dm816x_1080p_demo.264 -w 1920 -h 1080 -o sample.yuv -c h264转换成sample.yuv这个文件后,再用命令./display_a8host_debug.xv5T -i ./sample.yuv -d 2 想用电视播放出来,是通过SD接到电视的AV上,结果却在电视显示雪花,请问这可能是什么原因,是不是需要配置什么地方或修改源代码才行啊????
Feng Dong:
你用的什么软件呀?
yun zhou:
回复 Feng Dong:
用的是ezsdk的,在uboot里面我设置了启动参数setenv bootargs 'console=ttyO2,115200n8 notifyk.vpssm3_sva=0xBF900000 ti816xfb.vram=0:16M earlyprintk root=/dev/nfs nfsroot=192.168.1.101:/home/zhouyun/ezsdk/filesystem/rootfs,nolock rw mem=128M vram=16M'
但我发现在启动的最后有这样一些错误提示:
PRCM Initialization completed SysLink version : 2.10.03.20SysLink module created on Date:Apr 29 2012 Time:20:45:11FIRMWARE: I2cInit will be done by M3FIRMWARE: Memory map bin file not passedUsage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]===Mandatory arguments=== <Processor Id> 0: DSP, 1: Video-M3, 2: Vpss-M3 <Location of Firmware> firmware binary file <start|stop> to start/stop the firmware ===Optional arguments=== -mmap input memory map bin file name -i2c 0: i2c init not done by M3, 1(default): i2c init done by M3 FIRMWARE: isI2cInitRequiredOnM3: 1FIRMWARE: Default memory configuration is usedMemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1FIRMWARE: Memory Configuration status : In ProgressFIRMWARE: 1 start SuccessfulLoading HDVPSS FirmwareFIRMWARE: I2cInit will be done by M3FIRMWARE: Memory map bin file not passedUsage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]===Mandatory arguments=== <Processor Id> 0: DSP, 1: Video-M3, 2: Vpss-M3 <Location of Firmware> firmware binary file <start|stop> to start/stop the firmware ===Optional arguments=== -mmap input memory map bin file name -i2c 0: i2c init not done by M3, 1(default): i2c init done by M3 FIRMWARE: isI2cInitRequiredOnM3: 1FIRMWARE: Default memory configuration is usedMemCfg: DCMM (Dynamically Configurable Memory Map) Version : 2.1.2.1FIRMWARE: Memory Configuration status : In ProgressFIRMWARE: 2 start SuccessfulFB: no memory to allocateti81xxfb ti81xxfb: failed to allocate framebufferti81xxfb ti81xxfb: failed to allocate fb memory.ti81xxfb: probe of ti81xxfb failed with error -12open /dev/fb0: No such file or directoryHDMI W1 rev 2.0I2C No Ack
Starting system message bus: dbus.Starting telnet daemon.Starting syslogd/klogd: doneStarting thttpd.Starting Matrix GUI application.
上面的发现了fb相关的错误,不知道是不是有什么影响?
FB: no memory to allocateti81xxfb ti81xxfb: failed to allocate framebufferti81xxfb ti81xxfb: failed to allocate fb memory.ti81xxfb: probe of ti81xxfb failed with error -12open /dev/fb0: No such file or directory
yueping Tian:
回复 yun zhou:
问下 你的问题解决了吗? 怎么解决的?