Commit Graph

10551 Commits

Author SHA1 Message Date
Igor Pečovnik
26a00ebcd2
Remove broken packages from Kinetic (#4496) 2022-11-27 10:46:42 +01:00
The-going
8452fb75ee sunxi: switch CURRENT to v5.15.80, EDGE to v6.0.10 2022-11-27 12:40:01 +03: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
Markus Hoffrogge
950c659a4a
Add option BUILD_ONLY to the build compile scripts (#4455)
* Rename default-build.sh -> build-tasks.sh

This commit is just a file rename without any
further code change before this script will be
refactored to improve build task structure
for partial building.

Refers to #4421

* Prepare build-tasks.sh for moving each build step to a dedicated function

This commit is an intermediate update to reflect
NO functional code changes of the particular
build steps before moving the unmodified code
into the appropriate function by copy/paste.
Only build_get_boot_sources() has slightly changed
to an appropriate if / fi structure.
Note: This .sh file is bash syntactically not correct.
The purpose of this commit is to leverage code review.

Refers to #4421

* Update build-tasks.sh function do_default() for filtered function calls

Function do_default():
  - Add $1 function parameter for filtering build tasks
    and assign this to local variable $_buildOnly
  - move "pseudo inline"-functions to the beginning of the script
  - replace the "inline functions" by filtered function calls
  - add BUILD_ONLY variable to the build epilog print

Refers to #4421

* Complete refactoring of build-tasks.sh for BUILD_ONLY support

- update indentation of functions build_get_boot_sources()
  and build_get_kernel_sources() to meet code style
- rename original function do_default() -> build_main()
- create new do_default() for backward compatibility and
  comment this one as deprecated
- call build_main "" from this deprecated do_default()
- cli-entrypoint.sh:
  - update call of do_default by build_main "${BUILD_ONLY}"

closes #4421

* Print final runtime as min:seconds

As with filtered build runtimes
may get below a minute, we would like
to get the runtime printed with seconds.

* Delete duplicate messages

* Fix the confusion of the choice of building the kernel

* Fix a typo in comment on do_default()

* Backward compatibility of KERNEL_ONLY and new BUILD_ONLY keys.

* interactive_config: replace KERNEL_ONLY on BUILD_ONLY

* Fix: Correct verification when an image is created

* Abort with error if BUILD_ONLY contains invalid build task names

- add function build_validate_buildOnly()
- call this function from build_main
- fix position of KERNEL_ONLY / BUILD_ONLY contradiction message
  (did log empty _buildOnly content all time)
- improve local variable names

* Improve final error message to list valid BUILD_ONLY task names

* Improve error message logging

- collect multiple invalid BUILD_ONLY task names in a single error message
- log final message for valid BUILD_ONLY task names on ext level
- simple exit with exit code 1 in case of error

* The RELEASE variable cannot be empty.

Additional conditions for checking RELEASE are unacceptable.

* Fix build_main() to use BUILD_ONLY inside instead of local var set from parameter $1

- build-tasks.sh:
  - build_main():
    - don't take parameter $1
    - replace usage of $_buildOnly by $BUILD_ONLY
    - added info messages on KERNEL_ONLY cases in case BUILD_ONLY was propagated
  - build_validate_buildOnly():
    - remove parameter $2
    - assign _buildOnly from global BUILD_ONLY accordingly
- cli-entrypoint.sh:
  - call build_main without parameter

* Choosing interactive_config if the goal is bootstrap

* fix: order of selection backward_compatibility_build_only

* Update function comments to match current state

- removed obsolete parameter of build_main call do_default()
- replaced :space: by :comma: in _kernel_buildOnly
  to leverage copy / paste for final repeatable command line
  printed after build

* Improve logic coding to filter build tasks

- build-tasks.sh:
  - added functions:
    - build_task_is_enabled()
    - build_task_one_of_is_enabled()
    - build_task_each_of_is_enabled()
  - updated existing build task filter logic
    to use function build_task_is_enabled
- config-prepare.sh, prepare-host.sh:
  - replaced existing build task filter logic
    to use function build_task_is_enabled

* Remove unused functions

- remove function build_task_one_of_is_enabled()
  and build_task_each_of_is_enabled()
  according to code review

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-11-27 00:05:46 +01:00
Michael Klein
925c344615
30-armbian-sysinfo: make IP address unique (#4483) (#4484) 2022-11-25 18:02:25 +01:00
brentr
d8fd01bc54
Updated v4.4 HW RND driver with that from v5.10 kernel (#4485) 2022-11-25 18:02:13 +01:00
Igor Pečovnik
e43f76edc9
Remove deprecated patches for XU4 (#4488) 2022-11-25 18:01:55 +01:00
Markus Hoffrogge
c28e2d6422
SUNXI family config: Update setting of UBOOT_TARGET_MAP to allow overriding (#4479)
- sunxi64_common.inc, sunxi_common.inc:
  - change current setting of UBOOT_TARGET_MAP
    to allow a probable overriding definition
    in a board config file

fixes #4478
2022-11-24 12:52:10 +01:00
Alban Browaeys
c3596f401a
Fixed u-boot v2022.07 compilation for Helios64 (#4480)
* Fixed u-boot v2022.07 compilation for Helios64

* Move Helios64 back from EOS to community supported as images can be assembled

Co-authored-by: Igor <igor@armbian.com>
2022-11-24 12:51:32 +01:00
Oleg
9076d1c25e
DTB fix for Station M3 (#4465) 2022-11-20 23:00:44 +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
Oleg
90e9d55df4
Remove 3D support for Station & Jetson Nano images with legacy kernel (#4467)
* fix start X11 legacy kernel

* fix p2 targets
2022-11-20 23:00:25 +01:00
Werner
d4ce027b9d
Prevent unsupported cases (#4474) 2022-11-20 23:00:13 +01:00
Igor Pečovnik
e80b8eddc5
Add build targets which only build kernels (#4475)
This is handy to have set by default in case we want to recreate repository with all kernels we need
2022-11-20 23:00:03 +01:00
Markus Hoffrogge
c05c064021
Add mtd-utils to all ARM distributions main packages (#4428)
The mtd-utils package provides NAND and SPI
flash capabilities for mainline kernel /dev/mtdX devices.
This will help on board setup from SD card boot.

closes #4427
2022-11-20 22:59:16 +01:00
Aman Gupta Karmani
a7b5a5ee58
Fix typos (#4469) 2022-11-20 07:44:58 +01:00
hzyitc
18dba7985f
meson adjust (#4461)
* onecloud: adjust partition offset

* meson: odroidc1: special `write_uboot_platform`

* onecloud: use 24bit u-boot logo
2022-11-19 08:09:07 +01:00
Oleg
28c6be0489
Fix u-boot Station M1 (#4462)
* fix u-boot station m1

* fix config station m1
2022-11-19 08:08:56 +01:00
TheLinuxBug
06601f34cc
Updates to grammar and wording on README.md (#4463)
* Updates to grammar and wording on README.md

Updates to grammar and wording for Armbian Partners section.

* typo

Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2022-11-19 08:08:38 +01:00
Igor Pečovnik
332a558228
When using PPA sources we need to run install_ppa_prerequisites (#4464) 2022-11-19 08:08:14 +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
Igor Pečovnik
561682027f
Improve post install handling on desktop package install (#4458) 2022-11-17 17:42:52 +01:00
TheLinuxBug
f510b269b6
Merge pull request #4459 from armbian/TheLinuxBug-patch-1
Change terms and make a link to the web page
2022-11-17 11:37:54 -05:00
TheLinuxBug
87c44733de
Update to README.md
Update wording from sponsors to partners and moved 'Friends' to authors page on website and link under 'Also' as 'Friends and individuals'
2022-11-17 09:46:53 -05:00
Ricardo Pardini
eb4c090a38
tinkerboard-2: move to "legacy" 21.07 u-boot; firmware & kernel DTS fixes (5.18/19,6.0) (#4449)
- notes in the board file about the RAM issues (tested, confirmed working blob change of #4383 by @pinhaozhang working with u-boot 21.07; `blobless` also works with ATF v2.7 on my known-good-RAM boards)
- tinkerboard-2: add full firmware, for the rtl8822ce PCIe Wifi default card in the tb2 as shipped by ASUS
- tinkerboard-2: uboot: rename `TARGET_TINKER-2_RK3399` to `TARGET_TINKER2_RK3399` to avoid warnings all over
- tinkerboard-2: slower but working Tinkerboard 2S eMMC (HS400+ES to HS200)
  - both for u-boot and kernel.
  - should not affect 2, only 2S
2022-11-16 22:04:38 +01:00
Igor Pečovnik
d6cf58b37f
Update Allwinner kernels to latest (#4447) 2022-11-16 18:41:45 +01:00
blahblahblah303
cd4da2a77b
Adding in kernel module for controller support (#4448) 2022-11-16 18:40:14 +01:00
Ricardo Pardini
834fab09d0
armbian,spi-dev hacks also for rockchip64-5.18, .19, and 6.0.y (#4450) 2022-11-16 18:39:47 +01:00
hzyitc
6328187c1f
meson: legacy: bump to 5.10.155 (#4451) 2022-11-16 18:39:36 +01:00
Ricardo Pardini
3e7789445c
odroidm1: use mainline 6.1-rc5, grab DTS only from mmind/v6.2-armsoc/dts64 as single patch; +armbian-nextify (#4452) 2022-11-16 18:39:25 +01:00
Ricardo Pardini
854fef5d5f
helios4/machiattobin-doubleshot/rpi4b remove legacy BRANCH (#4453)
- family code for those boards does not have such legacy anymore
2022-11-16 18:39:15 +01:00
Ricardo Pardini
8bb79baeb9
khadas-vim3l: add asound file (#4454) 2022-11-16 18:38:14 +01:00
RadxaNaoki
c3db31bde2
enable es8316 audio properly (#4433)
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Co-authored-by: Igor <igor@armbian.com>
2022-11-16 11:32:03 +01:00
Igor Pečovnik
6ef02ba6c7
Change to supported Github Action module (#4446) 2022-11-16 11:31:50 +01:00
Paolo
ed2c6d3c67
rockchip: advance edge kernel to v6.0 (#4445) 2022-11-15 20:22:47 +01:00
Ricardo Pardini
0bfad1e7f7
flash-kernel: pass FK_FORCE=yes to flash-kernel so it actually runs in chroot; thanks Ubuntu (#4439) 2022-11-15 20:20:13 +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
2c9839ccdf
Address action script deprecation functionality (#4441) 2022-11-15 20:19:43 +01:00
Paolo
c95f5157f7
rockchip64: fix broken 6.0 drivers, reshape config (#4442) 2022-11-15 20:19:30 +01:00
Paolo
35db7a3995
rk322x: bump kernel to 6.0 (#4443)
* rk322x: advance edge kernel to 6.0

 * accomodate fixes to ssv6051, esp8089 and rtl8723cs drivers, dmc
   driver, mglru patch
 * update libreelec patches to latest bits

* import fix from ssv6051 driver for 64-bit
2022-11-15 20:19:17 +01:00
Igor Pečovnik
8b4a9f3296
Bump to most recent sunxi kernel (current) (#4440)
* Bump to most recent sunxi kernel (current)

* sunxi-5.15: rework for v5.15.78 (#4444)

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-11-15 22:08:16 +03:00
Igor Pečovnik
ed9077e973
Add Github Action to calculate changed files (#4438)
* Fix branch diff detection

* Update lint-scripts-pr.yml
2022-11-15 09:05:43 +01:00
Igor Pečovnik
83da1ddeeb
We need to checkout to PR (#4437) 2022-11-14 23:00:43 +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
9ad65d83eb
More updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4429)
* `meson64`: `6.0`: g12a and g12b pinmux patches from Radxa

* u-boot: `radxa-zero2`: Radxa's patches for the Zero2 on `v2022.10`

* u-boot: `radxa-zero2`: use `v2022.10` plus Radxa's patches

* `meson64` u-boot v2022.10: change `BOOT_TARGET_DEVICES` to try to boot USB, NVME and SCSI before SD, MMC, PXE, DHCP

* `radxa-zero`: include v2022.10 standard patches (eg: boot from USB first)
2022-11-14 14:59:45 +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
Igor Pečovnik
1464a7b4c3
Enable Shellcheck on changed files (#4431)
* Enable Shellcheck on changed files

On DIFF between PR and master

* Small improvement
2022-11-14 14:58:04 +01:00
Paolo Sabatino
5cdd5cdd59 fix patch with broken hunk, update other patch from libreelec set 2022-11-14 00:19:38 +01:00
Paolo Sabatino
ae36e56171 add reset properties for rkvdec and iep nodes, minor fix to rkvdec 2022-11-14 00:19:38 +01:00