Commit graph

61 commits

Author SHA1 Message Date
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
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 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
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
Jorik Jonker
e606326685 Fix boad-deb dependencies
The packages 'recommend' python3-apt, while it simply does not work
without this package:

  Traceback (most recent call last):
    File "/usr/lib/armbian/armbian-apt-updates", line 25, in <module>
      import apt_pkg
  ModuleNotFoundError: No module named 'apt_pkg'
2019-05-27 06:20:04 +00:00
Igor Pecovnik
3a16e92934 [ buster / disco ] fixing chroot-buildpackages dependency and typo fix 2019-04-19 17:19:28 +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
Igor Pecovnik
15032e0f4d [ general ] bugfix 2019-02-08 16:08:44 +01:00
Gauthier Provost
93ba3ec3dd [ General ] Move bootscript update to nand-sata-install 2019-01-21 11:44:24 +08:00
Igor Pečovnik
818bce0664
typo 2018-12-30 18:23:06 +01:00
Igor Pecovnik
9c7d8d9e5e [ bugfix ] Alter fstype when recreating bootscripts 2018-12-30 18:17:46 +01:00
Gauthier Provost
14452e25e6 Helios4: Changes / fixes related to bootscript issue (#1169)
* helios4: next branch use u-boot 2018

use new u-boot based on upstream 2018

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Tweak fancontrol configuration

Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.

URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: use upstream helios4 dts

Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.

URL:https://patchwork.kernel.org/patch/10449393/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: Use boot-mvebu-next bootscript

Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Bootscripts: Fixed boot-mvebu-next.cmd

The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).

bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* uboot: mvebu-next: only apply DT fixup script if it exists

* [ buildscript ] Add FORCE_BOOTSCRIPT_UPDATE option

If enabled bootscript will get updated during bsp upgrade.

* Helios4: Enable FORCE_BOOTSCRIPT_UPDATE by default in board config.

* Helios4: Added boot-marvell.cmd compability to u-boot 2018

