自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

^_^

  • 博客(43)
  • 收藏
  • 关注

原创 在Raspberry PI上搭建LMS服务器/Squeeze lite 播放器

在raspberry上搭建SqueezeBox的LMS服务器有两种方法:1:直接在SD卡上烧写squeezeplug镜像2:在raspberry PI安装了官方的Debian Wheezy基础上,再转换到squeezeplug系统SqueezePlug是一个包含了LMS server,squeeze player及其他一些有用工具的,可直接烧写到SD卡用于在Raspberry

2013-12-15 09:22:51 6465

原创 基于Raspberry PI和LMS构建的家庭无线背景音乐系统

1.        简介背景音乐系统的最大特点就是实现各个房间能够同步的播放相同音乐内容,使得用户在家庭的各个角落都能收听到自己喜爱的音乐。其系统已经发展的比较成熟了,大部分都是通过中央功放加上布置在各个房间的控制器和扬声器系统来实现的。其中中央功放可以接收多路音源输入,部分高级的功放能连接外置存储器具有媒体文件管理功能。各个房间的控制器(终端)能够点播中央功放上的节目源,以及实现所有的终端同

2013-12-14 21:02:02 3581

原创 ebd2410: enable ALSA Framework

[Software build]1: Download the alsa-lib-1.0.25 and alsa-utils-1.0.25:http://pan.baidu.com/share/link?shareid=253494&uk=8229213262: create the following DIR structure for bui

2013-01-19 21:04:06 691

原创 Listening to RTP multicast

This article describes  using  other tools besides pulseaudio(module_rtp_recv) to listen to audio mutlticast audio sent by pulseaudio server.reference:http://www.freedesktop.org/wiki/Software/

2013-01-15 15:14:19 707

原创 Use mdev to automatically generate the device node

in the init script, e.g: rc.localcat etc/init.d/rcS #!/bin/sh   mount -o sys /sys mount -o proc /proc   echo "----------mount /sys as sysfs" mount -t tmpfs mdev /dev echo "------

2013-01-14 19:04:21 418

原创 embed_x86: enable ALSA Framework

[Hardware environment]The sound hardware is ICH-AC97 for virtual-box[Software build]1: Download the alsa-lib-1.0.25 and alsa-utils-1.0.25:http://pan.baidu.com/share/link?shareid=2534

2013-01-14 18:56:16 509

转载 Ubuntu12.04 下架设tftp服务器

Reference: http://linchurong888.blog.163.com/blog/static/2089442201282363319630/1、sudo apt-get install tftp tftpd2、建立/etc/xinetd.d/tftp文件,写入如下内容: service tftp {         socket_type    =

2013-01-13 17:37:47 464

原创 Debian basic enabling

Operating system version: 6.06[Network enabling]Reference: http://wiki.debian.org/NetworkConfiguration#Using_DHCP_to_automatically_configure_the_interfaceUsing DHCP to automatically config

2013-01-11 12:58:14 464

原创 Using pulseaudio to setup sound server on Ubuntu

Operating system: Ubuntu-12.04[Server/Send configuration]1: joining the multicast groupAdding following to /etc/init.d/rc.localroute add -net 224.0.0.0 netmask 240.0.0.0 dev eth12:

2013-01-09 16:21:51 793

原创 Image tools summary

Check EXIF information:l  photostudio; http://pan.baidu.com/share/link?shareid=204137&uk=822921326Check YUV/RAW files: l  IrfanView; l  Rawplayer; Check video information: l  Media

2012-12-31 10:17:20 411

转载 Linux kernel内核中的atoi,itoa等函数

转自:http://blog.csdn.net/samantha_sun/article/details/6799145对于普通应用程序,可以通过包含头文件stdlib.h和stdio.h,string.h等,然后调用需要的itoa(),atoi()等函数,但是对于Linux内核来说,无法使用那些C库中的函数。对此Linux内核里有了相应的实现:对于atoi()用sim

2012-12-25 18:02:09 2443

转载 linux shell 用sed命令在文本的行尾或行首添加字符

转自:http://www.cnblogs.com/aaronwxb/archive/2011/08/19/2145364.html用sed命令在行首或行尾添加字符的命令有以下几种:假设处理的文本为test.file在每行的头添加字符,比如"HEAD",命令如下:sed 's/^/HEAD&/g' test.file在每行的行尾添加字符,比如“TAIL”

2012-12-18 14:21:04 899

原创 定位Oops的具体代码行

Reference: http://blog.csdn.net/unbutun/article/details/4730227[Not clean up]1: objdump xxx.ko -D > xxx_dump2: find the code line in the dump filee.g.: 0>[  111.318529] EIP: [] XXX_set_f

