
u-boot命令集详解
文章平均质量分 65
对u-boot中的命令使用及源代码进行详解。
voice_shen
这个作者很懒,什么都没留下…
展开
-
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 · 2045 阅读 · 0 评论 -
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 · 4278 阅读 · 0 评论 -
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 · 1758 阅读 · 0 评论 -
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 · 2088 阅读 · 0 评论 -
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 · 7230 阅读 · 0 评论 -
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 · 2815 阅读 · 0 评论 -
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 · 7533 阅读 · 1 评论 -
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 · 18321 阅读 · 0 评论 -
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 · 10924 阅读 · 1 评论 -
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 · 12672 阅读 · 0 评论 -
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 · 8154 阅读 · 0 评论 -
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 · 2472 阅读 · 0 评论 -
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 · 3033 阅读 · 0 评论 -
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 · 7242 阅读 · 0 评论 -
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.youkuaiyun.com/voice_shen/article/details/88原创 2013-04-23 22:26:57 · 3544 阅读 · 0 评论 -
u-boot命令集列表及链接
[u-boot: v2013.04][Author: Bo Shen ]1. ambapp : 2. bdinfo : http://blog.youkuaiyun.com/voice_shen/article/details/88421743. :4. bmp : 5. go, reset : http://blog.youkuaiyun.com/voice_shen/article原创 2013-04-24 23:05:59 · 1251 阅读 · 0 评论