mini2440移植uboot-2008.10 遇到的问题
1、mkimage的使用(u-boot-2008.10/tools/mkimage)
首先./mkimage 运行或者 将mkimage 拷贝到 /bin 目录下面
法一:
#mkimage -n 'linux-2.6.14' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d zImage zImage.img
tftp 0x31000000 zImage.img
法二:
#mkimage -n 'linux-2.6.14' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008040 -d zImage zImage.img
tftp 0x30008000 zImage.img
2、使用友善编译好的内核,启动时LCD有显示输出,而中断没有显示
MACH_TYPE_MINI2440 均为1999 没有问题
最后查出是由于uboot中include/configs/mini2440.h中少了以下三个配置
//把信息传入linux核心的TAG定义:
#define CONFIG_SETUP_MEMORY_TAGS /* 向内核传递内存分布信息 如果没有定义这个参数,则uboot参数必须加入men=内存大小*/
#define CONFIG_INITRD_TAG
#define CONFIG_CMDLINE_TAG /* 向内核传递命令行参数 设置bootargs出入内核必须 */
4、内核nfs启动
nfs 31000000 192.168.1.10:/opt/FriendlyARM/mini2440/rootfs_qtopia_qt4/zImage.img
bootm 31000000
#define CONFIG_BOOTCOMMAND "tftp 31000000 zImage.img; bootm 31000000"
5、bootargs设置 nfs启动
(1)修改 变量
setenv bootargs noinitrd root=/dev/nfs rw nfsroot=192.168.1.10:/opt/FriendlyARM/mini2440/rootfs_qtopia_qt4 ip=192.168.1.11:192.168.1.10:255.255.255.0 console=ttySAC0,115200 init=/linuxrc mem=64M
(2)设置 CONFIG_BOOTARGS
#define CONFIG_BOOTARGS "noinitrd root=/dev/nfs rw nfsroot=192.168.1.10:/opt/FriendlyARM/mini2440/rootfs_qtopia_qt4 \ip=192.168.1.11:192.168.1.10:255.255.255.0 console=ttySAC0,115200 init=/linuxrc mem=64M"
mini2440移植uboot-2008.10 遇到的问题的更多相关文章
- mini2440移植uboot 2014.04(五)
代码上传到github上:https://github.com/qiaoyuguo/u-boot-2014.04-mini2440 前几篇博文: <mini2440移植uboot 2014.04 ...
- mini2440移植uboot 2014.04(四)
我修改的代码已经上传到github上,地址:https://github.com/qiaoyuguo/u-boot-2014.04-mini2440.git 参考文章: <mini2440移植u ...
- mini2440移植uboot 2014.04(一)
最新版的uboot添加了很多新功能,我决定在最新版代码基础上重新移植一遍加深理解. 我修改的代码已经上传到github上,地址:https://github.com/qiaoyuguo/u-boot- ...
- mini2440移植uboot 2014.04(二)
我修改的代码已经上传到github上,地址:https://github.com/qiaoyuguo/u-boot-2014.04-mini2440.git 参考文章: <u-boot-2011 ...
- mini2440移植uboot 2014.04(三)
我修改的代码已经上传到github上,地址:https://github.com/qiaoyuguo/u-boot-2014.04-mini2440.git 参考文档: s3c2440手册(下载地址) ...
- mini2440移植uboot 2014.04(七)
上一篇博文:<mini2440移植uboot 2014.04(六)> 代码已经上传到github上: https://github.com/qiaoyuguo/u-boot-2014.04 ...
- mini2440移植uboot 2014.04(六)
上一篇博文:<mini2440移植uboot 2014.04(五)> 代码已经上传到github上:https://github.com/qiaoyuguo/u-boot-2014.04- ...
- mini2440移植uboot 2011.03(下)
参考博文: <u-boot-2011.03在mini2440/micro2440上的移植> 移植(五)添加nand支持: host@debian:~/soft/mini2440/u-boo ...
- mini2440移植uboot 2011.03(上)
参考博文: <u-boot-2011.03在mini2440/micro2440上的移植> 本来我想移植最新版的uboot,但是移植却不太成功,所以先模仿他人的例子重新执行一遍,对uboo ...
- mini2440移植uboot-2008.10 (二) DM9000网卡驱动移植
还是利用 mini2440移植uboot-2008.10 (一) 修改好的代码 通过观察可以发现,mini2400使用的网卡芯片是DM9000,在uboot-2008.10源码中已经支持该芯片的驱动 ...
随机推荐
- IPAddress类
using System.Net; IPAddress ad1=IPAddress.Parse("192.168.1.1"); //ip为192.168.1.1的地址 IPAddr ...
- CSS Grid layout布局
CSS Grid布局 (又名"网格"),是一个基于二维网格布局的系统,主要目的是改变我们基于网格设计的用户接口方式.你只需要定义一个容器元素并设置display:grid,使用gr ...
- 让Windows Server 2008 + IIS 7+ ASP.NET 支持10万并发请求(转)
转自:http://www.cnblogs.com/dudu/archive/2009/11/10/1600062.html 今天下午17点左右,博客园博客站点出现这样的错误信息: Error Sum ...
- Android ListFragment实例Demo(自己定义适配器)
上一篇文章介绍了ListFragment,当中的ListView并没有自己定义适配器,实际上在实际开发中常会用到自己定义适配器,是实现更复杂的列表数据展示. 所以这篇文章添加了自己定义适配器.来进行L ...
- 遍历map的四方方法
public static void main(String[] args) { Map<String, String> map = new HashMap<String, Stri ...
- android108 内存分配
#include <stdio.h> #include <stdlib.h> #include <malloc.h> //包含头文件 main(){ ;//栈中 ] ...
- Callgrind 使用 2
Callgrind是一款和gprof类似的性能分析工具,与gprof不同的是它不需要在编译源码时附加特殊选项,但推荐加上调试选项.Callgrind使用cachegrind的统计信息Ir(I cach ...
- How to let gedit of linux display "space"
gedit--> preference --> check "draw spaces" . Then gedit will display spaces
- 转:通过API获取和创建 Oracle GL Account Code Combination ID’s (CCID’s)的几种方法汇总
1] FND_FLEX_EXT.GET_COMBINATION_ID: This API Finds combination_id for given set of key flexfield seg ...
- StyleCop安装及配置
How to modify the default new class template for C# in Visual Studio 2008 or 2010? 可参考博客: http://www ...