自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(156)
  • 资源 (2)
  • 收藏
  • 关注

翻译 Notes for 《C Traps and Pitfalls》

1. 如果一个整型常量的第一个字符是数字0,那么该常量将被视作八进制数。2. 用单引号引起的一个字符实际上代表的是一个整数。整数值对应于该字符在编译器采用的字符集中的序列值。    用双引号引起的字符串,代表的却是却是一个指向无名数组起始字符的指针,该数组被双引号之间的字符及一个额外的二进制为零的字符‘\0'初始化。

2015-11-02 16:07:56 852 2

翻译 ubuntu command line add sudoer

1. Add a normal user    $ sudo adduser 2. Add the new normal user as sudoer    $ sudo adduser sudo

2015-10-29 16:34:41 1061

翻译 GCC Variadic Macros

http://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html

2015-10-15 14:49:18 755

原创 设置Adobe Reader为default的PDF阅读工具

$ sudo vim /etc/gnome/defaults.list将  application/pdf=evince.desktop 改为  application/pdf=acroread.desktop即可。

2015-07-08 15:18:09 2805

原创 cross compile the libusb and examples

Cross compile libusb and examples for ARM SoC

2014-12-02 17:28:13 2215

原创 Oops on Linux-3.18-rc4

Oops on Linux-3.18-rc4

2014-11-12 15:08:29 1501

原创 u-boot: Error: Can't overwrite "ethaddr"

u-boot env overwrite

2014-10-30 10:21:20 6860

原创 u-boot TFTP: 'Access violation' (2)

u-boot tftp

2014-10-27 15:30:53 2136

原创 Some useful environment for u-boot

1. autoloadautoload: if set to "no" (or any string beginning with 'n'), the rarpb, bootp or dhcp commands will perform only a configuration lookup from the BOOTP / DHCP server, but not try to

2014-09-16 15:53:13 709

原创 ubuntu upgrade git

upgrade git on ubuntu 12.04

2014-09-01 16:51:49 1580

原创 ubuntu add not available key

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys

2014-05-08 22:13:41 764

原创 Busybox中的free命令

busybox free命令,Linux kernel sysinfo

2014-04-21 21:53:01 5133

原创 local_irq_disable

[Author: Bo Shen ][Linux kernel: git: 0c0bd34]local_irq_disable如果定义CONFIG_TRACE_IRQFLAGS_SUPPORT 91 #define local_irq_disable() \ 92 do { raw_local_irq_disable(); trace_hardirqs

2014-03-06 22:36:30 1451

原创 cgroup_init_early

[Author: Bo Shen ][Linux kernel: git: 0c0bd34]由于没有定义CONFIG_CGROUPS, 所以暂时不表。

2014-03-06 22:21:49 1106

原创 boot_init_stack_canary

