friendlyarm / h3_lichee

BSP for FriendlyARM NanoPi H3
106 stars 104 forks source link

Any update for Linux Kernel 4.14.13? #19

Open jiapei100 opened 6 years ago

jiapei100 commented 6 years ago

Hi,

I wonder if there is a standard way for us to follow, so that we can build whatever Linux Kernel as we wish? instead of just kernel 3.4 ONLY?

Cheers Pei

igorpecovnik commented 6 years ago

Kernel 4.14.y with all required and additional patches for Allwinner(and others) based boards: https://github.com/armbian/build

wuweidong0107 commented 6 years ago

check this: http://wiki.friendlyarm.com/wiki/index.php/Mainline_U-boot_and_Linux

jiapei100 commented 6 years ago

Thank you very much @igorpecovnik and @wuweidong0107 , I'll test both...

Thank you ... Pei

jiapei100 commented 6 years ago

@wuweidong0107 Looks like this sunxi_defconfig was added ONLY 6 days ago? https://github.com/torvalds/linux/blob/master/arch/arm/configs/sunxi_defconfig

I just tried this torvalds linux kernel sunxi_defconfig, and it is successfully built. However, if I want to enable the Network and ssh service, and install a FULL root file system onto my TF card, any more manual for me to follow?

Thank you ... Pei

igorpecovnik commented 6 years ago

Mainline kernel is 3-6 months behind and a network is currently completely broken, while 4.14.15 is broken for other reasons - at least for H3 boards. Also compare stock minimal upstream config with ours: https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi-next.config

any more manual for me to follow?

Use https://docs.armbian.com/Developer-Guide_Build-Preparation/ or dig into this: https://github.com/armbian/build

You need most of the patches mentioned in my previous post for HDMI, network, wireless, audio, overlays, ...

jiapei100 commented 6 years ago

@igorpecovnik Thank you so much... Trying... And, LinkedIn applied... Can you please approve it?

Cheers Pei

igorpecovnik commented 6 years ago

@jiapei100 I approved Linkedin & good luck!

jiapei100 commented 6 years ago

@igorpecovnik It seems to just run ./compile.sh will wget a lot of packages. However, what if I wanna use my own Linaro GCC Toolchain?

Cheers Pei

jiapei100 commented 6 years ago

@igorpecovnik

$ ./compile.sh 
[ o.k. ] Using config file [ config-default.conf ]
[ warn ] This script requires root privileges, trying to use sudo 
[sudo] password for jiapei: 
[ o.k. ] Using config file [ config-default.conf ]
[ o.k. ] This script will try to update

ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[ o.k. ] Preparing [ host ]
[ o.k. ] Build host OS release [ xenial ]
[ o.k. ] Updating from external repository [ aptly ]
[ o.k. ] Syncing clock [ host ]
/media/jiapei/Data/Downloads/operatingsystems/linuxdistro/armbian/lib/general.sh: line 579: ntpdate: command not found
[ .... ] Installing build dependencies 
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu xenial InRelease
Get:3 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
Hit:4 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease
Hit:6 http://mirrors.aliyun.com/ubuntu xenial-security InRelease
Hit:7 http://ppa.launchpad.net/lumas/photoqt/ubuntu xenial InRelease
Get:8 https://download.docker.com/linux/ubuntu xenial InRelease [65.8 kB]
Hit:9 http://repos.codelite.org/wx3.1.0/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu xenial InRelease
Get:11 http://cran.stat.sfu.ca/bin/linux/ubuntu xenial/ InRelease [3,590 B]
Get:12 http://repo.aptly.info squeeze InRelease [4,867 B]
Get:13 http://repo.aptly.info squeeze/main amd64 Packages [3,153 B]
Get:14 http://repo.aptly.info squeeze/main i386 Packages [3,179 B]
Err:15 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
  Connection timed out after 120944 milliseconds                                                                                                
