Commit Graph

66 Commits

Author SHA1 Message Date
Igor Pecovnik
bc16dc123f
Spaces cleanup 2019-12-31 13:47:01 +01:00
Igor Pecovnik
5074b7cd5c
Re-read kernel version after patching and some cleanup 2019-12-31 13:45:21 +01:00
Igor Pecovnik
7818c2a040
Refactor wifi patching. Need to fix mvebu packaging patch ... 2019-12-31 13:25:58 +01:00
Piotr Szczepanik
cfaee9938a Switched ATF cleaning method to distclean 2019-11-30 23:11:06 +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
Igor Pecovnik
b9adf0ea48
Revert remove redundant cleanup (#1567)
U-boot runs several targets. Cubox, Helios4, ... and they are not cleaned at checkout. @zhangn1985
This reverts commit 357926add6

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-27 19:17:49 +02:00
zhangn1985
357926add6 remove redundant cleanup (#1567)
source code cleanup should be done in source update/checkout step.
thus no need redundant cleanup in apply patch step.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-09-19 11:02:21 +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
34a109fbf9
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:47 +02:00
Igor Pecovnik
29472c52b3 Revert "relocate 'compilation_prepare' prior too patching"
This reverts commit b9173d7850.
2019-07-12 10:42:33 +02:00
Martin Ayotte
b9173d7850 relocate 'compilation_prepare' prior too patching 2019-07-11 15:37:05 -04:00
Przemysław Sztoch
bc0fbb85bc Add USERPATCHES_PATH optional setting to config file. (#1450)
Required if userpatches folder is conflicted between two different configs.
This is frequent and requires maintaining two copies of the builder.
2019-07-09 22:50:49 -04:00
Igor Pečovnik
ef5a797483
Fix u-boot handling (#1436)
This principle is needed for Allwinner boards. For others it needs to be checked. For now this fixes when building SPI boot loader.
2019-07-02 20:00:12 +02:00
lanefu
7d0e676e93
Revert "lib: more shellcheck fixes (#1430)" (#1432)
This reverts commit 1e050839b2.
2019-06-27 22:23:39 -04:00
Manuel Rüger
1e050839b2 lib: more shellcheck fixes (#1430)
thanks @mrueg !
2019-06-27 21:19:42 -04: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
Igor Pecovnik
ffffbb9cd0 [ odroidn2 ] Remove deprecated patches, kernel config adjustements, added AUFS -> docker support, adding mainline targets which needs further adjustements ... 2019-05-20 15:17:40 +02:00
Igor Pecovnik
5e0953075b [ kernel source creation ] bugfix, additional wireless drivers were missing 2019-05-16 22:22:41 +02:00
Igor Pecovnik
f7ac2d2999 [ general ] Adjust wrong path when exporting kernel configuration, add wireguard to rockchip64 2019-05-16 18:08:19 +02:00
Igor Pecovnik
2bd7f8efbd [ Odroid N2 ] Added Odroid N2 with mods necessary to build from sources. Made a few tests builds ... it works at least as good as stock. 2019-05-10 10:27:01 +02:00
Igor Pecovnik
971fe5dc36 [ internal ] Logging compilers used in the process 2019-04-13 09:37:04 +02:00
Igor Pecovnik
13fd8a7824 [ general ] Proper / better implementation for u-boot configuration adjustement 2019-04-09 22:15:52 +02:00
The-going
a7f67e295f
Standard error output is always sent to the file.
Currently, compilation errors from the standard error channel
are sent to standard output, and then the shared stream
can be routed to the $DEST/debug/compilation.log file or not.
As a result, we can see either empty compilation.log file,
or a file containing a million lines of total output.
This behavior makes little sense.

After applying this patch, compilation errors
will always be sent to $DIST/debug/compilation.log

The file will look something like this:
----------------------------------------------------------------
	== atf ==


	== u-boot ==

.config:1253:warning: override: reassigning to symbol BOOTDELAY

	== kernel ==

In file included from ./include/linux/kernel.h:11:0,
                 from ./include/linux/clk.h:16,
                 from drivers/iio/adc/sun4i-gpadc-iio.c:25:
	......
---
2019-03-17 18:27:19 +03:00
Igor Pecovnik
45fed36908 [ wireguard ] Kernel source had only a link while now we save sources. 2019-03-10 14:19:47 +01:00
Leonidas P
b57617d378
Update compilation.sh: no wireguard macro patch 2019-02-17 16:52:53 +02:00
Igor Pecovnik
c53f5611b3 Adding full path to wireguard workaround 40557aebb3 2019-02-13 10:14:50 +01:00
Igor Pecovnik
40557aebb3 [ general ] Fixing wireguard breaking prepare headers https://github.com/armbian/build/issues/1278 and upstream patch for sunxi-next 2019-02-13 10:09:04 +01:00
Igor Pecovnik
53fcb9852c [ Wireguard fix ] adding a patch for K4.4.y and enabling it back on those previously broken ones 2019-02-07 19:42:31 +01: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
e959294b7f [ sunxi* / general ] add possible fix for eMMC troubles with some H5 boards, adjusted configuration, Wireguard: always use latest sources 2019-02-06 10:50:13 +01:00
Igor Pecovnik
3365d7c290 [ general ] move Wireguard under configuration.sh and remove from inserting for 3.10.y since it breaks there. 2019-01-29 11:04:39 +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
Gauthier Provost
dd15668412 [ general ] Add update u-boot on SD option in nand-sata-install
Postinst script is being remove from u-boot package. Therefore now we 
provide a way to user to update (rewrite) u-boot on their SD card.
2019-01-08 18:12:02 +08:00
Werner
9d60a14d9f
Add notice
So nobody is confused in a couple of weeks when reading the code and asking 'what the heck?'
2018-11-25 17:44:56 +01:00
Werner
da6ade1ee0
Fix broken ATF compile
Crude fix to make it work again. For H6 at least. Others untested.
2018-11-25 13:45:35 +01:00
Gauthier Provost
59af84c07c Helios4: Add SPI bootloader install feature (#1126)
* Helios4: 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.

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

* Helios4: Add U-Boot SPI

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

* Helios4: Add SPI bootloader install feature

This will allow to use nand-sata-install to perform the following operations on Helios4 :
- Install bootloader to SPI NOR Flash (Option 5 in Menu).
- Copy RootFS to USB storage in order to boot from SPI with RootFS on USB (Option 6 in Menu).

* Unmount temp mount points in create_armbian() instead of hardcoded /dev/sda
2018-10-08 13:44:36 +02:00
Igor Pečovnik
d9849de58f Meson64 kernel adjustement and wrong path in displaying new kernel conf 2018-07-28 15:03:39 +00:00
Igor Pečovnik
1a12994e79
Moving sunxi-next to 4.17.y (#1049)
* [Early WIP] Update sunxi-next to kernel 4.17
* Switch Allwinner 32 and 64bit to U-boot 2018.05
* Adjust patched for 4.17.y / sunxi-next
- adjust both configurations
- removing FAT support from u-boot (breaks if you try to save)

Tested those boards:
Cubietruck: wlan fails http://ix.io/1fYS USB OK, HDMI yes
Bananapi R40: http://ix.io/1fZm USB OK, HDMI yes
Lime A64: USB no, HDMI no, wireless buggy, eMMC yes
Orangepi prime H5: OK http://ix.io/1fZJ DVFS no
Orangepi2e: DVFS OK, HDMI OK, net OK, wifi OK, eMMC ok,  http://ix.io/1fZT

* Kernel config update, enabling HDMI on CT+
* Trying to fix A64 HDMI but failed. Fixed M64 ethernet instead
* Update orangepioneplus.wip
* Update orangepioneplus.wip
* Fix H6 build process
* Add regulator bits for Orangepizero+, thanks to @5kft
* add H5 support for optional 1.3v regulator and 1.3GHz operation
This patch adds two optional overlays that can be used to:

1) enable the 1.1v/1.3v regulator on boards that provide the necessary compatible H/W support
2) modify the default CPU clock operating table to add new 1.2GHz and 1.3GHz clocks

Note that the generated regulator overlay will only support boards whose 1.1v/1.3v regulator
is controlled by GPIO PL6.
* updates for the NanoPi NEO Plus2
This change introduces a patch that provides two changes for the NanoPi NEO Plus2:
* Configure the "cpu0" to use the "vdd_cpux" regulator; this enables the ability to use higher CPU clocks
* Correct the configurations of the on-board power and status LEDs
* Adjust nightly building and few boards config cleanup
2018-07-17 15:53:30 +02:00
Igor Pečovnik
2ae156e401 Rename to Renegade, bugfix 2018-07-01 12:30:08 +00: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
zador-blood-stained
6afe135989 Better handling for additional ATF toolchains 2018-06-13 19:23:00 +03:00
zador-blood-stained
754fa3d61f Fix wrong directory prefix in info message
Fixes 91be332f8a
Fixes #1011
2018-06-11 17:59:23 +03: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
Tater Li
a66121a225 correct previous kernel config path (#912) 2018-03-20 11:47:31 +03:00
zador.blood.stained
273392a10c Rework toolchain path handling 2018-02-06 11:29:21 +03:00
zador-blood-stained
abebb4bc0b Remove patching dependence on FORCE_CHECKOUT 2017-12-13 15:35:31 +03:00
zador-blood-stained
95b6869643 Add a (hidden) variable to skip building sources package 2017-10-28 17:45:24 +03:00
zador-blood-stained
97d01dbe16 Drop firmware packages built from kernel sources 2017-10-28 17:41:54 +03:00
zador-blood-stained
2be34aa7a3 Add branch to kernel sources package name 2017-10-08 14:03:51 +03:00
zador-blood-stained
808462e1fd Add an option to install kernel sources to the image 2017-10-06 15:43:41 +03:00