[Author: Bo Shen ][Linux kernel: git: 0c0bd34] 1 /* 2 * GCC stack protector support. 3 *

2014-03-06 22:15:46 2761 2

原创 debug_objects_early_init

[Author: Bo Shen ][Linux kernel: git: 0c0bd34]由于没有定义CONFIG_DEBUG_OBJECTS, 所以暂时不表。

2014-03-06 22:10:19 1858

原创 smp_setup_processor_id

[Author: Bo Shen ][Linux kernel: git: 0c0bd34] 470 void __init smp_setup_processor_id(void) 471 { 472 int i; 473 u32 mpidr = is_smp() ? read_cpuid_mpidr() & MPIDR_HWID_BIT

2014-03-06 22:07:13 2630

原创 Makefile学习

Linux kernel Makefile中一些关键点学习。

2014-01-14 21:57:50 1959

原创 Image的生成过程

Image的生成过程

2014-01-03 22:14:22 1637

原创 arch/arm/boot/compressed/vmlinux生成过程

arch/arm/boot/compressed/vmlinux的生成过程

2014-01-02 23:19:52 6841

原创 zImage的生成过程

Linux kernel zImage 生成过程

2013-12-31 14:24:05 4592

原创 静态编译fbv --测试LCD

静态编译fbv

2013-12-30 17:45:41 1775

原创 u-boot中SPL源代码分析

u-boot SPL源代码分析。使用Atmel sama5d3xek做为例子进行分析。源代码:https://github.com/voiceshen/u-boot/tree/sama5d3xek_spl_spi_nand

2013-12-17 11:59:21 18945 4

原创 u-boot Makefile -- make xxx_config

u-boot中make xxx_config命令执行过程分析。具体以sama5d3xek_nandflash_config例子来说明。

2013-12-16 14:44:45 3436

原创 u-boot Makefile 分析 -- 清除

[Author: Bo Shen [u-boot: 2014.01-rc1]u-boot的Makefile中包括以下几个清除命令:unconfig, clean, tidy, clobber, mrproper, distclean。另外,涉及一个backup命令。下面具体分析每一个清除所做的工作。1. unconfig766 unconfig:767

2013-12-15 22:04:18 2796

原创 u-boot Makefile分析 -- (2)

[Author: Bo Shen ][u-boot: 2014.01-rc1, e03c76c30342797a25ef9350e51c8daa0b56f1df]1. 一些参数的export101 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))102 SPLTREE := $(OBJ

2013-12-13 17:32:28 3014

原创 u-boot Makefile分析 -- (1)

[Author: Bo Shen ][u-boot: 2014.01-rc1, e03c76c30342797a25ef9350e51c8daa0b56f1df]下面进行u-boot Makefile分析1. u-boot的固定版本信息,与编译时生成的时间与动态版本信息。 1 # 2 # (C) Copyright 2000-2013 3 # Wolfgang Den

2013-12-13 17:20:42 1966

原创 u-boot访问jffs2文件系统

Enable JFFS2 file system support in u-boot

2013-11-20 22:15:10 5441 2

原创 Cross Compile lmbench

[Author: Bo Shen ]Original Page: http://www.bitmover.com/lmbench/1. get the source code    $ wget http://www.bitmover.com/lmbench/lmbench3.tar.gz2. cross compile it   $ tar -zxvf lmbench

2013-10-28 18:21:24 3484

转载 Shell colors: colorizing shell scripts

原始文章出处:http://www.bashguru.com/2010/01/shell-colors-colorizing-shell-scripts.html

2013-10-19 15:57:04 905

原创 ffmpeg convert audio

The ffmpeg option for audio is as following----------------------------------------------------------Audio options:-aframes number     set the number of audio frames to record-aq quality      

2013-10-16 11:52:12 2517

原创 ubuntu package list

1. crc32$ sudo apt-get install libarchive-zip-perl

2013-10-12 16:45:59 1886

原创 u-boot DFU implement ---- dfu-util (1)

USB DFU materials collecting

2013-10-09 23:43:35 4826 1

原创 Remove one known host in ubuntu

Remove one known host in ubuntu@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

2013-07-23 09:46:19 1288

原创 u-boot中的date命令

u-boot中的date命令使能,应用及代码分析。

2013-07-19 23:05:54 3313

原创 u-boot中memory(SDRAM/DDR)相关命令 -- mw

[u-boot: v2013.07-rc2][Author: Bo Shen ]1. 使能mw命令通过定义:CONFIG_CMD_MEMORY, 就可以使能mw命令。注:由于在include/config_cmd_default.h>里面已经有此定义,在板子相关的configure文件中(位于),默认情况下,都会include此文件。所以,u-boot默

2013-06-30 17:29:19 1963

原创 u-boot中memory(SDRAM/DDR)相关命令 -- md

[u-boot: v2013.07-rc2][Author: Bo Shen ]1. 使能md命令通过定义:CONFIG_CMD_MEMORY, 就可以使能md命令。注:由于在include/config_cmd_default.h>里面已经有此定义,在板子相关的configure文件中(位于),默认情况下,都会include此文件。所以,u

2013-06-30 17:19:48 4170

原创 u-boot中memory(SDRAM/DDR)相关命令 -- base

[u-boot: v2013.07-rc2][Author: Bo Shen ]1. 使能base命令通过定义:CONFIG_CMD_MEMORY, 就可以使能base命令。注:由于在include/config_cmd_default.h>里面已经有此定义,在板子相关的configure文件中(位于),默认情况下,都会include此文件。所以,u-boo

2013-06-30 16:34:54 1703

原创 u-boot中memory(SDRAM/DDR)相关命令 -- meminfo

[u-boot: v2013.07-rc2][Author: Bo Shen ]1. 使能meminfo命令通过定义:CONFIG_CMD_MEMINFO, 就可以使用meminfo命令。例:在板子相关的configure文件中(位于)加入:#define CONFIG_CMD_MEMINFO, 重新编译,此命令即被加入。其源代码:common/cm

2013-06-30 16:17:26 1888

原创 where bond0 device come from

When debug Linux kernel, there is one more network device with "ifconfig -a", it show a bond0 device. detail information as following:-----------------------------------------------------bond0 -

2013-05-11 21:55:20 981

Marvell Amada1000 brief

Marvell Amada1000 brief

2010-07-19

空空如也

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

TA关注的人

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