摘要: 在make menuconfig时,提示:*** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1 make: *** [menuconfig] Error 阅读全文
posted @ 2012-11-18 20:33 莫回头 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1先设定一个root的密码,sudo passwd root2root 登陆,su root3 备份一下lightgdmcp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak4vi /etc/lightdm/lightdm.conf5 增加:greeter-show-manual-login=true修改后为:[SeatDefaults] greeter-session=unity-greeter user-session=ubuntu greeter-show-manual-login=true重启登陆即可。已经可以输入ro 阅读全文
posted @ 2012-11-18 20:13 莫回头 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 以前看程序的时候没有仔细看过Kconfig文件,这次分析barebox的时候仔细看了下,我们首先看根目录下的Kconfig文件:config SRCARCH string option env="SRCARCH"source "arch/$SRCARCH/Kconfig" 里面配置了构架,然后就调用构架下面的Kconfig文件了。 此处变量SRCARCH的值是在根目录下的Makefile中定义的,里面有一句话SRCARCH := $(ARCH) 所以当我们在对barebox进行具体配置前,先设置两个变量。1. export ARCH=arm2. expo 阅读全文
posted @ 2012-11-18 16:44 莫回头 阅读(865) 评论(0) 推荐(0) 编辑
摘要: 以前都在Windows下用source insight,但是最近需要在Linux下使用,幸好知道有wine这个东西。多知道一些东西还是有意义的。 安装: 1. sudo apt-get install wine 2.将source insight拷贝到Linux中 3.进入Linux中InsightSetup.exe所在目录,使用wine安装source insight: $wine InsightSetup.exe 之后的界面和Windows完全相同 4.启动source insight 1)命令行启动 $wine "C:/Program Files/Source Insight 阅读全文
posted @ 2012-11-18 14:20 莫回头 阅读(2907) 评论(0) 推荐(0) 编辑