Bananian

Bananian Distro Build Instructions

7 2038
Hello,

Is there a wiki page or instructions elsewhere for building a Bananian release? What do I need to do to replicate a build my own bananian.img from scratch? I've read through the wiki on http://wiki.lemaker.org but its not clear to me where to substitute Bananian specifics into the process required to make an image.


Thanks,

Jeremy
mattrix  
To cross-compile the kernel
  1. apt-get install gcc-arm-linux-gnueabihf git zlib1g-dev libncurses5-dev u-boot-tools
  2. git clone --depth=1 https://github.com/Bananian/linux-bananapi.git /BUILD
  3. cd /BUILD
  4. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
  5. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
  6. make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage modules
  7. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install
Copy the Code

igorpec  
https://github.com/igorpecovnik/BananaPI-Debian

You can check my build script. Pure Debian Wheezy and now Jessie and Ubuntu Trusty.

Hi Igor, looks pretty good. Will give it a try.

Mattrix thanks for posting info on building the kernel. Has any scripts or configuration been posted for a full Bananian image beyond the kernel? Something similar to Igor's scripts?

No, this is not available. If you wan't the exact configuration, why not use Bananian and modify the things you need?

Bananian kernel and tools are available here: https://github.com/Bananian
Everything else is just a packet preselection and some configuration parameters (check: sshd_config, rc.local, uEnv.txt, script.bin/fex, ...)

Just curious on how an image is built. If the scripts to build it were publicly available it'd be possible for others to make contributions and improvements to it.

The simple reason: There is no such a script. Bananian started as a small private project.
Maybe we will create such a script some time and then it will be in our GitHub, of course.

hodoors  
Note: The author has been banned or deleted.

You have to log in before you can reply Login | Sign Up

Points Rules