2012-12-18 13:39:14 548

原创 EBD2410 Basic environment

Cross compiler: crosstool-ng-1.15.3Kernel: linux-2.6.32.2busybox: busybox-1.20.0[Resouces backup]http://pan.baidu.com/share/link?shareid=128759&uk=822921326[Kernel compile]1: Dow

2012-11-17 23:19:40 529

原创 copy test

在公司想利用闲暇时间调试嵌入式开发板,可惜开发板在家里,无法直接调试,因此想借助virtualBox x86平台搭建一个类似于嵌入式开发的环境.家里的EBD2410开发板使用uboot加载内核和ramdisk文件系统,在X86平台上,可以使用PXE网络启动的方式,加载kernel和initrd,这不就基本等同了嵌入式系统的加载启动方式吗?哈哈这个基本的测试环境中,使用gcc

2012-11-13 17:49:19 593

原创 embed_x86: Basic environment test

借助virtualBox x86平台搭建一个类似于嵌入式开发的环境.家里的EBD2410开发板使用uboot加载内核和ramdisk文件系统,在X86平台上,可以使用PXE网络启动的方式,加载kernel和initrd,这不就基本等同了嵌入式系统的加载启动方式吗?哈哈这个基本的测试环境中,使用gcc编译linux内核源码,以及busybox源码来生成initrd,经测试能加

2012-11-13 16:28:25 617

原创 Debian Network Install - PXE

-- Building up PXE server --1: Install TFTP server2: install DHCP server3: Config the content in tftp folder3.1: download the pxelinux.o to tftp root folder:$wget http://ftp.heanet.ie/pub/ft

2012-11-13 10:07:38 1179

原创 Ubuntu10.04 下架设dhcp服务器

[Install package]sudo apt-get install dhcp3-server[Config interface]$ cat /etc/default/dhcp3-server# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?#       Sep

2012-11-12 16:38:53 727

原创 Ubuntu10.04 下架设tftp服务器

前面有一篇子在Ubuntu8.10下假设FTP服务器的文章,发现在ubuntu10.04下竟然无法正常工作了,无语,这篇是在10.04下假设的示例.通过xinetd已经无法成功了,因此使用standalone的方式1: 安装apt-get install tftpd-hpa2: 配置# /etc/default/tftpd-hpaTFTP_USE

2012-11-12 15:57:55 440

原创 Using crosstool-ng to generate cross-compiler for ARM

[Reference] http://blog.csdn.net/huangxianxinalice/article/details/7568540  [Environment setting] Ubuntu-10.04  apt-get install gperf apt-get install texinfo

2012-11-11 19:06:19 1168

原创 Using crosstool-0.43 to generate cross-compiler for ARM

Using crosstool-0.43 to generate cross-compiler for ARM  [Environment setting] Ubuntu-10.04  apt-get install patch apt-get install bison apt-get install flex

2012-11-11 16:11:44 761

原创 UDA1341 driver enabling

[Reference]http://hi.baidu.com/gcc_sky/item/b9df9ceb4dbaaad7bbf37dd5   [Environment]Linux-2.6.24 arm-linux-gcc-3.4.1[Src]http://pan.baidu.com/share/link?shareid=1

2012-11-11 15:44:18 454

原创 CS8900 network driver enabling

[Environment]Linux-2.6.14 arm-linux-gcc-3.4.1  [Reference]http://hi.baidu.com/guolele1990/blog/item/2b49dfd44c27e1cca144dfef.html  [Src]http://pan.baidu.com

2012-11-11 15:38:28 423

原创 Pulse Audio RTP Multicast receiver on Debian

