Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9182379
  • 博文数量: 1728
  • 博客积分: 12961
  • 博客等级: 上将
  • 技术积分: 19870
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-09 11:25
个人简介

偷得浮生半桶水(半日闲), 好记性不如抄下来(烂笔头). 信息爆炸的时代, 学习是一项持续的工作.

文章分类

全部博文(1728)

文章存档

2024年(4)

2023年(26)

2022年(112)

2021年(217)

2020年(157)

2019年(192)

2018年(81)

2017年(78)

2016年(70)

2015年(52)

2014年(40)

2013年(51)

2012年(85)

2011年(45)

2010年(231)

2009年(287)

分类: LINUX

2012-08-29 15:28:53


mini6410 在linux下tftp system.img速度感觉好慢,就想把fat 命令支持起来,这样子,system.img存到sd卡上就可以fatload到RAM里。友善的什么superboot可能用的就是fatload之类命令支持的。
eg.
fatls mmc 0
fatload mmc 0 50008000 system.img

共4个文件涉及了修改
include/configs/mini6410.h
cpu/s3c64xx/hs_mmc.c
common/main.c
cpu/s3c64xx/movi.c
其中cpu/s3c64xx/hs_mmc.c是从uboot1.3.4 copy过来做了点修改。
common/main.c是删除了FriendlyArm Menu, 这menu没用

帖出./include/configs/mini6410.h patch,其他patch大家下载吧


--- ../aaa/u-boot-mini6410/include/configs/mini6410.h    2010-06-22 18:26:23.000000000 +0800
+++ ./include/configs/mini6410.h    2010-08-17 21:52:46.000000000 +0800
@@ -148,7 +148,8 @@
                         CFG_CMD_ENV     | \
                         CFG_CMD_NAND    | \
             CFG_CMD_PING    | \
-                        CFG_CMD_MOVINAND) \
+                        CFG_CMD_MOVINAND| \
+                        CFG_CMD_FAT) \
                         & ~(CFG_CMD_AUTOSCRIPT  | \
                                 CFG_CMD_BOOTD   | \
                                 CFG_CMD_IMI     | \
@@ -167,7 +168,7 @@
#define CONFIG_ETHADDR        08:90:90:90:90:90
#define CONFIG_NETMASK          255.255.255.0
#define CONFIG_IPADDR        192.168.1.230
-#define CONFIG_SERVERIP        192.168.1.88
+#define CONFIG_SERVERIP        192.168.1.10
#define CONFIG_GATEWAYIP    192.168.1.1

#if defined(FRIENDLYARM_BOOT_ANDROID)
@@ -415,6 +416,8 @@
#define    CONFIG_NAND
#define CONFIG_MOVINAND

+#define    CONFIG_MMC 1
+
//#define CONFIG_NAND_BL1_8BIT_ECC

/* Settings as above boot configuration */
[ 此帖被kasim在2010-08-18 08:10重新编辑 ]
附件: (8 K) 下载次数:227

阅读(2995) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~