设为首页收藏本站
查看: 10953|回复: 0

SAMA5D3通过buildroot编译文件系统

[复制链接]

25

主题

9

回帖

280

积分

中级会员

积分
280
Willian.Mo 发表于 2015-6-10 17:30:34 | 显示全部楼层 |阅读模式
下载buildroot源码:https://github.com/linux4sam/buildroot-at91

编译配置:
[mw_shl_code=bash,true]$ make sama5d3_defconfig
$ make menuconfig[/mw_shl_code]
[mw_shl_code=bash,true] 添加本地编译交叉工具:
Toolchain  --->
        Toolchain type (External toolchain)  --->                     
        Toolchain (Custom toolchain)  --->                             
        Toolchain origin (Pre-installed toolchain)  --->              
   (/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux)  
   (arm-linux-gnueabihf) Toolchain prefix                           
        External toolchain kernel headers series (3.2.x)  --->      
        External toolchain C library (glibc/eglibc)  --->  

Target options  --->
        设置目标架构,SAMA5D3 CPU基于ARM的cortex-A5

System configuration  --->   
       系统配置,根据实际情况配置

Target packages  --->
    按自己需求增加或裁剪Target packages,里面包含了很多常用的库和工具,包括常用的busybox的选用、音频、网络、mtd-utils等

......[/mw_shl_code]

编译               
[mw_shl_code=bash,true]$ make[/mw_shl_code]
编译完成;
[mw_shl_code=bash,true]$ ls output/images/
rootfs.jffs2  rootfs.tar  rootfs.ubi  rootfs.ubifs[/mw_shl_code]
更多配置可以参考atmel维基:               
http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRootBuild

回复

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-4-19 00:13 , Processed in 0.038133 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表