Pulse Audio RTP Multicast receiver on Debian [General]This is to describe to build for an rtp audio multicastreceiver by Pulse Audio. [Operation System Environment]Debian (debian-6.0.4-i38

2012-03-07 16:55:56 1337

原创 Ubuntu8.10 下架设tftp服务器

参考:http://wiki.ubuntu.org.cn/Tftpd-hpahttp://www.oklinux.cn/html/network/ser/20080301/47786.html【概述】    软件包tftpd-hpa为一个开源的tftp服务器,安装完后,通过简单配置即可完成tftp服务的架设。值得注意的是,开启tftp服务的方式有3种:直接通过in.tftp可执行程

2010-08-24 13:35:00 562

原创 CS8900 Linux 网卡驱动分析

<br /><br />【概述】<br />    该文描述了CS8900A网卡芯片,在Linux中的驱动程序的原理,以SMDK2410平台为例。<br /><br />    CS8900A在该驱动中,仍工作于IO访问模式。<br /><br />    本文详细描述了作为Linux网络设备驱动,需要实现的几个函数的工作原理,这几个函数为:<br /><br />    --cs8900_probe<br /><br />    --cs8900_start<br /><br />    --cs8900

2010-07-07 20:21:00 2026

原创 CS8900 U-boot 网卡驱动分析

<br />【概述】    本文描述了CS8900网卡在u-boot环境下的相关操作,包括初始化,数据发送/接收等过程的解析等。<br /><br />【环境描述】硬件平台:EBD2410开发板(S3C2410+CS8900A)U-boot版本:V1.1.4<br />【其他描述】在include/configs/smdk2410.h中,定义如下:#define CONFIG_DRIVER_CS8900    1#define CS8900_BASE    0x19000300#define CS8900_

2010-07-07 19:02:00 2718

原创 Linux内核启动参数的传递

<br /><br />参考:<br />u-boot向内核传递参数解析:http://blog.chinaunix.net/u3/109474/showart_2205327.html<br />vivi学习(十七):vivi与Linux kernel的参数传递情景分析(下):http://tech.sunplusedu.com/space/post-6910.aspx <br />【环境】<br />Linux内核版本:V2.6.20<br />U-boot版本:V1.1.4<br />【简介】<br

2010-07-02 11:57:00 3932

原创 Linux启动时对命令行参数的解析

<br /><br />【参考】<1>Linux启动bootargs参数分析:http://blog.chinaunix.net/u3/99423/showart_2213279.html<br /><2>Linux 2.6内核启动传递命令行的过程分析:http://soft.zdnet.com.cn/software_zone/2007/1017/561631.shtml<br /><br />【环境】    Linux内核版本:V2.6.20<br />    <br />【简介】    在嵌入式系统中

2010-07-02 11:54:00 5241 1

转载 【转载】do_initcalls 的原理

原文链接:http://hi.baidu.com/sunorr/blog/item/c757d9de8599555394ee3740.html 前言   宏定义__define_initcall(level,fn)对于内核的初始化很重要,它指示   编译器在编译的时候,将一系列初始化函数的起始地址值按照一定的顺序   放在一个section中。在内核初始化阶段,do_initcalls()

2010-01-07 15:23:00 1099

转载 [转载]解析linux根文件系统的挂载过程

原文链接:http://blog.chinaunix.net/u1/51562/showart_1108170.html 解析linux根文件系统的挂载过程------------------------------------------本文系本站原创,欢迎转载!转载请注明出处:http://ericxiao.cublog.

2010-01-03 18:59:00 671

原创 mkimage的使用

mkimage使用详解参考:http://buaadallas.blog.51cto.com/399160/107808mkimage在制作映象文件的时候,是在原来的可执行映象文件的前面加上一个0x40字节的头,记录参数所指定的信息,这样uboot才能识别这个映象是针对哪个CPU体系结构的,哪个OS的,哪种类型,加载内存中的哪个位置, 入口点在内存的那个位置以及映象名是什么。U

2010-01-03 13:00:00 734

转载 [转载] linux启动分析(5)---start_kernel续

原文地址:http://www.eetop.cn/blog/html/45/11145-2154.html ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?1114507-05-21====

2010-01-02 09:49:00 823

转载 [转载] linux启动分析(5)---C程序入口函数start_kernel

原文地址:http://www.eetop.cn/blog/html/45/11145-2016.html ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?1114507-05-09====

2010-01-02 09:48:00 638

转载 [转载] linux启动流程分析(4)---汇编部分(5)

原文地址:http://www.eetop.cn/blog/html/45/11145-1838.html ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?1114507-04-18====

2010-01-02 09:47:00 603

转载 [转载] linux启动流程分析(4)---汇编部分(4)

原文地址:http://www.eetop.cn/blog/html/45/11145-1746.html ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?1114507-04-02====

2010-01-02 09:46:00 565

转载 [转载] linux启动流程分析(4)---汇编部分(3)

原文地址:http://www.eetop.cn/blog/html/45/11145-1512.html ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?111452007-03-08==

2010-01-02 09:45:00 585

转载 [转载] linux启动流程分析(4)---汇编部分(2)

原文地址:http://www.eetop.cn/blog/html/45/11145-1396.html ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?111452007-02-14==

2010-01-02 09:44:00 546

转载 [转载] linux启动流程分析(4)---汇编部分(1)

原文地址:http://www.eetop.cn/blog/html/45/11145-1367.ht ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?111452007-02-08====

2010-01-02 09:42:00 628

转载 [转载] linux启动流程分析(3)---内核解压缩过程

原文地址:http://www.eetop.cn/blog/html/45/11145-571.html ================================Author: taoyuetaoEmail:[email protected]:http://www.eetop.cn/blog/?111452006-11-06===

2010-01-02 09:40:00 693

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除