Commit Graph

10591 Commits

Author SHA1 Message Date
Derek
e0dbc8def9 add emmc variants to FIT image (#4521) 2022-12-07 21:26:59 +01:00
Steven P. Goldsmith
8d153c008b Add nanopiduo target (#4543)
* Add nanopiduo target

* Two are exposed

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-12-07 20:33:24 +01:00
Ivan Podogov
b4945d973c Use modules for btintel, btbcm, btrtl, btusb (#4541)
Radxa's official guide for the A8 card says these modules should be blacklisted,
but you can't blacklist them unless they're built as modules.
2022-12-07 13:22:08 +01:00
Jianfeng Liu
7700dc5dd1 Merge pull request #4540 from amazingfate/update-rk3588-kernel
update legacy kernel of rk3588 to linux-5.10-gen-rkr3.4
2022-12-07 17:01:09 +08:00
amazingfate
2bc8eee1ff update legacy kernel of rk3588 to linux-5.10-gen-rkr3.4 2022-12-07 16:13:29 +08:00
Igor Pečovnik
eb3de7917a Switch clockworkpi-a06 to older boot loader end enable CI images (#4536) 2022-12-07 08:34:08 +01:00
Igor Pečovnik
7b4f1e3773 Move Bananapi M5 to U-boot 2022.04 (#4524)
* Move Bananapi M5 to U-boot 2022.04

* Enable minimal build images
2022-12-07 08:33:55 +01:00
Igor Pečovnik
2b9fca9117 Port meson sm1 emmc related patches from edge to current (#4523) 2022-12-06 21:52:37 +01:00
Ivan Podogov
7b3325c95e Enable RTL8852BU (#4537)
It's enabled in the Radxa config
2022-12-06 21:52:23 +01:00
Igor Pečovnik
1ab07d6471 Add build target for Rockpi 5B (#4520) 2022-12-06 09:48:06 +01:00
Igor Pečovnik
568ff6c011 When adding PPA, we need to run apt update before installing dependencies (#4527) 2022-12-06 09:47:45 +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
Igor Pečovnik
c6b5e1d329 Add gnome-disk-utility to the desktops (#4530) 2022-12-06 09:47:10 +01:00
Igor Pečovnik
eee984cf2d Move btrfs-progs to the minimal images (#4531) 2022-12-06 09:47:00 +01:00
Igor Pečovnik
e27f90b856 Add fonts-ubuntu to the desktop packages (#4533)
Missing font in Bullseye desktop cause strange fonts in Terminator
2022-12-06 09:46:48 +01:00
Markus Hoffrogge
be86d1bd27 Add missing print for NAND boot source
fixes #4532
2022-12-06 10:01:59 +03:00
Igor Pečovnik
974c31029a Bump sunxi to recent and adjust broken patches (#4535)
* Bump sunxi to recent

* Adjust patches for EDGE
2022-12-06 09:52:24 +03:00
Igor Pečovnik
424ac69206 Change text on interactive menu (#4522)
* Change text on interactive menu
2022-12-05 20:20:07 +01:00
marcone
bc82a8e0fd Don't use "edge" patches for "current"
meson64 (Radxa Zero and possibly others) config was using
meson64-edge for both kernel 5.19 and kernel 6.0 based builds.
2022-12-05 08:47:23 -08:00
Marco Nelissen
d893360377 Fix USB OTG on Radxa Zero
The USB node was accidentally set to host mode in the dtb, preventing
OTG from working.
Patch origin: https://github.com/radxa-repo/bsp/blob/main/linux/stable/0020-radxa-zero/0005-arm64-dts-radxa-zero-set-dr_mode-of-usb-node-to-otg.patch
2022-12-05 08:46:33 -08:00
The-going
215bba7dac sunxi-6.0: initial state patches armbian 2022-12-03 22:22:31 +03:00
Igor Pečovnik
1068789309 Switch BananapiM5 images from EDGE to Current (#4516) 2022-12-03 14:32:45 +01:00
Igor Pečovnik
f99dedc47a Bump version (#4513) 2022-12-01 12:11:18 +01:00
The-going
d85c545f3b sunxi-6.0: fix for v6.0.10 (#4514) 2022-12-01 12:11:07 +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
Igor Pečovnik
3ab2fe8c1f Enable several build targets (#4497) 2022-11-29 19:48:27 +01:00
swordow
d023849528 mod: separate some network driver patchs (#4498) 2022-11-29 19:48:15 +01:00
Oleg
c983420618 correction of the composition of images and programs in them (#4506) 2022-11-29 19:48:03 +01: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
Igor Pečovnik
0428c18033 Revert bootloader for R4S and Neo3, adjust names (#4510)
* Enable CONFIG_BPF_SYSCALL which might improve Docker support

* Adjust board names

* Move neo3 to previous bootloader too

* Disable 3d support on rock64
2022-11-29 19:47:37 +01:00
The-going
63a09be31d Add a description of the new BUILD_ONLY key to example.conf 2022-11-29 18:52:31 +03:00
marcone
fa7e247598 Fix typo 2022-11-28 23:24:42 -08: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
Ash
408bc67619 Add shebangs for shellcheck (#4493)
* Add shebangs for shellcheck

See #AR-1406

* Add shebangs for shellcheck

Also for `extensions` scripts
2022-11-27 21:44:50 +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
Julian Sikorski
0d018427b1 Update odroidxu4-current to 5.4.225 (#4499) 2022-11-27 21:44:06 +01:00
Igor Pečovnik
a7f6345a89 Properly enable kernel compilation for nightly images (#4500) 2022-11-27 21:43:28 +01:00
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