Revert the changes to use boot-mvebu-next.cmd instead of boot-
marvell.cmd to prevent unbootable system due to incompatibility between
u-boot 2013.01 and boot-mvebu-next.cmd
This reverts commit 0f17ecb233babe ("Helios4: Use boot-mvebu-next
bootscript")

U-Boot 2018 will failed load dtb and script due to missing some
variables on boot-marvell.cmd. This will render the system unbootable.
Re-added and update loading-boot-scr.patch for backward compatibility

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-29 06:58:39 +01:00
Igor Pecovnik
e7657a5991 [ bugfix ] Fixing default Chromium preferences file https://forum.armbian.com/topic/3327-asus-tinkerboard/?do=findComment&comment=65807 and adding optional DEFAULT_CONSOLE variable which can override default console settings per board 2018-11-15 19:03:57 +01:00
Igor Pecovnik
abe9730328 Revert "Install bootscripts always but do their backup to /usr/share/armbian"
This reverts commit bf5a2fe6e0.
2018-10-13 15:21:55 +02:00
5kft
9651a589ee minor fix relating to change fd235d6c34 -
only create NetworkManager powersave configuration entry if NetworkManager configuration directory is present
2018-10-13 01:44:42 +00:00
Igor Pecovnik
bf5a2fe6e0 Install bootscripts always but do their backup to /usr/share/armbian
Making https://github.com/armbian/build/pull/1128 deprecated.
2018-10-09 13:01:42 +02:00
Igor Pecovnik
fd235d6c34 Patches cleanup for sunxi-dev and a bugfix for WiFi powersave workaround 2018-10-02 17:34:41 +02:00
Igor Pečovnik
789909be3f
Typo
fixed wrong mode
2018-10-02 09:25:37 +02:00
Igor Pecovnik
40e5ce955b Permanently disable WiFi powersave. Previous implementation wasn't working on Bionic. Now is. 2018-10-02 07:49:44 +02:00
Igor Pecovnik
ef6847e647 Small bugfix regarding removing old swap files, K4.4 upstream patches, bump with a version 2018-09-30 15:22:44 +02:00
Igor Pecovnik
05db63c1a8 Better bugfix for boot delay "waiting for suspend/resume device"
95ae09470f (commitcomment-30692608)
2018-09-28 20:16:24 +02:00
Igor Pecovnik
95ae09470f Bugfix for boot delay "waiting for suspend/resume device" 2018-09-27 14:22:41 +02:00
Igor Pecovnik
a23b02d11e Fix for boot delay "waiting for suspend/resume device" when using ZRAM 2018-09-18 10:37:10 +02:00
Igor Pecovnik
6cac03da55 Removing swap file on upgrade if it was made by our start script 2018-09-10 20:49:21 +02:00
Igor Pecovnik
50cd819a4d Swappiness correction for update and a few bugfixes https://forum.armbian.com/topic/5565-zram-vs-swap/?page=2&tab=comments#comment-61168 2018-09-04 22:13:43 +02:00
Igor Pecovnik
05d926de1f Tiny bugfix. Bionic related. Upgrade stalls since file is removed. Fixed with this commit. 2018-09-04 10:41:30 +02:00
Igor Pecovnik
e90dff320a Making bootscript creation more universal, adjust packaging patches for C1 and C2 default 2018-08-11 19:09:53 +02:00
Igor Pecovnik
0e8a2769e6 Bugfix 2018-08-11 08:37:01 +02:00
Igor Pecovnik
86134550a4 Bugfix. Install bootscripts if they are not present. We need this for upgrading from Odroid C2 default -> next 2018-08-10 14:03:20 +02:00
Igor Pečovnik
6ee779b744 Enable ramlog only if it was enabled before. This fixes possible troubles on OMV installs. Adjusted Odroid NEXT kernel configuration, fixes eMMC/SD card u-boot updating if not on the first place /dev/mmcblk0 ... checks also 1 and 2, move nanopik1plus to supported list 2018-06-23 13:28:27 +00:00
Igor Pecovnik
bd2aeb8d8f ZRAM force replacing zram-config if installed 2018-06-19 15:15:10 +02:00
Igor Pečovnik
a0a49416e0 Bugfix and add another file to cleaning list 2018-06-17 13:07:02 +00:00
Igor Pečovnik
fc07886a1d
Bsp services RFC (#1015)
* Basic armbian services RFC
- tested building and upgrade
- armbian-optimize-hardware and armbian-setup-hardware have still the same content

* fix permissions

* Forther renaming and small fixes

* Odroid C2 NEXT tiny config adjustement to remove errros from bootup and moving u-boot to 2018.05

* More cleanings

* permissions fix

* More cleanup ...

* permi

* Remove few Ubuntu related things, fix permissions

* Further mini improvements

* Fix logrotate compression and permission issues

* Bugfix

* Wrong services setup at package install. fixing

* RAM logging: workaround for older kernel/btrfs driver versions

* Renaming services, proper config for zram, few bugfixes.

* Various fixes

* Various fixes

* No $TMPFILE needed here

* Various fixes

* Lower this so boards with low memory can use it too

* Various fixes

* Adjust logfile to armbian-hardware-monitor.log

* Remove swap file creation

* Fix permissions in all logrotate configs if needed.

* Prevent loading parallel printer port drivers which we don't need here.
2018-06-16 19:41:16 +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
7094273ca8 Chromium for Stretch has different location and name for default settings. Fixing and fixing bug in BSP when overwriting default Chromim packages 2017-12-15 19:18:51 +01:00
zador-blood-stained
dba2599c71 Fix file mode and permissions in BSP 2017-12-13 15:33:19 +03:00
zador-blood-stained
4b5bbc32e8 More BSP refactoring 2017-12-01 18:46:33 +03:00
zador.blood.stained
2851e0987e Small BSP refactoring 2017-12-01 18:38:23 +03:00
zador-blood-stained
e8e6ff47d6 Small BSP refactoring 2017-12-01 16:29:10 +03:00
zador-blood-stained
2b1bc8b425 Add a warning for /etc/default/cpufrequtils 2017-12-01 16:25:47 +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
zador-blood-stained
376fcd2186 Drop sun8i-dev branch in favor of sunxi-next 2017-11-25 14:40:44 +03:00
zador-blood-stained
42e1ee8330 Update armbian-config packaging 2017-11-12 13:35:27 +03:00
zador-blood-stained
5b95083b01 Rework armbian-config packaging script 2017-11-11 22:48:09 +03:00
zador-blood-stained
991b779b8f Move NM override files to /usr/lib (except for Jessie)
Packaged files should go to /usr if possible, /etc is for user overrides
2017-10-24 18:52:54 +03:00
zador-blood-stained
46e6c33663 Disable NM random MAC in Stretch 2017-10-24 17:25:41 +03:00
zador-blood-stained
7afff9d19d Fix BSP postrm action on package upgrade 2017-09-20 15:19:17 +03:00