Commit Graph

166 Commits

Author SHA1 Message Date
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 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
Igor Pecovnik
312ec0ba91 Merged packages from development 2018-05-27 10:17:03 +00: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
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
zador-blood-stained
2c0115d780 Refactor BSP directory structure 2017-07-24 16:38:00 +03:00