Commit Graph

735 Commits

Author SHA1 Message Date
may
80adf4aded [general] fix always downloading linux-firmware.git
clone to new dir 'linux-firmware-git' instead the old
'$plugin_dir/lib/firmware', and then copy files as hardlinks.
2019-05-15 17:33:23 +08:00
Igor Pecovnik
18f6113751 Revert "some enchantments for build scripts (#1364)"
This reverts commit 7f1c5b19cd.
2019-05-15 10:00:23 +02:00
mei
7f1c5b19cd some enchantments for build scripts (#1364)
* downloader aria2 replace curl

aria2 is a fast downloader and it can do much more than curl
 - skip download when target file exists
 - restart an interrupted download session
 - multithreading

* remove duplicate download item

* change btrfs compression to zstd and no force compression

* mkfs.btrfs options '--data single --metadata single --label btrfs'

disable dup(duplication) on microsd card

* [fstab] change mountopts[btrfs] compression method to zstd

lzo is no fater than zstd because the low 4k write performance on my
Samsung EVO+ 32GB microsd card.
meanwhile the best io size is above 32k based on benchmark

* replace dd with truncate, create a sparse disk image

* create btrfs subvolume by default

subvolume @ as rootfs, mount at /
subvolume @home as /home, mount at /home

* fix extraargs in armbianEnv.txt

* remove tmpfs mount on /tmp

A zram block device will mount on /tmp by
/usr/lib/armbian/armbian-zram-config.

And instead, mount /media as tmpfs.

* [rsync] add '--inplace' option, optimize for btrfs

* [general.sh] change ntp server to pool.ntp.org

* [general] new option to setup btrfs compression method

for support old and boring 3.x kernels

* [general] set btrfs space cache based kervel version

kernel version above 4.5 select 'v2' as default

* [btrfs] BTRFS_COMPRESSION accept compression ratio

BTRFS_COMPRESSION=zlib
BTRFS_COMPRESSION=zstd:5
BTRFS_COMPRESSION=zstd:12 are acceptable

* [btrfs] set btrfs compression to lzo when input is illegal

* [general] new option DOWNLOAD_MIRROR to select download mirror

current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university

* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR

MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org

* fix btrfs default compression

* display $fscreateopt

* display_alert BTRFS_COMPRESSION

* try fix BTRFS_COMPRESSION variable not working

* debug fetch_from_repo

* configuration.sh debug BTRFS_COMPRESION

* update logic

* debug checking btrfs compression

* fix variable check,fix local variable usage

* [general] replace USE_MAINLINE_GOOGLE_MIRROR with MAINLINE_MIRROR

MAINLINE_MIRROR=google, use google provided mirror
MAINLINE_MIRROR=tuna, use tsinghua provided mirror
leave it empty, use official git.kernel.org

* [general] new option DOWNLOAD_MIRROR to select download mirror

current DOWNLOAD_MIRROR=china is used
the mirror is provided by tsinghua university

* Revert "try fix BTRFS_COMPRESSION variable not working"

This reverts commit 9814cfb054.

* Revert "debug fetch_from_repo"

This reverts commit ba571f0d89.

* add default compression method for mountopts

* remove useless var

* remove debug

* remove debug

* [general] set btrfs space cache based on kernel version

kernel version above 4.5 select 'v2' as default,
below 4.5 select 'v1' as default

* [general] reintroduce USE_MAINLINE_GOOGLE_MIRROR

* [general] case replaces 'if xx ;elif xxx;fi'

* [general] fix always downloading linux-firmware.git

clone to new dir 'linux-firmware-git' instead the old '$plugin_dir/lib/firmware'
,and then copy files as hardlinks.

* [general] create soft link instead of moving directory

* [btrfs] change rootfs subvolume name to @$RELEASE

now, the rootfs subvolume looks like @stretch,@bionic
it is possible to use different distribution in the same btrfs
partition.
2019-05-14 18:37:00 +02:00
Igor Pečovnik
cde51f556a
Merge pull request #1370 from wtfo-guru/fix_truncate_logs
added missing mail logs, and firewalld log
2019-05-14 18:29:21 +02:00
Quien Sabe
d3257d247c added missing mail logs, and firewalld log 2019-05-14 09:35:53 -04:00
Igor Pečovnik
f67464e03f
Show 1-wire in motd only if declared
in /etc/default/armbian-motd
2019-05-14 15:27:14 +02:00
Igor Pečovnik
a5fba366ce
Update armbian-motd.dpkg-dist 2019-05-14 15:25:49 +02:00
Igor Pečovnik
b88d999b3b
Tiny improvements 2019-05-14 14:13:37 +02:00
Igor Pečovnik
86b8fac8ef
Small improvements
for not showing errors when w1 is enabled but device not present
2019-05-14 12:24:43 +02:00
Igor Pečovnik
5d94f08deb
Optional temp readings
Display W1 temp in MOTD as ambient if present
2019-05-14 12:00:20 +02:00
Igor Pecovnik
30fd3162ef [ general ] added htop to be build from sources, disco and buster only, our motifications will be added later. 2019-05-13 10:34:57 +02:00
Igor Pecovnik
552db3d323 Buster and Disco releated adjustements. 2019-05-13 07:47:29 +02:00
Igor Pecovnik
438133dac4 [ meson64 ] set fixed cloned mac in the first run, adjust patches for DEV branch 2019-05-05 23:32:29 +02:00
Igor Pečovnik
7368b0bfe1
Window was too big
Adjusting to sane values
2019-05-04 10:03:36 +02:00
Igor Pečovnik
4da09e425e
Cosmetical
Fixing broken "warning" display
2019-05-04 09:38:26 +02:00
Igor Pečovnik
783c2d0e25
Bugfix
https://github.com/armbian/build/issues/1359
2019-05-02 08:14:09 +02:00
Igor Pecovnik
04f9f85794 [ rk3399 & general ] Move RK3399 to U-boot 2019.04 (briefly tested on T4+). Adding hostname to htop 2019-04-28 22:57:42 +02:00
Igor Pecovnik
21478fed59 Nanopi boards - set consistent naming 2019-04-19 19:58:08 +02:00
Stefan Mavrodiev
1cd0a8b486 Place Armbian wallpapper also on monitor 1 2019-04-08 16:04:38 +03:00
Simone Rossetto
f4e50fc963 Change regex match from 'log/' to '/log/'
The sed command was wrongly replacing every folder whose name ends
in 'log/' with 'log.hdd/', so i.e. '/var/log/ulog/*.log' became
'/var/log.hdd/ulog.hdd/*.log'. Subsequent logrotate exections would
fail due to non existent folders.

In addition, some logrotate config files may have more than one path
per line, so a 'g' option in the sed replacement regex is required
to replace all '/log/' entries at once.
2019-03-20 16:38:38 +01:00
Igor Pecovnik
a08d72b4b8 [ rk3399 default ] enable workaround for fixed MAC 2019-03-10 18:28:51 +01:00
ThomasKaiser
59e8085ca1 Bugfixes and remove unused function in nand-sata-install 2019-03-08 17:58:46 +01:00
ThomasKaiser
71e7ad2e02 Avoid kernel 5.x surprise 2019-03-08 17:38:30 +01:00
ThomasKaiser
6631b18e79 Use only 1 zram device for swap with modern kernels 2019-03-08 16:55:34 +01:00
ThomasKaiser
e871577202 Enable optional zram backing device 2019-03-08 16:40:34 +01:00
lanefu
5f83200147
Merge pull request #1299 from wtfo-guru/fix_path_issue
fix path issue for cron.d script
2019-03-05 23:07:58 -05:00
Quien Sabe
52eaaf69c9 updated per recommendation, reference https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617898#22" 2019-03-05 11:34:25 -05:00
Thomas Kaiser
10f9ea7db5
Avoid temp file vulnerabilities 2019-03-04 07:52:46 +01:00
Igor Pečovnik
824fcbf744
Merge pull request #1300 from helios-4/helios4-wol
[ helios4 ] Enable WoL for eth0
2019-03-03 17:33:31 +01:00
Anton-Latukha
f2e183da34 nand-sata-install: different errors - different codes & debug help 2019-03-02 22:22:19 +02:00
Anton-Latukha
b37f4e13c8 nand-sata-install: errors should go to stderr and have clear message 2019-03-02 22:22:17 +02:00
Anton-Latukha
85e0d124cd nand-sata-install: errors should have the error exit code 2019-03-02 22:20:34 +02:00
Anton-Latukha
b2075df485 nand-sata-install: fix exit -1 - impossible exit code
Someone wrote ridicilous stuff. There is only one exit code range - [0-255].
There is no negative return codes in Unix shells.
2019-03-02 20:33:52 +02:00
Anton-Latukha
fcd95f997e nand-sata-install: deprecated egrep -> grep -E 2019-03-02 20:30:54 +02:00
Gauthier Provost
194d887ab1 [ helios4 ] Enable WoL for eth0 2019-03-02 22:59:36 +08:00
Quien Sabe
9dd404c4aa fix path issue for cron.d script 2019-02-26 16:22:36 -05:00
Anton-Latukha
120e898ddd nand-sata-install: $n, ${n} -> "$n" 2019-02-25 18:54:54 +02:00
Anton-Latukha
328737f9c9 nand-sata-install: $2 -> "$2" 2019-02-25 18:54:54 +02:00
Anton-Latukha
e282aa5781 nand-sata-install: ${1} -> "$1" 2019-02-25 18:54:54 +02:00
Anton-Latukha
34615eba0d nand-sata-install: "..." -> literal '...' 2019-02-25 18:54:54 +02:00
Anton-Latukha
05fc98bdcf nand-sata-install: $1 -> "$1" 2019-02-25 18:54:49 +02:00
Igor Pečovnik
ae07298011
Merge pull request #1295 from Anton-Latukha/nand-sata-install-fx02
nand-sata-install: properly quoting some variables
2019-02-25 09:08:17 +01:00
Anton-Latukha
b6576cdb6b nand-sata-install: ${root_partition_device} -> "${...}" 2019-02-24 16:54:17 +02:00
Anton-Latukha
7b515b8b88 nand-sata-install: $DIR -> "$DIR" 2019-02-24 16:51:58 +02:00
Anton-Latukha
188f474628 nand-sata-install: ${root_uuid} -> "${root_uuid}" 2019-02-24 16:50:18 +02:00
Anton-Latukha
ed7a4d7757 nand-sata-install: ${TempDir} -> "${TempDir}" 2019-02-24 16:50:10 +02:00
Anton-Latukha
f142dc8ac3 nand-sata-install: rm unused nanddevice variable 2019-02-24 16:22:47 +02:00
Aditya Prayoga
9f9e92a415 helios4: tweak fancontrol config
User reported HDD high temp during idle, due to fan stop spinning.
Readjust the fancontrol configuration to always run in low speed during
idle.
2019-02-18 17:49:36 +08:00
Igor Pečovnik
f9f104568f
reverting 2019-02-08 14:57:21 +01:00
Igor Pecovnik
1541de32b8 [ rk3399 ] Enable bluetooth on M4, T4, Neo4, ... 2019-02-06 17:58:17 +01:00
Igor Pečovnik
0ec0f39aaa
bugfix
https://forum.armbian.com/topic/9525-armbian-firmware-regulatorydb/
2019-02-03 16:09:43 +01:00
Igor Pecovnik
7e38968709 [ add orangepi rk3399 ] Board boots, wifi and net works, can be installed on eMMC but various troubles at this point. It's dirty DT copy from stock kernel. Need further rework ... 2019-01-25 20:48:57 +01:00
guillem
ddc71e0cf4 - Corrected visualization of the gauge, no flickering now 2019-01-23 16:09:12 -03:00
guillem
c4af662147 - Corrected misspelling on the comments 2019-01-23 14:41:41 -03:00
guillem
5848826e45 - Increased 10 times the speed copy of the rootfs, the rsync is stuck by dialog. Now it's launched on background
and communicate via files on the tmp
2019-01-23 14:38:05 -03:00
Igor Pecovnik
48d0393a6f [ hostapd ] bugfix. add patchlist 2019-01-22 21:00:21 +01:00
Igor Pecovnik
ec215db23d [ extras-buildpkgs ] bump hostapd to 2.7, remove deprecated patches 2019-01-21 19:29:29 +01:00
Igor Pečovnik
2c3035fff0
Merge pull request #1241 from helios-4/helios4_update
[ General ] Move bootscript update to nand-sata-install
2019-01-21 14:38:21 +01:00
Gauthier Provost
93ba3ec3dd [ General ] Move bootscript update to nand-sata-install 2019-01-21 11:44:24 +08:00
Igor Pečovnik
80e32ef7d1
improvement
https://github.com/armbian/build/issues/1235
2019-01-19 09:34:55 +01:00
karolszklarski
e00fe9814f
Target can be not only partition, but also md raid
Target of nand-sata-install can be not only partition, but also md raid
2019-01-18 19:13:13 +01:00
Aditya Prayoga
9116aa2da3 helios4: Remove fancontrol patch
After some discussion, it is no longer needed to put the fan to low
speed / stop during exit. So remove the patch that alter default
behavior during exit.

[URL]
https://forum.armbian.com/topic/6033-helios4-support/?do=findComment&comment=69732
2019-01-18 02:16:00 -08:00
Igor Pecovnik
34ccb5d625 [ nand-sata-install cosmetics ] Suppress error on probing, bigger message for bootloader write, adding "eMMC". It works - at least where eMMC = SD card 2019-01-08 18:06:22 +01:00
Igor Pečovnik
5beb95d8f9
Merge pull request #1216 from helios-4/helios4_update
U-boot SDcard update changes
2019-01-08 15:53:41 +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
Gauthier Provost
e72815ca72 [ general ] Clean-up function names in nand-sata-install 2019-01-08 16:55:39 +08:00
Igor Pečovnik
ccf7f50b9b
Merge pull request #1212 from helios-4/helios4_update
Helios4 update
2019-01-08 07:19:52 +01:00
Gauthier Provost
795efc6e79 [ helios4 ] Use a more deterministic path for ambient source temp. 2019-01-08 12:55:01 +08:00
JMCC
e6563d44bd Set performance GPU devfreq governor for RK3399 2019-01-05 00:47:20 +01:00
Gauthier Provost
128000e8c9 [ helios4 ] Improve temperature reading. Issue #1135
* Use mvebu thermal_zone0 as temp source for armbianmonitor
* Remove -20C tweak 
* Add ambient temp source to motd
2019-01-04 23:55:05 +08:00
JMCC
14282dae08 Set permissions for multimedia nodes in RK3288 & RK3399 2019-01-03 20:27:34 +01:00
Hugh Cole-Baker
beef42c6ef [ odroid xu4 ] use udev rules to set ethernet rps
In Debian Stretch, among others, udev's "predictable interface naming" has been
adopted, meaning the onboard ethernet is no longer named eth0, instead it's
"enx00..(mac address bytes)..". Use a udev rule to apply the RPS settings
instead of /sys/class/net/eth0/... which no longer exists.
2018-12-23 13:09:56 +00:00
Igor Pecovnik
077a7f8590 [ sunxi-dev ] Pinebook works now OOB with all patches but with a dirty workaround - PWM not operational, bluetooth added, but could not get it working yet ... 2018-12-18 18:06:18 +01:00
Igor Pečovnik
f2b69cdb97
[ firstrun mac setting ] Bugfix 2018-12-17 19:48:37 +01:00
Gauthier Provost
a8abb6352e Helios4: Fix mdadm-fault-led.sh 2018-12-14 16:29:51 +08:00
Gauthier Provost
7d3a57f4d3 Helios4: Add mdadm script and config to display error on Fault LED 2018-12-04 15:25:16 +08:00
Igor Pečovnik
359caf9a31
Disable due bug
https://github.com/armbian/build/issues/1165
2018-11-26 11:57:43 +01:00
aprayoga
e71d1560f0 Helios4: various updates (#1161)
* 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>
2018-11-23 15:39:23 +01:00
Paolo
60b4166a8a Add rk3288 xt-q8l-v10 CSC board (#1158)
This merge request contains various files which add support for xt-q8l-v10 boards (TVBox) equipped with Rockchip RK3288 SoC, AP6330 WiSoC (BCM4330 WiFi + Bluetooth), 2 GB DRAM (LPDDR2 or DDR3), 8 Gb eMMC, Gigabit Ethernet, 3 USB (1 OTG), 1 microSD slot, SPDIF optical output, 1 HDMI.

Kernel patches:

This thouches all three linux-rockchip-* kernelconfigs, just adds brcmfmac and brcmutil modules and remote controller support. default flavor activates rockchip own remote controller driver, next and dev use the mainline GPIO CIR driver (dev has lirc userland support activated too).

About the remote controller, an additional kernel module is added to the existing keymaps which is activated via device tree.

About possibly clashing patches assert-phy-reset-when-waking-up-in-rk3288-platform.patch should be checked against other rk3288 boards because it addresses an errata in rk3288 which causes the USB Host ports to stop responding when exiting from autosleep. On my device if I connect the first USB device when the system is already running, the USB Host gets stuck without this patch. Probably to work correctly on other platforms the device tree should include the proper reset lines of the USB PHYs (for reference, check patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch starting from line 869).

Patch 1-2-regulator-act8865-add-restart-handler-for-act8846.patch adds a restart handler which allows reboot using SIPC bit on act8846 power regulator. Possibly MiQi board is affected (is reboot working there?), others (tinkerboard) should not care.

Patch brcmfmac-add-ap6330-firmware.patch adds firmware file names for ap6330 , should be harmless in other cases.

Patch 0010-GPU-Mali-Midgard-remove-rcu_read_lock-references.patch is from Miouyouyou. It should be harmless, it was suggested by him to do some tests with devfreq

Other patches just add the proper device trees, Kconfig and bits for supporting the board as a regular kernel supported board and should not interfere with anything else

U-Boot patches:

All the patches for u-boot are per-board, so nothing is added which may interfere with other existing boards here. They include the device tree and u-boot config and also a couple of patches to support the silergy power regulators driving current to CPU and GPU

* Initial commit to provide kernel and u-boot configuration and device trees for xt-q8-v10 as patches
Modification to rockchip config to add initialization bits for xt-q8-v10

* Committing correct path for rk3288_ddr_400Mhz... rockchip blob, moved assembling into another section to produce
immediately an u-boot working binary

* Enabled broadcom fmac driver in rockchip-next config

* Changed name definition of rk3288-xt-q8-v10 board to "TVBox"
Added bits to include support AP6330 and binary firmwares into the final image

* Fixed device tree file name in related patch, added patching of Makefile to produce the device tree binary accordingly

* Fixed xt-q8-v10 device tree patch
Added brcmfmac driver to rockchip dev and default kernel configs

* Syncing with upstream

* Splitted add-xt-q8... kernel patches into two separate patches

* Fixed bad extension while adding dtb in makefile for rockchip-default configuration
Updated device tree patches for all rockchip confs

* Enable mmc0 and usb in u-boot config
Fixed again makefile patch for kernel next

* Adding patches to reset the USB phy when kernel requires a reset, fixes autosuspend issue

* Changed xt-q8-v10 to proper xt-q8l-v10 in every string and every filename
Added power hold to u-boot, so now the device will boot and stay turned on without the need for the OTG cable anymore

* Changed names from 'Q8' to proper 'XT-Q8L-V10' in device tree patch files

* Legacy kernel device tree:
Fixed bluetooth gpio pin clashing
Fixed HDMI gpio pin clashing
Added support for PWM-based IR-Receiver, added driver in kernel default config too
Various other fixes to avoid some complaints from the kernel

* Added booting bluetooth systemd service for AP6330 (xt-q8l-v10) that loads patchram and invokes hciattach
Minor fixes to -next and -dev device trees for xt-q8l-v10

* Disabled OTG USB port in u-boot due to long timeout during initialization
Fixed warning during u-boot dts compilation
Added emmc as second boot device in dts

* Adding myself to licensing

* Committing modifications to device trees

* Fixed dmac_bus_s explicitly set to unused dmac, restored right dmac in xt-q8l-v10 dts only
Change PLL_CPLL frequency in device tree to 408 Mhz to avoid fractional divisor warnings

* Added proper xt-q8l-v10_rk3288 configuration to u-boot, now appearing in config menu and
correctly selectable as a real target
Fixed typo in device tree from rockchip

* Fixed missing semicolon in device tree for default configuration
Fixed patch files for u-boot appending themselves to files on each compilation

* Added bits to enable power to USB ports in u-boot, thus enabling booting from USB devices (only USB host port for now)

* Changed u-boot binary creation using the rockchip SPL properly

* Added boot order for xt-q8l-v10: sdcard, usb0, eMMC, network

* Added bionic:next in beta config for xt-q8l-v10 board

* Changed some minor bits in xt-q8l-v10 device tree files, added missing bits to dev flavour
Added patches to introduce fairchild fan53555/silergy82x regulators to u-boot and enabled in xt-q8l-v10 device tree

* Updated u-boot to version v2018.03 for xt-q8l-v10. Other rk3288 boards will gain v2018.05 from main armbian fork
Removed pre-reloc labels in u-boot device tree because they are not necessary since we don't use u-boot SPL for xt-q8l-v10
Removed vmmc-supply and vqmmc-supply in u-boot device tree to avoid hang on boot

* Tidied up a bit device trees, in particular some modifications are made to power regulator properties comparing them against the original q8l device tree
Removed unnecessary dummy regulator, removed unnecessary capacities to embedded eMMC
Disabled unused USB host
Removed vmmc-supply and vqmmc-supply from emmc section because it causes hang in u-boot v2018.03 and newer

* Restored previous regulator in u-boot dts
removed assert phy reset USB patch from rockchip-dev because of some upstream incompatible changes

* Added patch to enable IRQ for Midgard drivers which caused massive slowdown on dev kernel
Changed u-boot if-code for xt-q8l-v10 in rockchip.conf
Removed references to rk3288-linux.dtsi in xt-q8l-v10 device tree for default kernel

* Committing effective removal of USB reset assert for dev kernel
Committing changes to u-boot device tree

* Added patch to disable USB power down for rockchip devices broken on latest kernel

* Removed usb dwc2 patch to reinject it from specific branch

* Reverting some voltage changes for xt-q8l-v10 device in rockchip-dev

* Reverting some voltage changes for xt-q8l-v10 in u-boot section

* Added patch to make USB ports working again on rockchip devices with mainline
kernel >= 4.18

* Changed the 0 into false

* Moved xt-q8l-v10 u-boot patches into board_xt-q8l-v10 directory

* Changed some minor things in rockchip-dev dts for xt-q8l-v10, added mali midgard driver to dev kernel config

* Added devfreq support for Mali in rockchip-next flavour

* Remove manually applied patch (0007-drivers-drm...) because it has been
added to armbian main repo

* Removed duplicate patch which has added to main armbian repository

* Tidied up regulators for default/next/dev rockchip flavours for xt-q8l-v10, disabling those regulators which are not tied to anything
Enabled voltage regulator to make SPDIF connector work (thus not tested because I have no DAC)
Changed rockchip-dev and rockchip-next config files to enable gpio-ir-receiver module to enable bundled remote IR controller, including kernel patch for keymap

* Enabled back regulator REG7 to allow propert bluetooth functionaly

* Minor changes to u-boot device tree for xt-q8l-v10
Added patch to set act8846 SIPC to correctly reboot the device (thus require some power-hold at reboot to make reboot fully working)

* Fixed u-boot device tree

* Added configuration bits to support TPL in u-boot for xt-q8l-v10 (TPL is thrown away though) to allow faster reboot times and achieve a working reset feature activating power hold gpio pin as soon as possible. gpio pin is hardwired into spl_board_init() u-boot code because it is not possible to let it work via device tree
Fixed OTG USB port in u-boot, allowing devices detection and booting
Added proper vbus-supply properties for USB controllers in u-boot dts, so u-boot activates USB vbus itself

* Fixed dts makefile patching for next and dev rockchip kernel

* Fixed fdt_file renamed to fdtfile in armbianEnv.txt

* Changed xt-q8l-v10 board config as per recomendations

* Moved xt-q8l-v10 configuration to CSC
Restored linux-rockchip-* configurations, enabled brcmfmac driver, GPIO remote controller driver and lirc kernel compatibility interface
Polished a bit rockchip.conf

* Add patch to brcmfmac driver to search for ap6330 firmware
Removed copy-work from rockchip.conf about ap6330 firmware for xt-q8l-v10 and tidied up
Avoid using brcm_patchram_plus in ap6330-bluetooth-service putting proper firmware file in /etc/firmware for hciattach do firmware uploading itself

* Fixed bcm4330 bluetooth firmware linking for hciattach used by ap6330-bluetooth.service

* Removed foreign test patches from xt-q8l-v10 u-boot directory
2018-11-22 07:04:19 +01:00
Igor Pecovnik
a979430e9b [ bsp ] adding axp813 way of displaying battery status on Olimex Lime A64 and similar boards 2018-11-16 14:00:01 +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
chwe17
d224be3d42 Mt7623 (#1153)
eMMC install
2018-11-12 07:17:42 +01:00
Igor Pečovnik
efa87b1fb8
Bananapi R2 (#1151)
* Initial commit BPi R2:
Currently working/not working:
- u-boot:
	- builds with minor issues
	- patching and cleanup happens on 'https://github.com/chwe17/u-boot-mt'
- next (https://github.com/frank-w/BPI-R2-4.14)
	- boots with minor issues
	- ETH doesn't work with nm
	- sata works
	- no wifi (needs driver from: https://github.com/frank-w/BPI-R2-4.4)
	- USB not working (xhci-mtk 1a1c0000.usb: fail to get vbus) needs investigation
	- appended device tree is needed due to u-boot doesn't work with fdt (kernelpacking needs adjustemts e.g. cat zImage dtb > zImage-dtb
- dev (kernel.org master)
	- untested, needs adjustments in config (e.g. CONFIG_LOCALVERSION="")
	- since no defconfig is available config is based on frank-w 4.16 Kernel
	- Kernel builds without issues
	- manual packing of kernel and dtb similar to next
The board boots, serial console is available but everything else must be expected as not working!
- to do:
	- u-boot needs a cleanup
	- binary blobs needs investigation
	- eMMC is **not tested** and needs for sure adjustements! (don't try nand-sata-install!!!)
	- bootscript isn't tested (only manual boot over u-boot console at the moment)
	- both kernelconfigs aren't 'armbian standard' modules need to be adjusted

Only use it when you know're familiar with u-boot commands!

* Small fixes, add bootscript
- add bootscript for patched u-boot (needs patching of u-boot, currently under investigation and not working properly)
- revert cat zImage dtb > zImage-dtb (cause not working)
- first cleanup of dev kernelconfig (remove CONFIG_LOCALVERSION="")

* Minor fixup
-kernelconfig for next was adjustet so that USB is recognized
-firt bootscripts was written to boot with source command (doesn't work 100% reliable)
-slightly adjustd boardconfig (e.g. bootscript)
must still be considered as early wip!

* small update (FDT works now)
-working bootscript
-adjusted boardconfig
-earlyprintk activated in kernelconfig

* First attempt to get ETH working
-all interfaces are bridged together
-performance sucks at the moment (not clear if it's related to insane network configuration or I miss something obvious... :P  )

* Major update (see below for changes):
- 4.14 kernel was dropped due to https://forum.armbian.com/topic/7296-bananapi-r2-csc-mt7623-as-new-boardfamily/?do=findComment&comment=55194 and following
	- boot.cmd was adjusted to 'clean' mainline behaviour
	- next build opition and its defaultconfg was removed (at the moment dev only)
- rework of the network default configuration
	- default configuration will be over network.d **not** NetworkManager
	- per default all wired interfaces are bridged together to br0 (still wip)
	- old 'interfaces' configuration was removed
- boardconfig is adjusted (no desktop until I've prove that HDMI works)
- what works/ not works:
	- board boots up without manual u-boot hacking
	- SATA, USB3 (massstorage) is tested and works without issues
	- due to rework of network configuration this is still wip and must be considered as 'not working'

* moved to network.d for configuration of wired network
- renamed bsp packages
- blacklist wired interfaces for NetworkManager
- defined all wired interfaces as br0 in systemd/network
- defined networkd als default renderer for bionic (not tested yet!)

* The houskeeping commit:
- BOARDFAMILY was renamed to mt7623 instead of mt7623n (including patchfolders etc.)
- Network.d has no fully control over wired networkes (block NM from controll, start networkd on firstrun etc.)
- Further cleanup kernelconfig
	- CPU temp is visible from userspace
	- missed switch driver loaded
	- cryptodrivers are there (not tested)
	- still a bunch of work

* Add DMA mem alloc patch
-under testing!

* Add next option (4.17.y) stick dev to master (4.18-rc1 untested)

* minor fixes:
- solve kconfig issues between 4.17 and 4.18
- stick next branch to 4.18
- first attempts to bring up gmac2 (doesn't work currently)

* switch to upstream u-boot
- fix ext4 dependency in patch series
- kernelpacking currently broken

* add bootz & cmd_ext4

* resolved merge conflict

* apply ugly u-boot patch, fix bootscript

* remove unneeded stuff, apply forgotten stuff

* update config for dev & clean up boardconf (remove xenial)

* - drop dev and next, move into default. There is no intention to provide stock kernel
- fixed board description, renamed to WIP, where it can be merged later
- packing boot firmware to the u-boot package
- docker dependencies (aufs will be added later. not essential)
- attached to 4.19.y
- loading armbianEnv.txt
- UUID support (tested)
- enabled ZRAM (tested)
- enabled eMMC install (not quite working properly yet)
- Bionic has some issues with systemd networking.

* gov to ondemand (thermals are conservative anyway), remove unneeded kernelconfigs

* Added AUFS, remove debug from kernel boot parameters, add ath10 mPCI support (which works)

* add power-off-key and rtc

* Added onboard wireless, but it's enabling is disabled by default. Too fragile.

* Change to CSC target
2018-11-08 18:51:42 +01:00
Igor Pecovnik
e5d21eb35c [udoo-neo and udoo] Drop Udoo neo completly, drop udoo default and dev kernel 2018-11-07 14:11:24 +01:00
Igor Pečovnik
b261e4d4c2
[bugfix] enable truncate logs
only if armbian-ramlog is enabled
2018-11-03 07:27:03 +01:00
Igor Pečovnik
423c849511
Merge pull request #1147 from dedalodaelus/master
- Corrected rootfstype added if not present
2018-10-31 15:54:27 +01:00
dedalodaelus
9e018b0ab4 - Corrected rootfstype added if not present 2018-10-31 11:29:42 -03:00
Igor Pecovnik
ae800bb515 [odroid c1] Move to 4.19.y and change its status to EOS. Left in a working state: http://ix.io/1pZa 2018-10-25 12:28:35 +02:00
Igor Pecovnik
88d8a40f1e [small RFC] Set random MAC workarounds for specfic combinations instead of whole family 2018-10-25 11:27:16 +02:00
Igor Pecovnik
b60934a9d0 [small RFC / cleanup] Tweaking script https://github.com/armbian/build/issues/1140 and removing deprecated config file rk3399-dev 2018-10-24 17:21:34 +02:00
Igor Pecovnik
345145f3b6 [bugfix] Set fixed IP address from first randomly assigned one. 2018-10-24 17:01:08 +02:00
dedalodaelus
fd5e899d1d - Corrected the f2fs and btrfs emmc write, due to a missing rootfstype key missing on the armbianEnv.txt 2018-10-22 13:29:42 -03:00
Igor Pečovnik
13abce6d0d
Typo 2018-10-15 10:53:03 +02:00
Igor Pecovnik
277e6e6f65 [security/cosmetic] Adjust permission for cpuinfo_cur_freq to be accesible by a normal user and adjusting htop configuration based on cpu count 2018-10-14 18:07:12 +02:00
Igor Pecovnik
1c4340b421 [Rockchip and general] Add upstream patch for K4.4, adjust config to cover https://github.com/armbian/build/issues/1133 and add htoprc to support https://github.com/avafinger/htop-2.1.1_enhanced-version with showing CPU temp out of the box. 2018-10-14 11:20:25 +02:00
Dolf Andringa
b3f52b7028 Fix for issue #1131 (#1132) 2018-10-13 16:42:19 +02:00
Igor Pecovnik
ec53742194 [General bugfix] Set proper permission which were lost by accident 2018-10-12 13:42:44 +02:00
Igor Pecovnik
6fbb6b8777 Proper random MAC workaround for affected boards. Tested on Friendlyelec Nanopc T4 2018-10-10 17:30:07 +02:00
Igor Pečovnik
c8c6c9d96f
Typo 2018-10-09 13:46:07 +02: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
Thomas Kaiser
77d59c69d8
Change wording: Swap --> Zram 2018-10-04 15:40:35 +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
creativtransfer
575af9d411 Permanently disable WiFi powersave (#1119)
* Create default-wifi-powersave-on.conf 

https://forum.armbian.com/topic/8207-orange-pi-lite2-wireless-support/?do=findComment&comment=63151

Permanently disable wifi powersave

* Permanently disable WiFi power save

* Permanently disable wifi powersave
2018-10-01 12:08:47 +02:00
Igor Pečovnik
00f3406cda
Bugfix
Absolute path is needed here
2018-10-01 09:07:26 +02:00
ThomasKaiser
0406fc3df0 Some RPi-Monitor installation tweaks
Memory template still not touched therefore only bogus values reporting
2018-09-28 16:00:32 +02:00
ThomasKaiser
624132790f Clean up armbian-hardware-monitor
systemd-analyze blame: prior 4.506s, after 174ms
2018-09-27 23:54:30 +02:00
ThomasKaiser
b283ddb7f9 Add virtual memory settings to monitoring 2018-09-27 16:15:13 +02:00
ThomasKaiser
39a1b80585 Adjust another swap anachronism
Allowing the kernel to handle individual pages slightly decreases wear on flash storage and compression/decompression cycles with zram/zswap
2018-09-25 22:13:47 +02:00
ThomasKaiser
7851473fef Bypass/minimize file system caching for ramlog
https://bugzilla.samba.org/show_bug.cgi?id=9560#c3
2018-09-24 17:01:59 +02:00
Thomas Kaiser
9688c96a04 Introduce MEM_LIMIT_PERCENTAGE variable for zram
(defaulting to 50% so zram will not use more than this treshold anyway
2018-09-24 15:48:57 +02:00
Gauthier Provost
7adf9f70cf Fix prefix for generated MAC 2018-09-19 16:25:42 +08:00
Igor Pecovnik
bb81585c61 Set correct file permission 2018-09-18 14:16:26 +02:00
Gauthier Provost
d375c46f4e Helios4 : Linux use eth1addr variable form U-boot as eth0 mac address.
Make armbian-firstrun script also randomizes mac address for eth1addr in armbianEnv.txt
2018-09-18 16:03:41 +08:00
Igor Pecovnik
9ec439f0a7 Meson64 family fixes: set mac addr in kernel, few patches for Lepotato default, kernel config update 2018-09-17 20:31:10 +02:00
Igor Pecovnik
f2d368916a Fix random MAC creation and remove one deprecated patch 2018-09-17 17:38:44 +02:00
Igor Pecovnik
b3d98ecbdb Proper random MAC handling. Set range for Allwinner and locally administered addresses for others. 2018-09-17 14:46:50 +02:00
Igor Pecovnik
acf84bac59 Fix xradio not showing up on Nanopi Duo, set fixed network MAC when using shield, small 1st run script RFC, removing deprecated stuff 2018-09-17 13:25:53 +02:00
5kft
9c15130252 add "discard" option to armbian-ramlog zram mount
When using a zram device mounted and formatted as ext4 it should be mounted using
the "discard" option so that the actual allocated memory is freed and returned to
the system when files are deleted.
2018-09-15 22:10:44 +00:00
5kft
115075f1d6 add "discard" option to zram tmpfs mount
When using a zram device mounted and formatted as ext4 it should be mounted using
the "discard" option so that the actual allocated memory is freed and returned to
the system when files are deleted (as opposed to just flagging the delete in the
metadata, and leaving the underlying memory still allocated).
2018-09-15 16:41:42 +00:00
ThomasKaiser
7521bb7ff1 Consolidate partition handling in nand-sata-install
Use lsblk to identify disks and partitions and treat SATA, USB and NVMe the same
2018-09-12 07:23:50 +02:00
Werner
c3a8d55f3a Allow interface selection on NetworkMonitorMode (#1108)
When running armbianmonitor -N/n and two or more routable network interfaces are detected create a dynamic dialog box to select which interface should be monitored. Otherwise proceed as usual. Also reverts #1106
2018-09-11 22:25:31 +02:00
ThomasKaiser
845baff038 Switch to lzo for zram swap\nhttps://forum.armbian.com/topic/8161-swap-on-sbc/?do=findComment&comment=61668 2018-09-11 14:33:27 +02:00
Werner
00d44fe40f Crude fix for multiple interfaces (#1106)
I ran into an issue that `armbianmonitor -N` and `-n` spit out an `sed` error message and noticed this is caused when multiple network interfaces (like additional `tun`) are detected.
This is a quick and dirty fix and just grabs the first result to make it work.
2018-09-11 12:08:02 +02:00
Igor Pečovnik
4dcceb3f12
Double waiting time
Just in case.
2018-09-10 21:29:19 +02:00
ThomasKaiser
be0778b176 Improve NVMe support
Running with btrfs on el cheapo NVMe SSD: http://ix.io/1mpG
2018-09-10 20:06:46 +02:00
Werner
53819a6212 Fix monitormode run unprivileged (#1107)
* Fix monitormode run unprivileged

Running `armbianmonitor -m/M` non privileged leading into an no permission error as user do not have permission to read `cpuinfo_cur_freq`. This will prevent the error and adds a hint.
2018-09-10 18:33:13 +02:00
Lane Jennison
13ea64b1e9 Revert "Try to fix DNS (privacy) issues"
This reverts commit f10acc0080.

Making room for alternative approach
2018-09-09 23:59:45 -04: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
ThomasKaiser
9eff058568 Improve zram related monitoring 2018-09-06 23:44:37 +02:00
ThomasKaiser
098a391996 Prepare zram compressed /tmp
Will only be active when /tmp entry is removed from /etc/fstab.
2018-09-06 23:08:02 +02:00
Thomas Kaiser
c24ceea4b1
Allow also RAMLOG_ALGORITHM to be defined with zram 2018-09-06 21:56:51 +02:00
Thomas Kaiser
3d0a5a38ca
Split zram swap and ramlog creation
armbian-zram-config acts partially only as helper for armbian-ramlog so use the latter's config.
2018-09-06 21:19:12 +02:00
ThomasKaiser
e0d8b11ade Make SWAP_ALGORITHM also configurable with zram swap 2018-09-06 01:36:18 -07:00
Thomas Kaiser
4804c91114
Make ZRAM_PERCENTAGE and ZRAM_MAX_DEVICES configurable 2018-09-06 10:04:37 +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
5d57dbea3a OrangePi win GMAC is very unstable on gigabit. Limit it down to 100Mb solve problems + enlarge desktop image size for 5% 2018-09-03 10:21:07 +02:00
Tanarri
83e593e13e Stop also service "fail2ban"
Apache service is stopped. Why not stopping also the service fail2ban, which is often installed beside apache
2018-09-02 22:31:51 +02:00
Igor Pecovnik
fda2c1c424 Meson64 boot script bugfix and 1st run setting MAC via Network manager for boards where is random 2018-09-02 14:04:16 +02:00
Igor Pečovnik
51b5cfdc42
Merge pull request #1069 from zhiverbox/master
Redo of implementation for feature request #947 on current master
2018-08-31 11:40:33 +02:00
ThomasKaiser
e0a1028797 Set dmc DRAM governor to performance on RK3399/default
https://forum.armbian.com/topic/7511-nanopi-m4/?do=findComment&comment=60848
2018-08-30 18:37:30 +02:00
ThomasKaiser
4910ad2fc2 Revert "Set dmc DRAM governor to performance on RK3398/default"
This reverts commit 3b713754a8.
2018-08-30 18:31:34 +02:00
ThomasKaiser
3b713754a8 Set dmc DRAM governor to performance on RK3399/default
https://forum.armbian.com/topic/7511-nanopi-m4/?do=findComment&comment=60848
2018-08-30 17:59:09 +02:00
zador-blood-stained
64e7dfd923 armbian-add-overlay: Fall back to always using headers dtc
dtc in Bionic still has bugs that affect some overlays
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/livetree.c?id=bba26a5291c8343101e0296b0e478deb4c9b60b0
2018-08-29 21:34:15 +03:00
Igor Pecovnik
936a0ca7b4 Disable Xscreensaver by default 2018-08-29 14:11:51 +02:00
Thomas McKahan
9b6a1c23a3 tinkerboard PA ignore ALC4040
sets udev rule to specifically ignore the USB soundcard on Tinker.
Enumeration of ALC4040 is done with manual config.
2018-08-27 22:59:38 -04:00
Martin Ayotte
f469d4c66e fix missing rockchip64 LINUXFAMILY in nand-sata-install 2018-08-27 17:22:47 -04:00
ThomasKaiser
b00ba112ac Adjust board family rename in armbian-hardware-optimization too 2018-08-26 16:30:28 +02:00
zciendor
bd83c60b23
Merge remote-tracking branch 'upstream/master' 2018-08-26 07:04:03 -05:00
ThomasKaiser
f10acc0080 Try to fix DNS (privacy) issues 2018-08-24 20:26:08 +02:00
Igor Pecovnik
c542b8fee0 Hostapd bump version to override Bionic stock build, Tinkerboard upstream patches 2018-08-23 18:54:54 +02:00
Igor Pecovnik
e04177dfba Updated RK3399 config, revert executing bit on armbian-hardware-optimisation, enable overclocking for RK3399 boards 2018-08-12 19:24:36 +02:00
Thomas Kaiser
efe63dbe7f
Run package integrity check only as root
Closes #1078
2018-08-12 12:08:46 +02:00
Thomas Kaiser
9bce3eb58b
Cosmetic log fix 2018-08-12 11:47:08 +02:00
Thomas Kaiser
68d1fae8ce
RK3399 IRQ affinity assignment first try 2018-08-12 11:41:32 +02:00
Igor Pecovnik
802c7be55f ArmbianEnv.txt file cleanup. Without LF parameters can be added to the same line and board might not boot at all. This should fix the problem. 2018-08-11 17:43:20 +02:00
ThomasKaiser
88ea83e694 armbianmonitor bugfix 2018-08-06 06:56:46 +02:00
ThomasKaiser
a70fd8033d Add Tinkerboard S DC-IN voltage to armbianmonitor
https://forum.armbian.com/topic/7882-tinkerboard-s-what-is-asus-view-on-voltage-drops-in-cables/?do=findComment&comment=59445
2018-08-06 06:43:49 +02:00
Igor Pecovnik
d2147b50c2 Enable Odroid C1 NEXT, 4.17.y ... usable as headless server. Known issues: stuck on reboot, need power cycle, no hdmi console, no DVFS. 2018-08-01 13:00:31 +02:00
zciendor
ddf0ed1edf
Redo of implementation for feature request #947 on current master
This was already implemented with https://github.com/armbian/build/pull/948,
before but never made it into the master branch yet. Probably because the
development branch has been abandoned in the meantime and it is to much effort
now to merge it into master.

It includes all the cleanup changes from commit 08743d3 and has been successfully
tested on an Odroid HC1.

In addition to what is currently in the `luks` branch the following improvments
where done/added:

1. update_initramfs() function in debbootstrap-ng.sh, which needs to be invoked
   after the partition layout and /etc/crypttab was created. Else `cryptroot-unlock`
   won't work and you'll run into:
   https://serverfault.com/questions/907254/cryproot-unlock-with-dropbear-timeout-while-waiting-for-askpass

   Apart from that it might be useful to always run `update-initramfs` at the end
   of the build process anyway, in case customize_image (userpatches) made some
   changes to the initramfs tools configs.

2. CRYPTROOT_SSH_UNLOCK=yes/no config option. It's by default set to yes, but it
   might be desired by some users to disable enable SSH/dropbear access while
   still having LUKS support. E.g. if they have a device that has a display
   and keyboard.

3. If no `authorized_keys` file is provided via userpatches, a new SSH key pair
   is generated and for convenience copied to the output directory along with
   the final image.
2018-07-31 16:02:26 -05:00
zador-blood-stained
d1fc3b898b Bugfixes for armbian-add-overlay changes 2018-07-26 14:17:34 +03:00
zador-blood-stained
7f9e4e1a43 Rework checks for dtc in armbian-add-overlay
Ubuntu Bionic and newer Debian distributions have new enough dtc for
compiling overlays, so try to use distribution provided compiler if
kernel headers are not installed
2018-07-26 14:08:53 +03:00
Igor Pečovnik
1c4171a958
Merge pull request #1057 from Staars/master
BT-support for z28pro
2018-07-22 16:20:53 +02:00
ThomasKaiser
e63138bacd Allow 7-zip benchmark to run multiple times 2018-07-22 14:53:16 +02:00
ThomasKaiser
13d034b747 Add 7-zip CPU benchmark to armbianmonitor
Unfortunately still people believe into sysbench to be able to report CPU performance
2018-07-22 12:05:56 +02:00
Staars
b3178a2c9f BT packages for z28pro 2018-07-21 09:28:00 +00:00
Igor Pečovnik
80ea69910a
Suppressing irrelevant error code 2018-07-20 09:02:41 +02:00
ThomasKaiser
4117a76167 Minor bugfixes 2018-07-19 12:41:09 +02:00
Thomas Kaiser
7c5b606a85
Add cron-apt and unattended-upgrades to RecreateLogs 2018-07-18 15:53:35 +02:00
ThomasKaiser
52bef7ddf9 Try to improve ondemand scheduler and thermal readouts
https://forum.armbian.com/topic/6398-orange-pi-zero-cpu-and-load-issues-with-538/?do=findComment&comment=58057 and https://forum.armbian.com/topic/7032-nanopi-k1-plus-to-be-released-soon/?do=findComment&comment=58172
2018-07-15 23:10:26 +02:00
Igor Pečovnik
9ce1876694
fix dependencies
we don't need this package everywhere
2018-07-15 09:17:04 +02:00
ThomasKaiser
0c5d1b3639 Correct partition aligment in nand-sata-install
Also prepare for RK3399
2018-07-11 09:16:43 +02:00
ThomasKaiser
8540778100 Minor ramlog fixes 2018-07-11 07:29:08 +02:00
ThomasKaiser
80c8753d78 [OMV] Minor fixes 2018-07-09 13:41:24 -07:00
ThomasKaiser
5c214b0cc1 Few ramlog/zram fixes/improvements 2018-07-09 11:55:39 -07:00
Igor Pečovnik
e78c66b3a9
bugfix 2018-07-09 19:50:23 +02:00
Thomas Kaiser
5bd6ab4b0d
Formatting fixes and log creation only when needed 2018-07-09 15:40:12 +02:00
Rabit
dee62df8bb ASUS Tinkerboard: Added rules to enable edge detection for gpio 2018-07-08 15:53:57 -07:00
Rabit
1066859065 ASUS Tinkerboard: Added gpio & i2c groups with udev rules to devices 2018-07-08 14:12:15 -07:00
Igor Pečovnik
7283c12ffd Fix permissions for script and in one patch, s5p6818 kernel config adjustement 2018-07-06 07:07:41 +00:00
Igor Pečovnik
52c71aba80
Logrotate fix
https://github.com/armbian/build/issues/1033
2018-07-06 06:59:38 +02:00
Igor Pečovnik
cf40fda60a Add OMV 4 module dependencies and a workaround for ram2log that OMV can make use ZRAM powered ramlog. It is also helpful in case of sudden crash. Nginx can't start without log places into its subdir. We create them on start. 2018-07-04 14:19:50 +00:00
Igor Pecovnik
908dd71d2d Revert "Adjusted ZRAM implementation"
This reverts commit 46d754f909.
2018-06-30 23:00:26 +02:00
Igor Pečovnik
46d754f909 Adjusted ZRAM implementation
https://forum.armbian.com/topic/7503-we-need-your-help/?tab=comments#comment-57029
2018-06-29 11:14:04 +00:00
Igor Pečovnik
b2bb8fba4f Fix ZRAM & RAMLOG startup troubles. Tested on all targets, permission fix in patches, adjust Udoo NEXT patches 2018-06-25 15:59:58 +00:00
Igor Pečovnik
bffd9a4a72 Workaround for activating ZRAM on some older kernels and enabling zram compression method in Odroid C2 kernel config 2018-06-22 11:51:05 +00:00
Igor Pečovnik
acb3ec59e1 Moving Odroid C2 default to 3.16.y 2018-06-22 10:57:55 +00:00
Igor Pecovnik
04254c4878 Fixing crontab and adjusting logrotate command
https://github.com/armbian/build/issues/1021
2018-06-20 09:49:06 +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
75e17b0e21 Switch logic. logrotate is active at /var/log.hdd if we use it. Compression happens only there. Truncate script (if /var/log is over 75%) saves logs, run logrotate on log.hdd and truncate logs. ZRAM partition was switched back to EXT4 since there are many troubles with older kernels. Image size was reduced due to lack of swap creation. 2018-06-17 11:52:15 +00:00
Igor Pečovnik
09b313f860 Added timeouts for our new services, bugfix for packaging 2018-06-17 08:23:40 +00:00
Obihörnchen
dace054d9d
ODROID XU4: Improve IRQ detection regex
Some kernels might have additional interrupts like ```extcon_usb3_0```. The previous regex matches this as well, so usb3 smp_affinity was never set correctly.
```
 80:       1465         54          0          0          0          0          0          0     GICv2 103 Edge      ehci_hcd:usb1, ohci_hcd:usb2
150:       3915          0     132611          0          0          0          0          0     GICv2 104 Edge      xhci-hcd:usb3
151:        334          0          0          0          0          0          0    7406300     GICv2 105 Edge      xhci-hcd:usb5
152:          0          0          0          0          0          0          0          0  exynos4210_wkup_irq_chip   5 Edge      extcon_usb3_0
153:          1          0          0          0          0          0          0          0  exynos4210_wkup_irq_chip   1 Edge      extcon_usb3_1
154:          0          0          0          0          0          0          0          0  exynos4210_wkup_irq_chip   4 Edge      extcon_usb3_1
```
Note: The armbian kernel doesn't have these additional interrupts, but it can't hurt to improve it anyways ;)
2018-06-17 01:31:51 +02:00
Igor Pečovnik
347af78b46 Detecting compressed devices doesn't work properly. fixed to dev/zram0 for now 2018-06-16 20:31:15 +00:00
Igor Pečovnik
9509640c65
Bugfix.
After, not before
2018-06-16 21:25:03 +02:00
Igor Pečovnik
f0b4ac9f2a Check if file exists 2018-06-16 18:57:41 +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
zador-blood-stained
f847b1d219 Drop OPi 2G-IOT build target
"Community supported" configurations with a lot of issues, no community
to support it and no improvements in more than a year should be dropped
2018-06-12 13:49:37 +03:00
Tony
d32c9cce43
Delete tinker-bluetooth-restart.service
Deprecated.  New user space gpio control method does not suffer the same issues
2018-06-05 20:58:17 -04:00
zador-blood-stained
22e0317fc8 Move installation of armbian-config deps to its script 2018-06-05 19:40:51 +03:00
zador-blood-stained
f9d48776a5 Drop S500 boards 2018-06-02 17:44:19 +03:00
Igor Pečovnik
73ffbc0a26
Changing to master branch
which is now default
2018-05-31 13:58:55 +02:00
Igor Pecovnik
442ab52d3e Small RFC for better Armbian MOTD user configuration
https://forum.armbian.com/topic/7229-30-sysinfo-get_ip_addresses/
2018-05-31 10:22:03 +02:00
Igor Pecovnik
a7b8386b02 Tiny Rockchip related fixes. Fix boot priority on MiQi. Start from SD if insterted, otherwise boot from eMMC, go up with u-boot to 2017.11, 2018.03 hangs ... 2018-05-30 11:46:32 +00:00
ThomasKaiser
1c9c7d4037 Temperature readout fix
And switching from Google to Cloudflare DNS everywhere
2018-05-28 23:27:11 -07:00
Igor Pecovnik
e39757e142 Packages cleanup. Removing deprecated configs and scripts 2018-05-27 20:51:05 +02:00
Igor Pecovnik
312ec0ba91 Merged packages from development 2018-05-27 10:17:03 +00:00
Igor Pecovnik
991fb56209 Merge Odroid XU4 into stable 2018-05-25 10:49:33 +02:00
Stefan Mavrodiev
56a9a49b19 Update olinuxino BSP packages 2018-05-03 09:00:16 +03:00
zador-blood-stained
2a11de768c Merge safe changes from development to master, part 2 2018-04-29 16:02:11 +03:00
Edwin Steele
23a81c22a2 Flush armbianEnv.txt to disk to avoid corruption
Corruption of this file affects the ability to boot properly
and this can easily happen with an unclean shutdown given the
long commit interval in /etc/fstab.
2018-04-09 17:24:36 +10:00
przemyslaw.radziszewski
e0e6bb182d added frame buffer configuration 2018-03-14 20:59:34 +01:00
Igor Pečovnik
347a169994
changing branch 2018-03-07 14:33:09 +01: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
fcf8d5cad7 Storing package list compressed - save some space (50-70Mb), enlarging automated apt-get update and purge intervals to minimize fs interacions further 2018-03-01 20:37:47 +01:00
Thomas Kaiser
7927a540da
Try to apply USB quirks at boot 2018-02-27 08:35:56 +01:00
Igor Pecovnik
256cf7811c Workaround for Tinkerboard Bluetooth 2018-02-22 17:25:59 +01:00
Tony
564395a2f7
Update tinker-bluetooth.service
Silly mistake.
2018-02-20 23:37:15 -05:00
Tony
57a321401e
Merge pull request #897 from Tonymac32/master
rockchip default add video permissions
2018-02-18 00:33:07 -05:00
Igor Pečovnik
ee267993b0
Merge pull request #894 from helios-4/helios4
Helios4 - fancontrol improvement + mvebu-next patches reordering
2018-02-17 08:39:07 +01:00
Gauthier Provost
5abd71d6b6 Helios4 - Add fancontrol patch
- fix 'too many arguments' error messages
- set pwm to minimum speed when fancontrol exit
2018-02-17 14:08:17 +08:00
Igor Pečovnik
3f6c5187fa
Merge branch 'master' into master 2018-02-16 14:31:25 +01:00
Tony
1072067765
bsp rockchip udev rules
https://forum.armbian.com/topic/6291-changing-default-kernel-testing-needed/?do=findComment&comment=49376
2018-02-15 23:18:28 -05:00
Igor Pečovnik
5c7ee75adc
Also showing bridge IP addresses 2018-02-15 19:27:41 +01:00
Igor Pecovnik
180112d72d Enable BT on BPi M2 zero 2018-02-15 12:20:57 +01:00
Igor Pecovnik
69ccc04e88 USB / SATA install support for Esspressobin SPI based boot. BTRFS option disabled. 2018-02-13 14:17:20 +01:00
Tony
e2a054af8d
remove unecessary file
don't need the whole file in any case
2018-02-07 22:27:32 -05:00
tonymac32
6e8da746c9 Merge branch 'master' of git://github.com/armbian/build 2018-02-05 22:52:11 -05:00
Igor Pečovnik
5e86816403
Merge pull request #881 from OLIMEX/olimex-som204-a20
Add support for A20-SOM204 board
2018-02-05 07:07:06 +01:00
Gauthier Provost
8bc4065287 Make fancontrol config use physical device address (mapped via 90-helios4-hwmon.rules)
Remove kernel KGDB options
2018-02-05 00:55:36 +08:00
Gauthier Provost
e453a43107 Helios4 - cleanup fan control setup 2018-02-04 19:17:33 +08:00
Gauthier Provost
75a40bcfdb Merge remote-tracking branch 'origin/helios4_LK4.4' into helios4 2018-02-04 14:03:55 +08:00
aprayoga
5060919917 [helios4] udev rules and pwm fancontrol 2018-02-04 08:34:31 +08:00
Stefan Mavrodiev
2a00ede14f Add xorg conf 2018-02-02 16:37:38 +02:00
tonymac32
1e37aefc1e Merge branch 'master' of git://github.com/armbian/build 2018-01-30 22:24:15 -05:00
Stefan Mavrodiev
6c059834fb Update bluetooth target 2018-01-29 16:40:07 +02:00
Stefan Mavrodiev
700aa45dfe Update board specific services 2018-01-29 13:26:44 +02:00
tonymac32
25c95629d4 Config TinkerBoard Default Update 2018-01-28 16:46:51 -05:00
Eddi De Pieri
4da02059db orangepi win can now use ap6212-bluetooth patch 2018-01-27 10:23:02 +01:00
Eddi De Pieri
6e79dc833d Revert "fix bt on orangepiwin"
This reverts commit 238072cb55.
2018-01-27 10:23:02 +01:00
Tony
5f68e75049
Update NanoPi K2 u-boot blob
2 GB RAM fix
2018-01-24 00:17:45 -05:00
Tony
f1338514b4
Correct version of rtk_hciattach
Source found here: https://github.com/NextThingCo/rtl8723ds_bt

rtk_hciattach is common for the bs and ds variants of the RTL8723
2018-01-21 21:08:08 -05:00
Eddi De Pieri
238072cb55 fix bt on orangepiwin 2018-01-21 00:42:17 +01:00
Becker Béla
43a54f1c32 Clone and build the improved RTL8188EU driver
Using hostapd-realtek, the 8188eu module in the legacy kernel of some H3
boards has an issua with WPA enabled access points, namely clients are
unable to connect.

Using the driver from https://github.com/lwfinger/rtl8188eu fixes this.
2018-01-18 14:53:17 +01:00
tonymac32
39bc9fbbaa beginning sound mapping, BT, and display patches 2018-01-18 02:05:47 -05:00
Igor Pecovnik
b26ea8bfa0 Increase Wifi stability (disabling pm) and disable some wireless debug info on Orangepi Prime 2018-01-15 15:15:09 +01:00
Igor Pecovnik
103ac41430 Added legacy kernel (3.10.107) targets for several A64 boards: Orangepi Win and Bananapi M64 were tested, the rest is untested: NanopiA64, Olinuxino A64 and Teres A64 2018-01-09 22:51:54 +01:00
Igor Pecovnik
7f7d82a6c1 Helios4 cleanup. Adding default branch 2018-01-07 09:58:52 +01:00
Gauthier Provost
945572718a Helios4 intergation cleanup
- move fancontrol install under a family_tweak func
- remove unused helios4 bootenv and bootscript
- clean-up patches
2018-01-07 13:24:34 +08:00
Igor Pecovnik
72df4a091f Sprunge pasting service seems to be broken. Changing to alternative ix.io
https://github.com/rupa/sprunge/issues/43
2018-01-06 08:38:49 +01:00
Igor Pecovnik
1c7cdec6f6 Revert "Hostapd patches update and cleanup"
This reverts commit 9a752921c5.
2018-01-05 21:15:14 +01:00
Igor Pecovnik
aa991ba537 Bugfix 2018-01-05 20:13:09 +01:00
Igor Pecovnik
9a752921c5 Hostapd patches update and cleanup 2018-01-05 15:22:04 +01:00
Igor Pečovnik
7d44c57737
Reverting few dependencies 2018-01-04 16:36:56 +01:00
Igor Pecovnik
fd9a64d6d4 Add dependencies to armbian-config so we don't need to check and install this 2018-01-03 14:22:55 +01:00
Igor Pečovnik
d4ba1d7b0b
Removing C2 MAC seting
Apparently, this method kills the network and it is not needed anymore.
https://forum.armbian.com/topic/5796-no-ip-assignment-with-c2-and-31479-odroidc2/?tab=comments#comment-46534
2017-12-27 07:24:09 +01:00
Igor Pecovnik
cac166eea1 Removing doubled or pointless entries in hostapd config 2017-12-26 10:37:59 +01:00
Thomas Kaiser
de0df7fbe8
Make CLI monitoring less 'expensive'
We try to **not** influence OS behaviour so let's try to renice our monitoring function from 0 to 19 and also minimize fs stats.
2017-12-15 11:44:21 +01:00
Igor Pecovnik
d93ad66f39 Revert "Bugfix when temperature is not present or readings are invalid"
This reverts commit 7f2337ed53.
2017-12-15 10:44:59 +01:00
Thomas Kaiser
751aa7194f
Remove soctemp node when there are no thermal readouts
Allowing to revert 7f2337e
2017-12-15 10:20:14 +01:00
Igor Pecovnik
7f2337ed53 Bugfix when temperature is not present or readings are invalid 2017-12-15 09:38:27 +01:00
Igor Pecovnik
dbca9c7ed3 Rearanging initial Chromium bookmarks, adding links to documentation, guides, ... 2017-12-14 19:53:54 +01:00
Igor Pecovnik
ca63d66abb Add Chromium initial configuration for Ubuntu and Debian 2017-12-14 18:26:01 +01:00
Stefan Mavrodiev
f473e1a9fb Update support for sun5i (#846)
* Initial support for A13
* Update u-boot.bin
* Update nand-sata-install
2017-12-14 13:27:50 +03:00
Igor Pecovnik
ee6674bb87 Fix randomly failing X server on imx6 boards + upstram patch for Udoo NEXT
https://forum.armbian.com/topic/4900-x-server-randomly-failing-through-the-last-upgrades/
2017-12-12 22:09:53 +01:00
Igor Pecovnik
7b6d11ab5f Adding Thunderbird to Jessie, adjust firefox default configuration, fix wallpaper settings on Jessie 2017-12-12 16:21:15 +01:00
Igor Pecovnik
55a7192e49 Missing CPU temp in armbianmonitor https://github.com/armbian/build/issues/839 2017-12-05 10:57:29 +01:00
Igor Pecovnik
837b22ad51 Floating point bc powered check if string is a number to supress output when we don't have numeric value 2017-12-05 10:56:24 +01:00
Igor Pecovnik
9a3e6a713d Cosmetic feature - hide boot partitions from desktop 2017-12-05 10:31:57 +01:00
Igor Pecovnik
c7dc4fcf97 Proper bind mount directory when installing to SATA/USB and booting from SD. 2017-12-04 17:24:06 +01:00
zador.blood.stained
2851e0987e Small BSP refactoring 2017-12-01 18:38:23 +03:00
zador-blood-stained
b4ba3adbb1 Update sunxi-tools build dependencies 2017-12-01 16:18:22 +03:00
Igor Pecovnik
dffa837f28 Resolving few issues with desktop, adjusting printer package per distro, adding numix theme to Jessie on the way. 2017-12-01 12:20:08 +01:00
Igor Pecovnik
24fbb01438 Adding printing support to Desktop image, 881x driver to Rockchip NEXT, hide few items in applications menu 2017-11-30 07:29:36 +01:00
Thomas Kaiser
9b49b45ff7
Minor bugfix in armbianmonitor 2017-11-29 19:31:21 +01:00
Igor Pecovnik
5cb346e80f More resiliant soc temp reading when kernels fails to output proper data. 2017-11-29 11:48:27 +01:00
ThomasKaiser
3cc5ffb5e4 Adjust h3disp behaviour to modifiy script.bin symlink
https://forum.armbian.com/topic/5770-recent-armbian-updates-break-3-things-2-fixed/?do=findComment&comment=44679
2017-11-27 15:03:12 +01: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
220705bd73 Remove temper from armbian-tools package 2017-11-25 22:44:41 +03:00
zador-blood-stained
376fcd2186 Drop sun8i-dev branch in favor of sunxi-next 2017-11-25 14:40:44 +03:00
ThomasKaiser
c3b26491b6 Let USB device negotiation appear in dmesg output 2017-11-23 20:37:57 +01:00
ThomasKaiser
35a6ad0b95 Restrict nand-sata-install to btrfs when rootfs is already btrfs 2017-11-22 22:40:44 +01:00
Igor Pecovnik
474a034194 Revert "Tiny bugfix - I believe a10disp should be installed to Xenial as well"
This reverts commit b499e13809.
2017-11-22 13:12:13 +01:00
Igor Pecovnik
b499e13809 Tiny bugfix - I believe a10disp should be installed to Xenial as well 2017-11-22 12:40:05 +01:00
ThomasKaiser
7dd3a3154a Minor logging/support tweaks 2017-11-22 11:32:32 +01:00
ThomasKaiser
1ae79aab83 Monitor underpowering little bit better on A20 boards 2017-11-21 22:08:16 +01:00
zador-blood-stained
a36c0f1375 Small fix 2017-11-21 19:24:10 +03:00
zador-blood-stained
f136cc7f57 Fix PSD activation 2017-11-21 19:04:05 +03:00
Thomas Kaiser
5ac30dd061
Add users to ssh group 2017-11-21 01:05:18 +01:00
zador-blood-stained
08133de3a2 Work around upstream issues for building libmali package 2017-11-20 19:36:15 +03:00
ThomasKaiser
d201dadbe7 Minor logging improvement 2017-11-20 07:40:19 -08:00
ThomasKaiser
e0ee68a375 Minor logging tweaks 2017-11-20 06:41:05 -08:00
ThomasKaiser
ce884f630d Minor armbianmonitor debug info improvements 2017-11-19 18:26:03 +01:00
ThomasKaiser
ead8c7e6c6 Minor monitoring/support fixes in armbianmonitor 2017-11-19 13:24:02 +01:00
zador.blood.stained
8826d231a6 Display instructions for installing armbian-config in MOTD 2017-11-15 18:09:31 +03:00
jaskcon
35247cc040 default network interface monitoring (#821)
* default network interface monitoring 

I added the function NetworkMonitorMode(). One could argue that the MonitorMode() function should own these stats, but I think it would make things a bit too busy-ish. Having said that, I'm not married to accessing network stats through an independent function.
regards..../j

* Update armbianmonitor

* Update armbianmonitor

* Update armbianmonitor

* Update armbianmonitor

* Update armbianmonitor
2017-11-12 21:30:57 +01:00
zador-blood-stained
29e9d961b7 Don't show armbian-config MOTD if it's not installed 2017-11-12 13:42:50 +03:00
zador-blood-stained
42e1ee8330 Update armbian-config packaging 2017-11-12 13:35:27 +03:00
Igor Pecovnik
96324893b3 Remove debug code :) 2017-11-12 09:19:46 +01:00
Igor Pecovnik
aa4b4b1aa6 Armbian-config packaging bugfix 2017-11-12 09:18:59 +01:00
zador.blood.stained
0dabbbafa2 Silence output from log2ram in its cron script
Closes #813
2017-11-11 23:49:59 +03:00
zador-blood-stained
fbaba7b3ed Small cleanup 2017-11-11 22:52:42 +03:00
zador-blood-stained
5b95083b01 Rework armbian-config packaging script 2017-11-11 22:48:09 +03:00
Igor Pecovnik
325d18b4f5 Packing armbian-config 2017-11-11 20:34:23 +01:00
zador-blood-stained
8ed55d9768 Clean up NM policykit files 2017-11-11 17:35:22 +03:00
jaskcon
494c3811b8 Fixes to ProcessStats() and the associated calls (#820)
Changes to the 'ProcessStats()' function to pull and compute system load values with better accuracy
Changes to the 'MonitorMode()' function to display the system load values with better accuracy [call ProcessStats() and load values through the $procStats variable]
2017-11-11 14:38:28 +01:00
Igor Pecovnik
edd32a15ec More conservative HT and VHT initial settings for hostapd. 2017-11-10 22:25:02 +01:00
Igor Pecovnik
dc045b507e Minor desktop related tweak. Removing XFCE "about" from the middle of the menu 2017-11-08 20:09:49 +01:00
Igor Pecovnik
a3313fc35b Fixing permission for Network manger 2017-11-08 20:01:10 +01:00
Igor Pecovnik
8b4d703f41 Desktop rework. Shortcuts to armbian-config, support and donate were moved to menu, default icon theme - installing with workaround - was changed to lighter one (Numix), fixed login greeter theme, changed default wallpaper 2017-11-08 18:45:59 +01:00
ThomasKaiser
cac4155f81 Few more cosmetical armbianmonitor fixes 2017-11-08 15:32:19 +01:00
ThomasKaiser
67de9a2369 Cosmetic MonitorMode changes in armbianmonitor 2017-11-08 14:08:32 +01:00
jaskcon
1a6041a0b2 Update armbianmonitor (#819)
* Update armbianmonitor

Two proposed changes to 'MonitorMode':

Change 0 [Fix the real-time monitor 'sleep' value so it can be adjusted at runtime] 
line 138: equate 'interval' with $1 (note: in the 'case' routine, $2 == command-line $1)
line 325: change term 1 of the comparator from '$1' to 'interval'

Change 1 [add fixed-line functionality to the real-time monitor]
lines 291,297: retain the 'DisplayHeader' reprint routine for command-line case '-m' (scrolled output) 
lines 326-328: add the overwrite routine for command-line case '-M' (fixed-line output)

* Update armbianmonitor

* Update armbianmonitor
2017-11-08 08:41:27 +01:00
Igor Pecovnik
0ca62c3c0c Check for special interfaces setup. This is used when creating AP 2017-11-06 19:10:43 +01:00
zador-blood-stained
b0140bcee6 Small updates to firstrun config 2017-11-04 22:32:15 +03:00
zador.blood.stained
b6ab198b43 Split and activate firstrun configuration service
The code was disabled some time ago, split it to a separate unit file
and reenable. Since configuration file needs to be renamed to activate
it, it won't be run by default.
2017-11-04 21:56:23 +03:00
ThomasKaiser
700c401128 Initial Orange Pi R1 support 2017-11-04 15:37:39 +01:00
ThomasKaiser
e1ce4d7a66 Choose LZ4 with zram where possible 2017-11-04 09:19:52 +01:00
ThomasKaiser
c23d793ec4 Add zram activation routine (disabled for now) 2017-11-03 23:35:38 +01:00
ThomasKaiser
2e5bb818e5 Switch from swapfile to zram on Xenial
https://forum.armbian.com/topic/5565-zram-vs-swap/
2017-11-03 16:20:12 +01:00
Igor Pecovnik
41e228f542 Firmware packaging fix
455d6b6701
2017-11-03 11:33:53 +01:00
zador-blood-stained
59355d30f9 Small refactoring 2017-10-29 23:20:20 +03:00
zador-blood-stained
7ad733a19a Fix sunxi u-boot splash
Tested on H3 with DM video driver, may require tweaks for older video
driver (A10/A20)
Boot splash files should be installed in family_tweaks due to different
requirements for different platforms
2017-10-26 18:40:30 +03:00
zador-blood-stained
2a7ccaca1a Add NAND issues warning to nand-sata-install 2017-10-25 13:46:23 +03:00
ThomasKaiser
437995769a Switch to 4MiB partition boundaries on flash media 2017-10-24 20:12:19 +02:00
zador-blood-stained
46e6c33663 Disable NM random MAC in Stretch 2017-10-24 17:25:41 +03:00
zador-blood-stained
fbd0b46b37 Install out-of-tree drivers only if headers are available 2017-10-24 15:32:13 +03:00
ThomasKaiser
34f4685b66 Add Sunvell R69 as community supported device 2017-10-23 12:28:41 +02:00
Igor Pecovnik
7f0df0d050 Adding proper xfce4-terminal for desktop, removing xterm, adding openVPN plugin for desktop network manager, adjusting desktop shortcut, updating icon theme package. This package also doesn't want to install on Stretch. 2017-10-20 21:17:41 +02:00
Igor Pecovnik
e68c717ef8 Creating one package is enought. No need per ARCH 2017-10-20 11:00:26 +02:00
ThomasKaiser
2815b25bc9 Switch to ondemand cpufreq governor on modern kernels
Otherwise ondemand tweaks in /etc/init.d/armhwinfo are likely to break
2017-10-17 19:46:05 +02:00
zador-blood-stained
abd386ce0b Import secutiry fixes for hostapd from upstream 2017-10-16 16:47:23 +03:00
zador-blood-stained
581114c50e Disable distcc in chroot-buildpackages 2017-10-13 20:49:50 +03:00
Igor Pecovnik
af25fa830c Bugfix source git and package directory were in the same place causing install firmware to / instead to /lib/firmware 2017-10-12 23:15:59 +02:00
zador-blood-stained
b084385fef Disable brcmfmac firmware hack for now 2017-10-12 14:07:52 +03:00
ThomasKaiser
65c1f8735b Prepare new boards arrival, cosmetic fixes 2017-10-11 13:46:03 +02:00
Igor Pecovnik
f4071d13a8 Cosmetic fix. Get rid of purple background color in newt apps whiptail, partimage, debconf ... Reverting to Debian look. 2017-10-11 13:00:02 +02:00
zador-blood-stained
920b5391d9 Fix h3disp pll_video for 800x480 mode 2017-10-08 15:07:31 +03:00
zador-blood-stained
4cb8c1c9d3 Add cooling state to armbianmonitor -m output 2017-10-08 12:51:17 +03:00
zador-blood-stained
8fcbad05aa Move firmware to a separate repository 2017-10-07 18:36:46 +03:00
ThomasKaiser
e7ad615648 Allow ODROID-XU4/HC1 to boot from btrfs
https://forum.armbian.com/index.php?/topic/5311-debian-btrfs-build-of-odroidxu4hc1-ends-up-in-boot-loop/
2017-10-05 23:40:51 +02:00
Tonymac32
6ddb6732b0 Rockchip HDMI Hotplug
Script and udev rule.  Only applies to mainline.  Not board specific per se, but may not be needed universally, so applied to specific board.
2017-09-29 00:14:04 -04:00
zador-blood-stained
38db0b55f9 Add NM_IGNORE_DEVICES variable, drop NM config from mvebu64 2017-09-28 13:53:14 +03:00
zador-blood-stained
97979f6c6a Leave disabling serial console up to the user 2017-09-28 13:33:43 +03:00
ebin-dev
0e4ef0943b mvebu64 switch to systemd-networkd (#784) 2017-09-28 11:15:26 +03:00
zador-blood-stained
e767238a7d (Test) Update hostapd to upstream 2.6 2017-09-25 20:34:53 +03:00
zador-blood-stained
35ec00c638 Add mmc-utils package 2017-09-25 19:32:42 +03:00
zador-blood-stained
5b3285d374 Build utils separately for different releases (incl. Stretch) 2017-09-25 19:32:34 +03:00
zador-blood-stained
acc603edab Prepare to build sunxi-tools for Stretch 2017-09-25 13:20:37 +03:00
zador-blood-stained
63ff246e5d Fix hostapd package version 2017-09-24 14:23:08 +03:00
Igor Pecovnik
5aec60dccc Adjust hostapd version number to force our patched version instead upstream one 2017-09-23 22:50:34 +02:00
zador-blood-stained
1c42b42737 Disable (temporarily) and clean up some extra packages 2017-09-23 12:52:59 +03:00