上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 138 下一页
摘要: http://my.chinaunix.net/space.php?uid=20382483&do=blog&id=321047 多数的 Linux 内核态程序都需要和用户空间的进程交换数据,但 Linux 内核态无法对传统的 Linux 进程间同步和通信的方法提供足够的支持。本文总结并比较了几种内核态与用户态进程通信的实现方法,并推荐使用 netlink 套接字实现中断环境与用户态进程通信。 1... 阅读全文
posted @ 2011-06-29 23:41 katago 阅读(389) 评论(0) 推荐(0)
摘要: #!/bin/sh echo "init..." echo "ifconfig eth0..." ifconfig eth0 192.168.73.59 mount -o nolock 192.168.73.60:/rootfs /mnt exec /sbin/switch_root /mnt /linuxrc 阅读全文
posted @ 2011-06-29 19:56 katago 阅读(279) 评论(0) 推荐(0)
摘要: Freeing init memory: 4172K Failed to execute /init Failed to execute /sbin/init. Attempting defaults... Kernel panic - not syncing: No init foun... 阅读全文
posted @ 2011-06-29 17:53 katago 阅读(7754) 评论(1) 推荐(0)
摘要: 内存加到1G后,发现后面的512M不能使用,导致kernel起不来,停在starting kernel那里。 所以在uboot环境下检测后面512M内存: uboot下sflash 地址为0xf8000000,前100000为uboot,后面的为kernel Marvell>> iminfo 0xf8100000 ## Checking Image at f8100000 ... Image ... 阅读全文
posted @ 2011-06-29 15:47 katago 阅读(516) 评论(0) 推荐(0)
摘要: BANK - also "memory bank" A bank of memory (flash or RAM) consists of all those memory chips on your system that are controlled by the same chip select signal. For example, a system might consist of o... 阅读全文
posted @ 2011-06-29 15:35 katago 阅读(511) 评论(0) 推荐(0)
摘要: 在 U-Boot中,Denx(U-Boot的开发商)针对常见的DDR内存故障进行了严格的检测处理,下图描述了该检测处理过程的三个步骤:检测数据线、地址线和DDR物理存储部件,主要涉及这三个步骤的处理过程和方法,对于DDR子系统,是很容易出故障并且是很难debug检测出来的,而Denx所针对 DDR内存故障设计的检测方法是非常严谨,值得学习研究的。 下面主要是相关的检测处理思路及问题: 1、为什么先... 阅读全文
posted @ 2011-06-29 15:26 katago 阅读(4973) 评论(0) 推荐(0)
摘要: 使用asm/div64.h中宏do_div #include <asm/div64.h> unsigned long long x,y,result; unsigned long mod; mod = do_div(x,y); result = x; 64 bit division 结果保存在x中;余数保存在返回结果中。 阅读全文
posted @ 2011-06-28 21:39 katago 阅读(277) 评论(1) 推荐(0)
摘要: 接入usb移动硬盘后不能识别,内核一直打印提示信息如下 : hub 1-1:1.0: over-current change on port1 hub 1-1:1.0: over-current change on port1 过流保护? 阅读全文
posted @ 2011-06-28 21:17 katago 阅读(1597) 评论(0) 推荐(0)
摘要: http://blogold.chinaunix.net/u/31100/showart_244622.html (转载) ================================ Author: taoyuetao Email: tao_yuetao@yahoo.com.cn Blog: taoyuetao.cublog.cn 2006-11-03 ===================... 阅读全文
posted @ 2011-06-28 21:15 katago 阅读(328) 评论(0) 推荐(0)
摘要: http://blogold.chinaunix.net/u3/111381/showart_2163688.html 5.2.2:接口驱动中的hub_thread()函数 我们之前在分析usb_hub_init()的代码的时候,忽略掉了一部份. 代码片段如下所示: int usb_hub_init(void) { …… khubd_task = kthread_run(hub_thread,... 阅读全文
posted @ 2011-06-28 21:12 katago 阅读(1985) 评论(0) 推荐(0)
上一页 1 ··· 110 111 112 113 114 115 116 117 118 ··· 138 下一页