Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1226062
  • 博文数量: 105
  • 博客积分: 127
  • 博客等级: 入伍新兵
  • 技术积分: 962
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-29 15:22
文章分类

全部博文(105)

文章存档

2021年(1)

2019年(3)

2018年(1)

2017年(11)

2016年(47)

2015年(32)

2014年(4)

2012年(6)

我的朋友

分类: LINUX

2016-02-29 09:17:07

一,Yocto环境搭建
1.按照官方文档Freescale_Yocto_Project_User's_Guide.pdf,repo无法下载。
curl  > ~/bin/repo
解决办法:
使用下面的网址下载:(我也是从别人那里盗用的......)
curl > ~/bin/repo
接下来的就可以按照文档中的描述搭建了。

二,linux 测试命令
//设置音量
amixer -c 1 set Headphone 127db+

//播放音频
gst-launch-1.0 playbin uri=file:////usr/share/sounds/alsa/Rear_Center.wav audio-sink="alsasink device=plughw:1"
//HDMI
gst-launch-1.0 playbin uri=file:////usr/share/sounds/alsa/Rear_Center.wav audio-sink="alsasink device=plughw:3"

//播放视频
gst-launch-1.0 -v  playbin uri=file:///mnt/1.avi  


//查看IMX6 CPU温度
cat /sys/class/thermal/thermal_zone0/temp  


三,同一块板烧写3.14.52后,再烧写3.0.35镜像系统启不来的问题

3.0.35 mfgtool 中uboot环境变量没有清空的原因。见ucl2.xml 文件


点击(此处)折叠或打开

  1. <CMD state="Updater" type="push" body="$ ls /dev/*"/>
  2. <CMD state="Updater" type="push" body="$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16">clean up u-boot parameter</CMD>









阅读(876) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~