摘要: sudo -iapt-get cleancd /var/lib/aptmv lists lists.oldmkdir -p lists/partialapt-get cleanapt-get update 阅读全文
posted @ 2012-01-29 19:16 谁与望天堂 阅读(1577) 评论(0) 推荐(0) 编辑
摘要: 按各地址起作用的顺序,uboot引导linux内核启动涉及到以下地址:load address:entry point: 这两个地址是mkimage时指定的bootm address:bootm为uboot的一个命令,以此从address启动kernelkernel运行地址:在具体mach目录中的Makefile.boot中指定,为kernel启动后实际运行的物理地址mkimage -n 'linux-3.2.1' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d zImage uImage理论上因 阅读全文
posted @ 2012-01-25 00:14 谁与望天堂 阅读(5356) 评论(0) 推荐(1) 编辑
摘要: 移植内核经常会出现Uncompressing Linux................................................................ done, booting the kernel.后无启动信息的状况,此时有下面调试方法:一. 使用low level debug1. 内核编译时要打开:kernel hacking->kernel debuging->low level debug(这时要确认下arch/arm/kernel/debug.S(2.6),或debug-armv.S(2.4)里是否有相应MCU的UART实现,没有就移植 阅读全文
posted @ 2011-12-28 14:34 谁与望天堂 阅读(2588) 评论(0) 推荐(0) 编辑
摘要: 网络对于嵌入式系统来说必不可少。可是s3c2440没有集成以太网接口,所以要想使s3c2440具备以太网的功能,就必须扩展网卡接口。在这里,我们外接DM9000,使其可以与以太网相连接。 DM9000可以直接与ISA总线相连,也可以与大多数CPU相连。在这里,我们当然是要让DM9000与s3c2440相连接了。DM9000对外来说只有两个端口——地址口和数据口,地址口用于输入内部寄存器的地址,而数据口则完成对某一寄存器的读写。DM9000的CMD引脚用来区分这两个端口,当CMD引脚为0时,DM9000的数据线上传输的是寄存器地址,当CMD引脚为1时,传输的是读写数据。我们把DM9000的A8和 阅读全文
posted @ 2011-05-26 11:08 谁与望天堂 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: IntroductionWhat is the OneNand flash? DetailsSAMSUNG OneNAND is a highly reliable embedded memory targeted for both consumer electronic, and next generation mobile phone market. With SAMSUNG's accumulated NAND flash technologies over the last decade, SAMSUNG designs an ideal single memory chip 阅读全文
posted @ 2011-05-17 15:25 谁与望天堂 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 关于移植的基本方法可以先阅读u-boot的README文档If the system board that you have is not listed, then you will needto port U-Boot to your hardware platform. To do this, follow thesesteps:1. Add a new configuration option for your board to the toplevel "Makefile" and to the "MAKEALL" script, using t 阅读全文
posted @ 2011-05-09 17:04 谁与望天堂 阅读(766) 评论(0) 推荐(0) 编辑