Commit Graph

1176 Commits

Author SHA1 Message Date
Ricardo Pardini
f5ea983f50 xiaomi-elish / image-output-abl: shellfmt, no changes 2023-10-26 21:17:01 +08:00
amazingfate
46a46dc14e add new device xiaomi-elish 2023-10-26 21:17:01 +08:00
Ricardo Pardini
5365d62e3a armbian-firstlogin: better dm detection + add simple no-op sddm support + gdm3 fixes 2023-10-14 00:01:07 +02:00
Ricardo Pardini
d4b5aa5987 armbian-firstlogin: shellfmt, no changes 2023-10-14 00:01:07 +02:00
Ricardo Pardini
6219927ce9 grub + grub-with-dtb: add back functions removed from mkconfig_lib in recent GRUB versions (2.12)
- this should make `09_linux_with_dtb.sh` work across all RELEASE's, `sid` and `mantic` included
- extra: if `grub-mkconfig` (`update-grub`) fails, show all involved source files
2023-10-13 18:01:17 +02:00
chainsx
3098c2f0cc thead: update linux to 6.6-rc5, update opensbi binary 2023-10-11 11:05:59 +02:00
Gunjan Gupta
c0e2bb910c meson-s4t7: add systemd service to enable fan in automatic mode
The service is only enabled by default on Vim4 as that board heats
a lot and a fan is absolutely necessary. Service will be available
on vim1s as well and if someone has purchased the fan for it, they
would be able to enable it themselves.

The service is only added for legacy kernel right now as I am not
sure if the upcoming 5.15 kernel will have same sysfs interface for
fan.
2023-10-11 11:05:45 +02:00
青菜萝卜冬瓜
7e0816b962
thead: fix LicheePi 4A audio problem (#5781) 2023-10-03 19:25:19 +02:00
Ricardo Pardini
1ff8356058 rk322x-config: shformat + fix 2 shellcheck errors 2023-10-03 14:12:18 +02:00
Paolo Sabatino
1a73a2fdd6 rk322x: convert device trees to dirs
* converted dtb/dtbo patches to directories instead of patches
 * add led-conf8 for h20_221_v1.71 board
2023-10-02 09:30:20 +02:00
Paolo Sabatino
0ffbe2d60c rk322x: better support for R29_MXQ and R2B_MXQ boards 2023-10-02 09:30:20 +02:00
marcone
dd5fb3e3f8
armbian-firstlogin: allow empty user password (#5738)
Call the 'passwd' command with the right arguments depending on whether
the user entered a password or not.
2023-09-23 19:14:10 -07:00
Gunjan Gupta
608618a6f5 orangepi3lts: load wifi module via systemd service otherwise it crashes cpufreq_dt module 2023-09-19 20:08:18 +02:00
Igor
95dc76ae87 Enhance default boot partition size for installer
This will prevent running into "No space left on device" pretty soon.
2023-09-19 20:07:44 +02:00
Viacheslav Bocharov
58d4fcfc7a JetHome: Update /dev/serial/rs485 symlink names 2023-09-17 10:21:54 +03:00
Jim Gregory
9ed7437fe2 fix: replace ifconfig in armbian-firstrun-config
ifconfig is no longer included in a default install of Armbian Bookworm, causing armbian-firstrun-config to silently fail when attempting to retrieve a list of network adapters.  Using nmcli instead.
2023-09-12 10:48:37 +02:00
schwar3kat
169155cdd2 Kernel 6.5 armbian-led-state.service order
A change to ledtrig_netdev causes the boot to fail on Orangepi-r1plus-lts and possibly other boards. The board boots and LED netdev trigger works if service is modified to use After=timers.target.
2023-09-04 14:37:21 +02:00
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee344.
2023-08-20 21:11:54 +02:00
Patrick Yavitz
94f7bfff89 packages: bsp: odroid: fanctrl: maintenance
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Patrick Yavitz
40530ee344 Improve Meson64 Support: ODROID
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4

Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.

Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run

                              ┌──┤ Fan Control ├──┐
                              │                   │
                              │    6) 65°C        │
                              │    5) 55°C        │
                              │    4) 45°C        │
                              │    3) 35°C        │
                              │    2) 25°C        │
                              │    E) Exit ..     │
                              │                   │
                              │                   │
                              │      <Ok>         │
                              │                   │
                              └───────────────────┘

