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
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\n https://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
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