Fetched 98.7 kB in 2min 4s (795 B/s)                                                                                                            
Reading package lists...                                                                                                                        
Building dependency tree...                                                                                                                     
Reading state information...                                                                                                                    
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Failed to fetch https://packagecloud.io/slacktechnologies/slack/debian/dists/jessie/InRelease  Connection timed out after 120944 milliseconds
W: Some index files failed to download. They have been ignored, or old ones used instead.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  bbswitch-dkms containerd libatk-bridge2.0-dev libatspi2.0-dev
  libgmime-2.6-dev libjansson4 libmircookie-dev libmircookie2 libmircore-dev
  libnewlib-dev libquvi-dev libtotem-plparser-dev libxkbcommon-dev libxnvctrl0
  libxtst-dev python-backports.ssl-match-hostname python-cached-property
  python-docker python-dockerpty python-docopt python-funcsigs
  python-functools32 python-jsonschema python-mock python-ndg-httpsclient
  python-pbr python-requests python-texttable python-urllib3 python-websocket
  python-yaml runc screen-resolution-extra wx3.0-headers x11proto-record-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  binutils-arm-linux-gnueabihf cpp-5-arm-linux-gnueabihf
  cpp-arm-linux-gnueabihf gcc-5-arm-linux-gnueabihf
  gcc-5-arm-linux-gnueabihf-base libasan2-armhf-cross libatomic1-armhf-cross
  libc6-armhf-cross libf2fs0 libgcc-5-dev-armhf-cross libgcc1-armhf-cross
  libgomp1-armhf-cross libstdc++6-armhf-cross libubsan0-armhf-cross
  linux-libc-dev-armhf-cross
Suggested packages:
  binutils-doc gcc-5-locales cpp-doc distccmon-gnome distcc-pump dmucs
  gcc-5-multilib-arm-linux-gnueabihf gcc-5-doc libgcc1-dbg-armhf-cross
  libgomp1-dbg-armhf-cross libitm1-dbg-armhf-cross libatomic1-dbg-armhf-cross
  libasan2-dbg-armhf-cross liblsan0-dbg-armhf-cross libtsan0-dbg-armhf-cross
  libubsan0-dbg-armhf-cross libcilkrts5-dbg-armhf-cross
  libmpx0-dbg-armhf-cross libquadmath0-dbg-armhf-cross gdb-arm-linux-gnueabihf
  gcc-doc p7zip-rar
The following NEW packages will be installed:
  apt-cacher-ng aptly binutils-arm-linux-gnueabihf btrfs-tools
  cpp-5-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debian-archive-keyring
  debian-keyring debootstrap dialog distcc f2fs-tools
  gcc-5-arm-linux-gnueabihf gcc-5-arm-linux-gnueabihf-base
  gcc-arm-linux-gnueabihf libasan2-armhf-cross libatomic1-armhf-cross
  libc6-armhf-cross libc6-dev-armhf-cross libf2fs0 libgcc-5-dev-armhf-cross
  libgcc1-armhf-cross libgomp1-armhf-cross liblz4-tool libstdc++6-armhf-cross
  libubsan0-armhf-cross linux-libc-dev-armhf-cross ntpdate p7zip-full pixz pv
  qemu-user-static systemd-container u-boot-tools
