Build own lininoOS and lininoIO

The linino source code repository is a git repository hosted on github servers. To you use it you must install git on your computer.

The first step is to clone the linino repository:

 
 
 
 

This will create the directory linino_CC with the linino source code.

 
cd linino_CC
 
 

To update linino to the last OpenWrt release you have to do the following commands:

 
 
./scripts/feeds update -a
./scripts/feeds install -a
 
 

The first command will update packages and lists of feeds. The second command will install packages.  Both commands use the option -a that means to apply the command on all packages.

After update and install, reset the linino default configuration:

 
 
make deflinino
 
 

Now, you are ready to configure linino. You should use the pseudo graphical configuration to choose which components to include in your system:

 
 
make menuconfig
 
 

You can also customize the Linux kernel configuration with the following command:

 
 
make kernel_menuconfig
 
 

When your configuration is done, the last step is to build the system:

 
 
make
 
 

The first build is very very long, it can take more than 2 hours. On multicore machine you can use the make's option -j to speed up the building procedure.

If you want to see what is going on during the building procedure, or you want to see an error detail, you can use the environment variable V

 
 
make V=99
 
 

When the compilation is over, you will find the system images in the bin/ar71xx directory:

 
 
build-config.txt
git-ver.txt
linino-caldata.bin
lininoIO-generic-linino-tian-kernel.bin
lininoIO-generic-linino-tian-rootfs-squashfs.bin
lininoIO-generic-linino-tian-squashfs-sysupgrade.bin
lininoIO-generic-root.squashfs
lininoIO-generic-root.squashfs-64k
lininoIO-generic-uImage-gzip.bin
lininoIO-generic-uImage-lzma.bin
lininoIO-generic-vmlinux.bin
lininoIO-generic-vmlinux.elf
lininoIO-generic-vmlinux.gz
lininoIO-generic-vmlinux.lzma
lininoIO-generic-vmlinux-lzma.elf
md5sums
packages/
sha256sums
u-boot-linino-chiwawa.bin
u-boot-linino-freedog.bin
u-boot-linino-lei.bin
u-boot-linino-one.bin
u-boot-linino-tian.bin
u-boot-linino-yun.bin
u-boot-linino-yun-mini.bin
 
 

You are ready to flash your own image on your board. Please read the following pages about flashing procedure:

How to update SPI flash from u-boot