Commit Graph

537 Commits

Author SHA1 Message Date
lanefu
4b91e49c72
khadas edge tweaks (#3022)
* remove static mac assignment hack for khadas edge

* khadased edge rk3399 default asound
2021-07-18 23:14:02 -04:00
Igor Pečovnik
c064c11b47
Remove duplicated entries for Pinebook PRO bsp creation (#3031)
* Remove duplicated entries for Pinebook PRO bsp creation

* Link only CLI and desktop BSP package per board

* Adjust "
2021-07-18 15:41:58 +02:00
Paolo Sabatino
baf9815f8b rk322x: add DMC driver and runtime clock adjust, change rk322x-config emmc options
* add DFI driver to provide hardware-based memory controller load
     * adapted DRAM Memory Controller driver from rk3328, add necessary headers
     * provide device tree overlays to enable DDR3 clock scaling
     * adapted rk322x-box to allow DDR speed bin selection to user
     * add ipb900 board gpio configuration
     * add rtl8723cs driver to linux-current kernel
     * use ddrbin v1.10 set to 330 Mhz at boot
     * provide overlays for ddr3 at 330, 528, 660 and 800 mhz
     * split emmc overlays to enable options by user choice
     * modified rk322x-config to support dmc, emmc overlays
     * remove optee trust os in favor of rockchip proprietary blob
       for dmc functionality
2021-07-17 15:21:48 +00:00
Oleg
1e5133dd2b
fix u-boot sector station (#2999) 2021-07-12 09:32:35 +02:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
lanefu
71f67e664e
wait for systemd fully started before first login (#2979) 2021-07-06 22:32:37 -04:00
Igor Pecovnik
8ab6aeb342 Cosmetic - supress error vnstat can't be found at first login 2021-07-03 19:27:39 +02:00
Aristo Chen
5082eb9d4e
Skip checking TX/RX for interface not exists in /var/lib/vnstat/ (#2948) 2021-07-02 07:56:27 +02:00
lanefu
cb18979a64
Merge pull request #2896 from AristoChen/master
Modify the mechanism for showing IP address in 30-armbian-sysinfo
2021-06-13 11:24:41 -04:00
AristoChen
a84da70535
Modify the mechanism for showing IP address in 30-armbian-sysinfo
Exclude "dummy0" and "lo" interface, thus the IP address for all other
interface(include those having customized name) can be properly displayed
2021-06-13 20:58:05 +08:00
Nathaniel Wesley Filardo
2606d17ec7 armbian-ramlog: extra rsync options
Add two bash arrays, XTRA_RSYNC_{FROM,TO}, defined in
/etc/default/armbian-ramlog, and expand these in the two rsync
invocations in /usr/lib/armbian/armbian-ramlog.

The use of bash arrays simplifies the use of multiple arguments and also
allows for in-band commentary between array elements.

When expanding, safely test for these arrays to exist.  This is, sadly,
a little verbose in bash, so, while here, split the rsync invocations to
use line continuations.

Fixes https://github.com/armbian/build/issues/2846
2021-06-12 02:25:23 +01:00
Laurent
a9f5c0a050
AR-315: Add support for GPT table inside nand-sata-install (#2856) 2021-06-10 11:49:29 +02:00
Aristo Chen
78894792a5
Update URLs (#2870)
* Update URLs

* Update URLs

* Update URLs
2021-06-10 11:27:51 +02:00
Igor Pečovnik
adaf5956bb
Less chatty logs for 8189fs (#2857) 2021-06-01 19:49:21 +02:00
Aristo Chen
9f27fd9274
Fix issues in read_password() (#2860)
- When trying to delete by using "backspace", it will also print a "*"
and also appended to password
- When pressing keys too fast, it is possible that some characters
actually printed on the screen
2021-06-01 19:49:08 +02:00
Werner
1f2dc3423a
Delete 80-update-htop-and-offload-tx
- users are "confused" about manipulating files in their home directories
- introduced security issues which have been worked around but there might be others too
- more recent  htop may support network stuff oob (https://armbian.atlassian.net/browse/AR-771?focusedCommentId=10546)
2021-05-26 05:49:52 +02:00
Igor Pečovnik
f7c2dc2bc3
More motd related fixed (#2848)
Fixing error when we don't have etherned
2021-05-23 18:25:21 +02:00
ThomasKaiser
0f348185be
Fix typo in f0f10a5 (workaround for 7350topless) 2021-05-23 14:48:51 +02:00
ThomasKaiser
f0f10a5b68
Workaround for 7350topless
Not touching logic or the (IMO ridiculous) behavior of this script. Just meant as a quick&dirty workaround for the specific sed/symlink attack vector. Check https://github.com/stealth/7350topless for details.
2021-05-23 13:51:04 +02:00
Igor Pečovnik
4cc754e0b3
Bugfix - vnstat doesn't like very long input parameterts and it fails on certain wireless devices (Ampak, most common ones) (#2839)
Limiting device to eth* enp* only seems like a viable workaround.
2021-05-18 09:15:55 +02:00
Igor Pečovnik
73e8dfcc7e
Extracting branch and write it to the /etc/armbian-release file. This information is still needed for armbian-config (#2831) 2021-05-15 18:38:11 +02:00
Przemysław Sztoch
486a821a55
VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh, Static MAC for networkd (#2789)
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh

VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd

ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
  and installed DDR memory.

* New RK3399Pro boot preloaders.

* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix

Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
2021-05-11 21:50:14 +02:00
Paolo Sabatino
fb0f8f73bd rk322x: add led/gpio config for T066 boards, updates to rk322x-config 2021-04-25 11:55:45 +00:00
Oleg
20c06c0ba3
fix install-nand for extlinux.conf (#2775) 2021-04-15 01:16:13 +02:00
lanefu
3369a0d538
Merge pull request #2608 from ChrisDumont/fix-alignment
fix arithmetic to align filesystem sizes to 16MiB (not 16KiB)
2021-04-11 15:02:29 -04:00
Chris Dumont
5bbf2f0396 Fix arithmetic to align filesystem sizes to 16MiB on nand devices. 2021-04-03 10:18:23 -07:00
Igor Pečovnik
d9e3657171
First login keyboard configuration bugfix (#2746)
* 1st login keyboard configuration bugfix

- added small bugfix which caused to select locales too broad
- switch "automated" keyboard detection for selection prompt

* Remove dpkg-reconfigure keyboard-configuration

* Remve unused variable
2021-04-02 08:21:59 +02:00
Igor Pecovnik
93ed1e85b8 Displays that EDGE branch is in action 2021-03-28 12:21:02 +02:00
NekoB0x
8b063ca8a6
Update armbian-ram-logging 2021-03-25 11:19:35 +02:00
NekoB0x
540d7abd88
Fix redundant log writing
Fixes calling "armbian-ramlog write" twice on systems with logrotate systemd unit.
2021-03-25 01:02:23 +02:00
NekoB0x
271756dcc4
Some 30-armbian-sysinfo fixes (#2732)
* Update 30-armbian-sysinfo

Fixed alignment of "Local users" and "IP" in third column.
Made it more compact by adding extra new line.
Added "both" traffic direction.
Removed "-h" vnstat argument because it doesn't do anything, changed "last 24h" to "today" (there is only "rx/tx for today" in --oneline output).

* Update armbian-motd.dpkg-dist

Add PRIMARY_DIRECTION description

* Update 30-armbian-sysinfo

fix new line logic
clean-up unused variables
2021-03-24 19:19:38 +01:00
Igor Pečovnik
61b87bee74
W1 temp sensor can have different properties. Adjusting (#2737) 2021-03-24 19:07:53 +01:00
Gauthier Provost
5e69351b3d
Re-enable network checksum TX offload on rockchip64 family (#2623)
* Re-enable network checksum TX offload on rockchip64 family

* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500

* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2021-03-23 08:00:10 +01:00
NekoB0x
9e599d0f87
Fix motd traffic stats
Fixes:
RX/TX: "Unknown parameter "1". Use --help for help."
RX always displaying "n/a"
2021-03-19 11:35:38 +02:00
lurdan
d264a8fd74
Change apt's default compression method to gzip (#2729)
APT uses lz4 as its default compression method, but Some ARM board has performance problem on it.
This setting make apt prefer gzip over lz4.

cf. https://forum.armbian.com/topic/14064-my-apt-search-has-become-super-slow-recently/page/2/
2021-03-19 07:17:30 +01:00
Oleg
9aa7aafd4f
Adding Nvidia Jetson Nano (#2720)
* add Jetson Nano

* Update jetson-nano.conf

* Update targets.conf

* Add better description

* Adjust config - try to enable ZRAM

* Packaging patch not needed

* Extlinux was solved in other commit

* Move board to CSC for now

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 18:29:34 +01:00
NekoB0x
922f1ca49e
Fix Motd disk temperature (#2707)
Fixes displaying of "Always°C" temperature on disks without Min/Max temperature values.
2021-03-14 16:34:32 +01:00
NekoB0x
975025f170
Fix armbian-hardware-optimization logrotate (#2705)
Fixes editing of logrotate configs when ramlog is enabled and /var/log is mounted on zram device other than /dev/zram0.
2021-03-13 19:43:18 +01:00
Igor Pečovnik
3a74abe43d
Merge desktop branch (#2662)
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Richard Neese <r.neese@gmail.com>
Co-authored-by: iav <iav@iav.lv>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: Oleg <balbes-150@yandex.ru>
Co-authored-by: Lane Jennison <lane@lane-fu.com>
Co-authored-by: JMCC <jmcc1@gmx.com>
2021-02-24 18:19:09 +01:00
tparys
37c324975f
Detect overlay capability from uboot boot.cmd (#2628) 2021-02-22 21:50:50 +01:00
Lukas Pirl
4e25b7257b
remove mount option "nodiratime" where "noatime" is given (#2645)
mount option "noatime" implies "nodiratime", see, e.g.:
https://github.com/torvalds/linux/blob/v5.11/fs/inode.c#L1807-L1808
2021-02-22 21:49:04 +01:00
Paolo Sabatino
04670580ea Moved rk322x-dev to linux kernel 5.11
Added led configuration dtbo for rk322x targets
2021-02-20 20:48:42 +00:00
Evka2k
933a00515b
Helios64 UPS. System shutdown when battery reach 7.0V. (#2599)
* Helios64 UPS. System shutdown when battery reach 7.0V.
2021-02-05 18:27:15 +08:00
Uglymotha
af90b3237e
Fix armbianmonitor -n for vlan interfaces (#2594)
Currently armbianmonitor -n does not detect vlan interfaces correctly.
This is because of an incorrect egrep -o which filters out the parent interface name:
network interface: 100
instead of
network interface: eth0.100

Cascading into:
armbianmonitor: line 1095: eth0. - 0 : syntax error: invalid arithmetic operator (error token is ". - 0 ")

Fixed by changing the egrep logic to filter out the last field of route -n output.

Also fixes a timer issue by moving the timer start to after the interface selection.
time controller adjustment: -2.43
/usr/bin/armbianmonitor: line 1128: read: -2.43: invalid timeout specification
2021-02-03 20:19:08 +01:00
Igor Pecovnik
6679449bdf Bugfix and further optimisations of first login script 2021-02-03 18:23:08 +01:00
Chris Dumont
561833ea28 fix arithmetic to align filesystem sizes to 16MiB (not 16KiB) 2021-02-02 09:45:18 -08:00
Igor Pečovnik
44ceb61427
Read distro data from our files, not from generic locations which might be changed (#2597) 2021-02-01 08:39:54 +01:00
Igor Pečovnik
a1fb805d64
Rework first login script (#2578)
* At first login we set users locales based on his location which seems to be to agressive

Add a question before setting it should suffice. Closing https://github.com/armbian/build/issues/2398

* Read it silently

* Detect locales selection only if we choose to add normal user

* Asking for shell right after seting root password

* Move selections inside traps

* Remove duplicated call
2021-01-26 09:16:25 +01:00
Igor Pecovnik
268ca95a86 Bugfix - Change systemd timer to start counting from when it starts
Service starts after 1st login finishes and then it removes autologin settings which we only want that they are ebabled in 1st run
2021-01-26 09:14:05 +01:00