0 upgraded, 34 newly installed, 0 to remove and 1 not upgraded.
Need to get 68.7 MB of archives.
After this operation, 218 MB of additional disk space will be used.
Get:1 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 apt-cacher-ng amd64 0.9.1-1ubuntu1 [504 kB]
Get:2 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 ntpdate amd64 1:4.2.8p4+dfsg-3ubuntu5.7 [48.7 kB]
Get:3 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 btrfs-tools amd64 4.4-1ubuntu1 [523 kB]
Get:4 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 gcc-5-arm-linux-gnueabihf-base amd64 5.4.0-6ubuntu1~16.04.4cross1 [24.2 kB]
Get:5 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 cpp-5-arm-linux-gnueabihf amd64 5.4.0-6ubuntu1~16.04.4cross1 [5,743 kB]
Get:6 http://repo.aptly.info squeeze/main amd64 aptly amd64 1.2.0 [6,329 kB]
Get:7 http://mirrors.aliyun.com/ubuntu xenial/main amd64 cpp-arm-linux-gnueabihf amd64 4:5.3.1-1ubuntu1 [3,446 B]
Get:8 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 debian-archive-keyring all 2014.3 [39.3 kB]
Get:9 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 debian-keyring all 2016.01.20 [32.2 MB]
Get:10 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 dialog amd64 1.3-20160209-1 [215 kB]
Get:11 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 distcc amd64 3.1-6.2 [184 kB]
Get:12 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 libf2fs0 amd64 1.6.1-1 [17.1 kB]
Get:13 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 f2fs-tools amd64 1.6.1-1 [52.6 kB]
Get:14 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 binutils-arm-linux-gnueabihf amd64 2.26.1-1ubuntu1~16.04.6 [2,545 kB]
Get:15 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libc6-armhf-cross all 2.23-0ubuntu3cross1 [955 kB]
Get:16 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 libgcc1-armhf-cross all 1:5.4.0-6ubuntu1~16.04.4cross1 [34.9 kB]
Get:17 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 libgomp1-armhf-cross all 5.4.0-6ubuntu1~16.04.4cross1 [48.8 kB]
Get:18 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 libatomic1-armhf-cross all 5.4.0-6ubuntu1~16.04.4cross1 [5,908 B]
Get:19 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 libasan2-armhf-cross all 5.4.0-6ubuntu1~16.04.4cross1 [233 kB]
Get:20 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 libstdc++6-armhf-cross all 5.4.0-6ubuntu1~16.04.4cross1 [309 kB]
Get:21 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 libubsan0-armhf-cross all 5.4.0-6ubuntu1~16.04.4cross1 [83.9 kB]
Get:22 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 libgcc-5-dev-armhf-cross all 5.4.0-6ubuntu1~16.04.4cross1 [474 kB]
Get:23 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 gcc-5-arm-linux-gnueabihf amd64 5.4.0-6ubuntu1~16.04.4cross1 [6,472 kB]
Get:24 http://mirrors.aliyun.com/ubuntu xenial/main amd64 gcc-arm-linux-gnueabihf amd64 4:5.3.1-1ubuntu1 [1,310 B]
Get:25 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 p7zip-full amd64 9.20.1~dfsg.1-4.2 [919 kB]
Get:26 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 pixz amd64 1.0.6-2 [19.8 kB]
Get:27 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 pv amd64 1.6.0-1 [46.8 kB]
Get:28 http://mirrors.aliyun.com/ubuntu xenial-updates/universe amd64 qemu-user-static amd64 1:2.5+dfsg-5ubuntu10.16 [7,520 kB]
Get:29 http://mirrors.aliyun.com/ubuntu xenial-updates/universe amd64 systemd-container amd64 229-4ubuntu21 [649 kB]
Get:30 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 u-boot-tools amd64 2016.01+dfsg1-2ubuntu3 [97.5 kB]
Get:31 http://mirrors.aliyun.com/ubuntu xenial-updates/main amd64 debootstrap all 1.0.78+nmu1ubuntu1.5 [36.4 kB]
Get:32 http://mirrors.aliyun.com/ubuntu xenial/main amd64 linux-libc-dev-armhf-cross all 4.4.0-18.34cross1 [733 kB]
Get:33 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libc6-dev-armhf-cross all 2.23-0ubuntu3cross1 [1,643 kB]
Get:34 http://mirrors.aliyun.com/ubuntu xenial/universe amd64 liblz4-tool amd64 0.0~r131-2ubuntu2 [61.5 kB]
Extracting templates from packages: 100%
Preconfiguring packages ...
Fetched 68.7 MB in 3min 13s (355 kB/s)
                                      Selecting previously unselected package apt-cacher-ng.
