Commit Graph

11441 Commits

Author SHA1 Message Date
Igor
7a6dca2f90 Add switch 2023-03-20 13:50:33 +01: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
Igor
87b8ad6ae7 Bump sunxi to latest versions 2023-03-20 13:30:48 +01:00
SteeManMI
6dc26119c3
Cleanup: Removed two dead links (softlinks whose target doesn't exist) (#4972)
Changes to be committed:
	deleted:    config/desktop/buster/appgroups/programming/sources
	deleted:    patch/kernel/archive/sunxi-5.11/sunxi-5.12
2023-03-20 08:02:20 -04:00
SteeManMI
7b99735c44
Fix patch failures on meson64-current (6.1) (#4973)
Changes to be committed:
	deleted:    patch/kernel/archive/meson64-6.1/board-bananapim5-002-switch-VDDIO_C-pin-to-OP.patch
		- Patch upstreamed in 6.1.16:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts?h=v6.1.20&id=58dccc65221c6465a35cb6bb2ff41f2b75b367f0
	modified:   patch/kernel/archive/meson64-6.1/board-bananapim5-003-convert-dts-to-dtsi.patcha
		- Fixed patch due to upstream change in 6.1.16:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts?h=v6.1.20&id=e35feeb3fdbe3eeffae5e75123fa44523b5076b8
	deleted:    patch/kernel/archive/meson64-6.1/board-radxa-zero-dts-otg-fix.patch
		- Patch upstreamed in 6.1.16:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts?h=v6.1.20&id=b556778f76f975ccf7f008729b5bc2531c58ea95
	deleted:    patch/kernel/archive/meson64-6.1/general-arm64-dts-amlogic-Make-mmc-host-controller-interrupt.patch
		- Patch upstreamed in 6.1.12:
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.20&id=274d9a28527d64a95107a1e62c71632065f0924f
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.20&id=222b1070b0fa12be25f9503a503724a899c6326b
			https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.20&id=a01ad536becb5d4c001a7d50dc1ca9fa14ef75a8
	modified:   patch/kernel/archive/meson64-6.1/general-meson-mmc-1-arm64-amlogic-mmc-meson-gx-Add-core-tx-rx-eMMC-SD-SD.patch
		- Fixed patch due to upstream change in 6.1.13 by copying the 6.2 version which was already rebased
2023-03-20 07:59:11 -04:00
SteeManMI
010077305c
aml-s9xx-box: Move board specific bsp file handling to the board (#4971)
config file from from the family config file

 Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/families/meson-gxl.conf
2023-03-19 19:13:05 -04:00
Tony
d4a5b9c799
Move Jetson and Pinebook Pro board tweaks to board conf file (#4968)
* Move Jetson board tweaks to board conf file

* Move Pinebook Pro BSP and board tweaks
to PBP config file, decluttering family config
2023-03-19 18:26:18 -04:00
Ricardo Pardini
c146fdf28b kernel-headers: don't try to build objtool if not amd64 target (for real this time) 2023-03-18 21:45:49 +01:00
Paolo Sabatino
989b49ff6b rockchip: enable rtl8723ds kernel module 2023-03-18 21:40:32 +01:00
Igor
d4a7a1c816 Revert "Update export-logs.sh to use primary Armbian paste server (#4936)"
This reverts commit bc62c8cd42.
2023-03-18 21:39:02 +01:00
Ricardo Pardini
994b80a1a1 kernel: postinst: use --nofsroot option to findmnt when finding /boot's filesystem type
- otherwise we might get `/dev/mmcblk2p1[/boot]` when `/boot` is bind-mounted
- `--nofsroot: don't print [/dir] for bind or btrfs mounts`
2023-03-18 07:09:40 -03:00
amazingfate
c21aef6e20 update rk35xx legacy kernel source to github 2023-03-17 08:33:42 +01:00
Ricardo Pardini
4509e3fcf2 kernel-headers: don't try to build objtool if not amd64 target 2023-03-17 08:32:11 +01:00
Ricardo Pardini
8493d91b61 check early (before running any CLI command) for old LIB_TAG usage 2023-03-17 08:32:11 +01:00
Ricardo Pardini
2f4f117000 prepare ORAS tooling early, so we don't get spurious failures "only on first build" 2023-03-17 08:32:11 +01:00
Ricardo Pardini
4e6fd3a507 warn about KERNEL_CONFIGURE=yes being deprecated during image build; instructions on how to do it properly 2023-03-17 08:32:11 +01:00
Ricardo Pardini
630ee512cb stop the build if LIB_TAG is set at all; some users expect it to work while it doesn't 2023-03-17 08:32:11 +01:00
Ricardo Pardini
6b965c605c completely remove any traces of KERNEL_ONLY and exit with error if set 2023-03-17 08:32:11 +01:00
Ricardo Pardini
6d1c5fb8b7 artifact: kernel: use C999999 for .config hash is KERNEL_CONFIGURE=yes; force ignore cache if so 2023-03-17 08:32:11 +01:00
Ricardo Pardini
c8412c8791 compress-checksum: don't compress files ending in .txt, thanks 2023-03-17 08:32:11 +01:00
Ricardo Pardini
91b7b35fa3 rootfs-to-image/distro-agnostic: introduce IMAGE_VERSION, can be used to override VERSION file ($REVISION) just for image filename/issue/os-release 2023-03-17 08:32:11 +01:00
Ricardo Pardini
b16ffd62da odroidxu4/current: set KERNEL_SKIP_MAKEFILE_VERSION=yes 2023-03-17 08:32:11 +01:00
Ricardo Pardini
bf325a4565 artifact: kernel: introduce KERNEL_SKIP_MAKEFILE_VERSION=yes -- for families that patch their kernel's Makefile version; in that case only SHA1 is present in version
- better to withold the info, than to offer wrong info
- eg: `odroidxu4`/`current`
2023-03-17 08:32:11 +01:00
Ricardo Pardini
ff657fcf90 artifacts (all): require prefixing of artifact_version with artifact_prefix_version (which is ${REVISION}--) 2023-03-17 08:32:11 +01:00
Ricardo Pardini
4a1eec83e7 rockchip-rk3588: edge: fix, I messed up move from 6.2-rc7 to 6.2.y 🤦 2023-03-17 08:32:11 +01:00
Ricardo Pardini
032025877c kinetic: desktop: browsers appgroup: remove firefox-esr -- thanks, Ubuntu :-( 2023-03-17 08:32:11 +01:00
Ricardo Pardini
9931350483 docker: fix: pass down OCI_TARGET_BASE to Docker instance automatically 2023-03-17 08:32:11 +01:00
Ricardo Pardini
736fe7ecf4 don't use "bright black" ANSI for logging unless we're running under a known-good terminal (eg, iTerm2)
- giving up on the "bright black" == "gray" thing. There's enough bad default themes out there, and not the first time people (rightfully) complained...
2023-03-17 08:32:11 +01:00
CXM
36de9b7d08
chore: add star history in README.md (#4851)
* chore: add star history in README.md

* Improve project structure list and put it behind collapsable object

---------

Co-authored-by: Igor <igor@armbian.com>
2023-03-15 16:23:54 +01:00
Igor Pečovnik
1fcdf63c4e
Look only for bash shebang (#4928)
* Look only for bash shebang

We have some Python scripts now so we need to move that out

* Extend script to cover ignored files and use internal tool for checking the rest

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

---------

Signed-off-by: Igor <igor@armbian.com>
2023-03-15 16:22:14 +01:00
Jianfeng Liu
ff38c51de7
add ca-certificates to debootstrap (#4949)
* add ca-certificates to debootstrap

* Remove ca-certificates from main as its present in deboostrap anyway

---------

Co-authored-by: Igor <igor@armbian.com>
2023-03-15 16:21:31 +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
5b8d86ae5f
Enable kernel Ion system for running Android (#4948)
Signed-off-by: Zhang Rui <rui.crater@gmail.com>
2023-03-14 08:47:01 +01:00
Ricardo Pardini
58f46aa5ed
meson64: edge: 6.2: fixes & rebase & naming convention, after #4941 (#4942)
* meson64: edge: drop upstreamed patches (odroidhc4 cooling map + radxa zero otg fix)

* meson64: edge: v6.2.y: adapt Neil's new BPI-CM4 patches to Armbian naming non-convention (for ordering)

* meson64: edge: v6.2.y: fix patches sensitive to patching order (amlogic.yaml, DT Makefile)

* meson64: edge: rebase against v6.2.5, no actual changes
2023-03-13 23:21:20 +01:00
Igor Pečovnik
669d00a6ab
Repository was removed. Lets pin to new one with new commit id. (#4944)
Signed-off-by: Igor <igor@armbian.com>
2023-03-13 21:38:29 +01: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
9972a64266 Add fonts-noto-color-emoji for terminal Emoji support 2023-03-13 17:23:51 -03:00
Igor Pečovnik
63e44afc95
Add few essential packages back to the minimal image (#4945)
Signed-off-by: Igor <igor@armbian.com>
2023-03-13 20:05:28 +01:00
Neil Armstrong
7fea781425 Add support for BPI-CM4 with BPI-CM4IO
Add support for both the BananaPi BPI-CM4 module and the BananaPi
baseboard which is compatible with the RaspberryPi CM4IO baseboard.

The BananaPi BPI-CM4 module follows the CM4 specifications at [1],
but with a single HDMI port and a single DSI output.

The current CM4IO baseboard DT should work fine on the Raspberry CM4
baseboard and other derivatives baseboards, but proper DT should
be written for other baseboards.

The DT is imported from the submission done at [2] and applied
at [3], the u-boot support was submitted at [4].

[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
[2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org/
[3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0
[4] https://lore.kernel.org/all/20230307-u-boot-cm4-v1-0-43f5a393cd37@linaro.org/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-03-13 13:55:15 -03:00
Jianfeng Liu
d3c036be10
toggle rk3588 new legacy kernel (#4888)
* toggle rk3588 new legacy kernel

* enable additional drivers from radxa

* change R8125 builtin

* fix orangepi5 uboot build target
2023-03-12 22:42:04 +01:00
Ricardo Pardini
ee11f5dbd9 chroot_sdcard_apt_get: don't use -qq for all apt operations on chroot if SHOW_DEBUG=yes (or DEBUG=yes)
- helps debugging crazy upgrades happening due to @rpardini's stupid `Version: ` insanity
2023-03-12 18:40:20 -03:00
Heisath
46ae5155c5
Correctly create a new mvebu-6.2 patch folder, update symlink, update/fix patches for mvebu-edge 2023-03-12 22:30:56 +01:00
Jianfeng Liu
9405302871
add fonts-noto-cjk to desktop package list (#4937) 2023-03-12 11:24:22 +01:00
TheLinuxBug
bc62c8cd42
Update export-logs.sh to use primary Armbian paste server (#4936)
Changing export-logs.sh script from posting to armbian.next.armbian.com to posting to the primary paste server which has now been upgraded at paste.armbian.com.
2023-03-11 22:03:40 +01:00
Igor Pečovnik
acf5810cbe
Move Rpi kernels to 6.2, move current to legacy (#4898)
* Update Rpi4 kernels, configs and adjust broken patches

* Re-enable legacy in sources and board config
2023-03-11 19:19:13 +01:00
Jianfeng Liu
f8a272faa4
fix rockchip64 6.1 patches (#4917)
* fix rockchip64 6.1 patches

* remove LINUXFAMILY rk35xx for rk35xx edge
2023-03-11 18:31:52 +01:00
Derek LaHousse
3314bc9d66 update u-boot to 2023.01 for espressobin 2023-03-11 13:22:54 -03:00
Paolo
fd022527f3
sunxi, media: Realtek rtl8723cs driver consolidation (step 2) (#4924)
* sunxi: remove rtl8723cs patches from sunxi-edge (6.2)
 * adjust minor pinephone patch
* media: remove rtl8723cs patches from media-edge
* media: remove rtl8723cs patches from media-current (6.1)
* sunxi: reinstate rtl8723cs patches for sunxi-6.1 and disable them
* sunxi: reinstate rtl8723cs patches for 6.2 and disable them
2023-03-10 19:15:10 +01:00
Ricardo Pardini
17023a2336 mvebu64: force inclusion of gcc-arm-linux-gnueabi 32-bit C compiler for mvebu64 non-Docker compile 2023-03-10 10:49:45 -03:00