Ubuntu LiveSuit V3.06不能烧写问题
2016-03-03 17:18
1176 查看
LiveSuit是全志Allwinner很多平台的烧写工具,今天碰到一个问题,就是要烧image时,不会弹出“是否格式化数据分区?”窗口。
折腾了一下午才搞定,归根到底是awusb此模块没有装载导致。
首先,安装http://linux-sunxi.org/LiveSuit所说的安装LiveSuit。其步骤如下:
Now descend into the awusb directory and run
Now install the module in your module tree, and load it:
Add the following 50-awusb.rules file to /etc/udev/rules.d, to be able to access the device as a normal user:
Now reload udev rules to make the change active
以上步骤基本都需要加上sudo,过程中,可使用lsmod查阅是否装载成功awusb,期间我有遇到如下问题:
1. depmod -a 时提示 depmod: FATAL: awusb: not absolute path
该命令作用是:
在linux桌面系统中,当你编译了新的驱动,为了能够用modprobe ***加载模块, 你需要先将模块拷贝到/lib/modules /2.6.31-20-generic目录下,然后运行sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。
来自: http://man.linuxde.net/depmod 在linux桌面系统中,当你编译了新的驱动,为了能够用modprobe ***加载模块, 你需要先将模块拷贝到/lib/modules /2.6.31-20-generic目录下,然后运行sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。
来自: http://man.linuxde.net/depmod 在linux桌面系统中,当你编译了新的驱动,为了能够用modprobe ***加载模块, 你需要先将模块拷贝到/lib/modules /2.6.31-20-generic目录下,然后运行sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。
来自: http://man.linuxde.net/depmod 在linux桌面系统中,当你编译了新的驱动,为了能够用
2. modprobe awusb 时提示 modprobe: ERROR: could not insert 'awusb': Exec format error
使用dmesg命令,可知错误原因是 awusb: disagrees about version of symbol module_layout
参考:
http://linux-sunxi.org/LiveSuit https://www.freemindworld.com/blog/2013/131010_360_wifi_in_linux.shtml http://stackoverflow.com/questions/2720177/module-layout-version-incompatibility http://blog.chinaunix.net/uid-27714502-id-3685731.html?/223.shtml http://blog.csdn.net/suqin0802/article/details/7268967
折腾了一下午才搞定,归根到底是awusb此模块没有装载导致。
首先,安装http://linux-sunxi.org/LiveSuit所说的安装LiveSuit。其步骤如下:
Debian/Ubuntu
Before you can build this module, you first need to install dkmsapt-get install dkms
Now descend into the awusb directory and run
make
Now install the module in your module tree, and load it:
cp awusb.ko /lib/modules/`uname -r`/kernel/ depmod -a modprobe awusb
Add the following 50-awusb.rules file to /etc/udev/rules.d, to be able to access the device as a normal user:
KERNEL=="aw_efex[0-9]*", MODE="0666"
Now reload udev rules to make the change active
udevadm control --reload-rules
以上步骤基本都需要加上sudo,过程中,可使用lsmod查阅是否装载成功awusb,期间我有遇到如下问题:
1. depmod -a 时提示 depmod: FATAL: awusb: not absolute path
该命令作用是:
在linux桌面系统中,当你编译了新的驱动,为了能够用modprobe ***加载模块, 你需要先将模块拷贝到/lib/modules /2.6.31-20-generic目录下,然后运行sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。
来自: http://man.linuxde.net/depmod 在linux桌面系统中,当你编译了新的驱动,为了能够用modprobe ***加载模块, 你需要先将模块拷贝到/lib/modules /2.6.31-20-generic目录下,然后运行sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。
来自: http://man.linuxde.net/depmod 在linux桌面系统中,当你编译了新的驱动,为了能够用modprobe ***加载模块, 你需要先将模块拷贝到/lib/modules /2.6.31-20-generic目录下,然后运行sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。
来自: http://man.linuxde.net/depmod 在linux桌面系统中,当你编译了新的驱动,为了能够用
modprobe ***加载模块, 你需要先将模块拷贝到
/lib/modules /xxxx-generic目录下,然后运行
sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。
2. modprobe awusb 时提示 modprobe: ERROR: could not insert 'awusb': Exec format error
使用dmesg命令,可知错误原因是 awusb: disagrees about version of symbol module_layout
参考:
http://linux-sunxi.org/LiveSuit https://www.freemindworld.com/blog/2013/131010_360_wifi_in_linux.shtml http://stackoverflow.com/questions/2720177/module-layout-version-incompatibility http://blog.chinaunix.net/uid-27714502-id-3685731.html?/223.shtml http://blog.csdn.net/suqin0802/article/details/7268967
相关文章推荐
- 系统API:UIView阻尼动画
- UIImage 图片处理:截图,缩放,设定大小,存储
- 设置cookie值(key,value,过期天数,域名)functionsetCookie(cookieName, cookieValue, expire
- 【UI】【View】自定义布局方法与注意事项(二)
- iOS学习之路-UIPickerView初认识与使用
- UITableView点击切换状态分析
- 获取当前UITableViewCell在TableView上的索引
- iOS:设置UILabel行距实例
- How to remove the bottom gap of UIPageViewController
- 开始学习SOUI.
- Android优化——UI检视利器:Hierarchy Viewer
- PWA PSI statusingclient.UpdateStatus更新任务页面的AssnCustomFields的TextValue值
- @PathVariable和@RequestParam的区别,@SessionAttributes
- Android Volley完全解析(三),定制自己的Request
- ffplay中的FrameQueue的自我理解
- MVC5 + EF6 入门完整教程二:从前端的UI开始
- 一些常见的蓝牙(Bluetooth)相关的技术术语表
- GDB display memory value
- Educational Codeforces Round 9(D. Longest Subsequence(筛法))
- 简单的build模式