NOTES: (N2L/HC4): I do not own the units so I can't run tests.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Phani Pavan Kambhampati
823738dedd Update armbian-add-overlay
added another case to handle stray spaces and to not add a space if no overlays are already present.
2023-08-18 17:11:51 +02:00
chainsx
90c05bac23 licheepi-4a: add a .wip for Sipeed LicheePi 4A board 2023-08-14 09:21:42 +02:00
Joseph Turner
da0d169f9a Update armbianmonitor 2023-08-04 10:33:04 +02:00
Andrew Davis
34f459158e Add initial support for TI SK-AM62B board 2023-08-04 09:52:55 +02:00
Gunjan Gupta
da6c238f79
armbianmonitor: update cpuminer and remove arm only limit (#5503) 2023-07-23 20:23:36 +02:00
Vyacheslav Bocharov
4d5edf5eda JetHome: Add RS485 ports aliases in /dev/serial/rs485 for JetHub D1/D1+ 2023-07-23 14:42:37 +02:00
Vyacheslav Bocharov
22ed391b16 JetHome: Update jethub-init service 2023-07-23 14:42:37 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Ricardo Pardini
9d0bf2940f khadas-vim3l: update asound.state with correct card name and enable HDMI output 2023-06-27 11:39:36 +02:00
Ricardo Pardini
5a964dda7a khadas-vim3: update asound.state enabling HDMI out 2023-06-27 11:39:36 +02:00
Ricardo Pardini
6c232a1303 grub: add hooks, fix GRUB font & wallpaper, introduce grub-with-dtb extension
- introduce hooks `grub_early_config`, `grub_pre_install` and `grub_late_config`
  - what we see here is an extension that itself has hooks, that just works
- introduce extension `grub-with-dtb`, which
  - enables `grub` extension
  - requires `BOOT_FDT_FILE` to be set
  - includes `/etc/armbian-grub-with-dtb` with `BOOT_FDT_FILE=` in the bsp-cli
  - includes `/etc/kernel/postinst.d/armbian-grub-with-dtb` in the bsp-cli
     - which reads the above and creates links for `/boot/armbian-dtb-<version>` when deploying deb's
  - adds implementations of the hooks above to
    - replace the distro's `10_linux` with our own `09_linux_with_dtb`
      - which looks for `/boot/armbian-dtb-<version>`
    - forcibly run  `/etc/kernel/postinst.d/armbian-grub-with-dtb` during image build, since bsp-cli is installed after linux-image
- uefi-arm64: enable GRUB wallpaper by setting `UEFI_GRUB_TERMINAL=gfxterm`
- force GRUB_FONT so Ubuntu is not confused and gfxterm (incl wallpaper) finally works
2023-06-26 13:52:29 +02:00
Igor
4be9d86bec Revert "Bookworm xfce (#5369)"
This reverts commit a41e768f53.
2023-06-24 13:15:39 +02:00
Richard Neese
a41e768f53
Bookworm xfce (#5369)
* Remove Old Link Dir Bookworm to Bullseye

* add new bookworm and with new apps dir

* new files for xfce to remove the use of .skel
2023-06-22 20:23:31 +02:00
Richard Neese
b5e9774eda
Adding support for new desktops (#5367) 2023-06-22 20:21:09 +02:00
Richard Neese
fa3a44e232
Fix background path for lightdm login background (#5366) 2023-06-22 20:20:45 +02:00
Markus Hoffrogge
5072966b44
armbian-install: use consistent logfile name and align the according /usr/lib folder name (#5340)
* armbian-install: The log file should be named identical to the originally called install script

- the log file should be named as:
  - /var/log/armbian-install.log if script armbian-install was originally called
  - /var/log/nand-sata-install.log
- same for directory /usr/lib/nand-sata-install:
  - rename this directory to /usr/lib/armbian-install
  - create a symbolic link nand-sata-install to this folder for backward compatibility
    in a subsequent commit
- abort script armbian-install with an error message:
  - if file ${EX_LIST} does not exist
  - if dir ${BOOTLOADER} does not exist
- remove the "beta" from the version title of armbian-install

* Add symlink /usr/lib/nand-sata-install to /usr/lib/armbian-install
2023-06-19 22:04:01 +02:00
c0rnelius
5ae7a4c40e
BananaPi CM4IO: Upstream RTL8822CS bluetooth firmware (#5354)
* BananaPi CM4IO: `Upstream RTL8822CS bluetooth firmware`

* Firmware search paths
/lib/firmware/updates/UTS_RELEASE/
/lib/firmware/updates/
/lib/firmware/UTS_RELEASE/
/lib/firmware/

dmesg | grep RTL
[    8.242830] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822
[    8.246443] Bluetooth: hci0: RTL: rom_version status=0 version=3
[    8.246447] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_fw.bin
[    8.280073] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_config.bin
[    8.308295] Bluetooth: hci0: RTL: cfg_sz 33, total sz 37069
[    8.695731] Bluetooth: hci0: RTL: fw version 0x05c6d2e3

cat /etc/armbian-release
BOARD=bananapicm4io
BOARD_NAME="Banana Pi CM4IO"
BOARDFAMILY=meson-g12b
BUILD_REPOSITORY_URL=https://github.com/pyavitz/build.git
BUILD_REPOSITORY_COMMIT=e189c104c-dirty
VERSION=23.08.0-trunk
LINUXFAMILY=meson64
ARCH=arm64
IMAGE_TYPE=user-built
BOARD_TYPE=conf
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image
FORCE_BOOTSCRIPT_UPDATE=
VENDOR=Armbian
REVISION=23.08.0-trunk
BOOTSCRIPT_FORCE_UPDATE="no"
BOOTSCRIPT_DST="boot.cmd"
BRANCH=current

patrick@bananapicm4io:~$ bluetoothctl
Agent registered
[CHG] Controller C4:3C:B0:A3:D0:40 Pairable: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller C4:3C:B0:A3:D0:40 Discovering: yes
[NEW] Device 46:B4:28:9B:FA:0D 46-B4-28-9B-FA-0D
[DEL] Device 46:B4:28:9B:FA:0D 46-B4-28-9B-FA-0D
[NEW] Device 00:1A:7D:DA:71:13 speaker

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* bananapicm4io.conf: `maintenance`

mkdir after the fact

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:02:43 +02:00
Brent Roman
d2b49456de switched from using ifconfig to ip command to set mac address of wlan 2023-05-24 19:29:42 +02:00
Igor
aba5df4689 Remove postinst manipulation as its not needed. SKEL is copied at user creation, psd at first run
Also fix executing bit at armbian-firstlogin script
2023-05-23 16:34:56 +02:00
Igor Velkov
9b68c4e42a Add support for nilfs2 fs based image
Signed-off-by: Igor Velkov <iav@iav.lv>
2023-05-16 08:51:05 +02:00
Pander
11c967322d installer prompt fix 2023-05-09 10:05:23 +02:00
Igor
bc5329ec84 Disable pinning policy but while leave example
It should not be needed anymore since we re-pack those packages
https://github.com/armbian/scripts/pull/44/files
2023-05-03 15:09:36 +02:00
Ricardo Pardini
2d2fec85d8 initramfs post-update 99-uboot: add verbose logging, no actual changes 2023-04-28 21:32:52 +02:00
Pander
3c09c2ffbe reduced PNG file size with optipng 2023-04-22 20:08:15 +02:00
Pander
26fb31cfbf require Enter for all promts at first login 2023-04-22 20:07:50 +02:00
Igor
4789113c78 Be more specific which packages to pin as otherwise they are downgraded upon image creation 2023-04-22 20:07:37 +02:00
Igor
9467736a64 Remove doubled swap creation 2023-04-22 10:05:10 +02:00
Matthijs Kooijman
da626d1502 armbian-audio-config: Fix muting and controls with spaces
In commit 0aa61abe7 (armbian-audio-config: Massively speed up script)
this script was changed to not call amixer for each control, but just
once for each card, feeding commands for many controls in one invocation
with the `--stdin` option.

In that commit, two errors were introduced:
 - Controls that were intended to be muted were turned on instead. This
   affects the "CD", "Mic" and "Internal Speaker" controls.

   This occured because there is a helper shell function whose arguments
   were renumbered, but the last argument kept the old numbering,
   keeping it always at the default value of "on", even when it should
   have been "mute".

 - Controls with a space in their name would be ignored. In the original
   script, arguments (including these names) were quoted and passed
   separately to the `amixer` command. Now, they are quoted when passed
   to `echo`, but that produces an unstructured line with the quoting
   removed that can no longer be correctly parsed by amixer for names
   with spaces.

This commit fixes both problems be correctly numbering the arguments and
adding an additional layer of quoting.
2023-04-17 13:43:30 +02:00
Igor
730ac1f8ba Create apt priority configuration 2023-04-15 22:48:38 +02:00
hzy
2a9279c27d armbian-firstlogin: Make sure that the first charactor of username isn't number 2023-03-29 23:22:04 +02:00
Igor
5de120edfe Allow numbers in username 2023-03-27 23:24:35 +02:00
Markus Hoffrogge
142dec4618 Fix $sduuid being overlapped by a probable emmc device existing
- if $emmccheck is not empty, then exclude this
  from the lookups for $sdblkid
- simplified $sduuid assignment within a single line

closes AR-1611
2023-03-20 13:31:06 +01:00
Markus Hoffrogge
0bd6fea636 Fix $sduuid to be of format UUID=uuid
- this issue was introduced by commit 7e9ebe1
- the variable sduuid is supposed to start with "UUID="
- fixed now by prepending UUID= to $sduuid, if the "raw" $sduuid is not empty

closes AR-1611
2023-03-20 13:31:06 +01:00
SteeManMI
4948417152
Update u-boot-s905x-s912 binary to a new build (#4947)
Previously, the u-boot binary files used to chainload u-boot for the
amlogic tv boxes were the ones produced by balbes150 in his old
tv box builds.  There was no source code for them.
This commit is the first to convert from those old binary files
to newly built ones along with a u-boot patch file and instructions
on how to build/rebuild them.  Eventually this needs to be incorporated into
the build framework to automate it.  But for now one step at a time.

 Changes to be committed:
	new file:   packages/bsp/aml-s9xx-box/boot/build-u-boot/readme.txt
	new file:   packages/bsp/aml-s9xx-box/boot/build-u-boot/u-boot-s905x-s912.patch
	deleted:    packages/bsp/aml-s9xx-box/boot/u-boot-readme.txt
	modified:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x-s912

Co-authored-by: Igor Pečovnik <igor@armbian.com>
2023-03-15 08:30:28 -04:00
Barry Lind (SteeManMI)
feb1e4cf64 Convert from using uImage to Image for aml-s9xx-box
This is needed to bring this board in line with the expectations of
the new main build (armbian-next), which dropped uImage from meson64
kernel packages.

 Changes to be committed:
        modified:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf
2023-03-13 17:29:47 -03:00
Igor
6646e2f880 Cleanup after merging too much files
https://github.com/armbian/build/pull/4902
2023-03-05 11:59:40 -03:00
Igor Pečovnik
724e05e92a
Add Riscv64 related blobs that got lost during merge (#4902) 2023-03-04 16:29:33 +01:00
Igor Pečovnik
e71d8dba10
Clenup minimal and server lists (#4893) 2023-03-02 22:44:47 +01:00
Ricardo Pardini
e98c66b859
armbian-next: general-packaging, mkdebian and builddeb are NO MORE 2023-02-18 07:38:49 -03:00
Oleg
b9d19da461
add khadas edge2 (#4836)
* add khadas edge2

* fix wifi
2023-02-17 23:06:21 +01:00
Oleg
4aac2fca72
add fan-control station m3 (#4837) 2023-02-17 22:51:02 +01:00
M. Efe Çetin
1b423adf2f
Add rockchip-rk3588 board family to armbian-hardware-optimization (#4838)
* Add rockchip-rk3588 board family to armbian-hardware-optimization

* Update armbian-hardware-optimization
2023-02-17 22:37:48 +01:00
The-going
e570f737a0 fix: armbianmonitor: used cpufreq/scaling_cur_freq if 1 Cluster available 2023-02-16 23:24:37 +03:00
The-going
6922edc4c8
Fix: Armbianmonitor: Print the CPU frequency correctly without privileges (#4823)
* Type: Remove trailing spaces

* Fix: Print the CPU frequency correctly without privileges.
2023-02-12 21:52:12 +01:00
Igor Pečovnik
7f5c20d75c
Bugfix: GRUB installation failed to install on UEFI systems (#4758)
- removing "removable" paramter
- UUID from EFI partition was not found
2023-01-28 00:14:51 +01:00
Igor Pečovnik
74aa5d9e0a
Clean and unify XFCE, Gnome and Cinnamon (#4731)
* Clean and unify XFCE, Gnome and Cinnamon
2023-01-25 18:32:25 +01:00
Oleg
eb7b1aa1d1
fix kernel edge for Jetson Nano (#4719) 2023-01-20 18:43:42 +01:00
The-going
4fe4e21969 fix: pass an argument to the awk script as a variable
MonitorIO: Add an argument check and a hint to the user
2023-01-20 20:28:07 +03:00
The-going
fc417f5c29 Fix: Uniquely determine the mount point in GetDevice 2023-01-20 20:28:07 +03:00
The-going
bf462f3517 clean: remove unused code, replaced df with findmnt 2023-01-20 20:26:37 +03:00
Igor Pečovnik
1955f4fcfe
Move htoprc to proper location as this method doesn't work properly (#4689)
* Move htoprc to proper location as this method doesn't work properly

* Remove the file
2023-01-12 13:31:45 +03:00
hzy
66cf974672 Clean extras-buildpkgs 2023-01-09 11:47:16 +03:00
M. Efe Çetin
71ac9beb28
Fix USB2 and Type C ports on Orange Pi 5 (#4634) 2022-12-31 13:37:31 -08:00
Igor Pečovnik
24d2510c28
Proper device lookup (#4612)
* Proper device lookup

* Remove unnecessary part

* Add closing double quote
2022-12-28 16:39:47 +03:00
The-going
36d9420d65
Fix issues 4589 (#4614)
* Fix: Install dependencies if we install kernel headers

* DEBUG builddeb for armhf

* Remove DEBUG echo
2022-12-26 21:12:34 +03:00
Igor Pečovnik
c982e54f7b
Suppress RX today error in MOTD if wrong NIC is detected (#4610)
* Don't display RX today: Error: No interface matching when wrong NIC is detected

* Improve checking

* Address shellcheck problem

* Switch conditions order
2022-12-25 08:45:25 +01:00
Markus Hoffrogge
1a59152009
armbian-install: further fixes plus MTD char driven flash support (#4596)
* Fix variable $root_partition_device to be a device path

- variable $root_partition_device is intended to be a
  device path as /dev/$root_partition_device_name

* Fix determination and usage of variable $sduuid

- a) lookup mmc devices excluding the mmc device probably providing
     the current root partition
- b) if there is no sduuid determined by this lookup,
     then lookup any mmc partition matching /dev/mmcblk*p1
- c) move the sduuid calculation to the script header
     to enable usage for scenario selection filtering
- d) hide installation scenario #1 selection,
     if $sduuid is empty, since $sduuid is essential for that scenario

* Hide current root partition device from destination selection

- add new variable $root_partition_name
- use this variable to filter current root partition
  from destination selection in check_partitions()

* Fix behavior in case of no available partition

- The logic in check_partitions() in case of no available
  partition is improved not to fail for a hidden reason
  and UX for fresh disk devices is improved
- Fix the calculation of $FREE_SPACE for devices without or
  with an empty partition table
- Ask the user to proceed AFTER the minimum free capacity
  required is verified
- Improve the logic for auto-creating initial partitions
  as follows:
    1. Check for a minimum free space of 4GB for a partition
    2. Ask user to proceed with auto-created partition(s) or not
    3. Distinguish between UEFI and non UEFI device
    4. Create a partition of full free size for non UEFI devices also

* Add support for MTD char driven flash

- replace $spicheck by $mtdcheck
- add probable MTD char device partitions to $mtdcheck
- update comments and dialog content:
  - replace "SPI Flash" by "MTD Flash"
- replace call of "create_armbian 'spi' ..." by "create_armbian 'mtd' ..."
- update description for /dev/nand1 /dev/nand2 as "legacy SUNXI NAND"
- additional parameters passed to import function "write_uboot_platform_mtd":
   $3 - Log file name
   $4 - SPACE separated list of all MTD device partition(s)
2022-12-23 21:58:19 +01:00
Markus Hoffrogge
893ed2347d
Fix for selecting non formatted target partitions (#4577)
- function check_partitions():
  - remove file system filter on lsblk commands
    for listing probable target partitions
  - fix typo "Destnation" -> "Destination"
  - fix indentation on if scopes

fixes #4576
2022-12-19 07:34:23 +01:00
SteeManMI
17d7e7b67b
Remove attempt to support install to emmc on s905 based TV Boxes. (#4588)
There is no way to support this on s905 TV Boxes while reusing the
android u-boot as the android uboot on s905 conflicts with the partition
table location of standard mainline linux.

 Changes to be committed:
	modified:   config/sources/families/meson-gxl.conf
	deleted:    packages/bsp/aml-s9xx-box/root/install-aml-s905-emmc.sh
2022-12-19 07:30:34 +01:00
The-going
6146943c83
The choice for kernel headers if the version is more than 5.19. (#4518)
* The choice for kernel headers if the version is more than 5.19.

* Depends: Add linux-base for build kernel
2022-12-12 21:21:07 +03:00
Matthijs Kooijman
0aa61abe78
armbian-audio-config: Massively speed up script (#4549)
* armbian-audio-config: Massively speed up script

This script calls amixer to set various mixer volumes, by simply trying
a bunch of mixer names for each sound card in the system. In practice,
this meant the amixer command was called 158 times for each sound card.
The overhead of all these forks and probably also amixer startup added
together to produce a noticable slowdown in startup.

For example on an Orange Pi PC, the script took about 6 seconds per
soundcard. This was on a system with a few extra USB soundcards (6 alsa
cards in total):

    $ time bash ./armbian-audio-config.original

     real    0m35.662s
     user    0m20.145s
     sys     0m15.145s

This commit modifies the script to spawn amixer only once per alsa card,
passing all the mixer set commands through stdin. This pretty much
completely kills the slowdown. On the same 6-card system:

    $ time bash ./armbian-audio-config

    real    0m0.406s
    user    0m0.345s
    sys     0m0.229s

* armbian-audio-config: Add quotes to fix lint errors
2022-12-12 08:15:35 +01:00
Oleg
0de2891bcd
fix install mode SPI for extlinux.conf (#4553) 2022-12-12 08:14:50 +01:00
Igor Pečovnik
854834e166
armbian-install: limit automated swap creation to 16Gb (#4528) 2022-12-06 09:47:30 +01:00
Igor Pečovnik
d66e8205ed
Replace nand-sata-install with symlink to armbian-install (#4529) 2022-12-06 09:47:20 +01:00
Barry Lind (SteeManMI)
3b8e37f311 Fix the builddeb script so linux-image upgrades work correctly
on fat /boot partitions

 Changes to be committed:
	modified:   packages/armbian/builddeb
2022-11-30 16:39:17 +03:00
SteeManMI
c92c7e5cb9
Fix the amlogic tvbox build's extlinux.conf to use uImage for the kernel (#4509)
image file instead of Image as some of the included uboot files do not support the Image format and require the uImage.

 Changes to be committed:
	modified:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf
2022-11-29 19:47:50 +01:00
Marco Nelissen
e8f441a7e3 armbian-firstlogin: fix root password handling
Root password was only applied when it was weak. The intention was
probably to warn when it was weak, but apply it regardless, so
make it so.
2022-11-28 18:10:54 -08:00
Marco Nelissen
40effe1d23 armbian-firstlogin: remove unnecessary check
Commit c909864922 removed a prompt
asking the user if they want to change display settings, but didn't
remove the checks that later used the answer. Since it's been like
this for 2 years now apparently without issue, remove the checks and
the shellcheck workaround.
2022-11-28 18:10:54 -08:00
marcone
e52958db93
armbian-firstlogin: make Y/n questions consistent (#4489)
Make the two Y/n questions that firstlogin asks behave consistently
with each other, and more in line with user expectation:
- Reject anything that is not Y, y, N, n or <enter>. Previously the
  "Connect via wireless? [Y/n]" question would interpret Y, y and
  <enter> as "yes", and everything else as "no", whereas the
  "Set user language based on your location? [Y/n]" question would
  loop until the user selected Y, y, N or n.
- Make pressing enter equivalent to the default "Y", since that
  is the capitalized option.
- Echo back what the user typed.
2022-11-27 21:45:03 +01:00
marcone
e5f234c324
armbian-firstlogin: fix shellcheck issues (#4494)
Fix all shellcheck issues, as well as some formatting/indentation.
2022-11-27 21:44:16 +01:00
Igor Pečovnik
7304af6be8
Small tweaks (#4492)
* Update HTOP defaults

* Remove ZFS PPA sources. We will move them to main repo. Its just a repo anyway.
2022-11-27 00:10:44 +01:00
Michael Klein
925c344615
30-armbian-sysinfo: make IP address unique (#4483) (#4484) 2022-11-25 18:02:25 +01:00
Werner
2ee2fd3d73
Fix faulty lsblk argument (#4466)
https://forum.armbian.com/topic/24554-armbian-install-fails-due-to-bad-lsblk-argument/#comment-153675
2022-11-20 23:00:34 +01:00
Aman Gupta Karmani
a7b5a5ee58
Fix typos (#4469) 2022-11-20 07:44:58 +01:00
Igor Pečovnik
d01e3519a8
We need to follow redirect with Curl (#4456)
* We need to follow redirect with Curl

* Update armbian-apt-updates
2022-11-17 17:43:58 +01:00
schwar3kat
86fce751a5
armbian-firstlogin-make-password-warning-messages-consistent (#4457) 2022-11-17 17:43:21 +01:00
Ricardo Pardini
8bb79baeb9
khadas-vim3l: add asound file (#4454) 2022-11-16 18:38:14 +01:00
Igor Pečovnik
3f1fe17d9c
Don't block but warn user on weak password (#4436)
* Don't block but warn user on weak password

* Previous fix was done only for user
2022-11-15 20:19:59 +01:00
Igor Pečovnik
5888bc9704
Enable additional motd tips showing some internal ads (#4396)
* Enable additional motd tips showing some internal ads

33% probability of showing, just like for the armbian-config

* Update quotes and add expiration date support

* Change variable names

* Add support to download quotes from our server

* Fix curl parameters

* Keep only weekly update
2022-11-14 14:59:58 +01:00
Ricardo Pardini
c57ff67aaa
Syntax error fixes, dep checks & shfmt of board-side bash scripts (#4430)
* `armbian-audio-config`: do nothing if aplay/amixer/alsactl missing; shfmt

* `armbian-hardware-optimization`: fix for `case` without `esac` introduced in #4417; `shfmt`
2022-11-14 14:59:32 +01:00
Joe Khoobyar
f3d26f123a
AR-1398: Fix wrong error message when missing fs tools (#4424) 2022-11-12 07:10:00 +01:00
Oleg
d0d8a35db8
Updating the optimization\acceleration procedure (author @tkaiser) (#4417) 2022-11-11 17:20:07 +01:00
Matthijs Kooijman
10af624a73
Make sure the build fails if generating uInitrd fails (#4398)
Without this, when mkimage fails (for example because the boot partition
is too small), install.log shows an error like:

    mkimage: Write only 16310208/17794920 bytes, probably no space left on the device

But this does not terminate the build, so the compile script shows no
error and an image is generated, but it is unbootable.

This runs the script with -e, so when mkimage fails, the script fails,
which makes update-initramfs fail, which makes the build fail.
2022-11-08 18:36:38 +01:00
Igor Pečovnik
e077835171
Fixing wrong display condition (#4395) 2022-11-08 12:38:00 +01:00
SteeManMI
8dcab2be64
Proposal to create a Community Supported config for Amlogic based TV Boxes (#4296)
* Proposal to create a Community Supported config for Amlogic based
TV Boxes to pickup the work that was done previously by balbes150
but is no longer supported by him.
This also provides a place where development can occure within the
Armbian framework since others on the internet are producing builds
called Armbian that are not done from within the Armbian community.

 Changes to be committed:
	new file:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/families/include/meson64_common.inc
	modified:   config/sources/families/meson-gxl.conf
	new file:   packages/bsp/aml-s9xx-box/boot/aml_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/emmc_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf
	new file:   packages/bsp/aml-s9xx-box/boot/s905_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-readme.txt
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x-s912
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x2-s922
	new file:   packages/bsp/aml-s9xx-box/root/fstab.template
	new file:   packages/bsp/aml-s9xx-box/root/install-aml-s905-emmc.sh
	new file:   packages/bsp/aml-s9xx-box/root/install-aml.sh

* Merge sources

Co-authored-by: Igor <igor@armbian.com>
2022-11-06 20:33:24 +01:00
Igor Pečovnik
157b7c56e5
Installation fix when /var/log.hdd/journal exists (#4371) (#4382)
* Fix to flush volatile journald to prevent full /var/log at startup

* re-introduce directory / in non-rsync copy, and exclude journal* in this copy
Note: this may need some testing if someone doesn't use rsync

* Fix for non-rsync copy to Disk, since journal cannot be copied onto itself

* Backed up journal files are removed with vacuum, so no need to delete them separately

* Make room at boot by removing old logs, in addition to the removal later
every 15 minutes

* remove old archived journal files modified more than 1 day ago

* make sure volatile logging is used, since journald sometimes turns persistent at boot
remove unused commented lines in ramlog

* Fix check for configured journald volatile logging

* revert #3799, the rsync --delete

* Exclude /var/log/journal from install, and create empty /var/log/journal directory when it exists during install

Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>

Co-authored-by: Dennis <bijwaard@gmail.com>
Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
2022-11-05 08:22:20 +01:00
Tony
d101f2a69c
update asound.stae for le potato (#4379)
* Repair damage to Le Potato by untested u-boot bump

Since 15cab819fe decided to move everything to 22.07 without tests, revert back as this causes the ""Synchronous Abort" handler, esr 0x96000004" error.

* Fix damage caused by untested U-boot bump

Revert result of 15cab819fe and restore booting to Odroid C2

* Create asound.state.lepotato

alsa config for le potato

* Update lepotato.conf

use board specific asound.state
2022-11-03 10:48:09 -04:00
Igor Pečovnik
58ed41d385
Fix two small cosmetic bug (#4357)
- debian showed not supported due to absence of lsb-release
- motd didn't address displaying update aval correct
2022-10-27 18:51:58 +02:00
Oleg
d41125a5fd
move Jetson Nano EFI\Grub (#4284)
* move Jetson Nano EFI\Grub

* fix dtb for efi

* remove list module initrd curren\edge for Jetson Nano

* rename to  grub-sbc-media
2022-10-25 11:28:23 +02:00
simple
d9eb3723e0
Fix mic for rt5651 asound.state (#4331)
* [rockchip64-dev]Fix OrangePi4 Bluetooth and Mic

* [rockchip64-dev]enable CONFIG_SERIAL_DEV_CTRL_TTYPORT for bluetooth

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* Update patch/kernel/rockchip64-dev/add-board-orangepi-4.patch

Co-Authored-By: Piotr Szczepanik <piter75@gmail.com>

* general add panel simple dsi

* Backporting patch to 5.10 kernel makes sense. Lets do it.

* Fixed rt5651 codec build module

* Fix mic for rt5651 state

Co-authored-by: iamdrq <iamdrq@qq.com>
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-10-24 20:42:45 +02:00
Joe Khoobyar
ead3409f95
fix for #4323 in newer script too 2022-10-23 13:41:25 -04:00
Joe Khoobyar
e3df506959
a fix for #4323 2022-10-23 13:34:37 -04:00
Igor Pečovnik
0b9bd251c7
Add support for apt-mark hold warning (#4294)
* Add support for apt-mark hold warning

- we need to know if kernel packages are on hold
- when upgrade is finished, fix numbers and update list

* Add postupdate hook

* Bugfix

* Bugfix

* Small refactoring

* Improve UX

* Improve detection and change wording
2022-10-18 09:24:36 +02:00
Igor Pečovnik
1d5a1f242f
Remove ext2 and ext3 filesystem option from armbian-install (#4285)
* Remove ext2 and ext3 filesystem option from armbian-install

* Bugfix
2022-10-15 10:46:20 +02:00
brentr
d3a3afe385
Rockpis wifi fixes (#4008)
* RockPI-S board has no video I/O

* udev rule to fix MAC address of iface based on UUID

Deals with WiFi chip lacking any EEPROM to store its unique Ethernet MAC address
Generic mechanism -- could be utilized for other boards having similar issues

* Handy Device Tree overlays for the RockPI S

Use armbian-add-overlay to install these

Reduce CPU voltage for the RK3308 B-S
  Option to overclock RK3308 B-S to 1.3Ghz

Increase SDIO clock rate from 1Mhz to 10Mhz
  This increases WiFi throughput from 300K bytes/s to 2.4M bytes/s

* corrected comment

* No longer repeat standard opp's in this dts

Require that the standard bs dts already be installed

* User README for adding RockPI-S board variant specific dts overlays

* "enabled" --> "okay"

* added mention of sdnand.dts, fixed typo

* added p2p0 to interfaces whose MAC address should be "fixed"

* RK3308 CPU serial number in nvmem replaces UUID for derivation of fixed MAC addr
Restored use of install utility

* Use RK3308 specific CPU serial number

rather than rootfs UUID

* remove generic fixMACaddress

* Install fixMACaddr file-by-file via install utility

* Drive SDIO bus signals faster

setting RK3308_SOC_CON0_VCCIO3 reduces signal rise/fall times to WiFi SDIO chip
from 30ns to 5ns.
This odd fix forward ported from legacy kernel.
Allows Rock Pi-S WiFi to operate at full speed.

* Set RK3308 I/O voltage domains before SDIO initializes

This patch moves responibility form the io-domain to the pinctrl driver because
the io-domain driver is probed after the SDIO devices are discovered.
This was causing multiple SDIO I/O failures during boot.

A new pinctrl property is added:
io-1v8-domains
is a u32 interpreted as a bit mask where each set bit corresponds to
a 1.8V I/O domain (as opposed to the default of 3.3V for I/O)
The mask is writted to the RK3308_SOC_CON0 GRF register
(once) when the pinctrl driver starts

The default mask is 0x10 where only I/O domain 4 runs at 1.8V

This is necessary for the RockPI-S to run the SDIO clock at high (50Mhz) speed

* align whitespace

* factored rk3308bs overlays out up sdio speedup patch

* factored dts for RK3308 iodomains and pinctrl patches out of speedup patch

* remains of sdio speedup patch merely add iodomains support for rk3308

* factored rockpis dts modification out from rk3308 io voltage domains

replaced rk3308 support from iodomains with
new io-voltage-domains property added to pinctrl
io-voltage-domains specific to rk3308 for now, others SOCs may be added later.

* add sequence numbering to names of rk3308 patches

* corrected tab alignment
2022-10-13 18:34:43 +02:00
Werner
42d0138b64
Add fallback for debug upload (#4194)
* Add fallback for debug upload

in case ix.io is unreachable

* Update packages/bsp/common/usr/bin/armbianmonitor

Co-authored-by: hzyitc <h1260071766@126.com>

* adjust url

* fix missing sentence

* Fix broken logic

* Set paste.armbian.com as default service
y

Co-authored-by: hzyitc <h1260071766@126.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-10-13 18:34:24 +02:00
Igor Pečovnik
7afa645b38
Improve ARM64 UEFI support (#4271)
* Root partition is not recognised properly

* Add support for ARM64 UEFI install

Work if installed to eMMC, installs also to NVME (T4), but u-boot fails to init PCI. Also u-boot 2022.10

Needs more testings.

* Lets clean the drive before
2022-10-13 18:34:05 +02:00
Paolo
78bbdf44d0
rockchip64: add ssv6051p wifi driver for current and edge kernel (#4269)
* Add ssv6051p wifi driver for rockchip64 current and edge kernel

 * also reorders and tidies device tree overlays for rk3318-box

* increase ssv6051 sdio bus to 50MHz in the driver
2022-10-12 11:22:33 +02:00
Igor Pečovnik
0c85794ba4
Add support for UEFI install with a new script armbian-install (#4227)
* Add preliminary support for UEFI install to nand-sata-install

Signed-off-by: Igor <igor@armbian.com>

* Add symbolic link

* Hardening and cleaning

* Removing obsolete NAND support

- create swal size of memory
- enable hibernation (S4) to have additional power saving mode
- enable GRUB search for another OS

* Move nand cleaning into separate commit

* Add support for UEFI install to eMMC

* Add support for install to empty UEFI target

Tested install to eMMC powered UP Square board

* Add UEFI improved script as standalone armbian-config

Once we are happy with functionality, remove the old and add a link

* Switch to a single 32 MB offset scheme.

* Improve readme

Signed-off-by: Igor <igor@armbian.com>
2022-10-07 17:57:21 +02:00
Igor Pečovnik
27040df553
Bugfix - BSP package does not contain BRANCH information so we need to read it. (#4263)
Now this works.
2022-10-07 08:36:15 +02:00
Oleg
3ff351cc52
move media current 5.19 and edge 6.0 (#4262)
* move media current 5.19 and edge 6.0

* del old patch
2022-10-06 18:07:36 +02:00
Paolo Sabatino
f158551922 fix typo 2022-10-04 21:59:14 +02:00
Paolo Sabatino
c5117ff37a rk322x: add esp8089 driver for mainline kernels 2022-10-03 14:34:13 +02:00
Igor Pečovnik
a0a4668ee8
Fixing Gnome logo, remove Nvidia if not present, shortcut bugfix (#4238)
* Remove Nvidia drivers in case not detected in first run

* Gnome branding logo hack

* Fix panel shortcuts
2022-09-26 18:34:48 +02:00
Igor Pečovnik
120eb7902e
Add initial custom configuration for Terminator (#4220) 2022-09-23 19:05:55 +02:00
Igor Pečovnik
15078ba0a1
Bugfix / cusmetic / race condition for scaling enablement (#4221) 2022-09-23 19:05:45 +02:00
Igor Pečovnik
9006c54f70
GRUB optimisations (#4213)
* Add wallpaper to grup, set fixed screen size, enable hidpi mode on lightdm

* Enable graphics terminal on UEFI x86, ARM64 can't test

* Missing folder

* Enable `Plymouth`

* Add proper HiDpi support and enable intel graphics auto probing

Tested on Intel and Nvidia, both works OOB. Plymouth works as expected, no text logs on screen, if OEM vendor logo is present, it picks it up auto, otherwise shows armbian (chip) logo

Co-authored-by: hzy <hzyitc@outlook.com>
2022-09-23 09:35:07 +02:00
Igor Pečovnik
93093220ea
Adjust basic skel settings for XFCE to support HiDPI (#4216) 2022-09-23 09:34:55 +02:00
Igor Pečovnik
4dcd053eed
Install xfce4-power-manager by default on xfce desktop (#4205)
* Install xfce4-power-manager by default on xfce desktop

- remove x11 config which is obsolete and prevent dkms functinality
- remove per board power manager install

* Update xfce4 configs
2022-09-20 17:20:43 +02:00
Igor Pečovnik
9db23f2341
Fix wallpaper not showing correct in virtual desktop (#4202) 2022-09-20 08:53:15 +02:00
hzyitc
11d2ef63c3
Support Plymouth (#4133)
* Add plymouth-theme-armbian package

* Adjust all bootscripts to adapt plymouth

* Auto show logo accroding to BOOT_LOGO

* Enable plymouth detail mode when bootlogo=false

* Add a new board config var - HAS_VIDEO_OUTPUT

This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP

* Rename package to be aligned with others

* Disable kernel bootloader, but keep the code for it

* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-09-13 15:16:30 +02:00
Erik Faye-Lund
10aeb2f305
Fix armbian header (#4144)
* bsp: quote pattern passed to grep

This fixes a regression from #4013

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

* bsp: refactor DISTRIBUTION_CODENAME logic

There's no need to repeat the check for /etc/armbian-distribution-status
over and over again, let's just use an if-statement instead.

Similarly, let's not repeat the logic to look up DISTRIBUTION_STATUS in
/etc/armbian-distribution-status; we can just do it at the end instead.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

* bsp: only fallback to /etc/os-release if /etc/lsb-release failed

This fixes a regression from #3619

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

* bsp: only fallback to "lsb_release -c" if all else failed

Debian Bookwork and Sid both neither have the debian-edu-config package
by default (which provodes /etc/lsb-release in Debian), nor does their
version of base-files (12.2) contain the VERSION_CODENAME field.

So we need another fallback. We *do* have lsb_release, which can provide
this information as well. So let's do that, but add a check as well in
case neither the lsb-release nor the lsb-release-minimal packages is
installed on a user's system.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
2022-09-03 23:21:00 +02:00
hzyitc
a57b9ca97f
Show more informations in first-login (#4072)
* Show more informations in first-login

* Keep 1st login as minimal as possible.

* Add line space

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-09-01 23:08:09 +02:00
monkaBlyat
c0a911204c
Switch KDE plasme to wayland (#4092)
* enable 5.19.y edge kernel for the radxa zero 2 builds

* Update packages

* Update packages

* Update packages

* Set wayland as default on KDE plasma

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-24 07:48:48 +02:00
Igor Pečovnik
27154e472f
Extend network interface auto detection to suppress errors (#4096)
* Extend network interface auto detection to suppress errors

* Remove pointless grep

* Use grep internal limiter instead of head
2022-08-21 20:36:20 +02:00
Oleg
6123307c2a
fix buid kernel 5.19.2\5.18.8 (#4088) 2022-08-19 18:10:30 +02:00
hzyitc
96dade2d5a
Bugfix: armbian-resize-filesystem (#3981)
* Rewrite armbian-resize-filesystem

* Update message
2022-08-13 21:17:33 +02:00
Dennis
e5ab9389e9
Fix for journald filling /var/log using flush from volatile instead of copy, and removing cache files when nearly full (#3967)
* Fix to flush volatile journald to prevent full /var/log at startup

* re-introduce directory / in non-rsync copy, and exclude journal* in this copy
Note: this may need some testing if someone doesn't use rsync

* Fix for non-rsync copy to Disk, since journal cannot be copied onto itself

* Backed up journal files are removed with vacuum, so no need to delete them separately

* Make room at boot by removing old logs, in addition to the removal later
every 15 minutes

* remove old archived journal files modified more than 1 day ago

* make sure volatile logging is used, since journald sometimes turns persistent at boot
remove unused commented lines in ramlog

* Fix check for configured journald volatile logging

* revert #3799, the rsync --delete

Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-08-10 09:02:03 +02:00
Paolo
c91029dc10
rk322x: fixed minor things for device trees, fix rk322x-config script (#4020) 2022-07-27 08:46:09 +02:00
Rosen Penev
fdf73a025b
some shellcheck fixes (#4013)
* bsp: remove useless cats treewide

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* bsp: replace egrep with grep -E

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-25 11:39:11 +02:00
Aristo Chen
63795262e1
Bugfix: fix issue that 30-armbian-sysinfo doesn't show network usage (#4014) 2022-07-25 11:38:56 +02:00
hzyitc
df1f0b4fdc
Onecloud: fix bugs (#4022)
* Support pwm regulator

* meson: Fix MAC
Remove useless codes from odroidc1

* Bugfix: xorg config

* dts: mark regulators always-on
2022-07-25 11:37:15 +02:00
jmue
3196ef8bd8
Revert "Added '--delete' to syncToDisk in armbian-ramlog (#3779)" (#4012)
This reverts commit 6b43018c22.
2022-07-19 16:52:51 -04:00
JuergenBausa
9c52562176
Update armbian-ramlog (#4005)
https://github.com/armbian/build/pull/3779#issuecomment-1184759787
2022-07-17 14:37:57 -04:00
brentr
663be6550f
Allow non-legacy RockPi-S images to boot from their built-in EMMC (aka SDNAND) chips (#4002)
This moves the console from UART2 to UART0 because it
relies on a upgraded Radxa loader blob that only supports console on UART0.
Discussion at:
https://forum.armbian.com/topic/11228-rock-pi-s-rk3308-cpu-is-it-supported-by-anything/page/3
2022-07-16 10:37:37 +02:00
Rosen Penev
baa6968fc4
Shellcheck fixes on armbianmonitor (#3994)
* mdadm-fault-led: port to dash

Also ran through shellcheck. dash is faster and uses less RAM than bash.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: get rid of pipe to /dev/null

shellcheck warns that it can't parse this. Also seems to be a mistake.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: replace egrep with grep -E

The former is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: add -r to read

Avoids mangling backslashes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: remove unnecessary ${}

They're in $(()) making it redundant

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* armbianmonitor: simplify various printf calls

For some reason, printf and echo -e get mixed together even though they
do the same thing. Just use printf.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-14 10:12:24 +02:00
alive4ever
c83b11cf14
packages/bsp/common: use iw instead of iwconfig (#3995)
Use iw to handle wifi power management instead of legacy iwconfig.

Also fix udev rule to use kernel name (%k) instead of hardcoded name.
2022-07-14 10:12:13 +02:00
Vyacheslav Bocharov
bfa8732477
AR-1263 Fix armbian-led-state-save.sh for boards without gpio leds. 2022-07-13 20:27:23 +03:00
Vyacheslav
8a1be43c87
Update oneshot service for eth reset at system start. (AR-1098) (#3965) 2022-07-09 11:46:40 +02:00
Igor Pečovnik
eef3b33807
Plasma KDE desktop package name fix + improving welcome message (#3951)
* Typo in packaga name

* Several small fixes for KDE plasma

* Change "no support" to "community support" at 1st welcome

Its more or less the same thing just sounds better
2022-07-01 11:04:57 +02:00
Paolo Sabatino
9f16f722e5 rockchip64: set gpu governor default to simple_ondemand 2022-06-26 15:12:40 +02:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
Igor Pečovnik
560531a635
Fix for wrong board status report at first login (#3926) 2022-06-22 00:22:30 +02:00
Pierre Pretorius
b6de834cb2
Add bluetooth support for Orange PI 3 LTS (#3896)
Co-authored-by: Pierre Pretorius <pierre@labs.epiuse.com>
2022-06-15 21:16:41 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
MichaIng
1b6e851212
Remove version argument check from initramfs cleanup script (#3859)
The version argument is not used by the script anymore, hence the check is obsolete.

Additionally make use of the currently unused defined MOD_DIR variable.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-06-11 18:04:24 +02:00
Igor Pečovnik
351303bc7a
Disabling compressin seems to speed up apt search (#3808) 2022-05-27 11:20:18 +02:00
Oleg
46b77e0524
fix BT for Station P1 (#3821) 2022-05-26 16:40:18 +02:00
Igor Pečovnik
8d75c0b026
We need to read DISTRIBUTION_STATUS in order to have information about (#3815)
* We need to read DISTRIBUTION_STATUS in order to have information about

* Cover variants if we generate images for wip / csc targets

- by mistake
- for promotion or other reasons
- if image is made by 3rd party to cover this case

* Update armbian-firstlogin
2022-05-25 18:35:50 +02:00
Oleg
98c13e2976
fix kernel legacy Station M1 (#3813) 2022-05-25 17:30:18 +02:00
mathiasrabe
6b43018c22
Added '--delete' to syncToDisk in armbian-ramlog (#3779)
Added rsync-option '--delete' to syncToDisk to prevent overfilled ramdisk.
2022-05-16 20:23:38 -04:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Rosen Penev
6b72ae3c86
armbian-zram-config: run through shellcheck (#3732)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-05-11 18:56:52 +02:00
lanefu
e621d25adc
Revert "modifications of firstrun scripts (#3642)" (#3772)
This reverts commit c8855aa08d.
2022-05-08 13:49:05 -04:00
Derek
c8855aa08d
modifications of firstrun scripts (#3642)
* modifications of firstrun scripts

* Further making use of systemd statements to order firstboot scripts

* allow systemd ordering of ssh to avoid restarting in firstrun script

* suggested changes, add wants=first-boot-complete

* Remove SSH keys in debootstrap process

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-05-07 15:52:31 +02:00
Derek
3b38be8a9c
Espressobin u boot fit image (#3766)
* add the image tree source for building FIT images for ebin

* add FIT image generation to BSP files

* Change to using FIT image to boot

* make fit-image script executable

* add the ability to choose board dtb in armbianEnv.txt
2022-05-07 15:50:53 +02:00
Paolo Sabatino
e8e94a7541 provide led state save and restore functionality scripts and service 2022-04-23 14:08:03 +02:00
Salamandar
f99ca5714b
armbian-truncate-logs: Use journalctl --quiet (#3684)
By default, cron sends an email to the system admin if it finds anything in the stderr of the process. 
journalctl sends "diag output" to stderr (see https://github.com/systemd/systemd/issues/380).
The easiest way to prevent sporadic emails is to call journalctl with --quiet.
2022-04-15 15:15:33 +02:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
Igor Pečovnik
3101abc6be
Adjust chroot build packages due to Jammy upgrade (#3650)
Bump hostapd to latest version.
2022-04-11 00:39:03 +02:00
Alexey Vazhnov
fa8c475ec1
Automatic shutdown on low battery power (#3084)
* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.42_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.42_arm64.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi_21.08.0-trunk.44_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.44_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.45_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-jetson-nano_21.08.0-trunk.46_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.47_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.48_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.49_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.50_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.50_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.51_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.52_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rockchip64_21.08.0-trunk.53_arm64.deb
linux-image-legacy-mvebu64_21.08.0-trunk.53_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rockchip_21.08.0-trunk.54_armhf.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-edge-mvebu_21.08.0-trunk.56_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.56_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.57_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.58_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.59_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.60_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rk322x_21.08.0-trunk.61_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.61_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.62_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.63_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.64_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.65_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-odroidxu4_21.08.0-trunk.66_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.66_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.67_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.68_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-current-meson64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-current-virtual_21.08.0-trunk.68_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.68_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.68_armhf.deb
linux-image-legacy-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk3399_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rockpis_21.08.0-trunk.68_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.69_armhf.deb
linux-image-current-meson64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.69_armhf.deb
linux-image-edge-imx6_21.08.0-trunk.69_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.69_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.69_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-current-virtual_21.08.0-trunk.70_arm64.deb
linux-image-edge-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.70_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.71_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.71_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.71_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.71_arm64.deb

* fix

* Githug Actions bugfix and optimisations

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.72_arm64.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.74_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-current-meson64_21.08.0-trunk.74_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.74_arm64.deb
linux-image-current-virtual_21.08.0-trunk.74_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.74_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.74_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.74_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.74_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.75_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.75_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.76_arm64.deb
linux-image-current-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.76_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.77_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-current-meson64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.77_armhf.deb
linux-image-current-virtual_21.08.0-trunk.77_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.77_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.77_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.78_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_21.08.0-trunk.79_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.79_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.80_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.80_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.80_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.81_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.81_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.82_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-current-meson64_21.08.0-trunk.82_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-current-virtual_21.08.0-trunk.82_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.82_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.82_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.82_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.82_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.83_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.84_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.85_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.85_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.86_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-current-meson64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-current-virtual_21.08.0-trunk.86_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.86_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-legacy-rockchip64_21.08.0-trunk.86_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-station_21.08.0-trunk.87_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.87_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.88_armhf.deb
linux-image-current-meson64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-current-station_21.08.0-trunk.88_arm64.deb
linux-image-current-virtual_21.08.0-trunk.88_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.88_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.88_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.88_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.88_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.89_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.89_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.89_armhf.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.91_armhf.deb
linux-image-current-meson64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-current-station_21.08.0-trunk.91_arm64.deb
linux-image-current-virtual_21.08.0-trunk.91_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.91_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.91_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.91_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.92_arm64.deb
linux-image-edge-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.92_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rk322x_21.08.0-trunk.93_armhf.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.95_armhf.deb
linux-image-current-meson64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-current-station_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-current-virtual_21.08.0-trunk.95_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.95_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.95_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-sunxi64_21.08.0-trunk.96_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.96_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.96_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.96_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.96_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.96_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.97_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.97_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.98_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.98_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.98_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.99_armhf.deb
linux-image-current-meson64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.99_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-current-station_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.99_armhf.deb
linux-image-current-virtual_21.08.0-trunk.99_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.99_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.99_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.99_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-station_21.08.0-trunk.100_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.101_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.102_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.103_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.104_armhf.deb
linux-image-current-meson64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.104_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-current-station_21.08.0-trunk.104_arm64.deb
linux-image-current-virtual_21.08.0-trunk.104_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.104_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.104_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.104_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.104_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_21.08.0-trunk.105_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.106_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.106_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.106_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-meson64_21.08.0-trunk.107_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.108_armhf.deb
linux-image-current-meson64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.108_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-current-station_21.08.0-trunk.108_arm64.deb
linux-image-current-virtual_21.08.0-trunk.108_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.108_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.108_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.108_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.108_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.109_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.109_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.110_armhf.deb
linux-image-current-meson64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.110_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-current-station_21.08.0-trunk.110_arm64.deb
linux-image-current-virtual_21.08.0-trunk.110_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.110_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.110_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.110_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.110_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.111_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.111_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.111_armhf.deb

* /usr/lib/armbian/armbian-common: typo, quotes (#3082)

* Add cron job (commented out by default) and a script to shutdown on bettery low level

packages/bsp/common/etc/cron.d/armbian-check-battery
packages/bsp/common/usr/lib/armbian/armbian-check-battery-shutdown

* /etc/update-motd.d/30-armbian-sysinfo: return if sourced by other script

* /usr/lib/armbian/armbian-check-battery-shutdown: a comment about battery_percent

* Update VERSION

* Move getboardtemp(), batteryinfo(), ambienttemp() into /usr/lib/armbian/armbian-allwinner-battery

Co-authored-by: armbianworker <info@armbian.com>
Co-authored-by: Igor Pecovnik <igor@armbian.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
2022-04-07 16:04:40 +02:00
bl4cki
0a2fdc4f0b
Fix MOTD in debian-based armbian (#3619)
* Fix MOTD in debian-based armbian

Read DISTRIBUTION_CODENAME for MOTD from os-release instead of lsb-release

* Revert "Merge branch 'armbian:master' into master"

This reverts commit fa534bd685, reversing
changes made to 2791b57b90.

* Fix MOTD in debian-based armbian

Read DISTRIBUTION_CODENAME for MOTD from os-release where the file is existent.

* Revert "Revert "Merge branch 'armbian:master' into master""

This reverts commit 5e509cf787.
2022-04-07 01:05:43 +02:00
lanefu
3b05065d71
fix armbian-ramlog default functionality breaking comments (#3603) 2022-03-29 14:05:09 +02:00
Jannis
ae3ad1fdee
Apply changes to Espressobin from Issue#2861 (#3498)
* Apply changes to Espressobin from Issue#2861

* Additional config changes

* Add cryptopp to marvell tools

* Remove local DDR topology changes

* Disable ebin MACs in armbianEnv.txt

* Change kernel options for ebin, remove mtdparts

* Add CZ.NICs ebin firmware

* Increase ATF compiler version"

* fixup external toolchains

* add gcc-aarch64-linux-gnu package (#3585)

* correct compiler names for ATF, external toolchain

Co-authored-by: Derek LaHousse <dlahouss@mtu.edu>
Co-authored-by: Derek <ManoftheSea@users.noreply.github.com>
2022-03-28 07:16:22 -04:00
Oleg
d227b6d3a4
fix message install use extlinux.conf (#3556) 2022-03-24 20:54:59 +01:00
Oleg
2daf35107d
fix BT and wifi for station m1 legacy (#3533)
* fix BT for station m1 legacy

* add firmware
2022-03-13 09:05:14 +01:00
Oleg
dc54b0c2c6
fix install emmc (#3532) 2022-03-12 23:15:47 +01:00
Yuntian Zhang
07d6630421
Add missing asound.state for Radxa Zeroes (#3523) 2022-03-06 11:33:49 +01:00
The-going
8693b355eb
Bugfix for packages/armbian/builddeb, packages/bsp/common/etc/kernel/preinst.d/initramfs-cleanup (#3511)
* Fix the standard location of dtb files

This fix allows standard system scripts from flash-kernel,
u-boot-menu packages to search in this location

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Bugfix: No need to unmount a separate partition for the /boot

These issues should be solved by system scripts.
In the future, this check should be removed.

* Remove unused generated file 'initrd.img-*' 'uInitrd-*'

These files were generated by initramfs-tools script
called postinst.d scripts.
And should be removed in the postrm.d or postinst.d scripts
and should be run after the initramfs-tools script
and under the same conditions.
2022-02-26 15:04:24 +01:00
Vyacheslav
5d3271dc3a
JetHub H1: dirty userland fix for net interface does not up at boot (#3507) 2022-02-25 19:27:57 +01:00
Oleg
3305d45b81
add firmware wifi for p2\m2 (#3493) 2022-02-15 10:35:52 +01:00
The-going
484c6f04f7
Packaging (#3487)
* Revert "rpi: copy DTBs to Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks (#3462)"

This reverts commit 2f2d10c04a.

* Revert "Fix rpi upgrades to kernel and dtbs (#3461)"

This reverts commit 3b7f5b1f34.

Copying dtb files to a folder that cannot belong to a dtb package
creates additional clutter. If this is required for an individual
family, then it is necessary to implement it at the level of system
scripts. And only for this family.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-02-14 19:04:57 +01:00
Igor Pečovnik
84944eaaf4
Enable audio on Rpi in config (#3479)
* Enable audio on Rpi in config
* Add asound.state
2022-02-12 19:36:06 +01:00
Oleg
a037db891e
add utils ddbr for create\restore full backup eMMC (#3406) 2022-02-10 15:32:57 +01:00
Oleg
43daaea590
fix disable u-boot and initramfs hooks (#3470)
Close https://github.com/armbian/build/issues/3457
2022-02-10 14:59:05 +01:00
Vyacheslav
e8480e9705
Add support for JetHub D1 new revision with AP6256 WiFi/BT (#3471) 2022-02-10 14:57:57 +01:00
Ricardo Pardini
2f2d10c04a
rpi: copy DTBs to Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks (#3462)
- this allows us to remove the most horrible hack
- should allow for correctly working DTB upgrades
- should NOT impact other families
2022-02-07 11:36:22 +01:00
Ricardo Pardini
3b7f5b1f34
Fix rpi upgrades to kernel and dtbs (#3461)
* rpi: fix: flash-kernel fix to ignore kernel 'flavour' for all raspi's

- use uppercase RPICFG label, so it shows up on Windows/Mac (FAT requires uppercase)

* builddeb: fix indenting of heredocs and shellfmt

* rpi: add DTB symlink in Debian/Ubuntu standard location /lib/firmware/$version/device-tree; remove build-time-only hacks

- this allows us to remove the most horrible hack
- should allow for correctly working DTB upgrades
- should NOT impact other families, although a new symlink will be created, nothing uses it.
2022-02-06 09:24:13 +01:00
Oleg
7d69cfeb6e
fix install u-boot to eMMC (#3448) 2022-02-02 10:49:41 +01:00
Igor Pecovnik
1d80b5cde3
Revert "When checking for shell, use strict grep (#3437)"
This reverts commit b77bd30460.
2022-01-26 20:18:46 +01:00
Igor Pečovnik
b77bd30460
When checking for shell, use strict grep (#3437) 2022-01-25 23:26:05 +01:00
Aristo Chen
21b4d4bd42
Ask user again if the response is not expected (#3411) 2022-01-20 14:44:40 +01:00
Vyacheslav
f230b5fca5
JetHome: add jethome package repository (#3399) 2022-01-17 18:09:37 +01:00
The-going
23afccf56e
Bugfix: debugging package for kernel are not created #3405 (#3409)
Build a debugging package for the kernel if the CONFIG_DEBUG_INFO=y parameter is set in the kernel configuration.
Issues: packages are not created #3405
2022-01-17 14:51:19 +03:00
Oleg
6b490e1694
move kernel edge to 5.16 (#3387) 2022-01-11 15:26:11 +01:00
Vyacheslav
41a761281d
JetHome: update bsp package for AP6255 firmware match (#3388) 2022-01-11 11:49:55 +01:00
Igor Pečovnik
310495ddf1
Refactor armbian-bsp-cli package creation (#3378)
* Refactor armbian-bsp-cli package creation

- added general distro status for all in separate file inside BSP
- remove branch and distro specifics

* Looking for prebuild pack

* Small fixes
2022-01-06 11:50:24 +01:00
Igor Pečovnik
e76a5b0bfe
Improve fist login UX (#3375)
* Improve 1st login script

* Update packages/bsp/common/usr/lib/armbian/armbian-firstlogin

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Address accessibility issue

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2022-01-05 17:55:10 +01:00
Oleg
3f8da052e8
fixes the manual launch of the installation script from USB media (#3377) 2022-01-05 17:54:30 +01:00
Igor Pecovnik
181d0e2fc3
Limit sunxi-tools install to Allwinner family only
Close https://github.com/armbian/build/issues/2941
2022-01-03 19:11:37 +01:00
The-going
fedc9c1f58
Install debian packages using a special function (#3368)
* Add new function install_pkg_deb

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Use the install_pkg_deb function

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* sunxi-tools: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* hostapd, hostapd-realtek: Calculate build dependencies

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Clean Environment for building as default

* upgrading: Repack a clean Environment archive

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-27 14:23:35 -05:00
Oleg
08568a6005
add station m2\p2 (#3352) 2021-12-26 16:37:49 +01:00
iav
37662d8ed3
helios64: fix udev rules to let fancontrol work again (#3367) 2021-12-25 21:53:53 +01:00
Vyacheslav
5efc78b531
JetHome JetHub D1/H1 patch/bsp updates (#3348)
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
2021-12-14 12:08:26 +01:00
Paolo Sabatino
e1a88959f8 rk322x: add bluetooth overlay, updated rk322x-config 2021-12-10 21:53:57 +01:00
Igor Pecovnik
20e3da18e7
Orangepi Zero2 legacy - adjust memory voltage according to manufacturer's recommendation 2021-12-08 21:41:23 +01:00
Leo
3c5e8820d1
Source /etc/armbian-release before the motd conf file (#3326)
That way the user can set $BOARD_NAME in /etc/default/armbian-motd. This is useful because e.g. the Odroid HC2 is internally an Odroid XU4, and in /etc/armbian-release it shows up as Odroid XU4.
2021-12-07 20:13:34 +01:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Igor Pečovnik
d8285296ec
Bugfix - safer way of deleting headers (#3316) 2021-12-04 23:53:00 +01:00
Paolo Sabatino
b4749af062
rk332x: fix esp8089 module option 2021-11-24 17:28:03 +00:00
Igor Pečovnik
6979718d58
Chroot build packages cleanup and bug fixing (#3266)
* Small fixes and removal of deprecated component
* Fix to properly create armbian repo in chroot
2021-11-17 19:35:32 +01:00
Igor Pečovnik
aaa050959b
Replace which with command -v (#3253) 2021-11-15 23:30:39 +01:00
Igor Pečovnik
8258a0ee36
Implement fan controller for Nanopi M4 (#3231)
* Implement fan controller for Nanopi M2V2

* Fan works on all Nanopi M4
2021-10-31 12:12:06 +01:00
Igor Pecovnik
612529aa8f
Fixing errors in armbianmonitor and add release info
Close https://github.com/armbian/build/issues/2798
2021-10-28 23:22:29 +02:00
Ricardo Pardini
be5f2b8c75
introduce DEB_COMPRESS for dpkg-deb+kernel's KDEB_COMPRESS (#3222)
* introduce DEB_COMPRESS for dpkg-deb+kernel's KDEB_COMPRESS

- Avoids zstd which is now default in Ubuntu Impish, but can't be read by Debian dpkg
- Allows for xz, gzip, or none; defaults to xz; use gzip for faster, and none for much faster.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* use KDEB_COMPRESS in packages/armbian/builddep for 5.12+ kernels too

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-10-27 18:55:12 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Oleg
ddc90be2c7
fix sound station (#3200) 2021-10-15 14:19:53 +02:00
Paolo Sabatino
31d238930b rockchip: enable broadcom serdev bluetooth for current and edge kernels
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
	* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
	  facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
	  Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
2021-09-16 17:51:34 +00:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
Aristo Chen
905cf37bd3
Enlarge dialog size to prevent string cut off (#3141) 2021-09-12 19:26:33 +02:00
Paolo Sabatino
d9c1954052 rk322x: enable glamor acceleration for X11 2021-09-11 12:51:28 +00:00
Paolo Sabatino
0ba760e148 rk322x: ddrbin now uses 2T Command Rate, dynamically adjust ddrbin command rate on u-boot updates 2021-09-11 12:51:28 +00:00
The-going
593104add4
Rework compile (#3124)
* DEBUG code

* make M=scripts clean before creating the package

Move the cleanup of the scripts target from the postinst script
to the logically correct place so that the cleanup occurs with
the same arguments of the make command and the same compiler.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* clear all files in target directory

* Debugging for version 5.10.10 and higher

* Return to version 5.12

Since version 5.12, there are no collisions
with deleting the scripts/module.lds file.

This pathology begins with 5.10 and ends on 5.11 inclusive,
and this is due to internal migration in the core.

* Change the order of creating packages

The linux-headers package must be built in the last queue

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Revert "DEBUG code"

This reverts commit 6bd8dcaa3b.
2021-09-06 21:29:20 +02:00
Aristo Chen
fab9ff1dba
Remove unused variable in format string (#3105) 2021-09-02 21:51:54 +02:00
Werner
23d5aa12ba
Possible fix for syntax error (#3115)
https://forum.armbian.com/topic/18838-invalid-armbian-trucate-logs-error/
I assume all userspaces have bash shipped anyways?
2021-09-02 20:47:46 +02:00
Igor Pečovnik
5004a05a15
Store wallpapers with better compression (#3108)
Saves around 50% without loosing noticable on quality.
2021-08-24 00:44:14 +02:00
Aristo Chen
9aa60df063
Exclude IP of network interface with :avahi at the end of name (#3099) 2021-08-21 11:04:22 +02:00
Jannis
147b8b54e6
Merge pull request #3092 from armbian/helios64-udev-hwmon-fix
Helios64 combine hwmon rules between legacy and current
2021-08-16 13:46:04 +02:00
Igor Pečovnik
91457ff216
Adjusting Cinnamon back to stock graphics (#3094)
- removing tracker-extract since its crashing and is anyway useless tool
- adjusting text to meet the real meaning
2021-08-12 20:14:29 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Richard Neese
b354ede7e2
revert xcfe to old look (#3090)
* revert xcfe to old look

* fix login screen xfce old look

* Re-add monitorVirtual-1

* There is not such icon

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-08-11 23:03:35 +02:00
Igor Pečovnik
84b111487f
Fixing first login shows "degraded" (#3091)
Status is shown to stdout, but we don't want that in 1st login screen
2021-08-11 00:01:21 +02:00
Richard Neese
fe74c3ffcc
fixed typo's in the wallpaper xml file for xfce desktop (#3078) 2021-08-04 17:53:15 +02:00
Richard Neese
6364643ffb
fixing menu look for both debian/ubuntu (#3072)
ubuntu does not have the theme package to match ubuntu so had to change the background to one both debian and ubuntu have.
2021-07-29 21:44:37 +02:00
Ricardo Pardini
59509407aa Khadas VIM3: add asound.state file
- via Jeremiah Cornelius on the Armbian Forums
- also clarify comment about 2 dtbs in mainline kernel

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-24 18:32:55 -04:00
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
Rich
89e0c8699f fixing xfce for new xfconf-query -c xfwm4 -p /general/vblank_mode -s off 2021-07-16 09:53:18 -04:00
Rich
23aacd78bb added virturl setting for dektop backgrounds 2021-07-14 13:47:36 -04:00
Rich
3405d91873 working to fix backgrounds 2021-07-13 13:02:55 -04:00
Rich
07dd14b108 fixing xfce background and launcher icon 2021-07-12 18:52:12 -04:00
Richard Neese
be44bb7d61
Merge pull request #3003 from RichNeese/desktop-background-cleanup
Desktop background cleanup
2021-07-12 17:19:24 -04:00
Rich
9b3fcdac85 fixing background issue 2021-07-12 11:24:59 -04:00
Rich
4dc1b10311 working to split backgrounds lighdm and desktop 2021-07-12 09:38:08 -04:00
Oleg
1e5133dd2b
fix u-boot sector station (#2999) 2021-07-12 09:32:35 +02:00
Richard Neese
1a0bd6ab2f
Merge pull request #2995 from RichNeese/addscrcpy-icon
adding scrcpy.desktop and icon for use with scrcpy to connect android…
2021-07-11 08:53:41 -04:00
Rich
d050265c5a adding scrcpy.desktop and icon for use with scrcpy to connect android phones to armbian and display them 2021-07-11 08:52:06 -04:00
Rich
83a95cdb7a enabled iconfn on armbian-config desktop script 2021-07-11 08:43:42 -04:00
Rich
8ebf148e91 adding in 2 new desktop icons for armbian-config 2021-07-11 08:37:53 -04:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Richard Neese
f1e9c76b37
Merge pull request #2989 from RichNeese/xfce-color
Xfce color
2021-07-09 12:28:36 -04:00
Rich
ac8e594377 chane to blue icon 2021-07-09 11:19:58 -04:00
Rich
9dd1aec5d5 adding new icons and backgrounds 2021-07-09 11:05:25 -04:00
Rich
9f2de611cd changing the look for xfce 2021-07-09 08:29:57 -04:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
Igor Pečovnik
9d4e0408c5
Improvements for BSP creation (#2975)
* Improvements for BSP creation

- add support for the same principle found in desktop creation. For CLI package we are copying content from "bsp-cli" folders.
- moving bsp* copy function to image-helpers
- improve readme
2021-07-07 16:06:00 +02:00
lanefu
71f67e664e
wait for systemd fully started before first login (#2979) 2021-07-06 22:32:37 -04:00
Rich
7e3c4b6a5f cleaning up packages and look for xfce 2021-07-06 19:14:47 -04:00
Rich
42c6f446c1 fixing icon for desktop 2021-07-06 08:56:20 -04:00
Igor Pečovnik
9249d3f954
Add support for desktop board support package (#2972)
* Add support for desktop board support package

Extracting from https://github.com/armbian/build/pull/2776 which can be closed after.
* Desktop BSP creation is working, but need broader testing and some quick how-to
* Create empty files as examples where we can put things.
* Fixing Pinebook desktop bsp creation
* We need to have information about ARCH in the desktop bsp package. This ain't universal.
2021-07-06 00:59:50 +02:00
lanefu
8c09e1fa93
khadas support (#2903)
* cleanup add vim3l

* Add Khadas edge config

* Add Khadas edge sources definitions. It boots

* Change configuration to maximised model

* Adjust build configs

* witch to case statement for meson x11 config

* push vim1 naming

* Booting VIM2 with khadas prebuild u-boot

Can load from an empty eMMC, can be installed to eMMC via nand-sata-install

* Add Vim1 and move 1 and 2 to supported. VIM1 is not tested yet.

* Enable full featured desktop with 3D for khadas vim 1 and vim2

* Update meson64_common.inc

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-05 21:05:43 +02:00
Rich
c4a98859a7 fixing desktop menu icon. 2021-07-04 14:03:24 -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
Richard Neese
1880df66b4
Fix bad slick patch (#2942)
* fixing my bad patch from lastnight.

Removing the bad patch I did last night and fixing it with proper sed commands

* fixing names .

had to fix names in the files

* configuring new settings in slick-greeter
2021-06-30 16:51:28 +02:00
Richard Neese
a4db93be66
fixing slick greater for the diff desktops short term for testing (#2940) 2021-06-30 06:47:12 +02:00
The-going
92b8320edd
Packaging (#2935)
* kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n

Since commit 269a535ca931 ("modpost: generate vmlinux.symvers and
reuse it for the second modpost"), with CONFIG_MODULES disabled,
"make deb-pkg" (or "make bindeb-pkg") fails with:

find: ‘Module.symvers’: No such file or directory

If CONFIG_MODULES is disabled, it doesn't really make sense to build
the linux-headers package.

Author: Masahiro Yamada <masahiroy@kernel.org>
Date:   Wed Oct 14 03:38:19 2020 +0900
Upstream commit bac977cbc0d6731fb8e67c2be0e4acbd959e10b3

Fixes: 269a535ca931 ("modpost: generate vmlinux.symvers and reuse it for the second modpost")
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* mkdebian: fix: build a package for version 5.13

upstream commit 82526ef43399a7556b860538041802042b3872c1
Author: Masahiro Yamada <masahiroy@kernel.org>
Date:   Tue Apr 20 02:05:05 2021 +0900

    kbuild: deb-pkg: change the source package name to linux-upstream

    Change the source package name from 'linux-$(KERNELRELEASE)' to
    'linux-upstream'.

    Initially, I tried to use 'linux' to be aligned with the Debian
    kernel package, but Ben suggested 'linux-upstream' so that it is
    clearly distinguished from distribution packages. [1]

    The filenames will be changed as follows:

    [Before]
      linux-5.12.0-rc3+_5.12.0-rc3+-1.dsc
      linux-5.12.0-rc3+_5.12.0-rc3+.orig.tar.gz
      linux-5.12.0-rc3+_5.12.0-rc3+-1.diff.gz

    [After]
      linux-upstream_5.12.0-rc3+-1.dsc
      linux-upstream_5.12.0-rc3+.orig.tar.gz
      linux-upstream_5.12.0-rc3+-1.diff.gz

    Commit 3716001bcb7f ("deb-pkg: add source package") introduced
    KDEB_SOURCENAME. If you are unhappy with the default name, you can
    override it via KDEB_SOURCENAME.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Search by template when updating initramfs

Search by pattern first, then use in the command.
If unsuccessful then exit by mistake.

Fix:
depmod: WARNING:
could not open modules.order at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
 No such file or directory
could not open modules.builtin at /var/tmp/mkinitramfs_bp3vP5/lib/modules/5.13.0-sunxi64:
 No such file or directory
When a valid directory lib/modules/5.13.0-rc6-sunxi64
Or when the user added a localversion to the configuration file
and valid directory lib/modules/5.13.0-rt7-sunxi64

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Code Cleanup: kernel build: Removing EXTRAVERSION Cleanup

This was intended for the EDGE kernel and is no longer required.
Moreover, this code is not working.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-06-29 20:18:52 +02:00
Richard Neese
c3c9dfa4c6
added new backgrounds and icons (#2932)
* added new backgrounds and icons

* adding in dir for png files and desktop new icons

* rm png wallpaper files
2021-06-29 13:32:41 +02:00
Jannis
c43b31fe7c
Delete 90-helios64-hwmon-legacy.rules 2021-06-20 10:43:59 +02:00
Jannis
503476d0d1
Update 90-helios64-hwmon.rules
Proposal of a way to fix the udev problems described here https://forum.armbian.com/topic/18238-armbian-21052-focal-with-linux-51035-rockchip64-fancontrol-die-in-error-fans-not-spinning/?tab=comments#comment-125963

It just combines legacy and current lines so hopefully will work correctly on both.
2021-06-20 10:42:23 +02:00
Oleg
e05b207058
add BT for Station (#2901) 2021-06-16 09:32:33 +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
lanefu
63e73e50ed
Merge pull request #2894 from nwf/master
armbian-ramlog: extra rsync options
2021-06-13 11:19:04 -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
Paolo Sabatino
e19500f6f6 Fix typo and options in slick-greeter (greater->greeter), enable it for rk322x-box 2021-06-12 10:33:28 +00: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
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Aristo Chen
78894792a5
Update URLs (#2870)
* Update URLs

* Update URLs

* Update URLs
2021-06-10 11:27:51 +02:00
Richard Neese
81c75b8a95
slick greeter change from gtk greeter (#2883)
* Create slick-greater.conf

adding new greeter conf file

* Create 10-slick-greeter.conf

setting the seat session for the new slick greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter

* Update packages

added slick-greeter
2021-06-10 11:25:11 +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
The-going
050feb590f
Fixed recompilation of kernel headers into a single thread. (#2851)
Compiling the kernel headers repeatedly and in a single thread
increased the overall package build time by several times.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-27 20:40:29 +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
The-going
fc892b7e3f
Rework make linux headers (#2849)
* Rework make linux headers

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Make linux-source first and clear the memory

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-25 02:50:16 +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
The-going
8f1fb2e2be
Packaging (#2844)
* New build kernel if version ge 5.12

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Rename packagename for kernel in the armbian style

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix depends pkg for build linux-*

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fixed version search by Source field

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Fix postinst, prerm scripts for headers pkg

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-05-22 17:01:29 +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
lanefu
903bf67973
Merge pull request #2778 from armbian/htop-fix-uncheched-buffer-writes
Fix unchecked buffer writes in custom htop code
2021-05-01 22:20:21 -04:00
Paolo Sabatino
fb0f8f73bd rk322x: add led/gpio config for T066 boards, updates to rk322x-config 2021-04-25 11:55:45 +00:00
Piotr Szczepanik
816187bd9e
Made clear what the patch fixes and add notes on code sources 2021-04-18 22:16:07 +02:00
Piotr Szczepanik
8b3efeedd5
Fix unchecked buffer writes in custom htop code 2021-04-16 23:16:59 +02:00
Oleg
20c06c0ba3
fix install-nand for extlinux.conf (#2775) 2021-04-15 01:16:13 +02:00
Przemysław Sztoch
3f4c73727a
Better conditions for newer distribution (#2768) 2021-04-14 00:44:29 +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