自定义博客皮肤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)
  • 收藏
  • 关注

原创 u-boot中的FAT命令

[u-boot: v2013.04][Author: Bo Shen ]1. Source Codecommon/cmd_fat.c>此文件中定义了四个命令:fatload,fatls,fatinfo是定义"#define CONFIG_CMD_FAT"后就包括了。而fatwrite是需要再定义"#define CONFIG_FAT_WRITE"才会出现。

2013-05-11 21:42:30 7151

原创 u-boot中的version命令

[u-boot: v2013.04][Author: Bo Shen ]1. Source Code     common/cmd_version.c>2. UsageU-Boot > help versionversion - print monitor versionU-boot > versionU-Boot 2013.04 (May 11

2013-05-07 20:45:20 2746

原创 u-boot中的usb命令

[u-boot: v2013.04][Author: Bo Shen ]1. 使用 (帮助信息)U-Boot > usb usb - USB sub-system Usage:usb start - start (scan) USB controllerusb reset - reset (rescan) USB controllerusb stop

2013-05-04 11:15:08 7241 1

原创 u-boot命令集列表及链接

[u-boot: v2013.04][Author: Bo Shen ]1. ambapp : 2. bdinfo :  http://blog.csdn.net/voice_shen/article/details/88421743.  :4. bmp : 5. go, reset : http://blog.csdn.net/voice_shen/article

2013-04-24 23:05:59 1227

原创 u-boot中的go和reset命令

[u-boot: v2013.04][Author: Bo Shen ]1. 源代码ommon/cmd_boot.c>在此文件中定义两个命令,一个是go命令,另外一个是reset命令。1.1 go命令如果定义了CONFIG_CMD_GO,则会有go命令。CONFIG_CMD_GO是在include/config_cmd_defaults.h>里面定义的。在通过mkc

2013-04-24 22:41:32 2560

转载 Git 命令行自动补全

此文转自:http://blog.yxwang.me/2010/01/git-completion/Git 命令行自动补全在Pro Git上看到的技巧,git的源代码包里的contrib/completion目录下有个git-completion.bash,把这个文件保存到~/.git-completion.bash,然后在.bashrc中加入一行

2013-04-23 23:48:51 4061

原创 debian中的grep显示颜色

对默认debian系统,使用grep的时候不会高亮显示所搜索的字符,字符串。要使用其显示颜色,如下两种方法:1. 使用grep --color=auto来显示。如:    $ grep --color=atuo . test -r2. 使之默认为用户打开。   $ vim ~/.bashrc    uncomment (去掉此行前面的#号): alias grep='g

2013-04-23 22:58:18 1653

原创 u-boot中的bdinfo命令

[u-boot: 2013.04][Author: Bo Shen ]1. 使用bdinfo: print board info structure.其源代码:common/cmd_bdinfo.c>对于ARM架构,bdinfo打印信息包括:  -- bd_t (前文件介绍:http://blog.csdn.net/voice_shen/article/details/88

2013-04-23 22:26:57 3384

原创 u-boot下的两个重要数据:bd_t和gd_t

[u-boot: v2013.04][Author: Bo Shen ]众所周知,u-boot中有两个重要数据结构,一个是bd_t,另外一个是gd_t。下面分别介绍这两个数据结构。1. bd_t 此数据结构保存board相关的信息。定义:arch/arm/include/asm/u-boot.h>其具体结构如下:typedef struct bd_inf

2013-04-23 22:14:38 2086

原创 get network hotplugging working on Ubuntu 12.04 LTS

Issue:   When configure the network with following configuration. Then boot up system, it will automatically dhcp to get IP address from DHCP server.   ---------------------------------  $ vi /e

2013-04-22 21:30:44 1321

原创 u-boot下USB键盘支持

[u-boot version: v2013.04][Author: Bo Shen ][测试平台:atmel at91sam9x5ek board]1.首先加入usb键盘的支持。#define CONFIG_USB_KEYBOARD /* 此选项只支持USB键盘 */#define CONFIG_SYS_USB_EVENT_POLL /* 使用u-boot能p

2013-04-20 12:30:37 2819 1

原创 i2c tools usage

1. get the source code of i2c toolsreference: http://lm-sensors.org/wiki/I2CTools$ wget http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-3.1.0.tar.bz22. compile the source code$ tar -

2013-04-03 19:52:14 4090 7

原创 Ubuntu 10.04 upgrade git

[Try to build Android 4.0.4 for Atmel sama5d3x EK board, mee following issue, which need newer git]$ repo init -u git://github.com/Android4SAM/platform_sammanifest.git -b android4sam_v3.0fatal: gi

2013-04-01 12:47:23 3607 2

原创 u-boot中mmc命令使用

[u-boot: v2013.01][Author: Bo Shen ]mmc命令的帮助信息如下:U-Boot> mmc      mmc - MMC sub system Usage:mmc read addr blk# cntmmc write addr blk# cntmmc erase blk# cntmmc rescanmmc pa

2013-03-04 20:39:46 7168

原创 USB gadget testing ---- New method

USB gadget method

2013-01-25 13:27:16 5336

原创 u-boot中nand相关命令使用---- ubi, ubifsls, ubifsmount, ubifsumount

[Version: 2013-01-rc2][Author: Bo Shen ]1.  帮助信息1.1 ubi-------------------------------------U-Boot> ubiubi - ubi commandsUsage:ubi part [part] [offset]- Show or set current p

2012-12-24 17:09:44 12457

原创 u-boot中setexpr命令的使用

[u-boot: v2012.10][Author: Bo Shen ]CONFIG_CMD_SETEXPR被include/config_cmd_all.h包含,所以在板子相关的配置文件中加上#define CONFIG_CMD_SETEXPR, setexpr命令就会被加入进来1. setexpr命令帮助信息-------------------------

2012-12-11 09:33:29 2893

转载 [转]Vim 复制粘贴探秘

[转]Vim 复制粘贴探秘 Vim作为最好用的文本编辑器之一,使用vim来编文档,写代码实在是很惬意的事情。每当学会了vim的一个新功能,就会很大地提高工作效率。有人使用vim几十年,还没有完全掌握vim的功能,这也说明了vim的强大。而这样何尝不是一件好事呢,只要有的学习,就有的提高。最近使用Vim来写博客,发现在Vim中粘贴Python代码后,缩进就全乱了。仔细研究了以下,原来

2012-12-10 13:21:04 851

原创 U-boot中的网络命令 ---- nfs命令

[u-boot: v2013.01-rc1][Author: Bo Shen ]Source code: CONFIG_CMD_NFS被include/config_cmd_default.h包含,所以在板子相关的配置文件中包含"include "并且没有#undef CONFIG_CMD_NFS, nfs命令就会被默认加入进来。1. nfs命令帮助信息------

2012-12-07 16:14:02 2383

原创 编译Linux kernel遇到:WARNING: modpost: Found 1 section mismatch(es)

如题:WARNING: modpost: Found 1 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y'解决文法:使用make CONFIG_DEBUG_SECTION_MISMATCH=y,最后得到如下输出:

2012-12-04 16:50:39 8255 2

原创 暴力测试音频硬件shell脚本

以下Linux shell脚本用来结音频配件进行暴力测试。如有更好脚本,欢迎提供。-----------------------------------------------------------------------#! /bin/shwhile truedo         aplay /root/test.wav &          sleep 8

2012-12-03 17:53:41 1151

原创 u-boot中env命令的使用

1. env-------- [U-Boot 2012.10] ---------env - environment handling commandsUsage:env default [-f] -a - [forcibly] reset default environmentenv default [-f] var [...] - [forcibly] reset va

2012-11-30 09:55:26 8052

原创 三步搞定windows与ubuntu之间文件共享

Ubuntu samba share with windows

2012-06-26 13:35:54 7119 1

翻译 关于GCC对cpu类型的支持

Q:如何获取gcc对cpu类型的支持呢?A:从下面的内容信息可获知。http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00824.html--------------------------------------------------------------------------------2010-09-09 Ramana Ra

2012-06-12 11:01:06 6286

原创 vmap allocation for size 8192 failed ---- 原因及解决方法(求解)

在boot ARM Linux kernel时,解压完kernel后,就不能继续运行。log信息如下:-------------------------------------------------------------------------------------------------------------------------------------------------

2012-06-06 23:16:15 7469 3

原创 ARM汇编指令详解

1. ORR     例:ORR    r3, r2, r1, LSL#20  //将r1左移20位后与r2做或运算的结果存入r1中。             r3 = r2 || (r1 2. STR    例:STR    r3, [r0, r1, LSL#2] //将r1左移2位后加上r0,然后将此做为地址,把r3的值存入此地址。

2012-06-06 10:04:32 1589

转载 佛曰——做人的道理

此文转自: http://blog.csdn.net/jianshe999/article/details/2114128    一、人之所以痛苦,在于追求错误的东西。         二、与其说是别人让你痛苦,不如说自己的修养不够。  三、如果你不给自己烦恼,别人也永远不可能给你烦恼。因为你自己的内心,你放不下。

2012-06-04 11:50:12 3189

原创 u-boot常见问题列表

[Author: Bo Shen ]下面是u-boot常见的一些问题。汇总如下, 如有答案,请赐教。Q: u-boot中有没有使能中断A:u-boot中是关中断的,即没有使能中断。Q:u-boot有没有使能MMU,以及I-cache和D-cacheA:对于MMU,依SOC而定,大部分SOC是不使能MMU的。对I-cache是可以使能的,如果要使用D-cach

2012-05-04 02:24:28 2223

原创 u-boot中网络命令 ---- dhcp命令

[u-boot:  v2012.04]   [Author: Bo Shen ]在平时使用u-boot通过网络下载linux内核,我们的通常做法是手动设置serverip,ipaddr,然后通tftpboot命令把linux内核下载到指定地址,最后通过bootm命令来启动linux内核。其实,这一切都可以通过u-boot自带的dhcp命令来实现。需要在configure

2012-05-04 02:02:19 10610 1

原创 Git相关配置

git相关配置

2012-04-29 18:29:21 9928 2

原创 USB multi gadget 支持问题

昨天,试了USB的gadget各项功能。当尝试USB multi gadget的时候,在加载驱动的时候出现了下面错误。-----------------------------------------------------------------------# insmod g_multi.ko file=test.imgg_multi gadget: using random

2012-04-17 17:36:36 3884

原创 Ubuntu中的xz命令使用

今天拿到一个包,后缀名为:xz经查询,用xz-utils中的xz命令可以对其进行解压。在ubuntu-11.04下面进行如下操作:# aptitude search xz得如下结果:p xz-lzma - XZ-format compression utilities - compatibility commands p xz-utils - XZ-format compr

2012-04-17 16:57:06 11512 2

原创 u-boot中fdt命令的使用

[u-boot: v2012.10][Author: Bo Shen ]依linux community的要求,从linux-3.5后,新提交的code必须对device tree进行支持。下面介绍如何使u-boot支持device tree,以及fdt命令的使用。1. u-boot对fdt(flattened device tree)的支持。实现:只要加入

2012-04-09 18:01:03 17946

原创 Linux USB subsystem --- USB create HCD

目的:对USB作深入学习,在此留下笔记。欢迎讨论。[Linux-3.2][drivers/usb/core/hcd.c]函数:usb_create_hcd(const struct hc_driver *driver, struct device *dev, const char *bus_name)其中hc_driver是ehci_atmel_hc_driver,st

2012-03-28 21:23:07 4388

原创 Linux USB subsystem --- EHCI host controller register

目的:对USB作深入学习,在此留下笔记。欢迎讨论。[Linux 3.2] [driver/usb/host/ehci-hcd.c]函数:ehci_hcd_init()static int __init ehci_hcd_init(void){ int retval = 0; if (usb_disabled()) return -ENODEV; printk

2012-03-27 22:01:24 3688

原创 Linux USB subsystem --- register generic usb driver

目的:对USB作深入学习,在此留下笔记。欢迎讨论。[Linux 3.2] [driver/usb/core/driver.c]函数:usb_register_device_driver/** * usb_register_device_driver - register a USB device (not interface) driver * @new_udriver

2012-03-26 21:38:55 2011

原创 Linux USB subsystem --- USB Hub initialize

Linux USB subsystem --- USB Hub initialize

2012-03-26 21:17:06 2845

原创 Linux USB subsystem --- USBFS driver registration

Linux USB subsystem --- USBFS driver registration

2012-03-23 15:13:16 4642 2

原创 Linux USB subsystem --- USB bus registration

Linux USB subsystem --- USB bus registration

2012-03-23 11:41:49 1877

原创 Linux USB subsystem --- USB File System initialize

DISCARD from USB part

2012-03-22 19:03:00 2670

Marvell Amada1000 brief

Marvell Amada1000 brief

2010-07-19

空空如也

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

TA关注的人

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