Devices
jelly_bear
Technologies come and technologies go, but insight is forever.
展开
-
加载驱动时出现问题
hello: version magic '2.6.32' should be '2.6.32.2-FriendlyARM mod_unload ARMv4'需要重新编译内核,make menuconfig 在General setup里面有一个()Local version的选项,点进去把,-friendlyarm给删除了,退出,make zImage,重新烧内核到开发板中,解决问题。转载 2012-04-08 23:13:24 · 826 阅读 · 0 评论 -
自动分配设备节点时出现问题
问题: class_create, class_device_create 等未详细定义解决方法:添加linux/device.h 注意 这里class_device_create 已经改变为device_create这里要注意了 device_create 返回结构体为device 而不是class_device!所以要对 static struct class_device *d原创 2012-04-10 22:10:07 · 359 阅读 · 0 评论 -
驱动 编译时 出现问题
1.warning: passing argument 5 of 鈥榬equest_irq鈥?makes pointer from integer without a cast 将device_id 变为静态变量 static int tmp_irq = 1; request_irq(IRQ_ADC, s3c2440_adc_handler, IRQF_SHARED,转载 2012-04-20 08:26:30 · 634 阅读 · 0 评论 -
移植tslib 到mini2440
apt-get install autoconfapt-get install automakeapt-get install libtool编译:tar xzf tslib-1.4.tar.gzcd tslib./autogen.sh mkdir tmpecho "ac_cv_func_malloc_0_nonnull=yes" >arm-linux.cach转载 2012-05-11 14:18:30 · 442 阅读 · 0 评论 -
mac 公共密钥
1.创建密钥ssh-keygen -t rsa -C "xxx@xxx.com"输入密码2.上传生成id_rsa_xxx 到服务器3.添加密钥ssh-add id_rsa_xxx4.登录ssh xxx@server.com -p 1046原创 2017-05-08 15:51:18 · 758 阅读 · 0 评论