Commit Graph

11307 Commits

Author SHA1 Message Date
Ash Hughes
2b896d72fb
meson64: current + edge: bring back fixed version of odroid-reboot driver (Fix reboot on odroid C4 when using UHS-II SD cards) [cherry pick] 2023-02-18 07:46:38 -03:00
Kreyren
b7d5ea2321
distro-agnostic: dropbear-initramfs: make sure directory exists [cherry-pick] 2023-02-18 07:46:37 -03:00
Kreyren
12f56ad78c
boards/README: Document SKIP_ARMBIAN_REPO [cherry-pick]
See ./lib/functions/rootfs/distro-specific.sh
2023-02-18 07:46:36 -03:00
Kreyren
ec88aaf149
bookworm: has new/separate repos for non-free-firmware (#4801) [cherry-pick]
- "Debian moved the non-free firmware into it's own sub-repository"
2023-02-18 07:46:35 -03:00
SteeManMI
c2ff82b7fe
meson64: current: Enable MGLRU on meson64-current [cherry-pick]
Per PR#4697 this was enabled first on meson64-edge to test.
I am now following up to enable on meson64-current.
2023-02-18 07:46:34 -03:00
amazingfate
493b8773e9
rockchip64: update bl31 and ddr blobs of rk3568 [cherry-pick] 2023-02-18 07:46:33 -03:00
Ricardo Pardini
4db330178f
odroidhc4: u-boot to 23.01; add HC4-SPI target preboot for USB; change HC4-SD target defconfig to new hc4_sd, similar to c4
- `odroidhc4`: pre-configure `fancontrol` so fans work right out of the box
2023-02-18 07:46:32 -03:00
Ricardo Pardini
0f9e3f7578
meson64: edge/6.2: arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip 2023-02-18 07:46:31 -03:00
Ricardo Pardini
27d6592580
sun50iw9: half-fixes to get going under armbian-next (@TODO needs review/nextify/confirm busybox is not needed) 2023-02-18 07:46:30 -03:00
Ricardo Pardini
6ceb772a7a
v6.2-rc7: bump edge to v6.2-rc7 for UEFI / meson64 / rk3568-odroid / rockchip-rk3588 2023-02-18 07:46:29 -03:00
Ricardo Pardini
ac974ac132
rockchip64: current/5.15: fix bad unidiff/lack of mbox of wifi-hf-lps170-bl602.patch & makefile 2023-02-18 07:46:28 -03:00
Ricardo Pardini
608a5b779a
rockchip64: current/5.15: remove IPX revert patch that's already in drivers now 2023-02-18 07:46:27 -03:00
Ricardo Pardini
1159f073ed
rk322x-box: fix relative path reference to .bin in patch (a-n changed u-boot path on disk) - for @paolosabatino 2023-02-18 07:46:26 -03:00
Ricardo Pardini
e914af3713
sunxi/sunxi64: disable some sunxi/sunxi64 "readme" patches that contain other patches -- for discussion 2023-02-18 07:46:25 -03:00
Ricardo Pardini
bf8934d938
media: fixes for bad mbox/unneeded patches media-edge and media-current - thanks to @schwar3kat
- fix bad mbox for same old patch
- remove builddeb/mkdebian patches which are not needed in a-n
2023-02-18 07:46:24 -03:00
Ricardo Pardini
0bcc6c1ca2
odroidm1: bump to 6.2-rc3; look ma, no patches.
- pure mainline, https://github.com/torvalds/linux/commits/master/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts
- don't disable EXTRAWIFI
2023-02-18 07:46:23 -03:00
Ricardo Pardini
3ea6da8c7a
odroidm1: enable working userland fw_setenv, so users can go back to Petitboot & otherwise tweak u-boot env from Armbian 2023-02-18 07:46:22 -03:00
Ricardo Pardini
64f9cf9b46
meson64: edge/6.2: rebase onto v6.2-rc5 2023-02-18 07:46:21 -03:00
Ricardo Pardini
fa64a1d9af
meson64: edge/6.2: bump to 6.2-rc5 2023-02-18 07:46:20 -03:00
Ricardo Pardini
ca0fa01ea9
meson64: edge/6.2: spi-nor: add support for XT25Q64 in addition to XT25F128B 2023-02-18 07:46:19 -03:00
Ricardo Pardini
faa0d7ee8f
odroidc2: u-boot: use minimal patchset for v22.01 u-boot
- symptoms:
  - no video display in u-boot
  - can't boot from SD (but does from eMMC)
- this has proven to solve nothing, but is still neat
- real problem is probably the FIP?
2023-02-18 07:46:18 -03:00
Ricardo Pardini
0eb441c9cd
[kinetic] un-symlink cli/main kinetic->jammy packages; add systemd-resolved which was split off from main systemd package in Kinetic 2023-02-18 07:46:17 -03:00
Ricardo Pardini
2350c5697f
armbian-next: cleaning: deprecate CLEAN_LEVEL=debs -- doesn't do anything, just shows what would be cleaned 2023-02-18 07:46:16 -03:00
Ricardo Pardini
e46233084a
armbian-next: memoize: expire all memoized files after 1 hour 2023-02-18 07:46:15 -03:00
Ricardo Pardini
a3569e440d
armbian-next: rootfs artifact: don't try grouping OCI target, it does not really work 2023-02-18 07:46:14 -03:00
Ricardo Pardini
4f36681818
armbian-next: compression: fast xz compression for images 2023-02-18 07:46:13 -03:00
Ricardo Pardini
a2304f28b0
armbian-next: post_build_image: run hook first, then write to CARD_DEVICE, then compress, in that order
- compress *all* present output images, not only .img
- remove 7zip compression & hostdep
- squash a few shortcircuits (yeah, this late in the game...)
2023-02-18 07:46:12 -03:00
Ricardo Pardini
3d8ee5ce38
armbian-next: oras: add 3/5 retries to oras pull/push 2023-02-18 07:46:11 -03:00
Ricardo Pardini
e697f2e67c
armbian-next: docker: curb logging about OCI_TARGET_BASE 2023-02-18 07:46:10 -03:00
Ricardo Pardini
c73d60368a
armbian-next: remove references to stuff that doesn't exist or isn't hit by default anymore 2023-02-18 07:46:09 -03:00
Ricardo Pardini
8f23c9d2e4
armbian-next: debug_dict()/debug_var() only if debugging 2023-02-18 07:46:08 -03:00
Ricardo Pardini
7b0f33237d
armbian-next: artifacts (all): curb logging, use more descriptive git source var names 2023-02-18 07:46:07 -03:00
Ricardo Pardini
00bed41cda
armbian-next: build_rootfs_and_image(): log correctly mount_chroot()/umount_chroot() calls 2023-02-18 07:46:06 -03:00
Ricardo Pardini
8694daad78
armbian-next: chroot-helpers: mount_chroot()/umount_chroot(): add warning with stacktrace if called sans logging section 2023-02-18 07:46:05 -03:00
Ricardo Pardini
26f0700da8
armbian-next: chroot-helpers: if unable to mount devpts, use a mount bind from host
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2023-02-18 07:46:04 -03:00
Ricardo Pardini
9bffa5e749
armbian-next: artifacts: firmware/rootfs and actual usage of artifacts during image build
- artifacts: introduce `ARTIFACT_IGNORE_CACHE=yes`
- artifacts: introduce `DONT_BUILD_ARTIFACTS`, list of artifacts that if not found cached, fail the build
- kernel_package_source() is no more
- a long dissertation about kernels, families, and the universe
- artifacts: actually use rootfs artifact for image build
- artifacts: detangle via artifact_base_dir
- artifacts: rootfs: use folders in artifact_name; include cache_type
- artifacts: some cleanups / validations
- rootfs artifact; drop old rootfs cli
- artifacts: new CLI shortcuts; remove old firmware CLI
- artifacts: full firmware & usage
- use firmware artifacts in image build and install its debs
- kernel artifact sans legacy; use tmpdir for .deb target for all packages
- legacy artifact versions is no more; pack/unpack now in common obtain;
- artifacts: uboot: cleanup legacy renaming, use artifact version directly
- artifacts: add firmware (small) artifact
- deploy uboot to loop from artifact; allow tty to artifact; todos for cleaning
- fixes, kernel dtb/headers conditional; remove `.git` from Makefile url; use mapfile for finding files to hash
  - completely remove KERNEL_HAS_WORKING_HEADERS_FULL_SOURCE and `kernel_package_callback_linux_headers_full_source()`
  - don't use realpath for artifact_file_relative
  - curb some warnings
  - fix: only install headers & dtbs if such exist
- kernel .config hook modification hash versioning
- OCI_TARGET_BASE vs per-artifact defaults; only deploy to remote from CLI with OTB
- artifact revolver & installing into image
  - add artifact_map_packages and artifact_map_debs dicts
  - revolver accumulates all info
  - REPOSITORY_INSTALL is no more (for uboot/kernel, later others)
  - rename `VER` to `IMAGE_INSTALLED_KERNEL_VERSION`
2023-02-18 07:46:03 -03:00
Ricardo Pardini
8900eea0af
armbian-next: git-ref2info: add support for gitlab.com; exit_with_error if SHA1 can't be found 2023-02-18 07:46:02 -03:00
Ricardo Pardini
a75e58c320
armbian-next: docker: show $SECONDS in Docker dash logs 2023-02-18 07:46:01 -03:00
Ricardo Pardini
ca6bf9046b
armbian-next: remove all traces of Vagrant and FEL boot 2023-02-18 07:46:00 -03:00
Ricardo Pardini
7f1fb1cd69
armbian-next: hash-files: if no files to hash, return 16 zeros, instead of hanging forever waiting for stdin 2023-02-18 07:45:59 -03:00
Ricardo Pardini
49947ec373
armbian-next: aggregation: don't include packages.additional if BUILD_MINIMAL=yes 2023-02-18 07:45:58 -03:00
Ricardo Pardini
46b14d28c9
armbian-next: armbian-kernel: force CONFIG_LOCALVERSION_AUTO=n and DEBUG_INFO=n 2023-02-18 07:45:57 -03:00
Ricardo Pardini
0797fbf561
armbian-next: bsp-cli: fix shellcheck warning 2023-02-18 07:45:56 -03:00
Ricardo Pardini
56d32602d3
armbian-next: kernel: pkg: dtb: show 2 levels of dtbs in tree 2023-02-18 07:45:55 -03:00
Ricardo Pardini
85d13cf8ce
armbian-next: git/ref2info: fixes for using commit:<sha1> 2023-02-18 07:45:54 -03:00
Ricardo Pardini
843449597a
armbian-next: binfmts: suppress error message when trying to emulate armhf on arm64 2023-02-18 07:45:53 -03:00
Ricardo Pardini
9f6ef8deeb
armbian-next: rootfs: fix: too many bash files included in rootfs B hash, reduce to only what is used to produce rootfs tarball
- otherwise we get rootfs cache misses when working distro-agnostic and others, which are not part of rootfs code
2023-02-18 07:45:52 -03:00
Ricardo Pardini
399d9964dd
armbian-next: python/pip: include pip pkgs in Dockerfile; use them if available instead of downloading 2023-02-18 07:45:51 -03:00
Ricardo Pardini
03dd0d623b
armbian-next: debs: introduce shellcheck for DEBIAN/postinst and others, before dpkg build 2023-02-18 07:45:50 -03:00
Ricardo Pardini
5d7924ebe5
armbian-next: rootfs: include hash of rootfs bash code in the packages_hash/rootfs_cache_id
- don't use dash separator for `B`ash hash in `packages_hash`/`rootfs_cache_id`
2023-02-18 07:45:49 -03:00