Commit Graph

888 Commits

Author SHA1 Message Date
Darsey Litzenberger
ce33bddb58 Make the colorized build output readable on a light background
This fixes the readability of colorized output of compile.sh when
running on a terminal with a light background.  It uses the COLORFGBG
environment variable similarly to how the ip(8) command does.

Signed-off-by: Darsey Litzenberger <dlitz@dlitz.net>
2024-02-09 19:38:03 +01:00
Gunjan Gupta
2341940cbe Fix broken compilation for boards with multiple targets 2024-02-04 16:23:09 +01:00
Gunjan Gupta
473548220c uboot: make sure patches work for custom uboot builds too 2024-02-04 11:22:27 +01:00
Gunjan Gupta
218f54dc28 Fix git_ensure_safe_directory function again
The command added to check whether the directory is git or not was
having syntax error. Fixed the same. Also it seems adding safe-directory
with local doesn't really work which actually makes sense. hence
reverting to using global instead. Its still safer than before as
we are not adding * and are adding the actual path of the directory
2024-02-03 04:50:42 +05:30
Rafael
94d4c007d1
Feature lvm support (#6204)
* using the configured volume group name
* added LVM support
* ensuring /boot never on LVM volume, created hook to setup root device
* preparing root device via extension, not assuming any particular partition for root
* using tab spacing
* using global parameter to require a boot partition
* using boot require, moving cryptroot code to extension
* adds crypt image suffix
---------

Co-authored-by: rafael <rvalle@privaz.io>
2024-02-01 20:01:58 +01:00
Igor Pecovnik
07037232a1 Unstable / testing packages sometimes contain hacks that are patching files 2024-02-01 22:01:44 +05:30
Gunjan Gupta
7b81255a5f Fix compilation within docker-shell 2024-02-01 21:04:23 +05:30
Gunjan Gupta
7bb20d7063 uwe5622: reduce system load 2024-01-31 23:55:58 +05:30
Gunjan Gupta
d9d6524e7f Add hook to allow forcing uboot update 2024-01-30 12:00:24 +01:00
Igor Pecovnik
6b42f34b73 Add additonal check before running git command 2024-01-26 22:11:14 +01:00
Igor Pecovnik
12910e0d37 Fixes poorly made Git safe.directory workaround 2024-01-26 21:28:05 +01:00
Gunjan Gupta
c47c9372bf
Khadas VIM1S & VIM4 - 5.15 kernel bump (#6201)
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
Igor Pecovnik
5383bd3cfa Upstream wireless RTW88: Both 6.6 and 6.7 got patch integegrated, thus don't apply it for 6.6 and up 2024-01-26 08:34:38 +01:00
amazingfate
d9389553e0 rtw88: remove merged patch for kernel 6.8 2024-01-24 17:43:27 +01:00
Alex Shumsky
eee0d33bbc partitioning: allow to disable boot partition if bootloader known to support rootfs 2024-01-22 21:18:15 +01:00
Alex Shumsky
86a743ad83 partitioning: do not force image size estimation for (potentially) compressed btrfs rootfs 2024-01-22 21:18:15 +01:00
amazingfate
64094ee20e fix gitee mirror 2024-01-22 21:17:15 +01:00
Igor Pecovnik
565a33d62d Add SWITCH to define XZ compression as a parameter and leave defaults as is 2024-01-17 13:08:13 +01:00
Gunjan Gupta
a57329d611 remove remnants of SKIP_BOOTSPLASH 2024-01-17 04:13:40 +05:30
Ricardo Pardini
c8de95ccc7 artifact-uboot.sh: add a fake variable to hash, so all u-boots are rebuilt 2024-01-13 14:44:56 +01:00
Ricardo Pardini
04bde7ac47 config: calculate BOOTSOURCEDIR & friends only _after_ late_family_config hook; fixes #6144
- snafu on my part, sorry
- also: add more change-tracking variables; add more calls to change tracking in some key places, for future clarity
2024-01-13 14:44:49 +01:00
Igor Pecovnik
6cd3981805 Re-enable resolv.conf during deboostrap process as network manager seems to break it 2024-01-13 11:48:38 +01:00
Igor Pecovnik
9c75c86a54 Set DNS server if systemd-resolved is in use, change switch to if and check for DISTRIBUTION 2024-01-12 19:34:17 +01:00
Paolo Sabatino
8786526914 rtl8723cs: fix driver compilation on kernel 6.7 2024-01-11 23:38:57 +01:00
Ricardo Pardini
bebf4c7ae0 lib: implement and sprinkle some very basic config var change-tracking across board/family sourcing and several hook calls 2024-01-07 18:58:36 +01:00
Ricardo Pardini
dccf44630f main-config: arch common: kernel/u-boot config defaulting+overriding via hook instead of pre-setting
- common.conf delegating to new `mainline_kernel_decide_version` hooks
- special case handling for v6.7-rc7
- some examples
- late-stage "use rolling branch version"
2024-01-07 18:58:36 +01:00
Ricardo Pardini
ac599c557a lib/family config: remove resquices of KERNELDIR which is completely unused for a long time
- also `MAINLINE_KERNEL_DIR` not needed then
2024-01-07 18:58:36 +01:00
Ricardo Pardini
64b724d1d7 main-config: mark mirror variables readonly; add todo's 2024-01-07 18:58:36 +01:00
Ricardo Pardini
c434c3613c core: semantic change, KERNELSOURCE must be explicitly 'none' to avoid kernel compilation (not unset) 2024-01-07 18:58:36 +01:00
Igor Pecovnik
32fecdd9cc
Improve sed regex to cover all cases that exists at once. Current solution was broken in Noble 2024-01-05 13:25:24 +01:00
Igor
69d0ec7218
Set dpkg vendor to Armbian in all images (#6122)
* Set dpkg vendor to Armbian in all images

We already set to Armbian, but we didn't set default link. This fixes it for both, Debian and Ubuntu.

* Adjust post install scripts to set correct link on upgrade
2024-01-03 23:57:39 +05:30
Gunjan Gupta
fbad168eda
Fix rpi image creation broken since to #6087 (#6123)
* Revert "Don't generate armbian.list if when==image-early"
This reverts commit 0b79ff3a63.
* Remove armbian.list.disabled file if it exists
2024-01-01 23:19:35 +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