龍芯1B雲終端Kernel編譯方法
搭建交叉工具鏈
1.wget http://www.loongson.cn/uploadfile/embed/ls1b/gcc-3.4.6-2f.tar.gz
2.將gcc-3.4.6-2f.tar.gz解壓到/opt/
編譯代碼
1.git-clonegit://git.printk.org/caiwanwei/linux-loongson1b-cloud
2.export PATH=$PATH:/opt/gcc-3.4.6/bin/
3. cd linux-loongson1b-cloud/
4. cp arch/mips/configs/loongson1bcloud_defconfig ./.config
5. make menuconfig
6. make
7. cp vmlinux /tftpshare
燒寫Kernel
pmon> ifaddr syn0 192.168.1.x1
pmon>devcp tftp://192.168.1.x2/vmlinux/dev/mtd1 (tftp服務器ip)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.