(Reading database ... 543009 files and directories currently installed.)
Preparing to unpack .../apt-cacher-ng_0.9.1-1ubuntu1_amd64.deb ...
Unpacking apt-cacher-ng (0.9.1-1ubuntu1) ...
Selecting previously unselected package ntpdate.
Preparing to unpack .../ntpdate_1%3a4.2.8p4+dfsg-3ubuntu5.7_amd64.deb ...
Unpacking ntpdate (1:4.2.8p4+dfsg-3ubuntu5.7) ...
Selecting previously unselected package btrfs-tools.
Preparing to unpack .../btrfs-tools_4.4-1ubuntu1_amd64.deb ...
Unpacking btrfs-tools (4.4-1ubuntu1) ...
Selecting previously unselected package gcc-5-arm-linux-gnueabihf-base:amd64.
Preparing to unpack .../gcc-5-arm-linux-gnueabihf-base_5.4.0-6ubuntu1~16.04.4cross1_amd64.deb ...
Unpacking gcc-5-arm-linux-gnueabihf-base:amd64 (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package cpp-5-arm-linux-gnueabihf.
Preparing to unpack .../cpp-5-arm-linux-gnueabihf_5.4.0-6ubuntu1~16.04.4cross1_amd64.deb ...
Unpacking cpp-5-arm-linux-gnueabihf (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package cpp-arm-linux-gnueabihf.
Preparing to unpack .../cpp-arm-linux-gnueabihf_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking cpp-arm-linux-gnueabihf (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package debian-archive-keyring.
Preparing to unpack .../debian-archive-keyring_2014.3_all.deb ...
Unpacking debian-archive-keyring (2014.3) ...
Selecting previously unselected package debian-keyring.
Preparing to unpack .../debian-keyring_2016.01.20_all.deb ...
Unpacking debian-keyring (2016.01.20) ...
Selecting previously unselected package dialog.
Preparing to unpack .../dialog_1.3-20160209-1_amd64.deb ...
Unpacking dialog (1.3-20160209-1) ...
Selecting previously unselected package distcc.
Preparing to unpack .../distcc_3.1-6.2_amd64.deb ...
Unpacking distcc (3.1-6.2) ...
Selecting previously unselected package libf2fs0:amd64.
Preparing to unpack .../libf2fs0_1.6.1-1_amd64.deb ...
Unpacking libf2fs0:amd64 (1.6.1-1) ...
Selecting previously unselected package f2fs-tools.
Preparing to unpack .../f2fs-tools_1.6.1-1_amd64.deb ...
Unpacking f2fs-tools (1.6.1-1) ...
Selecting previously unselected package binutils-arm-linux-gnueabihf.
Preparing to unpack .../binutils-arm-linux-gnueabihf_2.26.1-1ubuntu1~16.04.6_amd64.deb ...
Unpacking binutils-arm-linux-gnueabihf (2.26.1-1ubuntu1~16.04.6) ...
Selecting previously unselected package libc6-armhf-cross.
Preparing to unpack .../libc6-armhf-cross_2.23-0ubuntu3cross1_all.deb ...
Unpacking libc6-armhf-cross (2.23-0ubuntu3cross1) ...
Selecting previously unselected package libgcc1-armhf-cross.
Preparing to unpack .../libgcc1-armhf-cross_1%3a5.4.0-6ubuntu1~16.04.4cross1_all.deb ...
Unpacking libgcc1-armhf-cross (1:5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package libgomp1-armhf-cross.
Preparing to unpack .../libgomp1-armhf-cross_5.4.0-6ubuntu1~16.04.4cross1_all.deb ...
Unpacking libgomp1-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package libatomic1-armhf-cross.
Preparing to unpack .../libatomic1-armhf-cross_5.4.0-6ubuntu1~16.04.4cross1_all.deb ...
Unpacking libatomic1-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package libasan2-armhf-cross.
Preparing to unpack .../libasan2-armhf-cross_5.4.0-6ubuntu1~16.04.4cross1_all.deb ...
Unpacking libasan2-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package libstdc++6-armhf-cross.
Preparing to unpack .../libstdc++6-armhf-cross_5.4.0-6ubuntu1~16.04.4cross1_all.deb ...
Unpacking libstdc++6-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package libubsan0-armhf-cross.
Preparing to unpack .../libubsan0-armhf-cross_5.4.0-6ubuntu1~16.04.4cross1_all.deb ...
Unpacking libubsan0-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package libgcc-5-dev-armhf-cross.
Preparing to unpack .../libgcc-5-dev-armhf-cross_5.4.0-6ubuntu1~16.04.4cross1_all.deb ...
Unpacking libgcc-5-dev-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package gcc-5-arm-linux-gnueabihf.
Preparing to unpack .../gcc-5-arm-linux-gnueabihf_5.4.0-6ubuntu1~16.04.4cross1_amd64.deb ...
Unpacking gcc-5-arm-linux-gnueabihf (5.4.0-6ubuntu1~16.04.4cross1) ...
Selecting previously unselected package gcc-arm-linux-gnueabihf.
Preparing to unpack .../gcc-arm-linux-gnueabihf_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking gcc-arm-linux-gnueabihf (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package p7zip-full.
Preparing to unpack .../p7zip-full_9.20.1~dfsg.1-4.2_amd64.deb ...
Unpacking p7zip-full (9.20.1~dfsg.1-4.2) ...
Selecting previously unselected package pixz.
Preparing to unpack .../pixz_1.0.6-2_amd64.deb ...
Unpacking pixz (1.0.6-2) ...
Selecting previously unselected package pv.
Preparing to unpack .../archives/pv_1.6.0-1_amd64.deb ...
Unpacking pv (1.6.0-1) ...
Selecting previously unselected package qemu-user-static.
Preparing to unpack .../qemu-user-static_1%3a2.5+dfsg-5ubuntu10.16_amd64.deb ...
Unpacking qemu-user-static (1:2.5+dfsg-5ubuntu10.16) ...
Selecting previously unselected package systemd-container.
Preparing to unpack .../systemd-container_229-4ubuntu21_amd64.deb ...
Unpacking systemd-container (229-4ubuntu21) ...
Selecting previously unselected package u-boot-tools.
Preparing to unpack .../u-boot-tools_2016.01+dfsg1-2ubuntu3_amd64.deb ...
Unpacking u-boot-tools (2016.01+dfsg1-2ubuntu3) ...
Selecting previously unselected package aptly.
Preparing to unpack .../archives/aptly_1.2.0_amd64.deb ...
Unpacking aptly (1.2.0) ...
Selecting previously unselected package debootstrap.
Preparing to unpack .../debootstrap_1.0.78+nmu1ubuntu1.5_all.deb ...
Unpacking debootstrap (1.0.78+nmu1ubuntu1.5) ...
Selecting previously unselected package linux-libc-dev-armhf-cross.
Preparing to unpack .../linux-libc-dev-armhf-cross_4.4.0-18.34cross1_all.deb ...
Unpacking linux-libc-dev-armhf-cross (4.4.0-18.34cross1) ...
Selecting previously unselected package libc6-dev-armhf-cross.
Preparing to unpack .../libc6-dev-armhf-cross_2.23-0ubuntu3cross1_all.deb ...
Unpacking libc6-dev-armhf-cross (2.23-0ubuntu3cross1) ...
Selecting previously unselected package liblz4-tool.
Preparing to unpack .../liblz4-tool_0.0~r131-2ubuntu2_amd64.deb ...
Unpacking liblz4-tool (0.0~r131-2ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
Setting up apt-cacher-ng (0.9.1-1ubuntu1) ...
Setting up ntpdate (1:4.2.8p4+dfsg-3ubuntu5.7) ...
Setting up btrfs-tools (4.4-1ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Setting up gcc-5-arm-linux-gnueabihf-base:amd64 (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up cpp-5-arm-linux-gnueabihf (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up cpp-arm-linux-gnueabihf (4:5.3.1-1ubuntu1) ...
Setting up debian-archive-keyring (2014.3) ...
Setting up debian-keyring (2016.01.20) ...
Setting up dialog (1.3-20160209-1) ...
Setting up distcc (3.1-6.2) ...
Updating symlinks in /usr/lib/distcc ...
Setting up libf2fs0:amd64 (1.6.1-1) ...
Setting up f2fs-tools (1.6.1-1) ...
update-initramfs: deferring update (trigger activated)
Setting up binutils-arm-linux-gnueabihf (2.26.1-1ubuntu1~16.04.6) ...
Setting up libc6-armhf-cross (2.23-0ubuntu3cross1) ...
Setting up libgcc1-armhf-cross (1:5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up libgomp1-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up libatomic1-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up libasan2-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up libstdc++6-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up libubsan0-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up libgcc-5-dev-armhf-cross (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up gcc-5-arm-linux-gnueabihf (5.4.0-6ubuntu1~16.04.4cross1) ...
Setting up gcc-arm-linux-gnueabihf (4:5.3.1-1ubuntu1) ...
Setting up p7zip-full (9.20.1~dfsg.1-4.2) ...
Setting up pixz (1.0.6-2) ...
Setting up pv (1.6.0-1) ...
Setting up qemu-user-static (1:2.5+dfsg-5ubuntu10.16) ...
Setting up systemd-container (229-4ubuntu21) ...
Setting up u-boot-tools (2016.01+dfsg1-2ubuntu3) ...
Setting up aptly (1.2.0) ...
Setting up debootstrap (1.0.78+nmu1ubuntu1.5) ...
Setting up linux-libc-dev-armhf-cross (4.4.0-18.34cross1) ...
Setting up libc6-dev-armhf-cross (2.23-0ubuntu3cross1) ...
Setting up liblz4-tool (0.0~r131-2ubuntu2) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for initramfs-tools (0.122ubuntu8.10) ...
update-initramfs: Generating /boot/initrd.img-4.14.5-041405-generic
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
[ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
igorpecovnik commented 6 years ago

In case of troubles/questions use support forum: https://forum.armbian.com/forum/12-armbian-build-framework/ Let's not hijack this issue.

If you want to put a working image together, you need those packages. Well, ofc not all for this particular build, but since you probably don't know which compiler version you need for this and that kernel, u-boot or some other source, you need them all. This script helps you with those troubles.