Difference between revisions of "SAM9-L9260"

m (Preparing rootfs)
m (Preparing rootfs)
Line 39: Line 39:
 
Install required packages:
 
Install required packages:
  
    sudo apt-get update
+
sudo apt-get update
    sudo apt install -y debootstrap qemu-arm-static mtd-utils
+
sudo apt install -y debootstrap qemu-arm-static mtd-utils
  
 
Create empty directory, which will contain the new rootfs:
 
Create empty directory, which will contain the new rootfs:
  
    mkdir armel-lenny
+
mkdir armel-lenny
  
 
Run debootstrap and wait to finish:
 
Run debootstrap and wait to finish:
  
    sudo qemu-debootstrap --arch armel lenny ./armel-lenny
+
sudo qemu-debootstrap --arch armel lenny ./armel-lenny
  
 
Make some rootfs modifications:
 
Make some rootfs modifications:
  
    sudo chroot ./armel-lenny
+
sudo chroot ./armel-lenny
  
 
== Projects ==
 
== Projects ==

Revision as of 03:48, 15 March 2019

Documents

Under construction

Hardware

Under construction

Software

Building at91bootstrap

Get the sources with:

   git clone -b olimex https://github.com/OLIMEX/at91bootstrap.git

Go to the cloned folder and select SAM9-L9260 configuration:

   cd at91bootstrap
   make sam9_l9260_uboot_defconfig

Compile the sources with:

   make CROSS_COMPILE=arm-linux-gnueabi-

The bootstrap file can be found at:

   binaries/sam9_l9260-dataflashcardboot--3.8.11.bin

Building kernel

Get the sources:

   git clone --depth 1 --branch linux-5.0.y git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Preparing rootfs

In this tutorial Debian Lenny will be used. The build process may vary, depending on host PC system. The following instructions are tested on Ubuntu 18.04.

Install required packages:

sudo apt-get update
sudo apt install -y debootstrap qemu-arm-static mtd-utils

Create empty directory, which will contain the new rootfs:

mkdir armel-lenny

Run debootstrap and wait to finish:

sudo qemu-debootstrap --arch armel lenny ./armel-lenny

Make some rootfs modifications:

sudo chroot ./armel-lenny

Projects

Under construction

FAQ

Under construction