Other OS

YOCTO_IMAGE : BANANA-PI-PRO

3 902
Hi I've recelty bought the lemaker's BananaPi Pro. I would like to start development on it starting from the OS.
I choose Yocto and started off working on it refereing the website documents and links available online.
Here below are the steps that i followed to get the Yocto source and selected daisy branch for the further development.
Now as I've to configure the Yocto for the BananaPi Pro i'll be needing the configuration file as I'm new to this I'll
be needing some help and guidance from where and how to get the configuration files.

Cloned Yocto
git clone git://git.yoctoproject.org/poky

Cloned meta-sunxi
git clone https://github.com/cybertux/meta-sunxi.git


cd poky
git checkout -b daisy origin/daisy
cd ../meta-sunxi
git checkout -b daisy origin/olimex-a20-lime

#################Changes Made in bblayers.conf
--- a/conf/bblayers.conf
+++ b/conf/bblayers.conf
@@ -9,6 +9,7 @@ BBLAYERS ?= " \
   /data/src/yocto/poky/meta \
   /data/src/yocto/poky/meta-yocto \
   /data/src/yocto/poky/meta-yocto-bsp \
+  /data/src/yocto/meta-sunxi \
   "
BBLAYERS_NON_REMOVABLE ?= " \
   /data/src/yocto/poky/meta \

#################Changes Made in local.conf
diff --git a/conf/local.conf b/conf/local.conf
index bcb0864..6a793e6 100644
--- a/conf/local.conf
+++ b/conf/local.conf
@@ -55,7 +55,7 @@ PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
#MACHINE ?= "edgerouter"
#
# This sets the default machine to be qemux86 if no other machine is selected:
-MACHINE ??= "qemux86"
+MACHINE ??= "olinuxino-a20-lime"

#
# Where to place downloads
@@ -125,7 +125,7 @@ DISTRO ?= "poky"
#  - 'package_rpm' for rpm style packages
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
# We default to rpm:
-PACKAGE_CLASSES ?= "package_rpm"
+PACKAGE_CLASSES ?= "package_ipk"

#
# SDK/ADT target architecture
@@ -134,7 +134,19 @@ PACKAGE_CLASSES ?= "package_rpm"
# you can build the SDK packages for architectures other than the machine you are
# running the build on (i.e. building i686 packages on an x86_64 host).
# Supported values are i686 and x86_64
-#SDKMACHINE ?= "i686"
+SDKMACHINE ?= "i686"
+
+#
+# The default machine settings are meant to be the lowest common denominator,
+# maximizing generality. Significantly better performance (2x-3x) can be achieved
+# with the following settings:
+#
+# Allwinner A20
+#
+# For Allwinner A20 (Cubieboard2/CubieTruck), the following tuning options are recommended:
+#
+# Enable hardfloat, thumb2 and neon capabilities
+DEFAULTTUNE = "cortexa7hf-neon-vfpv4"

#
# Extra image configuration defaults

##########################################RUNNED BITBAKE

bitbake core-image-base


ATTACHED is the log for bitbake, Request to let me know how can i move fwd.
igorpec  
Any particular reason for dealing with Yocto?

It looks very outdated (2014). At least start here:
https://github.com/linux-sunxi/meta-sunxi

Selected Yocto for the learning process so i can understand how to create everything from scratch. Once i'm able to create an image and successfully do some testings I'll surely move on.

As you said Yocto is outdated, what OS you would recommend if i'm planning to develop an IOT Standalone Modem. Any Idea about Google's BRILIO ?

igorpec  
Armbian (Debian / Ubuntu)  is also built from scratch, "from single line of C code up to SD card image". Try it.

Building is fairly simple, up to date and supported.

https://github.com/igorpecovnik/lib

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

Points Rules