virtualBOX + ubuntu系统
说明:以下操作是个人新装了kylin系统,没有任何开发工具和配置的操作
1 vim安装:
sudo apt-get install vim
2 git安装:
apt install git
3 make安装:
sudo apt install make
sudo apt-get install libncurses5-dev libncursesw5-dev //支持make menuconfig图形化配置
报错:
guang@guang-kylin:~/Develop/linux-stable$ sudo apt install make
[sudo] password for guang:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
guang@guang-kylin:~/Develop/linux-stable$ sudo apt install make-guile
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
guang@guang-kylin:~/Develop/linux-stable$
参考:
https://blog.csdn.net/u011596455/article/details/60322568
4 安装ARM-Linux-GCC工具链
sudo apt-get install gcc-arm-linux-gnueabi
gcc-arm-linux-gnueabi与gcc-arm-linux-gnueabihf的区别
https://www.cnblogs.com/AP0904225/p/6075868.html
安装uboot工具
sudo apt install u-boot-tools
5 安装qume模拟器:
sudo apt install qemu-system-arm
6 卸载QEMU(选项步骤):
http://blog.csdn.net/Oliverlyn/article/details/56667222
7 git下载linux内核源码(国外源地址,很慢,慢到怀疑人生,不知老铁有没有其它办法,如果不想使用git,下载压缩包就快得多):
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
8 git下载u-boot源码:
git clone git://git.denx.de/u-boot.git u-boot
9 busybox网站:
https://busybox.net/source.html
git下载busybox源码:
git clone git://busybox.net/busybox.git
切换到稳定版本:
git checkout remotes/origin/1_NN_stable
更新源码到最新:
git pull
11 QT
https://blog.csdn.net/LEON1741/article/details/56681718
12 libevent
https://www.cnblogs.com/nearmeng/p/4043548.html
git clone https://github.com/nmathewson/Libevent.git
重要:
https://www.cnblogs.com/wainiwann/p/7096245.html
https://blog.csdn.net/luotuo44/article/category/2435521