Chinaunix首页 | 论坛 | 博客
  • 博客访问: 202971
  • 博文数量: 93
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 978
  • 用 户 组: 普通用户
  • 注册时间: 2014-11-10 15:46
个人简介

青春无悔

文章分类

全部博文(93)

文章存档

2015年(16)

2014年(77)

我的朋友

发布时间:2014-11-11 17:55:22

在common/console.c添加 int scanf(const char* fmt, ...){    int i = 0;    unsigned char c;    va_list args;    char buffer[128];  #ifndef CONFIG_PRE_CONSOLE_BUFFER    if (!gd->have_console)  .........【阅读全文】

阅读(955) | 评论(0) | 转发(0)

发布时间:2014-11-10 17:20:40

在common/console.c添加int scanf(const char* fmt, ...){    int i = 0;    unsigned char c;    va_list args;    char buffer[128];  #ifndef CONFIG_PRE_CONSOLE_BUFFER    if (!gd->have_console)  .........【阅读全文】

阅读(1684) | 评论(0) | 转发(0)

发布时间:2014-11-10 17:19:58

1.配置DDR时钟void config_ddr(                    unsigned int pll,                     unsigned int ioctrl,                 .........【阅读全文】

阅读(3342) | 评论(0) | 转发(0)

发布时间:2014-11-10 17:19:36

Uboot下的烧写命令:1.配置IP,方便tftp协议传输(根据实际需要)setenv ipaddr 172.18.48.244;setenv serverip 172.18.48.170;setenv netmask 255.255.252.0;saveenv;2.配置rootfs启动命令(根据实际需要)setenv nandroot ubi0:rootfs rw ubi.mtd=5,2048;saveenv;//SPI Flash* 0x00000 - 0x20000  : First cop.........【阅读全文】

阅读(993) | 评论(0) | 转发(0)

发布时间:2014-11-10 17:19:14

现在的uboot基本上都支持nfs和tftpboot功能,我以nfs为例1、在uboot的shell环境下执行:A、设置启动命令(加载内核):setenv bootcmd nfs c0008000 192.168.1.200:/home/venkee/Linux/linux-kernel/arch/arm/boot/zImage \; bootm c0008000B、设置内核启动参数(输出终端和根文件系统位置):setenv bootargs conso.........【阅读全文】

阅读(661) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册