Commit Graph

73 Commits

Author SHA1 Message Date
Igor Pecovnik
e867773d15 Enable Ubuntu Focal in expert mode. It can be build now. 2020-02-02 23:54:59 +01:00
Igor Pečovnik
89a5a394ba
Add exceptions to support native Ubuntu 20.04 building (#1764)
* Add exceptions to support native Ubuntu 20.04 building, fix small bug related to SD card write verification.

* Improve first install steps by installing Dialog and lsb_release first. This left out since we moved host install after we choose what we will do ... dialog is essential for this. Second we don't wait properly for APT manager to finish the process. Fixed with this commit

* Suppress output

* Update OdroidXU4 dev config & patches
2020-02-02 10:31:30 +01:00
Igor Pecovnik
82e5a27026 Disable Focal from menu since its too broken. 2019-12-13 20:31:12 +01:00
Igor Pecovnik
8df3e98401 Add Debian 11 bullseye 2019-12-13 20:01:00 +01:00
Igor Pecovnik
6e54a48778 Exchange EOL Ubuntu Disco with Ubuntu Focal 20.04 LTS (development) 2019-12-12 15:51:42 +01:00
Igor Pečovnik
ac309b9355
Repository managemenet doesn't work after https://github.com/armbian/build/pull/1612 This commit fixes the problem. (#1645) 2019-11-28 15:51:23 +01:00
Levin Du
77a2dba163 Support eval bash statement in ./compile.sh (#1616)
Currently, invoking compile.sh will run its mono task of building all the
components into a final image.

In some situation, especially when developing with Kernel or U-Boot, it is
handy to run a portion of that great task like:

    export BOARD=firefly-rk3399
    export BRANCH=dev
    # more to avoid the popup of dialog
    ./compile.sh 'fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"'
    ./compile.sh 'compile_uboot'

or use a profile to keep things simple:

    ./compile.sh default BRANCH=dev 'compile_uboot'
2019-11-26 18:00:39 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00
Levin Du
01fec6b3b4 lib/main.sh: allow correctly use of 'head' in BRANCH reference. (#1611)
In fetch_from_repo() from general.sh, when ref uses `head` as value, the ref_name
will be set to `HEAD`, which is later used as a subdir:

   local workdir=$dir/$ref_name

This commit makes the directories consistent with the workdir above.
2019-11-16 09:49:00 +01:00
Igor Pečovnik
0d0cd7f191
Remove Debian Jessie (#1560) 2019-09-16 22:13:55 +02:00
Igor Pečovnik
1221d59233
Build all targets RFC (#1515)
* Introducing build-all-ng
* Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only
* Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made.
* repository manipulating RFC
* Add bianco deb file that is added by default if repository is clean
* Switch to gpg2 signing method, small bugfix
* Create subdir for debs and debs-beta
* Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918
* add all modules by default to Odroid N2, but leave them commented
* Bugfix: not making any builds when selecting kernel_only
* Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making
* Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528)
* Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity.
* added RockPi 4A
* New format for board config
* Fix Bluetooth dependencies for minimal package - add rfkill to family related installs
* Moving networkd-dispatcher from minimal image
* Cubox-i: update default config
* Improving umount process
* Add purgesource feature
* Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration
* Enable full desktop on most powerfull boards and notebooks

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 22:13:13 +02:00
Igor Pecovnik
29fc989c1b
Bugfix: improper BUILD_MINIMAL handling and fixing terrible synaptic performance https://forum.armbian.com/topic/7422-terrible-synaptic-performance/
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 22:17:13 +02:00
Igor Pecovnik
737bd30d04
build_minimal related bugfixes. Cache didn't follow minimal filename
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 09:10:20 +02:00
Igor Pečovnik
f416c35c16
Adding minimal image (#1504)
* Minimal build setup (#1463)
* Netplan folder check & armbian-tools dependency on expect (and tcl) solved (#1464)
* Prevent netplan configration if it is not installed
* Resolved expect dependecy of armbian-tools
* More packages added for armbian-tools
* Added python3-apt and rsyslog to minimal installation
* Debootstrap variant doesn't play nice. We loose networking and it affects standard builds as well. Removing.
* Python-to-Bash conversion (#1470)
* Remove python3-apt dependency from BSP package, fix netplan error also on Disco and putting back varint=minbase ... tested Disco, Bionic
* Distinguish package list: *-minimal.list and *-desktop.list
* Enable Wireguard back which was removed by mistake. https://github.com/armbian/build/issues/1471
* Having minbase debootstrap variant for all will require further adjustements with current package base - backward compatibility. Minimal image is now Python free but need further testings ...
* Add wireless-regdb and crda to the pakage base, fix Ubuntu keyring warning while debootstrap.
* Add figlet to sort out missing fonts
* Moving few packages here and there. Bugfix when creating a cache package list
* Manually compared base images - they are the same with small insignificant difference. Minimal image has to be futher tuned
* Adjustements for bash powered lsb_release, adding some needed packages
* Fixed (no) network problems on Bionic/Disco
* Add rsync to debootstrap_list and few minor fixes
* Adjust text in lsb_release
* Olimex Micro A20: fix wrong boot config
* Remove duplicate depenedency
* Odroid C1: adjust kernel config
2019-08-16 19:21:12 +02:00
Zhang Ning
36b42f1968 merge KVIM1 u-boot blobs to odroidc2-blobs
less external git.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-05 12:42:02 +08:00
Tony
bc4883e5ee
Merge pull request #1480 from zhangn1985/kvim
add support for Khadas VIM1
add HDMI tweaks from Jonas Karlman
small config update
2019-08-05 00:13:05 -04:00
zhangn1985
35aedf08b0 main: show docker in build options (#1479)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 14:24:37 +02:00
Zhang Ning
7e831b9ace add Khadas VIM1
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 13:07:33 +08:00
Przemysław Sztoch
31b56af49f Default config as symlink and better kernel package metadata (#1446)
* Default config as symlink for comfort switching between several custom boards.

* Better metadata for kernel packages.

* Local changes with detailed git diff.

* Support for gz and bz2 compression (supported by balenaEtcher).
Support for generation sha without 7z compression.
Bug fix for current directory changing in 7z compression.

* Remove bzip2 and use fast pigz for gziping.

* Deleted typo with "gz" in 7z section.
Separated parameter for gpg.

* Information about exit command.
2019-07-06 22:35:42 +02:00
Igor Pečovnik
79ef5ccf4d
Enable Debian buster
for non experts. Its in decent shape, small bugs will eventually be fixed and official release is just around the corner.
2019-07-06 11:33:33 +02:00
Igor Pecovnik
e8e0c698f1
Remove specific versions of the used kernels https://github.com/armbian/build/issues/1440
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-02 08:43:12 +02:00
Igor Pečovnik
633242e835
Changes to build script and patches adjustment (#1423)
- change console welcome text
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
* Adjust tabs and alter displaying build options at the end - hide empty ones
* Fix wrong MOTD message, adjust logic to autologin by default and request login for both notebooks
* Making fs cache naming more intuitive, rename script
* Move additional kernel drivers into separate file. Add AUFS for K5.1 this way, attach wireguard sources to last known working tag. master is broken atm
* Add two more extra wireless drivers 88x2BU, (improved) 8811EU and introduce switch EXTRAWIFI which is enabled by default
* Move 8812AU to the same version we have now. More recent has some performance issues in AP mode. Adjust configuration, add mvebut-dev 5.1.y kernel
* Enable Wireguard also on 3.10.y since it was fixed upstream. Attach bach to master branch since its working now
* Rockchip64 & RK3399 - upstream patches and remove deprecated patches, mvebu64 add DEV kernel attached to 5.1.y
* Enable BT on Tinkerboard CLI images as well
* cubox-i move to 5.1.y and enable missing HDMI
* Bugfixes for adding wireless driver to Kconfig. Adjusted RK3399 kernel due to upstream changes at FriendlyARM - does not boot yet. Changes has to be extract from their commits. Removed patches with RTL8188EU since we add more recent driver with a new precedure. Small fixes mvebu-default, udoo-next, s56818-next, ... remove deprecated patches.
* Boot-able RK3399-default config, add upstream patches for K4.4.y mvebu-default/udoo-next
* Adjust overclocking patch to meet upstream changes
* Odroid XU4 - remove deprecated kernel patches
2019-06-26 07:31:11 +02:00
Firefly Team
2f8ce01852 Docker: override stty size in container (#1420)
With some docker CLI version, `stty size` in the container will return `0 0`,
which causes `dialog` to fail. This commit fixes that by setting the actual
terminal size.

For more infor, see:

  https://github.com/docker/for-linux/issues/314
2019-06-22 23:32:59 -04:00
jwzawadzki
8830b8aa45 [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +02:00
Igor Pečovnik
da86ab5df5
Cosmetics (#1404)
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
2019-06-11 00:24:46 +02:00
Manuel Rüger
bffdfcd7f0 Apply shellcheck recommendations (#1389)
* compile.sh: Apply shellcheck recommendations

* lib/upgrade.sh: Apply shellcheck recommendations

* lib/main.sh: Apply shellcheck recommendations

* lib/desktop.sh: Apply shellcheck recommendations

* lib/makeboarddeb.sh: Apply shellcheck recommendations
2019-05-30 22:19:53 +02:00
Igor Pecovnik
f1f10fff9b Revert "[ build script ] small speed improvements when building all packages"
This reverts commit ae920870e7.
2019-05-28 22:29:11 +02:00
Igor Pecovnik
ae920870e7 [ build script ] small speed improvements when building all packages 2019-05-17 19:19:53 +02:00
Igor Pecovnik
25889024dd [ general ] Fine tune boards descriptions. Change text "supported" with "boards with high level of software maturity" 2019-05-11 21:50:17 +02:00
m][sko
24c81d1b05 Ubuntu 19.04 support (#1351)
* ubuntu 19.04 support

* ubuntu 19.04 support 2

* ubuntu 19.04 support 3

* add netplan config
2019-04-19 17:14:57 +02:00
Igor Pecovnik
b92f11e89a [ added Debian buster ] Initial commit. It builds, but its not tested nor fine tuned. 2019-04-17 21:39:54 +02:00
Martin Ayotte
69eaec7b21 update menu so that Dev shows 5.x too 2019-03-25 09:18:01 -04:00
Lane Jennison
6c24200575 return build options upon completion to make it easy to repeat build 2019-03-08 00:04:02 -05:00
Igor Pecovnik
9758711ed4 [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations 2019-02-07 15:24:06 +01:00
Igor Pecovnik
49930576d3 [ add WireGuard ] too all kernels >= 3.10, enable at compile time with WIREGUARD=yes 2019-01-24 21:13:10 +01:00
Igor Pecovnik
6b1a33930b [ espressobin ] Move ATF/U-boot to 18.12, add new DDR configurations & bump kernel to 4.19.y 2018-12-30 16:14:27 +01:00
Igor Pecovnik
e9562b1ff4 [ general ] TVboxes configurations are getting its own category "tvb" @150balbes Moving current three boxes we have in there. 2018-12-06 17:43:27 +01:00
Igor Pecovnik
3a2ebeabc9 Declaring Jessie EOL and moving it under EXPERT="yes". Invoking Bionic https://github.com/armbian/build/pull/1105 2018-09-10 11:04:09 +02:00
Igor Pecovnik
fa88e5c2aa Implement bulding and packing all different boot firmware for Espressobin, bump u-boot and ATF sources to latest version 18.09 2018-09-09 23:22:50 +02:00
Igor Pecovnik
dfc27eb741 Small bugfix. If EXPERT is not set to yes we got error when we choose a board with DEV only target. By accepting this developers warning we have to get full expert status anyway. 2018-09-08 09:49:08 +02:00
Igor Pecovnik
445c9715d9 RK3399 Fix wrong u-boot configuration for T4, use forked rkbin tools, upstream patches 2018-08-21 15:56:44 +02:00
Igor Pecovnik
328fe61844 Forgot to add fetch repository with test data. Fixed. 2018-08-20 15:45:11 +02:00
Igor Pecovnik
9f2441a1d5 Create Markdown formatted report when building all kernels. Prepared to include simple testing report if exists. 2018-08-20 13:27:34 +02:00
Igor Pecovnik
6d82a89748 Initial support for RK3399 Firefly and FriendlyARM PC T4
Based on work of David Huang https://github.com/hjc4869 Changed in the transition:
- firefly family was renamed to rk3399, which we actually never started to use. It was made for Odroid N1, which will never be sold
- adjusted compiler toolchain2 parameter
- added standard wireless drivers
- kernel config with the following changes: Docker dependencies, ZRAM, CPUfreq info, ...
- added upstream patches
- made test Ubuntu Bionic desktop and CLI Stretch build, bootlog: http://ix.io/1jVu

TBD: wifi and BT support, mainline kernel, ...
2018-08-11 23:12:58 +02:00
Igor Pecovnik
d1a9c8a768 Merging main libs into the stable. Hack for building Bionic on Xenial left out 2018-05-24 21:01:02 +02:00
Igor Pecovnik
5a6da62a63 Install armbian-firmware (and remove linux-firmware from Xenial) and create armbian-desktop-$BRANCH by default. Desktop package is not yet used but can be installed manually on top of CLI image. 2018-03-04 21:30:09 +01:00
Igor Pecovnik
ddf962fb0d Fix broken logic for beta, stable & user-build images 2018-01-25 08:53:12 +01:00
zador.blood.stained
d571e4bd64 Always show the WIP/CSC/EOS button 2017-11-27 10:27:05 +03:00
ThomasKaiser
c8b2eaa893 Introduce BOARDFAMILY and base LINUXFAMILY on this
https://forum.armbian.com/topic/5759-535-bug-questions-collection/ -- logic should also work with legacy kernels and shouldn't break based on DT contents
2017-11-26 23:05:18 +01:00
Igor Pecovnik
82f3a11ed4 Bugfix. Now reading parameters also from lib.config 2017-11-26 18:36:33 +01:00