Commit Graph

44 Commits

Author SHA1 Message Date
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
zador-blood-stained
d89812fe43 Small logging change for packaging 2017-09-24 13:18:11 +03:00
zador-blood-stained
195faaacaf Add an option for different kernel configuration menu
Closes #768
2017-09-19 19:35:06 +03:00
zador-blood-stained
d8818f9d5d Small change for patching logging 2017-09-19 19:33:31 +03:00
zador-blood-stained
a2c4700d5c Use fakeroot for dpkg-deb packaging 2017-09-11 16:53:42 +03:00
zador-blood-stained
54dae9fc7e Refactoring 2017-09-07 12:22:50 +03:00
zador-blood-stained
0e8baeda45 Add progress bar to kernel sources compression 2017-09-05 16:24:45 +03:00
zador-blood-stained
78bac39f11 Don't try to update u-boot if target doesn't exist 2017-08-20 16:58:09 +03:00
zador-blood-stained
cc204b83b0 Bugfix 2017-08-19 17:33:37 +03:00
zador-blood-stained
54d71ef32f Small regexp bugfixes 2017-08-19 17:16:09 +03:00
zador-blood-stained
277c9ecd87 Preparations for adding Rock64 support
Add u-boot and ATF postprocessing hooks
2017-08-16 18:11:01 +03:00
zador-blood-stained
634110e787 Split ATF compilation into a separate function 2017-08-06 16:52:43 +03:00
zador-blood-stained
0c97a53823 Typo 2017-08-03 16:45:15 +03:00
zador-blood-stained
50e593e494 Docker and Vagrant fixes and improvements 2017-08-02 21:57:33 +03:00
zador-blood-stained
04f5972b9c Build linux-source package for the kernel
Small refactoring
2017-08-01 22:30:48 +03:00
zador-blood-stained
a190eebf43 Update the build script github repo address
Remove shebangs from non-executable files
2017-08-01 12:51:10 +03:00
zador-blood-stained
eaf5482cff Rename common.sh to compilation.sh to better reflect its content 2017-08-01 12:31:07 +03:00