Section 3, Buildroot, Buildroot installation – Rainbow Electronics QIL-A9260-C11 User Manual

Page 8: How to install the root fs on the qil-a9260

Advertising
background image

S

ECTION

3

1. Buildroot

Buildroot allows to generate both a cross-compilation toolchain and a jffs2 root file system
for the QIL-A9260 module.

1.1. Buildroot installation

Here are the steps needed to install a cross compiler & generate a root file system:

Download the source code from the calao ftp site

The configuration step is very similar to the linux kernel. Indeed, if you want to custumize
buildroot issue the following command:

make menuconfig

Once everything is configured, issue the make command

Note: You could also custumize busybox by issuing the following command:

make busybox-menuconfig

make

Once finished, we should obtain a rootfs.arm.jffs2 which could be program in one of the
available nand flash partition.

1.2. How to install the Root FS on the QIL-A9260

The QIL-A9260 boots a linux kernel pre-installed in the nand flash memory. Here is a brief
description of the nand flash memory mapping.On the first partition, we reserved the first
16Mbytes for the linux kernels. Indeed at the 0x000A0000 offset we put a rescue linux
kernel bound to a compressed cpio rfs image and at the 0x400000 offset we put a second
linux kernel which mounts the RFS from the 2

nd

partition. Then we find two 120 Mbytes

partitions. We put on the first one the default jffs2 root file system and let the second one
available for the user.

Here is the list of the default partitions:

0x00000000-0x01000000 : "Uboot & Kernel"

0x01000000-0x08800000 : "Root FS"

0x08800000-0x10000000 : "FS"

Note: You can customize the nand flash memory mapping by editing the board-qil-a9260.c
located in the /arch/arm/mach-at91/ directory of the linux kernel source tree.

Datasheet GSG-00006-A01

8/34

Advertising