Compile file system by buildroot on SAMA5D3

Moderator: nferre

crown
Posts: 7
Joined: Fri Aug 12, 2016 5:17 am

Compile file system by buildroot on SAMA5D3

Thu Aug 25, 2016 12:19 pm

Step 1: download buildroot original code
https://github.com/linux4sam/buildroot-at91

Step 2: compile and configure

1
$ make sama5d3_defconfig
2
$ make menuconfig

01
Add local compile across implement:
02
03Toolchain --->
04 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 --->
Set the aim architecture,SAMA5D3 CPU based on ARMcortex-A5

System configuration --->
System configuring,configuring with real situation

Target packages --->
Clipping or adding target packages according to your own requirements, it includes many frequently-used libraries and implement
such as busybox, audio, network, mtd-utils等

......

Step 3: compile
1
$ make


Step 4:compile completion
1
2 $ ls output/images/

rootfs.jffs2 rootfs.tar rootfs.ubi rootfs.ubifs

Need more configuration, please refer to wikipedia of atmel
BuildRootBuild < Linux4SAM < TWiki

Thanks for your reading !
crown
Posts: 7
Joined: Fri Aug 12, 2016 5:17 am

Compile file system by buildroot on SAMA5D3

Thu Jan 25, 2018 8:29 am

download buildroot source code at https://github.com/linux4sam/buildroot-at91

compile and configure:
1 $ make sama5d3_defconfig
2 $ make menuconfig

01 Add local compile across implement
02 Toolchain --->
03 Toolchain type (External toolchain) --->
04 Toolchain (Custom toolchain) --->
05 Toolchain origin (Pre-installed toolchain) --->
06 (/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux)
07 (arm-linux-gnueabihf) Toolchain prefix
08 External toolchain kernel headers series (3.2.x) --->
09 External toolchain C library (glibc/eglibc) --->
10
11Target options --->
12 Set the aim architecture,SAMA5D3 CPU based on ARMcortex-A5
13
14 System configuration --->
15 System configuring,configuring with real situation
16
17 Target packages --->
18 lipping or adding target packages according to your own requirements, it includes many frequently-used libraries and implement
19
20......

Compile
1 $ make

Compile completion
1 $ ls output/images/
2 rootfs.jffs2 rootfs.tar rootfs.ubi rootfs.ubifs

Here use a 5d3x board as an example, if need more configuration, please refer to wikipedia atmel linux4sam/bin/view/Linux4SAM/BuildRootBuild

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 3 guests