hzy
809b8cda9f
Copy instand of move the boot files for symbolic-unsupported /boot filesystem
...
Just for keeping them
2023-05-28 23:37:12 +08:00
hzy
ad81c77110
Not to remove files under /boot when install kernel.
...
`System.map-*`, `config-*` and `vmlinuz-*` will be removed by apt.
`$image_name` or `uImage` will be overrided by `postinst` script.
So we don't need to do any clean in here.
Revert "remove files in /boot at preinst when bootfs is vfat (#4886 )"
This reverts commit 6c758e68b4 .
2023-05-28 23:37:12 +08:00
hzy
1c9ec236bd
Only remove the special uInitrd when remove kernel
...
`initrd.img-${version}` will be remove by command `update-initramfs -d -k "${version}"`,
so we don't need to care about it.
2023-05-28 23:37:12 +08:00
Igor
d147e5a9a7
Bump version
2023-05-27 21:30:17 +02:00
Igor
a615a66468
Enable riscv64 arch for i3
...
Signed-off-by: Igor <igor@armbian.com >
2023-05-27 12:15:17 +02:00
Igor
6af50cfcdd
Set stable version
...
Signed-off-by: Igor <igor@armbian.com >
2023-05-27 12:15:17 +02:00
Ricardo Pardini
8f6b7fb370
bananapim5/bananapim2s: point BOOTPATCHDIR directly to board folder, as to escape the patch in the parent folder
2023-05-27 12:15:04 +02:00
boyi
ce002b2240
bananapim5/bananapim2s: adding patches to boards for nvme/scsi, but not USB
2023-05-27 12:15:04 +02:00
Igor
a581e7044f
Enable T6 build config
2023-05-27 11:00:53 +02:00
Vyacheslav Bocharov
672bd5393a
Revert "BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support"
...
This reverts commit 3f169bcae2 .
2023-05-26 14:07:04 +02:00
Igor
0449601213
Disable wireless driver for d1 legacy kernel as it breaks compilation
...
Target is not supported
2023-05-26 09:26:24 +02:00
Patrick Yavitz
3f169bcae2
BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support
...
Additional driver support:
Realtek 8822BS SDIO wireless network adapter
Realtek 8822BU USB wireless network adapter
Realtek 8822CS SDIO wireless network adapter
Realtek 8822CU USB wireless network adapter
Realtek 8821CS SDIO wireless network adapter
Realtek 8821CU USB wireless network adapter
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com >
2023-05-26 07:37:28 +02:00
Igor
88e5af7b3c
Change Khadas Edge 2 board status
2023-05-26 07:35:29 +02:00
Ricardo Pardini
9d90dcd3d4
drivers_network: uwe5622: park-link-v6.2-only.patch only for 6.2.y
2023-05-26 07:35:05 +02:00
Ricardo Pardini
930e363990
starfive/edge: bump 6.1.23 to 6.1.y; rebase to v6.1.30; hammer dma,pwm patches; update .config
2023-05-26 07:25:29 +02:00
amazingfate
f76dc54932
use step_wise as the default thermal governor for rockchip-rk3588 legacy
2023-05-26 07:24:28 +02:00
AGM1968
e08645740b
arm64-dts-allwinner-h616-Add-efuse_xlate-cpu-frequency-scaling-v1_6_2
2023-05-26 07:22:51 +02:00
amazingfate
798b518f1b
update rk35xx-legacy to 5.10 rkr4
2023-05-26 10:25:17 +08:00
Ricardo Pardini
c825966857
pipeline: targets-compositor: force variable BETA the same for all targets, reading from param/env passed to prepare/gha-matrix step
...
- this way it's consistent across all artifacts and images
- debs-to-repo-download: fix: use DEB_STORAGE instead of hardcoding output/debs (so BETA=yes works)
also:
- fix `Duplicate oci_target` message in mapper-oci-uptodate
2023-05-25 19:30:40 +02:00
Ricardo Pardini
31131fe14e
bsp-cli/BETA: fixes for bsp-cli bootscript hashing; don't normalize bootscript vars; debugging for BETA=yes/no stuff
...
also:
- get rid of comments and `SUBREVISION` and `RC` variables
- better debugging in calculate_hash_for_variables() do_normalize_src_path=yes/no
- tag a few places where output/debs might wrong in face of BETA=yes/no
2023-05-25 19:30:40 +02:00
amazingfate
316c4117dd
update kernel of rockchip-rk3588 legacy to rkr4
2023-05-25 14:04:26 +08:00
Igor
cb8b309a91
Disable rtl8723cs for bcm2711 family as its currently broken and as its not needed there anyway
2023-05-25 06:21:11 +02:00
Igor
84a458b861
Reenable wifi
2023-05-25 06:19:21 +02:00
Igor
a710553138
Temporally disable broken wireless / bluetooth driver from patch/misc/wireless-rtl8723cs/
...
@paolosabatino
Also bump Allwinner
2023-05-25 06:19:21 +02:00
Ricardo Pardini
10855677e5
rockchip64/edge 6.3.y: fix broadcom bt serdev hack for 6.3.4
2023-05-25 05:09:49 +02:00
Ricardo Pardini
38bda3ac57
drivers_network: wireless-driver-for-uwe5622-park-link-v6.1-post: fix for 6.1.30
2023-05-25 05:09:49 +02:00
Ricardo Pardini
848f176a52
rockchip64/current 6.1.y: fix broadcom bt serdev hack for 6.1.30
2023-05-25 05:09:49 +02:00
Ricardo Pardini
e1e3e3c02c
drivers_network: rtl8723cs bt: disable landed patches in 6.1.30/6.3.4; keep for 6.2, which is EOL
2023-05-25 05:09:49 +02:00
Paolo Sabatino
bff4dfee52
fix rk322x and rockchip 32bit patches for kernel 6.1
2023-05-25 00:48:38 +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
Ricardo Pardini
97362fd408
artifacts (all): implement DONT_BUILD_ARTIFACTS=any (so we don't need to list them all for CI image builds)
2023-05-24 19:24:01 +02:00
Ricardo Pardini
0a5740040e
rootfs-to-image: find, warn, and remove dangling symlinks in FAT32 /boot
2023-05-24 19:23:37 +02:00
Ricardo Pardini
15fcc0bb00
artifacts: introduce calculate_hash_for_variables() which normalizes the input; use in kernel/uboot/etc
...
- some hashed variables might contain "${SRC}", so hashes never match, unless built in Docker
- this strips away SRC from all vars and adds debugging so we can detect more later.
- `artifact-uboot`: include more variables into hash, for ATF & rk stuff
- `artifact-armbian-desktop`:
- hashed vars actually contain /armbian in different context, skip normalization in this case
- include results of relevant aggregation into artifact_input_variables
- otherwise: desktops with different appgroups/configs lead to build failures in pipeline
- will cause warnings in JSON preparation step, if more than one appgroups/config combo is targeted, since repo can only have one
2023-05-24 19:23:08 +02:00
Ricardo Pardini
940d0e740c
image: sanity check: warn if any deb artifacts' actually-installed version does not match artifact-built version
...
- this catches problems with outdated/crazy repos, customize doing stupid things, wrong pinning, etc
2023-05-24 19:22:51 +02:00
Ricardo Pardini
14a3ec01d0
khadas-edge2: switch to rockchip-rk3588 legacy kernel; add bluetooth-hciattach for working bluetooth
...
- most of the work done by @monkaBlyat
2023-05-24 19:22:22 +02:00
Ricardo Pardini
5f458c9183
mekotronics (all boards): use new bluetooth-hciattach extension
2023-05-24 19:22:22 +02:00
Ricardo Pardini
a9cc0620ec
bluetooth-hciattach: new generic extension to facilitate adding hciattach systemd service, given the correct params
2023-05-24 19:22:22 +02:00
schwar3kat
7036b0492b
Orangepi-r1plus-lts-fix-NIC-logical-names
2023-05-24 19:21:56 +02:00
Ricardo Pardini
0cf457b2ef
kernel: drivers: wireless-rtl8723du-6.3.patch: don't patch the same thing twice
2023-05-24 19:21:42 +02:00
Ricardo Pardini
93263c4719
rockchip64/edge 6.3.y: update .config - no actual changes
2023-05-24 19:21:31 +02:00
Ricardo Pardini
1cdab8b1cf
rockchip64/edge 6.3.y: rebase against v6.3.3, do archeology for missing mbox'es
2023-05-24 19:21:31 +02:00
Ricardo Pardini
fde9ca206e
rockchip64/edge 6.3.y: manually fix Radxa E25/CM3 patches
2023-05-24 19:21:31 +02:00
Ricardo Pardini
5200172a37
rock-5a: add support for Rock-5A, WiP, using rockchip-rk3588 - by @amazingfate
2023-05-24 19:21:20 +02:00
Ricardo Pardini
fa21a75d00
rockchip64/current 6.1.y: fix broken Radxa E25 patch from #5165
...
- drop the common dtsi changes
2023-05-24 19:21:09 +02:00
Ricardo Pardini
52710b3363
git/docker: bsp-cli: fix BUILD_REPOSITORY_URL and BUILD_REPOSITORY_COMMIT under Docker; fixes AR-1750
2023-05-24 19:20:57 +02:00
Ricardo Pardini
03810833ef
sunxi 6.1 and 6.2: disable broken ov5640 patches (some kind of camera?)
...
- most of those were already disabled on 6.2, now some more patches on top also broke.
- it works up to 6.1.15, but 6.1.16 broke it; `megi`'s tree is still sitting at 6.1.12.
2023-05-24 19:20:48 +02:00
Igor
8ebe1b9112
Forgot to change execution bit to postinst script
2023-05-23 17:14: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
Ricardo Pardini
7d72d18bb0
git-ref2info: source.denx.de is a GitLab instance, add it to the selector; fixes #5168
2023-05-23 16:34:40 +02:00
Ricardo Pardini
b8bea3edb9
rockchip-rk3588-legacy: switch to 48-bit virtual address; enable more eBPF/net stuff
...
- enable more eBPF/net stuff for Cilium
- switch to 48-bit virtual addresses, so we're tcmalloc compatible
- see https://github.com/cilium/cilium/issues/17467
- see https://github.com/envoyproxy/envoy/issues/15235#issuecomment-850516622
2023-05-23 16:34:18 +02:00
Ricardo Pardini
10a0a3e454
rpi4b/bcm2711: introduce RPI_DEBUG_CONSOLE=yes which at once disables bt, enables uart, and adds ttyAMA0
2023-05-23 16:33:59 +02:00
Muhammed Efe Çetin
214cafb264
Enable INNOLUX_AFJ101_BA2131 panel on rk3588 legacy kernel
2023-05-23 16:33:42 +02:00
Igor
bf30e06358
Remove motd spam after installing fake ubuntu advantage tools
2023-05-23 16:33:25 +02:00
Paolo Sabatino
59363d5a0f
rk3399: fix again OrangePi 4 LTS sdcard detection
2023-05-21 19:29:28 +02:00
Igor
526070d866
Remove /etc/legal from conf_files to prevent prompt at upgrade
...
Signed-off-by: Igor <igor@armbian.com >
2023-05-21 17:06:54 +02:00
Ricardo Pardini
6acf58bcb8
armbian-zsh: use fixed commit for ohmyzsh; was using very high traffic 'master' branch
...
- upstream has no branches, no tags, only way to quiesce this is via `commit:<sha1>`
2023-05-21 16:18:57 +02:00
Ricardo Pardini
30eb5323f2
prepare-host: refactor disk space check; test "${DEST}" and "${SRC}/cache", no longer "${SRC}"
2023-05-21 16:18:35 +02:00
Ricardo Pardini
89a7cc971b
grub: fixes for wallpaper / gfxmode / submenu /etc
...
- Debian working
- Ubuntu's grub needs more work
2023-05-21 16:18:20 +02:00
amazingfate
ea952814d1
change radxa uboot branch to next-dev
2023-05-21 14:01:21 +02:00
Ricardo Pardini
09e82fe25e
meson64-edge (6.2.y): rebase & update .config to 6.2.16 (EOL); pick chewitt (add t95z+fixes); rework SPI-NOR dtbs
...
- `meson64`-`edge` (6.2.y): drop old/unused/pre-armbian-next builddeb patch that was leftover
- `meson64`-`edge` (6.2.y): pick & squash from chewitt's tree; new t95z board and its tm1628 driver, fixes for odroidc2, vim3, gxl/gxm SDIO
- `meson64`-`edge` (6.2.y): reword the `-spi` extra DTBs for the N2(+) into more generic for g12; add VIM3/VIM3L which also have same SPI NOR scheme
- `meson64`-`edge` (6.2.y): update .config to 6.2.16; enable `CONFIG_TM1628`
- `meson64`-`edge` (6.2.y): rebase to 6.2.16 after picking chewitt
2023-05-21 14:01:11 +02:00
Ricardo Pardini
7fa05a9b69
utils-dpkgdeb: fix wrong DEBIAN/md5sums generation
...
- remove the prefix, otherwise a temporary path is included
- don't include DEBIAN/* files themselves
2023-05-21 14:00:15 +02:00
Ricardo Pardini
2e570b9473
initrd: when cache hit, don't preserve perms during deploy, otherwise FAT32 /boot gags
2023-05-21 13:59:26 +02:00
Ricardo Pardini
eb4320f424
odroidm1 / rk3568-odroid: recover overlays from 6.1; update .config; fix patch dir name
2023-05-21 13:58:31 +02:00
Patrick Yavitz
e2791ef1b9
config: boards: bananapicm4io.conf
...
Added "current" to the KERNEL_TARGET variable.
KERNEL_TARGET="current,edge"
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com >
2023-05-21 11:11:25 +02:00
Patrick Yavitz
80e4d37315
patch: kernel: meson64-6.1: add-board-bananapi-cm4-cm4io
...
Backport: BPI-CM4 CM4IO dts/dtsi
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com >
2023-05-21 11:11:25 +02:00
Igor
a3e79a8d7b
Disable debugging on packages install
2023-05-21 11:11:18 +02:00
Igor
e67215bd6a
URL for riscv64 is different then expected
...
https://deb.debian.org/debian-ports/pool -> pool-riscv64
2023-05-21 11:11:07 +02:00
Alan
8eeb9379d1
Move rtl8189-disable-debug patch from kernel to misc(drivers_network.sh)
2023-05-19 23:35:49 +02:00
amazingfate
afa8775f3e
delete upstream merged patches of rk35xx-5.10
2023-05-19 23:34:49 +02:00
Igor
f1836416d2
Bump sunxi to latest
2023-05-18 22:24:35 +02:00
Igor
46c20606e3
In case we are removing files we need to remove the from conffiles too
2023-05-18 21:44:05 +02:00
Igor
fae54d84ca
Change remaining variables of base-files
2023-05-18 20:49:06 +02:00
Ricardo Pardini
1fd5d519d4
introduce armbian-base-files artifact, which downloads & repacks base-files from upstream distro
...
- bsp-cli: now depends on `base-files (>= ${REVISION})`, this way upgrading the bsp-cli causes our base-files to be installed
- bsp-cli no longer does gymnastics with /etc/os-release et al, all done in armbian-base-files now
- general/apt-utils.sh: introduce `apt_find_upstream_package_version_and_download_url()`
- base-files: add release to version, in order to comply with repo restrictions (valid repos can't have two different debs with same name and version, md5 must match)
2023-05-18 20:49:06 +02:00
igorpecovnik
c7fc14a7b8
Remove deprecated patches ( #5187 )
2023-05-18 19:52:36 +02:00
Julian Sikorski
5b3aba795b
Update odroidxu4-current to 5.4.243 ( #5191 )
2023-05-18 19:52:16 +02:00
igorpecovnik
d3c2eaf308
armhf also supports i3wm desktop ( #5190 )
2023-05-18 19:48:33 +02:00
Tomáš Mozdřeň
65dd6f8aa6
AR-1708 - Improve i3-wm support ( #5188 )
2023-05-18 13:09:52 +02:00
Jianfeng Liu
97983de408
clean patches for rockchip-rk3588-legacy ( #5189 )
2023-05-18 11:38:27 +02:00
Ricardo Pardini
e2f32c53f8
export-logs: add GHA output for logs_url (when SHARE_LOG=yes)
2023-05-17 18:06:21 +02:00
krachlatte
45c8587861
Improve SD card compatibility on Radxa E25 ( #5165 )
2023-05-17 00:55:30 +02:00
Ricardo Pardini
e3a4060595
github-actions: more logging for GHA actions outputs
2023-05-16 20:09:47 +02:00
Ricardo Pardini
27a021d193
oci-oras: retry harder, and sleep for more time, if push failed
2023-05-16 20:09:47 +02:00
Ricardo Pardini
f26a41ff6c
rootfs/image: introduce new hook custom_apt_repo() (hashed into rootfs version); deploy different repo components/custom repos depending on rootfs or image
...
- rationale: we don't want an eternal chicken-egg problem with rootfs vs repo.
- but, desktop rootfs require some parts of repo. case in point: `system-monitoring-center`
- so only add certain components of repo (-desktop, -utils) to rootfs so that is honored
- introduce `custom_apt_repo()` hook for extensions to add their repos as well
- same chicken-egg-avoiding is possible via param `CUSTOM_REPO_WHEN`
2023-05-16 20:09:47 +02:00
Ricardo Pardini
9943e9ee66
artifacts(debs): include DEBIAN/md5sums and a correct Installed-Size: field in DEBIAN/control (for _all_ debs)
2023-05-16 20:09:47 +02:00
Ricardo Pardini
b456554610
artifacts(debs): rationalize "bash hash" creation with new calculate_hash_for_bash_deb_artifact() helper
2023-05-16 20:09:47 +02:00
Ricardo Pardini
eff56a7909
pipeline: debs-to-repo (v7, working with reprepro)
...
- pipeline: artifacts: use better description for artifacts (artifact_name+artifact_version instead of artifact_final_file_basename)
2023-05-16 20:09:47 +02:00
Ricardo Pardini
52fffdda75
kernel-debs: include "Priority: optional" in all kernel debs (all other packages have it...)
...
- also for `fake_ubuntu_advantage_tools`
- also include "Section: " missing for advantage
2023-05-16 20:09:47 +02:00
Ricardo Pardini
807be60c6b
artifacts-obtain: deb-tar: don't download .tar again if .debs are in-disk; delete .tar after extracting
2023-05-16 20:09:47 +02:00
Ricardo Pardini
ca46f86dec
artifacts: download-artifact CLI. makes sure to only used local .deb, or download from OCI, never build
2023-05-16 20:09:47 +02:00
Ricardo Pardini
1fa54e030d
artifacts: include the artifact maps info (debs/packages) both as keys and values in the artifact JSON info
...
- this is valuable for the debs-to-repo process; we can now know which exact .debs are produced, and all the ways we can refer to them
2023-05-16 20:09:47 +02:00
Ricardo Pardini
234232085d
docker: remove dead code
2023-05-16 20:09:47 +02:00
tdleiyao
211ce5ede5
rockchip-rk3566:add new board Panther X2
2023-05-16 19:50:14 +02:00
Igor
f1ab301d38
Bump Allwinner and update associated kernel configs
2023-05-16 19:48:13 +02:00
Igor
de226c1a9a
Enable "current" kernel branch for Rock3A
...
Signed-off-by: Igor <igor@armbian.com >
2023-05-16 19:00:02 +02:00
Ricardo Pardini
88cc3a061f
drivers: uwe5622 for 6.3.y, by @paolosabatino
2023-05-16 08:55:33 +02:00
Ricardo Pardini
906ca66430
rockchip64/edge/6.3: rebase/rewrite patches against v6.3.1; do archeology for mbox-less patches; materialize overwrites
...
- materialized overwrites:
- `add-board-helios64.patch`
- `add-board-orangepi-r1-plus.patch`
- `add-driver-for-Motorcomm-YT85xx+PHYs.patch`
- `add-board-rk3328-roc-pc.patch`
- not touched: wifi patches, those still require work before rebase is consistent.
- `wifi-4003-uwe5622-adjust-for-rockchip.patch`
- this patch is done on top of the wifi drivers patches exclusively, and fails to apply out of tree.
- we should probably consider moving this into the wifi drivers patch harness, not in the rockchip tree.
2023-05-16 08:55:33 +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
Ricardo Pardini
78700cf139
logging/retries: curb CI/GHA warning emitted _for each retry_
2023-05-15 17:43:25 +02:00
Ricardo Pardini
c351936cb0
binfmts: hide output when loading qemu-arm under aarch64 (some are native, some are emulated, all are good, errors can be ignored)
2023-05-15 17:43:25 +02:00
Ricardo Pardini
1f26121528
logging/rockchip64_common: curb warning about BOOT_SOC vs BOOTCONFIG if BOOTCONFIG is empty or 'none'
...
- we've enough warnings already
2023-05-15 17:43:25 +02:00
Ricardo Pardini
ceea84ff28
logging: curb warning that always came up when SRC_EXTLINUX=yes
...
- SRC_EXTLINUX is quite prevalent, no use warning, it was more a debugging marker
2023-05-15 17:43:25 +02:00
Ricardo Pardini
f0f9159faa
logging: curb CI/GHA special errors for cascading errors during build failure
...
- otherwise we get 4 errors for each "error" in CI
- one for the real error
- one for "wait for cleanups"
- one for "Docker build failed"
- one from GHA itself since command failed (we can't get rid of this)
2023-05-15 17:43:25 +02:00
Ricardo Pardini
25929ea6ac
apt_purge_unneeded_packages_and_clean_apt_caches(): count files, don't use du: avoid WARNs when not needed; tolerate 1 file
...
- 'lock' might or not be there, tolerate 1 file (not 0)
2023-05-15 17:43:25 +02:00
Ricardo Pardini
99e065381a
squash more warnings:
...
- `odroidxu4`'s firmware hook for vendor kernel. such is life, no use warning.
- `sun50iw9`: vendor kernel with extension, proven working, stop warning
- old kernels don't have working headers, it's a fact of life, remove warning
2023-05-15 17:43:25 +02:00
Ricardo Pardini
7025418c8b
mt7623: remove packages/extras-buildpkgs/mmc-utils/debian/rules install that does not exist anymore (fixes bananapir2)
...
- remove ancient `family_tweaks` completely
2023-05-15 17:43:25 +02:00
Ricardo Pardini
d164f6850b
rootfs/aggregation/helios64: fix: include PACKAGE_LIST_BOARD_REMOVE (and FAMILY version) into rootfs' artifact_input_variables
...
- `PACKAGE_LIST_BOARD_REMOVE` is used only in `helios64` board
- the fact is `PACKAGE_LIST_BOARD_REMOVE` removes the packages _from the rootfs_ and not _from the image_
- this only accounts for that fact, but in the future we should actually change how this works
2023-05-15 17:43:25 +02:00
Igor
35d5ae75ff
Add to EDGE to and enable EDGE kernel in board config
...
Tested for building.
2023-05-15 17:33:03 +02:00
Bochun Bai
9c4f0524e0
add dts patch for kernel 6.1
2023-05-15 17:33:03 +02:00
Bochun Bai
3cb92f6204
add support for NanoPi R4SE
2023-05-15 17:33:03 +02:00
amazingfate
df3c7eb461
use the same patch dir for u-boot from radxa
2023-05-15 17:12:20 +02:00
Igor
8ac568102e
Switch Rockchip CURRENT to 6.1.y
2023-05-15 17:12:06 +02:00
Igor
615c7c3e71
Update boot loader on Orangepipluse 2e
...
Current is a bit unstable, so this can't hurt. Survived several reboots.
2023-05-14 21:29:33 +02:00
Ricardo Pardini
295f95d9f6
rpi4b/legacy: update legacy 5.15 kernel config, no changes
2023-05-14 21:28:58 +02:00
Igor
66c2e769ae
Update. Now both boots
2023-05-14 21:28:58 +02:00
Igor
215e3ebd27
Update edge too
2023-05-14 21:28:58 +02:00
Igor
f0236e98f6
Update RPI4 kernel config
2023-05-14 21:28:58 +02:00
Werner
7c24318a28
Create sun8i-v3s.txt
2023-05-09 10:05:58 +02:00
Werner
e62f03dd10
Update sun8i-v3s.conf
2023-05-09 10:05:58 +02:00
hzyitc
76378d313b
ISSUE_TEMPLATE: bugreport: Require log URL instand of some parts
...
The full log make debug easier.
2023-05-09 10:05:46 +02:00
Pander
11c967322d
installer prompt fix
2023-05-09 10:05:23 +02:00
Ricardo Pardini
e49d91ec40
popular demand: bring back KERNEL_CONFIGURE=yes *during image build*
...
- partially revert 6ef394d95d (thus bring back the TUI/dialog for selecting KERNEL_CONFIGURE=yes/no)
- partially revert d890b418c7 (thus bring back the capacity to config & build image in one go)
- stop after configuring kernel, but only if command is `kernel-config`, not regular image-build KERNEL_CONFIGURE=yes
2023-05-09 10:05:09 +02:00
Ricardo Pardini
83e35b1473
binfmts: don't raise warning if qemu-arm failed to load under aarch64 (some are native, some are emulated, all are good)
...
- reported by @igorpecovnik on Discord, during massive CI build, when armhf builds landed on arm64 builders
2023-05-09 10:04:57 +02:00
Ricardo Pardini
8f14f33f78
logging: squash undue warnings rootfs/aptcache
...
- rootfs is built with BOARD= so just live with it (idea about this warn was that families might hook rootfs build process)
- count, instead of du, apt caches. seems some empty dirs are reported as "1Mb" by du?
2023-05-09 10:04:57 +02:00
Ricardo Pardini
5316c6685b
host-utils: more logging for when junk is found in image apt caches
2023-05-09 10:04:57 +02:00
Ricardo Pardini
b18cd8aaf4
logging: curb some warnings into info's
2023-05-09 10:04:57 +02:00
Ricardo Pardini
ab696d0776
rootfs: bump non-desktop tmpfs_estimated_size from 2000mb to 2300mb (determined empirically, after building all images)
2023-05-09 10:04:57 +02:00
Ricardo Pardini
b7c659c0a9
pipeline: gha: fix IMAGES_ONLY_OUTDATED_ARTIFACTS and SKIP_IMAGES by exporting them so Python can see; tune logging
2023-05-09 10:04:57 +02:00
Ricardo Pardini
637c4fec01
include (clean/real) apt lists in built images; update xapian index during image build, not rootfs; don't leave junk in the rootfs cache
...
- revert #5139 Revert "Apt lists is needed for synpatic index generation"
This reverts commit 63e9bd3baa
- this actually only left junk in rootfs cache for the future to find
2023-05-09 10:04:50 +02:00
Igor
3b6598c3c2
Enable BOOT_SCENARIO="tpl-spl-blob" also on Kedge
2023-05-09 10:04:41 +02:00
Paolo Sabatino
5342449e6b
rk322x: add emmc and sdmmc pwrseq
2023-05-08 11:30:19 +02:00
Paolo Sabatino
3b3e3405bc
rk3399: minor rework of patches triggering warnings
2023-05-08 11:21:55 +02:00
Ricardo Pardini
a872fe8773
config-prepare: config_pre_main(): try to be more helpful when BRANCH is unset or wrong instead of just "bad KERNEL_MAJOR_MINOR"
2023-05-08 11:21:47 +02:00
Ricardo Pardini
6d3364673a
rockchip64_common.inc: fix escaping for test in subshell
...
- this emits errors early if BRANCH is not set
2023-05-08 11:21:47 +02:00
amazingfate
495d35be49
fix unidiff warning from patches of rockchip64-6.3
2023-05-06 12:55:10 +02:00
amazingfate
85bab47bba
bump rockchip64 edge to v6.3
2023-05-06 12:55:10 +02:00
amazingfate
0b5dc0c921
fix uwe5622 for kernel v6.3
2023-05-06 12:55:10 +02:00
Igor
5ce81c6bb8
Fix rockpi-n10 and station-p1 uboot spi image creating
2023-05-06 10:54:55 +02:00
Igor
63e9bd3baa
Apt lists is needed for synpatic index generation
2023-05-05 19:37:19 +02:00
amazingfate
8a6d76831a
fix rock4 boards uboot spi image creating
2023-05-05 19:36:47 +02:00
Igor
fb328bf4da
Move RISCV uefi status to WIP as this is closer to reality
2023-05-05 16:41:52 +02:00
Igor
e62ae0fcd0
Enable SECCOMP on Visionfive2 kernel config
...
This will fix chrony
https://forum.armbian.com/topic/28142-visionfive-2-chrony-doesnt-run-kernel-missing-seccomp
2023-05-05 12:34:52 +02:00
Michał Dziekoński
7167d5c420
sunxi-6.2 h616: Fix thermal zones (add missing trips)
2023-05-05 12:27:14 +02:00
Michał Dziekoński
613234a75c
sunxi-6.1 h616: Fix thermal zones (add missing trips)
2023-05-05 12:27:14 +02:00
Julian Sikorski
f543927a46
Update odroidxu4-current to 5.4.242
2023-05-05 12:26:58 +02:00
amazingfate
5dee9ee935
remove twice declared uboot make targets for rkspi image
2023-05-05 12:25:07 +02:00
amazingfate
cf35a151b3
disable spi flash support on radxa e25
2023-05-05 12:24:51 +02:00
igorpecovnik
730c34f677
Updating text
2023-05-05 12:24:19 +02:00
hzy
2e41d350e8
meson: edge: bump to linux-6.3.y
2023-05-05 12:23:46 +02:00
Igor
97be075d56
Limit execution to main branch only
2023-05-04 16:44:44 +02:00
Ricardo Pardini
de8bbcec11
pipeline: correctly quote params passed over pure strings (eg in the GHA JSON matrixes) so values with spaces are not mangled
2023-05-04 16:08:11 +02:00
Ricardo Pardini
1b36bb63d7
bash_declare_parser: parse space-separated single-quoted array values correctly ('THIS=has space' is a single token, not two)
2023-05-04 16:08:11 +02:00
Ricardo Pardini
875960ddb7
aggregation: armbian_utils.parse_env_for_tokens() now actually does what it said on the box "split by whitespace, line breaks, commas, and semicolons"; add appgroups summary
2023-05-04 16:08:11 +02:00
Ricardo Pardini
1ad9f7cbd2
artifact-rootfs: add desktop info (environment, config_name, appgrous) to artifact_version_reason (so we can debug when I mess up later)
2023-05-04 16:08:11 +02:00
Ricardo Pardini
7c0fb70a2b
configdump: alias config-dump, config-dump-json and new config-dump-no-json (bash declare format)
2023-05-04 16:08:11 +02:00
Ricardo Pardini
0ff694cfbd
produce_repeat_args_array: @mhoffrog was right, we need to quote repeat params; (here I'm being stubborn and only quoting the ones that have spaces in them)
2023-05-04 16:08:11 +02:00
Pander
9ed24a6e86
extension fake-vcgencmd
2023-05-03 15:10:18 +02:00
Ricardo Pardini
ad05ef1d6c
de-EOS prematurely-EOS'ed boards (I hope)
2023-05-03 15:09:56 +02:00
Ricardo Pardini
73e9c89807
docker: fix: always mount .docker/config.json if it exists (in GHA)
2023-05-03 15:09:56 +02:00
Ricardo Pardini
6ef394d95d
kernel: get better rid of KERNEL_CONFIGURE, remove UI asking for it, it's now a separate command kernel-config and wouldn't work anyway
2023-05-03 15:09:56 +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
AGM1968
250a9c2cc0
h616 Cpu frequency scaling ( #5123 )
...
* Add-h616-efuse_xlate-cpu-freq-scaling
* series_additions_h616-cpu-freq-scaling
* series_armbian_changes_h616-cpu-freq-scaling
---------
Co-authored-by: AGM1968 <AGM1968@users.noreply.githib.com >
2023-05-03 09:35:53 +02:00
Ricardo Pardini
724a67d3e5
pipeline: cli: add proper gha- prefix to CLI commands that have something to do with GitHub Actions (thus gha-matrix now, and the new gha-template)
...
- stop at the correct places for `inventory` and `targets` non-GHA-specific commands
- handle `gha-template` first (and return), since it does not really depend on any info/targets/etc
- batcat the output for show-off
2023-05-03 07:49:53 +02:00
Ricardo Pardini
23a2b34847
pipeline: add output-gha-workflow-template.py utility, for rendering GHA workflow YAML templates with chunks
...
- python-tools: add Jinja2. Incredible how we made it this far without it.
- output-gha-workflow-template: a double-templater, first runs jinja with a custom syntax, then "moar magic" to be useful for GHA
2023-05-03 07:49:53 +02:00
Ricardo Pardini
0aac5a4945
pipeline: targets-compositor: whole target can be enabled: no to quickly disable it (as if it wasn't there)
2023-05-03 07:49:53 +02:00
Ricardo Pardini
46cd0a2cfc
pipeline: output-gha-matrix: directly GHA-output images-chunk-json-2, images-chunk-not-empty-2, images-chunk-size-2 and artifacts-xxx with no fake entry
...
- as alternative to the full output, this allows us to skip chunkjobs when they're empty, and hopefully makes GHA-JSON-parsing 10x faster
2023-05-03 07:49:53 +02:00
Ricardo Pardini
d6bdf4221e
pipeline: output-gha-matrix: new input.pipeline.gha.runners in the targets.yaml for mapping GHA's runs_on based on name and arch
2023-05-03 07:49:53 +02:00
Ricardo Pardini
4bf98ebfab
artifact kernel/uboot: add ARCH to artifact_input_variables; used for (maybe) mapping to runner tags in JSON pipeline
2023-05-03 07:49:53 +02:00
igorpecovnik
ba1a84a5e8
Adjusting ORAS cache location, runners ( #5129 )
...
* Move packages to new location
* Adjust build runners
* Switch to OS
Signed-off-by: Igor <igor@armbian.com >
---------
Signed-off-by: Igor <igor@armbian.com >
Co-authored-by: Ricardo Pardini <ricardo@pardini.net >
2023-05-02 11:08:34 +02:00
Vyacheslav Bocharov
64f434ab33
Revert "fix rtl88x2cs compilation for kernel 6.3" as fixed in rtl88x2cs repository.
...
This reverts commit dc9f751012 .
2023-05-02 12:04:51 +03:00
Ricardo Pardini
3767729dc5
rootfs: add artifact name prefix and EXTRA_ROOTFS_NAME suffix (for extensions), yyyymm one-per-month auto-version in place of REVISION for artifact version
...
- rootfs is not a deb package, and thus not subject to the same strict ordering rules of `artifact_prefix_version`
- replace with `yyyymm` (`202305`) in version so we get one-per-month automatically
2023-05-01 22:47:12 +02:00
Ricardo Pardini
f992dcd466
git-ref2info: retries for getting Makefile body ( https://raw.githubusercontent.com has been failing a lot)
2023-05-01 22:47:03 +02:00
Ricardo Pardini
d890b418c7
kernel/uboot/atf: introduce kernel-patch, uboot-patch, atf-patch, uboot-config, kernel-config CLI commands; enhanced manual patching; block deprecated ways
...
- all interactive commands now **don't build the artifact** anymore; just patches/.configs are produced and then build ends
- user is required to put the produced patches in the right place and build again, for full consistency
- split ATF and U-BOOT manual patching process; use CLI command `atf-patch` to patch ATF, and `uboot-patch` to patch u-boot
- non-interactive artifact builds are now 100% sans-stdin
- introduce `uboot-config` CLI command; still experimental, only produces a defconfig and not a patch
- reworked `userpatch_create()` to be (hopefully) more useful:
- detects a previous patch and offers to apply it before continuing
- enters a loop showing the diff, and only proceeds when user indicates he's happy with the patch
- produces `mbox`-formatted patches via `format-patch` and standard Armbian parameters
- uses MAINTAINER and MAINTAINERMAIL instead of git configuration (so it works in containers)
- don't allow image builds with any patching or configuring _at all_ (it has been deprecated with a warning for months already, and results are inconsistent)
2023-05-01 22:46:55 +02:00
Ricardo Pardini
f860106a2a
jetson-nano legacy: give up on this legacy and remove it; fixes #5117
2023-05-01 22:46:43 +02:00
Ricardo Pardini
145ae8472c
jetson-nano legacy: try, and fail, to fix this legacy; (does NOT) fixes #5117
...
- `jetson-nano` `legacy`: kernel config: `CONFIG_SECTION_MISMATCH_WARN_ONLY=y`
- `jetson-nano` `legacy`: add `-mno-outline-atomics` to fix linking
- `jetson-nano` `legacy`: add `xxd` host-dependency
- `jetson-nano` `legacy`: downgrade _a lot_ of gcc errors to allow this legacy to build
2023-05-01 22:46:43 +02:00
Ricardo Pardini
f77edd0591
rtl8822bs: fix: remove binaries (firmware?) being added to kernel driver source and breaking patching; related to #5117
2023-05-01 22:46:43 +02:00
Ricardo Pardini
e74ab59f48
kernel-make: introduce KERNEL_EXTRA_CFLAGS; fill it to add to what's passed to KCFLAGS; related to #5117
2023-05-01 22:46:43 +02:00
Ricardo Pardini
ab0eb4936d
macchiatobin-doubleshot: fix u-boot/atf build: export SCP_BL2 had been wrongly converted to declare -g SCP_BL2 when it is in fact required; fixes #5116
2023-05-01 22:46:43 +02:00
Ricardo Pardini
30737fa6f4
rockchip: completely remove legacy branch; fixes #5118
...
- there's absolutely no point in trying to keep this alive, current/edge are good enough, legacy's abandoned for years and broken
2023-05-01 22:46:43 +02:00
Ricardo Pardini
a84d4f079e
rk3399-4.4: remove mbox-confusing long explanation from ancient patch in ancient kernel; possibly fixes #5119
2023-05-01 22:46:43 +02:00
Ricardo Pardini
369eb80f9c
driver_uwe5622_allwinner: only apply "pre-6.1" park-link patch if kernel >= 5 (eg: not for rockchip64-legacy); possibly fixes #5120
2023-05-01 22:46:43 +02:00
Ricardo Pardini
84164c4012
rockchip64_common: add explicit make target u-boot.dtb before u-boot.itb in the target map for SPI; fixes #5114
...
- when `BOOT_SUPPORT_SPI=yes` (and not using the rkspi_loader)
- it seems the makefile target u-boot.itb does not correctly depend on the u-boot.dtb target, and works "by accident" on multicore machines, which are faster and build it fast enough in parallel. this adds u-boot.dtb to the target map, so make's hand is forced to do the right thing.
2023-05-01 22:46:43 +02:00
Ricardo Pardini
91bb00bfa2
artifact-uboot: fix: include UBOOT_TARGET_MAP in variables hash of version
2023-05-01 22:46:43 +02:00
Ricardo Pardini
c692676da7
kernel-debs: postinst/etc: fix: unify is_boot_dev_vfat() function; make work during image build too via env var
...
- determinining if `/boot` is vfat is more complex than it looks;
- use a common function to unify across all scripts
- during image build, the kernel install is always done with a non-fat, non-mounted /boot
- use a special variable passed through the env so unified function can know ahead of time
- introduce `extra_apt_envs` param to `chroot_sdcard_apt_get()`; array with extra environment vars
- if vfat /boot:
- `linux-update-symlinks` is not called (Debian would just choke on this)
- don't even try to symlink Armbian stuff, move instead
- more/better logging board-side (unfortunately mixed in all the set -x debugs)
2023-05-01 22:46:43 +02:00
Ricardo Pardini
f8ddf7f9e2
🔥 JSON info pipeline: v18
...
- pipeline: add `pipeline` context object to targets; use it to filter artifacts and images to build; warn about oci-name with multiple oci-tags
- pipeline: better error messages when info's fail; show some (out-of-order) progress messages during parallel info gathering
- pipeline: targets-compositor: add `not-eos` inventory
- TARGETS_FILENAME, log all OCI lookups
- SKIP_IMAGES
- IMAGES_ONLY_OUTDATED_ARTIFACTS
- no dash in chunk id in JSON
- pipeline: very initial chunking, using the same outputs
- pipeline: template targets, `items-from-inventory:` inventory expansion, CHECK_OCI=yes, CLEAN_MATRIX=yes, CLEAN_INFO=yes, many fixes
- cli: `inventory` / `targets` / `matrix` / `workflow`
- pipeline: workflow beginnings
- pipeline: general log cleanup + OCI stats / better miss handling
- pipeline: fixes/reorg
- pipeline: catch & log JSON parsing errors
- pipeline: gha matrix: use IMAGE_FILE_ID as job description
- pipeline (delusion): gha workflow output, based on old matrix code
- pipeline: better parsing and reporting of stderr log lines (under `ANSI_COLOR=none`)
- pipeline: mapper-oci-uptodate: use separate positive/negative cache dirs (GHA will only cache positives); cache negs for 5 minutes locally
- pipeline: output-gha-matrix artifacts + images
- pipeline: output-gha-matrix artifacts + images: "really" and fake 1-item matrix if empty
- pipeline: move files into subdir; update copyright & cleanup
- pipeline: refactor bash jsoninfo driver a bit
- pipeline: outdated-artifact-image-reducer
- pipeline: introduce `target_id` at the compositor, aggregate it at the reducer, carry it over in the artifact info mapper
- pipeline: mapper-oci-uptodate
- pipeline: info-gatherer-artifact, with PRE_PREPARED_HOST
- pipeline: refactor/rename info-gatherer-image.py
- pipeline: beginnings
2023-05-01 22:46:25 +02:00
Paolo Sabatino
9c6829bccb
rk322x: patch legacy kernel makefile to compile with recent gcc
2023-04-30 15:04:08 +02:00
Paolo Sabatino
51b884a441
rk322x: fix patches for rk322x legacy kernel 4.4
2023-04-30 15:04:08 +02:00
Paolo Sabatino
7a5cd0b246
rockchip: fix dtbs_install step for overlays
2023-04-29 07:46:18 +02:00
雷耀
873e719a6c
treat rk3566 as rk3568 to make "mkimage" work; introduce BOOT_SOC_MKIMAGE
2023-04-28 21:33:12 +02:00
Ricardo Pardini
64f7ff599a
uefi/edge: bump to 6.3
2023-04-28 21:32:52 +02:00
Ricardo Pardini
ba413c9b25
bcm2711/grub: add busybox (for initrd grep/sed) so initramfs-growroot works again on Debian
...
- bcm2711: bomb early when `RELEASE` is set and not supported
2023-04-28 21:32:52 +02:00
Ricardo Pardini
5f2a1af219
bcm2711/edge: bump to 6.3 (rpi4b, RPi Foundation Kernel)
2023-04-28 21:32:52 +02:00
Ricardo Pardini
506189dd8b
rockchip-rk3588/edge: bump to 6.3, drop 6.2 patches
2023-04-28 21:32:52 +02:00
Ricardo Pardini
324953f5d7
rk3568-odroid/edge: bump to 6.3 (odroidm1)
2023-04-28 21:32:52 +02:00
Ricardo Pardini
f25fb7c53c
virtual-qemu: move to eos (replaced by qemu-uboot-x86 and qemu-uboot-arm64)
2023-04-28 21:32:52 +02:00
Ricardo Pardini
d9f2ec3255
qemu-uboot-arm64/qemu-uboot-x86: split more x86/arm64 differences, add some docs, bump to u-boot 23.04 +update-patches; add arm64 bootscript
2023-04-28 21:32:52 +02:00
Ricardo Pardini
5ad3caefee
extensions: introduce u-boot-menu extension, for use with extlinux
...
- this is using the default Debian/Ubuntu package, we probably should replace that with our own scripts
2023-04-28 21:32:52 +02:00
Ricardo Pardini
3143db5df4
kernel-debs: call linux-update-symlinks in postinst; expected of Debian-compatible kernels
...
- this handles /vmlinuz etc symlinks (doesn't know about uInitrd, etc)
2023-04-28 21:32:52 +02:00
Ricardo Pardini
2d2fec85d8
initramfs post-update 99-uboot: add verbose logging, no actual changes
2023-04-28 21:32:52 +02:00
Ricardo Pardini
6417a22151
sun50iw9: don't inadvertently override pre-existing hook function name - fixes #5099
2023-04-28 21:32:52 +02:00
Ricardo Pardini
a1788bb95c
imx7d (EOS): codeaurora.org is no more, move to nxp-imx's repos for both kernel and u-boot
2023-04-28 21:32:52 +02:00
Ricardo Pardini
01c49e0cf1
grub: keep u-boot stuff if UEFI_GRUB=yes
2023-04-28 21:32:52 +02:00
Ricardo Pardini
59d6690a11
git-ref2info: many fixes for nonstandard repos; try a few different dereference and refs/ combinations in a certain order; remove codeaurora repo handling
...
- git-ref2info: when resolving SHA1's for 'xxx' tag or branch, try first `refs/heads/xxx`, then just 'xxx'; validate SHA1 with 40-char regexp
- this works-around Gerrit-style repositories that have a 'refs/for/xxx' ref that gets in the way
- case in point: https://github.com/hardkernel/u-boot/tree/odroidc-v2011.03 (has both refs/heads/odroidc-v2011.03 and refs/for/odroidc-v2011.03)
- git-ref2info: when processing tags for a SHA1, try both dereference and non-dereferenced, in that order, to get a SHA1
- this solves old problem reported in #4916 : GitHub incorrectly processes dereference requests for tags that are not actually annotated
- case in point: https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.202-1237-rockchip-ayufan
- `codeaurora` is no more, https://bye.codeaurora.org/
2023-04-28 21:32:52 +02:00
Ricardo Pardini
dc9f751012
fix rtl88x2cs compilation for kernel 6.3
2023-04-28 21:32:29 +02:00
Pander
9e5c2ab183
revert vcgencmd addition
2023-04-28 21:04:35 +02:00
Pander
62de7e3523
upgrade vcgencmd without tmp vulnerability and inclusion for bananapim2ultra
2023-04-28 21:04:35 +02:00
Paolo Sabatino
da0ab48b79
rockchip: bump edge kernel to 6.3
2023-04-27 21:31:27 +02:00
Paolo Sabatino
98b6aec554
rk322x: bump edge kernel to 6.3
2023-04-27 21:30:02 +02:00
Paolo Sabatino
0d5fe62403
fix rtl8723cs compilation for kernel 6.3
2023-04-27 21:29:42 +02:00
Paolo Sabatino
8c4a35bfb0
fix rtl88x2bu compilation on kernel 6.3
2023-04-27 21:29:22 +02:00
Paolo Sabatino
f2d9756bb0
fix rtl8812au compilation for kernel 6.3
2023-04-27 21:29:02 +02:00
Paolo Sabatino
c9da5ca219
fix patch
2023-04-27 21:28:10 +02:00
Paolo Sabatino
be0ecb1f16
fix rtl8723du compilation on kernel 6.3
2023-04-27 21:28:10 +02:00
Paolo Sabatino
3e28c86a05
fix rtl8811cu compilation for kernel 6.3
2023-04-27 21:27:49 +02:00
Igor Pecovnik
7c9e85ec25
Bump Allwinner kernels
2023-04-27 07:43:10 +02:00
Igor
94086ff24a
Moving to platinum support with cm4
...
Signed-off-by: Igor <igor@armbian.com >
2023-04-26 11:56:32 +02:00
Igor
37ba149103
Move rock5 to supported
2023-04-26 11:56:32 +02:00
Igor
e9e4d4501c
Change two olimex boards to csc, add previously removed radxa zero2
2023-04-26 11:56:32 +02:00
Igor
50e28f4753
Move Radxa zero2 to wip as its not sold yet
2023-04-26 11:56:32 +02:00
Rafal-Hacus
3ed29cdd4e
Updated the file extention to reflect on the boards status
2023-04-26 11:56:32 +02:00
Pander
420f16c7ea
Installing fake_vcgencmd for Pine64 ( #5095 )
2023-04-24 16:50:30 +02:00
monkaBlyat
22cab870c8
Disable config_ion for better compatibility with modern android containers like redroid
2023-04-24 14:29:27 +02:00
Ricardo Pardini
b031c686f9
rockchip-rk3588: set ROCKUSB_BLOB for RockUSB Maskrom -> Loader mode
2023-04-24 14:23:21 +02:00
Ricardo Pardini
b3f61a1f7a
rockchip-rk3588: add new board mekotronics-r58-minipc.wip (Mekotronics R58 MiniPC, and variants)
2023-04-24 14:23:21 +02:00
Ricardo Pardini
d7a6f80c81
rockchip-rk3588: add new board mekotronics-r58x.wip (Mekotronics R58X)
2023-04-24 14:23:21 +02:00
Ricardo Pardini
e37adb5c8f
rockchip-rk3588: add new board mekotronics-r58x-4g.wip (Mekotronics R58X-4G); add u-boot patches
2023-04-24 14:23:21 +02:00
Pander
0d72163868
Fixed execution rights docker.sh
2023-04-22 20:08:26 +02:00
Pander
3c09c2ffbe
reduced PNG file size with optipng
2023-04-22 20:08:15 +02:00
Paolo Sabatino
c7740059da
rk3328: add patch to enabled pcm5102 DAC on I2S1 bus
2023-04-22 20:08:02 +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
amazingfate
4266d0bdca
rockchip-rk3588: add new board hinlink-h88k
2023-04-22 10:04:58 +02:00
Alban Browaeys
93fb7498c0
Fix helios64 vdd-log supply
...
vdd-log supply is pwm-supply, not vin-supply.
Fixes vdd-log supply ending up the dummy regulator.
[ 1.783479] pwm-regulator vdd-log: Looking up pwm-supply from device tree
[ 1.783505] pwm-regulator vdd-log: Looking up pwm-supply property in node /vdd-log failed
[ 1.783556] vdd_log: supplied by regulator-dummy
Per https://lore.kernel.org/all/20211227234529.1970281-2-heiko@sntech.de/
there will be no functional change as the supplying regulator is an always-on
fixed-regulator.
2023-04-22 09:57:11 +02:00
Brent Roman
ddfdf75a17
restore RK3308 audio mistakenly removed by 588c2ec17e
2023-04-22 09:56:46 +02:00
Ricardo Pardini
3d2575639d
logging: include Repeat Build Args in markdown/ANSI logs
2023-04-21 14:26:33 +02:00
Ricardo Pardini
27d9fdf4bf
interactive: sort the params included in Repeat Build Options; don't quote values
2023-04-21 14:26:33 +02:00
Ricardo Pardini
3ffbdfc97c
interactive: hide auto-relaunched params from Repeat Build Options
2023-04-21 14:26:33 +02:00
Ricardo Pardini
d0716b65c0
docker/sudo: better control/info over CLI relaunch args; introduce CLI relaunch envs
...
- allow adding re-launch environments by populating `ARMBIAN_CLI_RELAUNCH_PARAMS` dict
- similar to `ARMBIAN_CLI_RELAUNCH_PARAMS`
- rename/consolidate `()`'s output globals:
- `ARMBIAN_CLI_FINAL_RELAUNCH_ARGS` (rename)
- `ARMBIAN_CLI_FINAL_RELAUNCH_ENVS` (new)
- includes `ARMBIAN_HIDE_REPEAT_PARAMS` automatically
- `sudo`: include envs when relaunching, use bash explicitly
- `docker`: better logging
- `docker`: include envs when relaunching via `--env` args
2023-04-21 14:26:33 +02:00
Ricardo Pardini
9a073d06fb
interactive: desktop: use set_interactive_config_value() so user-selected desktop options appear in repeat build args
2023-04-21 14:26:33 +02:00
Markus Hoffrogge
d1252fc0ee
interactive: better Repeat Build Options [by @mhoffrog, squashed, rebased]
...
Add interactive configurations to Repeat Build Options
Simplify function produce_repeat_args_array()
- make use of $ARMBIAN_NON_PARAM_ARGS and $ARMBIAN_PARSED_CMDLINE_PARAMS (associated array)
- quote parameter values to be on the safe side
Move "Repeat Build Options" logs to start-end.sh
- cli-build.sh, start-end.sh:
- move function function produce_repeat_args_array() to start-end.sh
- add $WHAT as first arg to produce_repeat_args_array() if
$WHAT is not empty
- move early display log of "Repeat Build Options" to
function main_default_start_build()
- move last log of "Repeat Build Options" to
function main_default_end_build()
- add last log of "Repeat Build Options" to
LOG_SECTION="repeat_build_options"
2023-04-21 14:26:33 +02:00
Igor Pečovnik
c837ed2c2e
Limit execution to branch main
2023-04-21 14:23:13 +02:00
Igor
8a5f07cfba
Add Action to execute remote workflow on config changes
2023-04-21 14:23:13 +02:00
amazingfate
97a2e41f62
use common sed for GITHUB_SOURCE replace
2023-04-21 14:21:28 +02:00
Julian Sikorski
014bc261dd
Update odroidxu4-current to 5.4.241
2023-04-20 22:31:39 +02:00
Igor
9cdb042199
Bump sunxi to latest version
2023-04-20 16:26:41 +02:00
amazingfate
f81ef8ed21
fix dp alt mode error log message typo
2023-04-20 09:21:55 +02:00
Igor
bc9eb5f14d
Fix invalid packages install within families
2023-04-20 09:21:16 +02:00
Igor
0590a70597
Change custom Ubuntu mirror logic
...
Signed-off-by: Igor <igor@armbian.com >
2023-04-19 20:25:03 +02:00
Ricardo Pardini
2b28f29ebe
rootfs/image: avoid apt junk leftover by debootstrap; add warnings and debugs over target cache and general rootfs sizes
...
- rootfs: rootfs-create: show a summary of the 20 biggest dirs, right before tarring the rootfs (for debugging)
- rootfs: rootfs-create: show usage of caches between first and second stages
- rootfs: rootfs-create: cleanup junk left by `debootstrap` after second stage
- rootfs: rootfs-create: _always_ clean apt stuff at the end
- rename `apt_purge_unneeded_packages()` to `apt_purge_unneeded_packages_and_clean_apt_caches()` for clarity
- image: `apt_purge_unneeded_packages_and_clean_apt_caches()`: warn if apt caches not empty; clean them off, always.
- host-utils: `local_apt_deb_cache_prepare()`: also test the target, warn if not empty
- extension: cleanup-space-final-image: do NOT clean apt stuff. done in core now
- the metric shit-ton of debugs added should help the next person who faces this in the future
2023-04-18 16:27:06 +02:00
Werner
0b90ebc54a
Use native xz
2023-04-18 09:29:17 +02:00
Werner
945bb6dff9
Use native xz
2023-04-18 09:29:17 +02:00
amazingfate
115cb80a04
add dockerproxy to accelerate ghcr.io
2023-04-18 09:28:25 +02:00
Ricardo Pardini
321a0cd257
revert: run kernel make through pipetty for _moar colors_ (breaks make menuconfig)
2023-04-18 09:27:38 +02:00
Ricardo Pardini
b73ced7dc0
artifacts: add git SHA1 sanity checking
2023-04-18 09:27:38 +02:00
Ricardo Pardini
8cd830d6e1
memoize-cached: add flock locking to run_memoized() to avoid error when run in parallel
2023-04-18 09:27:38 +02:00
Ricardo Pardini
22059c2669
lib: shellfmt & fix gen-library to match
2023-04-18 09:27:38 +02:00
Ricardo Pardini
ded6d1e319
artifact: rootfs: fix artifact_rootfs_config_dump() with added rootfs pkgs
2023-04-18 09:27:38 +02:00
Igor Pečovnik
bf77c5e8a3
Fix after copy paste
2023-04-18 09:27:09 +02:00
Igor
03a8e8607d
Rebuild board selection for generating official images
2023-04-18 09:27:09 +02:00
Werner
283258c8ab
sunxi: add support for Wireguard ( #5069 )
...
Probably went missing at some point.
2023-04-18 09:04:36 +02:00
Igor
a6897e85a0
Revert "remove apt cache in the rootfs"
...
This reverts commit 790e673096 .
2023-04-17 16:42:36 +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
amazingfate
a0f59bf914
use ghproxy to accelerate memoized_git_ref_to_info
2023-04-17 13:42:53 +02:00
amazingfate
409ce6f362
add ghproxy to GITHUB_MIRROR
2023-04-17 13:42:53 +02:00
amazingfate
790e673096
remove apt cache in the rootfs
2023-04-17 13:42:00 +02:00
Muhammed Efe Çetin
fd6a6dec66
Add support for NanoPi R6S
2023-04-16 16:13:09 +02:00
Igor
730ac1f8ba
Create apt priority configuration
2023-04-15 22:48:38 +02:00
Radoslav
88fe8bae61
h3 thermal sensor values fix
2023-04-15 22:47:26 +02:00
Radoslav
55d16b3d26
h3-dth
2023-04-15 22:47:26 +02:00
Radoslav
41260ac309
h3-tve (arm-dts-sun8i-h3-orangepizero-add_tve.patch)
2023-04-15 22:47:26 +02:00
Radoslav
24dcf942f5
OrangePi Zero TV Output kernel patch
2023-04-15 22:47:26 +02:00
Ricardo Pardini
9218401cd8
kernel: fix for 6.3+ linux-headers pkg due to upstream dir change
...
- extra: run kernel make through `pipetty` for _moar colors_
2023-04-15 22:44:43 +02:00
Ricardo Pardini
a140bf1339
extensions: add v4l2loopback-dkms, very similar to the zfs extension
...
- Raison d'être: prove `linux-headers` work, at least, minimally
2023-04-15 22:43:33 +02:00
Ricardo Pardini
14286c018c
extensions: rkdevflash: switch to using Radxa's fork of rkdeveloptool, which has compile fixes
2023-04-15 22:43:19 +02:00
Ricardo Pardini
f8402a59da
extensions: rkdevflash: simplify usage of rkdeveloptool (on Linux only, not Docker) to flash Rockchip images to eMMC
2023-04-15 22:43:19 +02:00
Ricardo Pardini
7ea8e040d0
cli: flash: introduce flash CLI command; introduce hook post_build_image_write
2023-04-15 22:43:06 +02:00
Ricardo Pardini
d59271f903
config: refactor calculate_image_version() out of create_image_from_sdcard_rootfs(), make more flexible, predict IMAGE_FILE_ID during config
...
- default `IMAGE_INSTALLED_KERNEL_VERSION="generic"` instead of `"linux"`
2023-04-15 22:43:06 +02:00
Ricardo Pardini
664b482b31
artifact: rootfs: fix artifact_rootfs_config_dump() to include all inputs to aggregation
...
- @TODO: still missing, actually have an EXTRA_ROOTFS_SUFFIX or such, otherwise extensions just pollute the version-space
2023-04-15 22:43:06 +02:00
Ricardo Pardini
953ab276d0
logging: better logging when ANSI_COLOR=none (eg, during info collection)
2023-04-15 22:43:06 +02:00
Ricardo Pardini
ac25ac18be
config/extensions: consolidate EXTRA_IMAGE_SUFFIXES array as _the way_ to add to image filename, during configuration
...
- can add to `EXTRA_IMAGE_SUFFIXES` array during `user_config` or `extension_prepare_config`
- in the end goes into a `EXTRA_IMAGE_SUFFIX` global readonly
- this simplifies extension code
- we still can't "predict" image names during configuration since it includes the kernel version (6.2.11/generic) which only comes later
2023-04-15 22:43:06 +02:00
Ricardo Pardini
18fa65e6dd
artifacts armbian-desktop/armbian-bsp-desktop: fix artifact_base_dir to include ${RELEASE}/ -- otherwise local & remote paths don't match
2023-04-15 22:43:06 +02:00
Ricardo Pardini
d13e3cbff5
artifacts-obtain: add sanity check, after getting remotely, make sure it is indeed available locally
2023-04-15 22:43:06 +02:00
Ricardo Pardini
eb1fe6d7ba
artifacts: introduce PRE_PREPARED_HOST=yes: allow running pre-prepared host CLI's for artifacts that require aggregation
2023-04-15 22:43:06 +02:00
Ricardo Pardini
538b8c2b79
artifacts/cli: introduce CLI command artifact-config-dump-json (alias to artifact, but sets CONFIG_DEFS_ONLY=yes)
...
- if CONFIG_DEFS_ONLY during `obtain_complete_artifact()`, just dump JSON to stdout after calculating version/coordinates
- don't prepare ORAS tooling if CONFIG_DEFS_ONLY
- don't run in standard build (and thus don't prepare_host()) if under CONFIG_DEFS_ONLY
- if CONFIG_DEFS_ONLY, don't run `check_basic_host()`
2023-04-15 22:43:06 +02:00
Ricardo Pardini
439882ce7a
extensions/grub: use array for pkg list
...
- also for the media-sbc clone
2023-04-15 22:43:06 +02:00
Ricardo Pardini
e631e0fc97
patching: python: useful debug log with value of BASE_GIT_TAG
2023-04-15 22:43:06 +02:00
Ricardo Pardini
f6f621b9a1
extensions: don't export, declare -g
2023-04-15 22:43:06 +02:00
Ricardo Pardini
0d276c93e9
bsp-cli/distro-agnostic: introduce KEEP_ORIGINAL_OS_RELEASE=yes so Debian/Ubuntu PRETTY_NAME is left unchanged in /etc/os-release
...
- useful when downstream software wants exact Debian OS
2023-04-15 22:43:06 +02:00
Ricardo Pardini
c30a907e47
python2: lunar also doesn't have python2 anymore (joins sid and bookworm)
2023-04-15 22:43:06 +02:00
Igor
40fa40ebaa
Remove optimisation as it breaks on Debian Bookworm
...
Minimal images doesn't have any of this anyway ...
2023-04-14 00:39:09 +02:00
Igor
046ba3a121
Starfive kernel has some patch issues ... fixing it to last known working kernel.
2023-04-13 20:46:04 +02:00
Igor
10315c4f74
Bump sunxi and disable broken mvebu patch @heisath
2023-04-13 20:46:04 +02:00
Igor
2ab6272ce4
Add xauth package that should fix RDP related issues
2023-04-13 11:36:16 +02:00
hzy
53b8a4b173
meson: Enable more SDIO and USB Wifi support
2023-04-12 14:59:52 +02:00
hzy
ac5a84b5f6
meson: Refresh config
2023-04-12 14:59:52 +02:00
hzy
8e9548c3a4
meson: Enable some net modules
2023-04-12 14:59:52 +02:00
Thomas McKahan
7a075070a3
enable mipi-dsi on Rockchip
2023-04-12 14:59:39 +02:00
Pander
9f0f296f45
enabled kernel modules pine64 for CSI and camera drivers
2023-04-08 14:35:35 +02:00
amazingfate
43b8bed616
appgroup/office: add libreoffice-gtk3 for ime support
2023-04-08 14:35:15 +02:00
Igor
21ee606778
Changing status
2023-04-08 14:34:26 +02:00
Ricardo Pardini
3ec50ea03c
orangepizero2/sun50iw9/legacy: actually use NAME_KERNEL=uImage
2023-04-08 14:33:39 +02:00
Ricardo Pardini
90c5a2743a
kernel: introduce new hook pre_package_kernel_image; show vmlinuz file magic before/after hook; add -HK hook hash to kernel artifact version
2023-04-08 14:33:39 +02:00
Ricardo Pardini
871415b7b3
arch configs (all): default, but do not overwrite, KERNEL_IMAGE_TYPE/KERNEL_INSTALL_TYPE/etc: allow board/family to set
2023-04-08 14:33:39 +02:00
Ricardo Pardini
1e61b60cf8
orangepizero2/sun50iw9/legacy: implement pre_package_kernel_image hook to convert vmlinuz to uImage manually; fix legacy u-boot build
...
- sourceaddr `0x40008000` was found in Xunlong's legacy kernel source squashed into a huge commit. Thanks, Xunlong!
- bring `busybox` dependency with inline hook for legacy u-boot "unix2dos" which is essential
2023-04-08 14:33:39 +02:00
Igor
7505671c80
Bugfix: storing revision and not artefact cache version in release file
2023-04-07 19:26:45 +02:00
Ricardo Pardini
bdab9c1cd7
sun50iw9/legacy: armbian-next'ify, add logging, avoid changing global PATH, use host dtc utility, make write_uboot_platform() verbose
2023-04-07 13:00:09 +02:00
Ricardo Pardini
6f57ba64b6
sunxi-tools: bring in gcc-arm-linux-gnueabi hostdep required for building sunxi's boot stages
2023-04-07 13:00:09 +02:00
Igor
00793be73e
Bump sunxi
2023-04-06 14:09:45 +02:00
Igor
839e4940ab
Bump Allwinner
...
Signed-off-by: Igor <igor@armbian.com >
2023-04-06 09:55:15 +02:00
Igor
e1fc9b0a4e
Changing status
2023-04-06 09:55:15 +02:00
Igor
d1128a6515
Enable CONFIG_EXFAT_FS on remaining kernels
2023-04-06 09:52:59 +02:00
Ricardo Pardini
369e69a553
artifact-armbian-bsp-cli: hash more variables included in /etc/armbian-release
2023-04-04 09:12:48 +02:00
hzy
9341455567
meson: onecloud: Enable USB0 OTG mode
2023-04-03 21:21:17 +02:00
hzy
1dfc55d74f
meson: onecloud: Correct eMMC node
2023-04-03 21:21:17 +02:00
hzy
ae4a1747c1
meson: onecloud: Update GPIO descriptions
2023-04-03 21:21:17 +02:00
hzy
30566d6f96
meson: onecloud: Bugfix: Slow ethernet uplink
...
Not sure why but PHY's TX delay doesn't work, which cause TX
retransmission and slow uplink. So let's use MAC's TX delay.
2023-04-03 21:21:17 +02:00
hzy
689e7d2a61
meson: onecloud: Resort DTS node
2023-04-03 21:21:17 +02:00
Ricardo Pardini
6b1055dc9d
uboot: WiP: introduce UBOOT_CONFIGURE=yes -- saves defconfig to output/ folder, nothing else (no patches, etc)
2023-04-03 21:21:03 +02:00
Ricardo Pardini
9b229f25ad
artifact-uboot: add hashes for extension and old-timey -Hooks and -Variables hash (BOOTDELAY et al)
...
- helper for hashing old-timey hooks: `calculate_hash_for_function_bodies()` in `hash-files.sh` cos I'm lazy
2023-04-03 21:21:03 +02:00
dependabot[bot]
ea4e75a79b
build(deps): bump ossf/scorecard-action from 2.1.2 to 2.1.3
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.1.2...v2.1.3 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-03 21:20:48 +02:00
Paolo Sabatino
4d80872e49
rk322x: fix emmc/sdio clock selection
2023-04-03 21:01:38 +02:00
Ricardo Pardini
c4d91fd66f
rockchip64_common: refactor: extract BOOT_SPI_RKSPI_LOADER=yes into rock-3a, rock-5b, and orangepi5 (no more such rockchip-rk3588 references in common code)
2023-04-03 11:14:44 +02:00
Julian Sikorski
7ab8245a77
Update odroidxu4-current to 5.4.239
2023-04-01 20:51:31 +02:00
Igor
e986b8c0ee
Move lsof package to minimal images as its needed for armbian-install
2023-04-01 20:50:51 +02:00
Igor
e33842ef2c
Remove broken font from Ubuntu Lunar
...
[🐳 |🌱 ] Installing 128 desktop packages [ lunar xfce ]
[🐳 |🔨 ] E: Unable to locate package libfontembed1
[🐳 |🔨 ] Reading package lists...
[🐳 |🔨 ] Building dependency tree...
[🐳 |🔨 ] Reading state information...
[🐳 |🔨 ] E: Unable to locate package libfontembed1
2023-03-31 13:56:04 +02:00
Igor
b2be0e5a45
Enable non-free-firmware repository for Debian Sid
...
Addressing:
[🐳 |💥 ] Error context msg [ Installation of Armbian main packages for sid 3dsupport xfce no failed ]
Error: Error context msg Installation of Armbian main packages for sid 3dsupport xfce no failed
[🐳 |🔨 ] Reading package lists...
[🐳 |🔨 ] Building dependency tree...
[🐳 |🔨 ] E: Unable to locate package firmware-sof-signed
2023-03-31 13:21:35 +02:00
Ricardo Pardini
fbc324ec06
artifact-kernel: fix: add -Variables version hashing, including KERNEL_INSTALL_TYPE, KERNEL_IMAGE_TYPE and SRC_LOADADDR amongst others
2023-03-31 12:29:53 +02:00
Ricardo Pardini
6ce9f48885
fix: (uImage change, after #5018 ): config: fix: replace undue export statements with declare -g; shellfmt
2023-03-31 12:29:53 +02:00
Igor
e599976a35
Bump Allwinner kernels to latest version
2023-03-31 09:45:48 +02:00
Ricardo Pardini
c6e68bf577
meson64: only gxbb and gxl require fetching repo odroidc2-blobs, split hook
2023-03-31 09:37:37 +02:00
Ricardo Pardini
667ac5afb7
odroidn2: bump to 2022.10 u-boot with boot order patch and nothing else; remove old legacy uboot crap (odroidn2 hasn't even had a legacy BRANCH for a while)
2023-03-31 09:37:37 +02:00
Ricardo Pardini
62f5fe1596
config: fix: replace undue export statements with declare -g; shellfmt
2023-03-31 09:37:37 +02:00
Igor Pečovnik
f51a99f1fa
distro-agnostic.sh: fix, install armbian-zsh correctly (not armbian-config twice)
2023-03-31 09:12:44 +02:00
Igor Pecovnik
bf801d194b
distro-agnostic.sh: bring back BSPFREEZE=yes which now works (somewhat)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
ad56df54ba
artifact-armbian-bsp-cli: correctly hash the *sources* of family_tweaks_bsp old-timey hook and post_family_tweaks_bsp extension hooks
2023-03-31 09:12:44 +02:00
Ricardo Pardini
d2bb1f893a
extensions: many fixes; allow for dumping the source of hooks, via dump_extension_method_sources_functions() and dump_extension_method_sources_body()
...
- fix: indent of generated sources
- fix: no reason to source the generated file in a loop. do it once. 20x faster?
- `dump_extension_method_sources_functions "name_of_hook"`: get function definitions (inside braces)
- `dump_extension_method_sources_body "name_of_hook"`: get the function bodies (sans-braces)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
61d85648ea
cleaning: stop lying about CLEAN_LEVEL=debs -- now it simply deletes every .deb in the folder (same as =alldebs)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
55af87be8b
lib: update library-functions.sh (via bash lib/tools/gen-library.sh)
2023-03-31 09:12:44 +02:00
Ricardo Pardini
f969a5e30f
lib: completely remove CHOSEN_xxx, BSP_xxx_NAME, BSPFREEZE=yes
2023-03-31 09:12:44 +02:00
Ricardo Pardini
ed0b406265
lib: fix: replace undue export statements with declare -g
2023-03-31 09:12:44 +02:00
Ricardo Pardini
77921725fb
lib: run shellfmt; remove commented-out; no actual changes
2023-03-31 09:12:44 +02:00
Ricardo Pardini
f75b9c110f
aggregation: fix: don't eat value if empty during bash_string_multiline(); write end-of-file comment; show aggregation bash results if debugging
2023-03-31 09:12:44 +02:00
Ricardo Pardini
fe7a24885b
docker: introduce DOCKER_SKIP_UPDATE=yes to skip updating prebuilt Docker image, only when using
2023-03-31 09:12:44 +02:00
Ricardo Pardini
40c5df55ab
docker: introduce ${DOCKER_ARMBIAN_BASE_COORDINATE_PREFIX:-"ghcr.io/armbian/docker-armbian-build:armbian-"} for easy override
2023-03-31 09:12:44 +02:00
Ricardo Pardini
7d90b10f79
configdump: better logging; insert (still unsupported) array/dict raw value and 2do markers into produced dump JSON
2023-03-31 09:12:44 +02:00
Ricardo Pardini
f12015954a
distro-agnostic: emit 'info' message before setting root password, otherwise logs are confusing
2023-03-31 09:12:44 +02:00
Ricardo Pardini
d868d76182
artifacts: bsp-cli, bsp-desktop, desktop: rework, with @igorpec
...
- bsp-cli: does not require aggregation
- bsp-desktop / desktop: requires aggregation
- 'desktop' packaged moved out of 'bsp' folder, it is NOT a bsp
- make consistent naming/folders
- extract .sh generation workflow into 'declare -f' magic functions
- `SHOW_DEBIAN=yes` to bump most of `DEBIAN/xxx` stuff to screen
- artifact armbian-bsp-desktop: use aggregation, require certain vars, CLI forces `BUILD_DESKTOP=yes`; requires BOARD
- artifact armbian-desktop: use aggregation, require certain vars, CLI forces `BUILD_DESKTOP=yes`, not require `BOARD` anymore
- cli: commands: fix artifact aliases, reorder
- desktop/bsp-desktop: add `config_dump` method; fix `artifact_map_debs` ref subdir and name
- artifact bsps: require aggregation to build, not to list what needs to be built
- distro-agnostic: fix install of `armbian-bsp-cli` (not `armbian-bsp`)
- armbian-bsp-cli: add `_config_dump` method, use configuration with aggregation, add required vars check
- distro-specific: fix installation of `fake-ubuntu-advantage-tools`
2023-03-31 09:12:44 +02:00
Ricardo Pardini
55ba084acc
configdump: include rudimentary artifact dependency information for config-dump-json (artifact implementations)
...
- include rudimentary artifact dependency information for config-dump-json: fixes/refactor/cleanup
- artifact-rootfs.sh: include rudimentary artifact dependency information for config-dump-json
- artifact-armbian-(config/plymouth-theme/zsh).sh: include rudimentary artifact dependency information for config-dump-json
- artifact-fake-ubuntu-advantage-tools.sh: include rudimentary artifact dependency information for config-dump-json
2023-03-31 09:12:44 +02:00
Ricardo Pardini
42fc56697b
configdump/json-info-boards: revamp, all-JSON now; use_board=yes skip_kernel=no for config; refactor & use new Python bash-declare-to-JSON utility
...
- use new capture'd vars scheme
- so `./compile.sh BOARD=xxx BRANCH=yyyy config-dump-json | jq .` now works and is consistent/newline tolerant
- introduce internal `skip_host_config=yes` for `prep_conf_main_minimal_ni()` to skip calling `check_basic_host()`
2023-03-31 09:12:44 +02:00
Ricardo Pardini
fc14d62c52
capture: set globals CAPTURED_VARS_NAMES and CAPTURED_VARS_ARRAY (instead of CAPTURED_VARS_ARRAY that was space-delimited); filter and sort last-minute
2023-03-31 09:12:44 +02:00
Ricardo Pardini
fb4477afb8
oras: add --insecure to further retries if we get a failure on first try, to workaround GitHub's March/2023 mess with certificates
2023-03-31 09:12:44 +02:00
Ricardo Pardini
9a74b838ce
runners: introduce internal skip_error_info=yes for run_host_command_logged()
...
- doesn't show nor clear vars `if_error_find_files_sdcard` and `if_error_detail_message`
- used by `chroot_sdcard_apt_get()` which uses `run_host_command_logged()` multiple times, and the first would clear the important/last one
2023-03-31 09:12:44 +02:00
Ricardo Pardini
a77d5f3c70
fix: declare some variables that were leaking into global namespace for no reason
...
- especially `for VAR in ...` and VAR leaks sans the declare
- rename `fragment_manager_cleanup_file` to `extension_manager_cleanup_file`
2023-03-31 09:12:44 +02:00
Ricardo Pardini
02c561ce0e
bat-cat: introduce tooling support for bat (colorized/smart cat), including DEBIAN/xxx syntaxes; cached in Docker image
2023-03-31 09:12:44 +02:00
Ricardo Pardini
b820a4d68f
tools: oci-oras/shellcheck: fix, test if binary already in place before considering copying it, but only after BIN is actually defined
2023-03-31 09:12:44 +02:00
Ricardo Pardini
b59447c96e
apt-install: install_deb_chroot(): useful logging, when trying to install invalid stuff
2023-03-31 09:12:44 +02:00
Igor
00f849ac71
[AR-1620 + AR-1639 squashed]:: @igorpec's armbian-config/zsh/bsp/desktop/ubuntu-advantage artifacts
2023-03-31 09:12:44 +02:00
Matthijs Kooijman
54636219cc
Include alsa-utils in minimal cli builds
...
This ensures that the armbian-audio-config script actually works in
minimal builds too.
This fixes #5012 (AR-1644)
2023-03-29 23:22:19 +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
hzy
76ce4c3a3d
Fix uImage build
2023-03-30 03:41:28 +08:00
Igor
577d0eaa28
Update sunxi and kernel configs
2023-03-28 15:56:14 +02:00
Igor Pečovnik
765ff69c6e
Update README.md
2023-03-28 10:51:41 +02:00
CueMaxX
6aad142ac8
Update boot-sunxi.cmd
...
'setenv console "display"' in boot-sunxi.cmd & in armbianEnv.txt had the same effect as 'setenv console "both"'.
That was due to a false if-statement in boot-sunxi.cmd:41
Fixed that, so 'setenv console "display"' will not co-enable the serial console anymore.
2023-03-28 10:51:41 +02:00
Werner
80a5607bf5
Add deprecation note ( #4845 )
2023-03-28 10:51:41 +02:00
Igor
5de120edfe
Allow numbers in username
2023-03-27 23:24:35 +02:00
hzy
b850beb50a
meson8b: Reorganize patches
...
Move all patches out from board-special patch folders which is not
supportted now.
2023-03-26 20:54:56 +02:00
hzy
26b8642804
Bugfix: Allow to set empty cmdline params
...
Fix the following error:
[🌱 ] Skip cmdline param [ 'DESKTOP_APPGROUPS_SELECTED': already set to '(empty)' early ]
2023-03-26 20:54:39 +02:00
Paolo Sabatino
5930e5e536
rk322x: move edge kernel to 6.2
2023-03-24 23:14:09 +01:00
Paolo Sabatino
97c3448983
rockchip: put all rockchip 32 bit into uboot/v2022.04 directory
2023-03-24 23:13:42 +01:00
Paolo Sabatino
191f4c8b67
rk322x: fix old emmc detection on rk322x
2023-03-24 23:13:18 +01:00
Paolo Sabatino
3f704692a7
rockchip: bump edge kernel to 6.2
2023-03-24 23:12:56 +01:00
Julian Sikorski
879805a520
Update odroidxu4-current to 5.4.238
2023-03-22 21:27:16 +01:00
Igor
a01f764195
If OCI_TARGET_BASE is not set, then this override doesn't work
2023-03-22 10:35:36 +01:00
Muhammed Efe Çetin
6bd665eaf4
Naming Audios on OPi5
2023-03-22 07:47:11 +01:00
Markus Hoffrogge
4271d7a17f
Fix sunxi uboot redefined warnings on "CONFIG_VIDEO_*"
...
- wrap CONFIG_VIDEO definitions with if !defined pattern
2023-03-22 07:46:37 +01:00
amazingfate
07f4f48727
naming audio output names of rock5b
2023-03-22 07:46:25 +01:00
Markus Hoffrogge
cca7fe1ff3
Log build runtime in minutes with seconds
2023-03-22 07:44:06 +01:00
Tony
915bd66187
[ rockchip64] second round config migration ( #4982 )
...
* [ rockchip64] second round config migration
Recommend all @armbian/boards-rockchip maintainers double check the resulting configurations, as stated in the PR the level of confusion in the family config logic likely means some boards have unnecessary extra stuff.
2023-03-21 10:40:22 -04:00
Lane Jennison
7be216f4b5
defconfig didnt work use full kernel
2023-03-21 01:04:01 -03:00
Lane Jennison
7869b5488d
enable btrfs on midstream kernel
2023-03-21 01:04:01 -03:00
Ricardo Pardini
a13383143c
lib/tools/shellcheck.sh: add (very low-bar "error") checks to config/sources and config/boards (keeping lib/ code in custom "critical" level)
2023-03-20 17:54:25 -03:00
Thomas McKahan
6d182e4aaf
accidentally wiped out a "fi"
...
during whitespace cleanup.
2023-03-20 12:22:01 -03:00
Igor
518ccf90cd
Add dialog package
...
Armbian install fails to start on minimal images
2023-03-20 11:35:17 -03:00
Igor
8a27b4a6da
Re-enable CONFIG_ARCH_BCM2835
2023-03-20 11:34:25 -03:00
Tony
ee76ad99b0
[ Rockchip64 ]Move board specific configs ( #4974 )
2023-03-20 10:19:57 -04:00
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