摘要: http://blog.richliu.com/2010/01/20/843/ 以前都習慣用 printk 和 /proc 做輸入輸出的動作, 不過 debugfs 看起來是 User space 和 kernel space 交流更好的選擇. 先確認 Enable Kernel debugfs Function Kernel hacking —> -*- Debug Filesystem 先來個... 阅读全文
posted @ 2011-06-03 17:27 katago 阅读(869) 评论(0) 推荐(0)
摘要: General informations The Linux kernel configuration item CONFIG_MTD_CMDLINE_PARTS has multiple definitions: drivers/mtd/Kconfig The configuration item CONFIG_MTD_CMDLINE_PARTS: prompt: Command line pa... 阅读全文
posted @ 2011-06-03 16:43 katago 阅读(2532) 评论(0) 推荐(0)
摘要: 一、时区 1. 查看当前时区 date –R 2. 修改设置时区 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpd -p 192.168.74.36 -qNn hwclock –w 3.启动时从hwclock同步到sys 启动脚本加: hwclock –s marvell不加也可以,自动同步。。 阅读全文
posted @ 2011-06-03 15:14 katago 阅读(5064) 评论(0) 推荐(0)