Linux: ARC CPU Linux kernels and GNU tools
来源:互联网 发布:杭州淘宝房产司法拍卖 编辑:程序博客网 时间:2024/05/16 14:30
ARC CPU Linux kernels and GNU tools
http://sourceforge.net/projects/arc-linux/files/
1)ARC GNU Toolchain
编译工具链,支持ARC700
# ./build_elf32.sh $INSTALL_DIR
# ./build_uclibc.sh $INSTALL_DIR $LINUX_DIR
Ubuntu下从源代码编译生成工具链需要依赖库:
.gcc
.make
.texinfo
.bison
.flex
.byacc
.qt,libX11
.libncurses
.libexpat
.zlib
折腾了一下午,终于成功编译,基本上都是因为缺少某个库导致编译不过
编译完成将 arc-elf32/bin,arc-uclibc/bin加入系统$PATH
2)ARC Linux
1. build busybox
$ cp arc_config .config
$ make oldconfig
$ make CROSS_COMPILE=arc-linux-uclibc-
$ make CROSS_COMPILE=arc-linux-uclibc- install
编译找不到<linux/version.h>的解决方法:
进入arc_linux 源代码目录 make include/linux/version.h
然后将version.h拷贝到busybox/include/linux
2. install busybox into initramfs
生成busybox.cpio, 放到arc_linux源代码目录
并修改config文件arch/arc/configs/aa4_defconfig:
CONFIG_INITRAMFS_SOURCE="busybox.cpio"
3. build the Linux kernel
$ cp arch/arc/configs/aa4_defconfig .config
$ make oldconfig
$ make clean
$ make bootpImage
编译生成vmlinux
kernel编译完成
3)U-Boot for ARC
u-boot-2009.06
先不考虑移植,编译自带的arcangel_arc700_ram_config
$ make arcangel_arc700_ram_config
$ make
编译OK
到此,ARC开发环境OK,下一步移植u-boot,移植kernel,移植rootfs
- Linux: ARC CPU Linux kernels and GNU tools
- GNU/Linux Command-Line Tools Summary
- GNU/Linux笔记本CPU频率调整 -转
- How to Build Linux Kernels
- Linux Security Systems and Tools
- C++ CGI library GNU CgiCc and Linux
- GNU/LINUX
- GNU/Linux
- 1.1. Linux Versus Other Unix-Like Kernels
- Cleanup Unused Linux Kernels in Ubuntu
- 基于arc架构cpu平台的Linux系统移植
- Linux Command and Tools(updating)
- ****Marks*****(Linux Learning and useful tools)
- Linux Tools Intro - CMake build and install
- Linux,理解GNU/Linux
- GNU/Linux的GNU是什么意思
- linux tools
- linux tools
- (转)Android的数据存储
- 3020 Antenna Placement //MaxMatch
- 20100821
- 基于arm的网络图像传输
- 介绍基于ARM的网络图像传输技术
- Linux: ARC CPU Linux kernels and GNU tools
- string和stringbuffer的区别
- 获取Android源代码
- Storyboard
- Genero程序开发系列-(1:序言)
- 做一个成功的男人
- 系统思考
- 在win7下zend5.5中文环境搭建方法
- 常见排序算法及其实现