Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1300047
  • 博文数量: 548
  • 博客积分: 7597
  • 博客等级: 少将
  • 技术积分: 4224
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-15 13:21
个人简介

嵌入式软件工程师&&太极拳

文章分类

全部博文(548)

文章存档

2014年(10)

2013年(76)

2012年(175)

2011年(287)

分类:

2011-03-04 18:08:19

【ramdisk】:
setenv bootargs console=ttyS2,115200n8 root=/dev/ram initrd=0x81600000,40M omapdss.def_disp=dvi omapfb.mode=lcd:800x480
setenv bootargs console=ttyS2,115200n8 root=/dev/ram initrd=0x81600000,40M omap-dss.def_disp=tv video=omapfb:mode:ntsc
setenv bootcmd 'mmcinit;fatload mmc 0 80300000 uImage;fatload mmc 0 81600000 ramdisk.gz;bootm 80300000'

【UBIFS】:
setenv bootargs console=ttyS2,115200n8 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs
setenv bootcmd nand read 80300000 280000 300000\;bootm 80300000
setenv bootcmd 'mmc init;fatload mmc 0 80300000 uImage;bootm 80300000'
sudo /usr/local/toolchain/bin/mkfs.ubifs -r rootfs -m 2048 -e 129024 -c 1996 -o ubifs.img
sudo /usr/local/toolchain/bin/ubinize -o ubi.img -m 2048 -p 128KiB -s 512 /usr/local/toolchain/ubinize.cfg
【angstrom】:
setenv bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait video=omapfb:mode:720p60
setenv bootcmd 'mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000'
ifconfig eth0 192.192.192.90
route add default gw 192.192.192.101
【android】:
setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2 init=/init rootwait androidboot.console=ttyS2 omapdss.def_disp=lcd omapfb.mode=lcd:800x480
setenv bootcmd 'mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000'
setenv bootargs console=ttyS2,115200n8 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs init=/init androidboot.console=ttyS2 omapdss.def_disp=lcd omapfb.mode=lcd:800x480
setenv bootcmd 'nand read 80300000 280000 300000;bootm 80300000'
setenv bootargs console=ttyS2,115200n8 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs init=/init androidboot.console=ttyS2 omapfb.mode=dvi:1024x768MR-16 omapdss.def_disp="dvi" mem=256M ip=off omap_vout.vid1_static_vrfb_alloc=y
mount -t vfat /dev/block/mmcblk0p1 /sdcard
setprop EXTERNAL_STORAGE_STATE mounted
am broadcast -a android.intent.action.MEDIA_MOUNTED --ez read-only false -d
网络支持:
ifconfig eth0 192.192.192.90
ifconfig eth0 up
route add default gw 192.192.192.101 dev eth0
setprop net.dns1 202.96.134.133
【dvsdk】:
set bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait video=omapfb:mode:7inch_LCD
setenv bootcmd 'mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000'
./decode -v /opt/dvsdk/omap3530/data/videos/davincieffect_ntsc_1.m4v -a /opt/dvsdk/omap3530/data/sounds/davincieffect_HEv2.aac -O dvi -y 2
echo DVI > /sys/class/display_control/omap_disp_control/ch0_output
echo LCD > /sys/class/display_control/omap_disp_control/ch0_output
echo VGA > /sys/class/display_control/omap_disp_control/ch0_output
echo channel1 > /sys/class/display_control/omap_disp_control/graphics
echo 720P > /sys/class/display_control/omap_disp_control/ch0_mode
echo ntsc_m > /sys/class/display_control/omap_disp_control/ch1_mode
echo DVI > /sys/class/display_control/omap_disp_control/ch0_output
echo SVIDEO > /sys/class/display_control/omap_disp_control/ch1_output
echo channel1 > /sys/class/display_control/omap_disp_control/video1
【gstreamer】:
AVI: gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc location=/mnt/konfu.avi ! typefind ! avidemux name=demux demux.audio_00 ! queue max-size-buffers=1200 max-size-time=0 max-size-bytes=0 ! typefind ! mad ! alsasink demux.video_00 ! typefind ! TIViddec2 ! dmaiperf engine-name=codecServer print-arm-load=TRUE ! TIDmaiVideoSink displayStd=v4l2 displayDevice=/dev/video1 videoStd=D1_NTSC videoOutput=LCD resizer=FALSE rotation=0 accelFrameCopy=FALSE
MP4: gst-launch --gst-debug-no-color --gst-debug=TI*:2 filesrc location=/mnt/apple.mp4 ! typefind ! qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! typefind ! TIAuddec1 ! audioconvert ! audio/x-raw-int, width=16, depth=16 ! alsasink demux.video_00 ! typefind ! TIViddec2 !   dmaiperf  engine-name=codecServer print-arm-load=TRUE  ! TIDmaiVideoSink displayStd=v4l2 displayDevice=/dev/video1 videoStd=D1_NTSC videoOutput=LCD resizer=TRUE accelFrameCopy=FALSE rotation=0
【luvcview】:
export set SDL_NOMOUSE=1
luvcview -d /dev/video0 -f jpg -s 640x480
【backlight】:
echo 50 > /sys/class/backlight/omap-backlight/brightness

iwpriv ra0 set NetworkType=Infra;iwpriv ra0 set AuthMode=WPAPSK;iwpriv ra0 set EncrypType=TKIP;iwpriv ra0 set SSID="TIOP";iwpriv ra0 set WPAPSK="embest405"

insmod /etc/wifi/tiwlan_drv.ko
tiwlan_loader -f /etc/wifi/firmware.bin -i /etc/wifi/tiwlan.ini
insmod usbserial.ko vendor=0x19f5 product=0x9909
阅读(1805) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~