Commit Graph

2106 Commits

Author SHA1 Message Date
amazingfate
afc30e64eb patching: set commit index length to 12 when rewriting patches 2023-12-30 13:33:56 +01:00
Igor Pecovnik
18ba950f38 Enable support for extensions within USERPATCHES_PATH 2023-12-29 23:37:10 +01:00
Viacheslav Bocharov
0b79ff3a63 Don't generate armbian.list if when==image-early 2023-12-29 09:39:56 +03:00
Ricardo Pardini
65dcd9e264 [cleanup] extensions: flash-kernel: removed (and a few references to it)
- thanks to Gunjan for replacing it
2023-12-28 13:52:19 +01:00
Ricardo Pardini
1efe94cc0d drivers_network: bumps to drivers from upstream repos (by Igor, from AR-2005)
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2023-12-27 13:29:37 +01:00
amazingfate
5e49728b2b add support for building linux-next kernel 2023-12-27 12:11:42 +01:00
Gunjan Gupta
2ea9d98656 xradio: remove upstreamed patch 2023-12-25 12:20:50 +05:30
Gunjan Gupta
03cbbdff7b driver-harness: fix compilation failure with 6.7 kernel as observed with allwinner kernels 2023-12-24 09:13:08 +01:00
Gunjan Gupta
5f4b0e335b Do not set upper limit for uwe5622 driver as this can make the driver get lost during upgrade 2023-12-24 09:13:08 +01:00
Igor
f2e663f087
Improved debootstrap hacking support with fixes for Ubuntu Noble (#6076)
* Remove extension for patching Deboostrap to support Ubuntu Noble
* Integrate Deboostrap patching to the build script
* fix problems related to Noble
2023-12-22 08:04:55 +01:00
Werner
e23c6cf9b5 Update main-config.sh 2023-12-21 09:38:37 +05:30
Gunjan Gupta
1c3b7ec36c
Raspberry Pi: Added rpi5 support and removed flash-kernel dependency (#6039)
* Disable flash kernel and rearrage functions inorder they are executed
* Add board config for raspberry pi 5
* Change config.txt and cmdline.txt to match official rpi version
* Install Rpi related packages from Armbian repository
* Remove ddk branch aka RASPI (Ubuntu) kernel
* We still have unsupported releases, but for different reason
* Lower kernel output at booting to meet our other builds. Default is too mouch for end user
* Add more info where we import packages
* Add testing targets
---------
Co-authored-by: Igor <igor@armbian.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2023-12-17 16:48:22 +01:00
Igor Pecovnik
ca2ecf556e
Revert "Fix armbian-firmware-full package build."
This reverts commit 0396c65c30.
2023-12-17 13:24:45 +01:00
Kevin Schmidt
0396c65c30 Fix armbian-firmware-full package build.
Include symlinks from linux-firmware.
2023-12-17 10:32:42 +01:00
Igor Pecovnik
2ee1616917 Move to primary pastebin service. It was upgraded long time ago and nobody switched back
Secondary is borked anyway. Probably ran out of resources.
2023-12-14 21:54:22 +01:00
Igor
c5c81a8b58
Move live patch to bsp extension and limit to startup patching (#6017)
* Move live patch to extension
* Move to the board support package and keep only startup patch
2023-12-14 10:36:44 +01:00
Paolo Sabatino
af031aeefd uwe5622: tidy up patch files organization
* move uwe5622 driver patches into specific misc directory
 * remove "_allwinner" suffix in function call
2023-12-08 18:25:10 +01:00
Paolo Sabatino
2b342b2366 rockchip64: move uwe5622 adjust patch to misc 2023-12-08 18:25:10 +01:00
Andrew Davis
33d8026508
Use TI kernel for K3 family with current v6.1.y (#5999)
* Add git.ti.com to memoized_git_ref_to_info() as a generic cgit

Like kernel.org, git.ti.com uses cgit. We might want to change this logic to
accept the git hosting type (cgit, gitlab, github, etc..) and not match only
on known repo urls. For now just add this repo url to the known list.

* K3: Switch current to TI vendor kernel v6.1.y

* K3: Bump edge to kernel v6.6.y
2023-12-05 12:50:40 +01:00
Gunjan Gupta
9131aac1c9 Switch entirely to fifteenhex repo for xradio driver as it performs better 2023-12-02 17:30:31 +05:30
Ricardo Pardini
983d8258d9 armbian-kernel: don't force =n for DEBUG_INFO_DWARF5 and DEBUG_INFO_BTF
- really can't remember why I added those, and they cause trouble for BTF
  - See https://www.kernel.org/doc/html/next/bpf/btf.html
  - `CONFIG_DEBUG_INFO_BTF: Generate BTF typeinfo`
    - _Generate deduplicated BTF type information from DWARF debug info. Turning this on expects presence of pahole tool, which will convert DWARF type info into equivalent deduplicated BTF type info._
2023-11-29 20:00:13 +01:00
Igor
e95fbdcfad
Add simple patch system as a standalone service (#5935)
Sometimes we need to fix minor issues like changing the key or fixing other small problem on live OS. We can ship this as a part of BSP package, but its handling should be made easy.

This downloads script from CDN, verify its signature and executes after apt upgrade starts installing packages.

* Record patch output to syslog
* Enable armbian-live-patch as additional service and run patch mechanism at startup
* Additional security check
2023-11-27 13:01:20 +01:00
Ricardo Pardini
91a3607c0f wsl2: detect Armbian-built wsl2 kernel as well as Microsoft's default kernel
- previous commit introduces Armbian wsl2 kernels, might as well detect them
2023-11-27 11:14:01 +01:00
Igor
1f1d77cff3
Move netplan renderer selection to distro common selection (#5971) 2023-11-26 23:18:40 +01:00
Ricardo Pardini
4e37b276d1 bash: run shellfmt, no changes 2023-11-25 13:38:30 +01:00
Ricardo Pardini
99d4abf7a1 drivers_network: replace all "branch:xxx" references with sha1; add notice about it 2023-11-25 13:38:10 +01:00
Ricardo Pardini
1dd4a95a77 drivers-harness: hash the whole of patch/misc; throw error if driver does fetch_from_repo with mutable ref
- this should make drivers hash consistent, at the expense of being moar tiresome
- _any_ changes at _any_ patches or drivers-related bash code will cause _all_ kernels to be rebuilt
  - opposed to "some changes caused all kernels to be rebuilt"
2023-11-25 13:38:10 +01:00
Ricardo Pardini
67b3e0dd07 git: fetch_from_repo(): introduce FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE
- function defined in FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE is called if reference is mutable
  - which is anything that's not `commit:` or `tag:`
    - and really there's no guarantee that `tag:` is immutable, but lets assume
2023-11-25 13:38:10 +01:00
Ricardo Pardini
2a9ec6d844 stacktraces: introduce get_stacktrace_element_by_index() to get a specific stracktrace element 2023-11-25 13:38:10 +01:00
Ricardo Pardini
7e2e557532 armbian-kernel: enforce CONFIG_LOCALVERSION in .config as empty 2023-11-25 13:38:01 +01:00
Ricardo Pardini
77e428a87c artifact-uboot: fix hashing for uboot_custom_postprocess old-timey non-hook
- also, for extension style hook `post_uboot_custom_postprocess`, don't do it 3 times, just once
- this commit will cause rebuild of all u-boots
  - and that's a good thing, many custom changes in family code (eg ddr change in rk322x) were being ignored
  - thanks @paolosabatino
2023-11-25 13:37:49 +01:00
amazingfate
aff6915fba use mirror.ghproxy.com as default url of ghproxy 2023-11-21 17:06:14 +01:00
amazingfate
81c460e3bf use GHPROXY_ADDRESS to customize ghproxy url 2023-11-21 17:06:14 +01:00
Gunjan Gupta
c45a63e63b Add option to include home directory in the final image 2023-11-21 20:29:37 +05:30
Ricardo Pardini
1e184f14af core extensions: fix: don't redefine extension_function_info when recursing
- otherwise when there's a chain of enable_extension() we lose the original info
2023-11-19 22:31:33 +01:00
Alban Browaeys
312738fa70 Revert "Add a patch that breaks compilation of wifi driver 8723ds on a kernel 6.6 (#5912)"
Fix is now merged in upstream master branch.

This reverts commit 563de0bd8a.
2023-11-17 06:47:47 +01:00
Igor Pecovnik
b5d5accd77 Keep the VENDOR in motd after the update 2023-11-16 07:26:43 +01:00
Igor
6bcf74f2e7
Anonymize default build engine settings (#5865)
Improve naming confusion by changing build framework defaults. Set framework defaults VENDOR to Armbian-unofficial for self build images. Unsupported boards and unsupported distribution have framework defaults, except VENDOR and VENDORURL. We build images with predefined values.
2023-11-15 22:00:21 +01:00
Ricardo Pardini
28b87b0641 initrd: cache: add /etc/modprobe.d to cache key (eg for MODULES_BLACKLIST) 2023-11-15 00:32:16 +01:00
Igor
563de0bd8a
Add a patch that breaks compilation of wifi driver 8723ds on a kernel 6.6 (#5912)
+ attach sources to commmit ID
2023-11-14 18:21:21 +01:00
Igor
a1294f470e
Fixing wrong Makefile location when adjusting wireless driver rtl8723cs 2023-11-14 13:45:20 +01:00
Igor
dc5d461c95
Move Makefile section from patch (#5909)
There are many changes in this file and its impossible to cover this with a patch for now current and all kernels back
We are using same hack in UWE drivers.
2023-11-14 12:04:15 +01:00
Ricardo Pardini
46728e94f2 rootfs-to-image: create_image_from_sdcard_rootfs(): ignore /home during rsync; fixes #5864 2023-11-06 16:17:21 +01:00
Igor
d799b5a6df
Remove cpufrequtils from trixie as its not / will not be present anymore (#5881)
* Remove cpufrequtils from trixie as its not / will not be present anymore
* Remove aggregation hacks for cpufrequtils while adding another condition
2023-11-03 08:10:59 +01:00
Ricardo Pardini
1f436bddba initrd: if debugging, don't filter update-initramfs output (errors might be lurking in there) 2023-10-31 08:08:06 +01:00
Ricardo Pardini
6186a41c2b patching: if 0 files left to commit after config-filtering, don't commit nor rewrite the patches
- this is mostly useful for Makefile's and DT patches which should end be bare instead of null-patched
2023-10-26 14:48:49 +00:00
Ricardo Pardini
91094149de base-files / apt-utils: stop trying non "-updates" repos when looking for Ubuntu LTS release package
- otherwise, when the lookup at "jammy-updates" fails (due to server instability), and "jammy" works, we end up with the wrong version
- non-LTS releases don't have the "-updates" repo, so don't even try, which should make everything faster
- TODO: yet-another opportunity to have a release metadata file, otherwise this is yet-another place where we list "jammy"
2023-10-21 13:58:37 +02:00
Gunjan Gupta
2980065b8c uwe5622: Fix kernel warning for incorrect netdev-dev_addr 2023-10-20 17:37:40 +05:30
Ricardo Pardini
2b6a90484a docker launcher: don't lose track of the wanted host_release when setting using Armbian base image
- host_release (wanted_release_tag) was being re-computed from  DOCKER_ARMBIAN_BASE_IMAGE
- DOCKER_ARMBIAN_BASE_IMAGE might have been changed from "<os>:<release>" if DOCKERFILE_USE_ARMBIAN_IMAGE_AS_BASE != no
- that would cause host_release to be "armbian-ubuntu-lunar-latest", not "lunar"
  - which would cause python2/python2-dev to be installed, which would cause Dockerfile build to fail
2023-10-20 12:06:32 +00:00
Ricardo Pardini
b3fb316346 cli-patch: don't ask about desktop/server builds during patch rewrite/to-git
- add to-do for real fix later
2023-10-18 14:58:46 +00:00