Commit Graph

1149 Commits

Author SHA1 Message Date
Matthias Reichl
b13605ee0e Merge pull request #10249 from heitbaum/atfuboot
[le12.2] update atf and u-boot
2025-07-23 12:27:01 +02:00
Christian Hewitt
6e002d72d1 scripts: add LibreComputer alta/solitude to uboot_helper 2025-07-23 00:42:02 +00:00
Daniel Engberg
be0be0a00b uboot_helper: RK3399: Add Radxa ROCK 4SE
Add Radxa ROCK 4SE which is officially supported by u-boot and
mainline kernel.
2025-07-23 00:42:02 +00:00
Michele Zuccala
7522fb2112 uboot_helper: RK3399: Add Radxa ROCK 4C+
Added Radxa ROCK 4C+ which is officially supported by uboot and kernel.
2025-07-23 00:42:02 +00:00
Matthias Reichl
ba3527f093 Merge pull request #10241 from heitbaum/uplift-kernel-projects-to-master
[le12.2] Uplift kernel projects to master
2025-07-22 19:53:58 +02:00
luzpaz
e7aba2b5bb treewide: fix typos
Found via `codespell -q 3 -S "*.patch,*.po" -L acount,afile,distroname,parm,serie,synopsys`
2025-07-21 13:49:33 +00:00
Rudi Heitbaum
09dd67172b linux (NXP iMX8): update to 6.15.4 and support for Coral Edge TPU Development Board
- add R8712U for WEXT_PRIV required for RTL8192DU
- add RTL8192DU
- increase CMA to 384
- enable kernel based RTW88_8821AU and RTW88_8812AU
- enable kernel options IP_SET and NETFILTER_XT_
- enable CONFIG_IPV6_MULTIPLE_TABLES
- Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ
  Update to current NXP patch
  - https://patchwork.freedesktop.org/series/120825/
  This replaces and supersedes the v1 patch
  - https://patchwork.kernel.org/project/linux-rockchip/cover/cover.1590982881.git.Sandor.yu@nxp.com/
- add support for Coral Edge TPU Development Board
- Update to V20 - Cadence MHDP8501(HDMI/DP) for i.MX8MQ
  ref:
  - https://patchwork.freedesktop.org/series/120825/
  - https://patchwork.kernel.org/project/linux-phy/list/?series=892316
  - https://patchwork.kernel.org/project/linux-phy/list/?series=912540
  - https://patchwork.kernel.org/project/linux-phy/list/?series=918529
- add mendel coral patches
- adjust downstream mendel coral patches for linux-6.11
  Allows pcie0 to come online (not the wireless card though)
- 81d1d214e1
- f6a1fdfc78
- b9812179f6
- https://lore.kernel.org/all/20250213-bridge-connector-v3-3-e71598f49c8f@kernel.org/
- c2b190bf2a
- CONFIG_IPV6_MULTIPLE_TABLES tidy up not set CONFIG
- enable kernel options CONFIG_IP_NF_RAW and CONFIG_IP6_NF_RAW
2025-07-21 08:24:45 +00:00
Rudi Heitbaum
ef165c3e9d scripts and tools: only use --passive-ftp for ftp: urls 2024-09-08 11:04:12 +00:00
Andreas Baierl
cba6ee6dd8 checkdeps: fix dependencies for aarch64 debian/ubuntu host
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
2024-04-18 09:18:10 +02:00
Christian Hewitt
2f91a9f20a Merge pull request #8517 from heitbaum/make2
drop PKG_TOOLCHAIN hardcoding - already defaults to …
2024-01-30 16:14:42 +04:00
Matthias Reichl
a6ce06cb01 scripts/mkimage: create storage filesystem without orphan_file option
resize2fs creates a filesystem with unclean orphan file when resizing
to more than 32GB if the orphan_file option is enabled, resulting in
an unmountable storage partition after initial resize.

Explicitly disable the option until the issue is resolved.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-17 16:49:39 +01:00
Rudi Heitbaum
3b0e6d5c8a scripts/build: handle GNUmakefile in addition to Makefile for PKG_TOOLCHAIN=make 2024-01-14 04:39:45 +00:00
Matthias Reichl
072f535087 scripts/image: Fix RPi4 and RPi5 noobs build
When making the boodloader files optional I forgot to remove the code
that unconditionally copies the bootloader files which broke noobs
build for RPi4 and RPi5. Drop the code, the files are already copied
by the for loop above.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-02 15:19:45 +01:00
Rudi Heitbaum
eb96db0e50 scripts/checkdeps: add rdfind needed by kernel-firmware 2023-11-13 12:04:11 +00:00
Christian Hewitt
c3a0d90ebc scripts: drop WeTek Hub from uboot_helper 2023-10-20 13:30:04 +00:00
Matthias Reichl
968f589b37 RPi: make bootloader files optional
RPi4 only needs start.elf/fixup.dat, RPi5 doesn't need any of them

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-29 11:00:16 +02:00
Matthias Reichl
63c68f7670 scripts/image: support EXTRA_CMDLINE in noobs image creation
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-08-20 17:02:18 +02:00
CvH
3f49a597e6 Merge pull request #7036 from antonlacon/le11-scripts
buildsystem: additions to show_config, related
2023-04-16 10:34:43 +02:00
Matthias Reichl
4c7b120ddf scripts/build: properly honor strip build flag
Package building honor's the strip flag so we can prevent executables
from being stripped.

But copying files to INSTALL ignored that flag which meant the flag
had practically no effect.

Fix this by using the same logic as we do in the meson strip handling in
line 170 and in config/functions.

Also add the missing quotes in scripts/build to align it with config/functions

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-03-30 17:13:58 +02:00
CvH
c8af503bb8 Merge pull request #7459 from heitbaum/7-zip-build
toolchain: migrate from p7zip to 7-zip
2023-03-05 21:34:51 +01:00
Christian Hewitt
49950be03a scripts: add BananaPi M2S to uboot_helper 2023-02-26 13:07:02 +00:00
Christian Hewitt
e753bdf537 scripts: add BananaPi M2-Pro to uboot_helper 2023-02-26 13:06:55 +00:00
Alex Bee
a16a1a3cf8 scripts/image: add --remove-destination when copying filesystem
This is required to override symlinks which might exist there already.
2023-02-11 09:22:33 +01:00
Jernej Skrabec
826c062bc0 uboot_helper: update orangepi-3-lts configuration 2023-02-08 18:03:12 +01:00
Rudi Heitbaum
c2a52dc4ac toolchain: migrate from p7zip to 7-zip
The -l option to 7za is not included the 7-Zip 22.01 version,
it was an option added to the p7zip version:

  don't store symlinks; store the files/directories they point to
  (CAUTION : the scanning stage can never end because of recursive
  symlinks like 'ln -s .. ldir')

The default for p7zip 16.02 7za was to store symlinks.
The default for 7-zip 22.01 7za is not to store symlinks.

test output is below and the -l option has been dropped from scripts/install_addon

$ ls -l test
total 4
-rw-r--r-- 1 docker docker 4 Jan 29 10:35 abc
lrwxrwxrwx 1 docker docker 3 Jan 29 10:35 def -> abc

7-Zip (a) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
 64-bit locale=en_US.UTF-8 Threads:16
$ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
Archive:  test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:36 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/def
--------          -------  ---                            -------
       8                8   0%                            3 files

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)
$ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:35 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       3  Stored        3   0% 2023-01-29 10:35 352441c2  test/def
--------          -------  ---                            -------
       7                7   0%                            3 files

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)
$ 7za a -l -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
Archive:  test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:35 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/def
--------          -------  ---                            -------
       8                8   0%                            3 files
2023-02-04 03:03:19 +00:00
Matthias Reichl
e63855bc0f scripts/mkimage: support multiple distroconfig files
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Matthias Reichl
156a3f2614 scripts/image: support multiple distroconfig files
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Jernej Skrabec
1bd87f7360 uboot_helper: Add OrangePi 3 LTS target 2023-01-02 16:01:01 +01:00
SupervisedThinking
b76b39d823 scripts/build: update TRACE_BUILD_TIMING 2022-12-06 16:31:24 +01:00
Matthias Reichl
8022ec23bf scripts/build: use wrapper scripts when building with local-cc flag
Several packages and buildsystems (most notably cmake) badly trip
over CC="ccache gcc" so create local wrapper scripts in the build
dir and set CC/CXX to them to work around that - like we do for
host-gcc and gcc in toolchain.

Signed-off-by: Matthias Reichl <hias@horus.com>

fixup scripts/build local-cc wrapper
2022-12-02 01:11:39 +01:00
SupervisedThinking
0ffe017fa9 scripts/build: fix meson 0.64.0 deprecation warning 2022-11-16 09:32:46 +01:00
Ian Leonard
d417519f98 buildsystem: move STORAGE_SIZE to the general buildsystem
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-24 00:49:24 +00:00
Ian Leonard
bd360ccefa scripts/checkdeps: fedora bdftopcf package name change
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-05 03:18:38 +00:00
CvH
86c55c87b7 Merge pull request #6885 from knaerzche/rk-upstream-uboot
Rockchip: switch to mainline u-boot
2022-10-03 11:03:34 +02:00
Matthias Reichl
546e7c653f buildsystem: add support for reporting build timing details
Timing detail reporting can be enabled by setting
TRACE_BUILD_TIMING=1

This enables timestamping collecting at various build stages so we
can easily analyze how long eg configure, make/build, install etc
steps take.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-22 19:33:30 +02:00
lihex
ec1210eebc force overwrite file on unziping files
add flag "-o" to overwrite file on unzipping.
when a build is interrupted by some issues, it will cause a re-substitution problem after a rebuild the target whose source code come from a zip file (like target jzintv)
2022-09-21 21:06:25 +08:00
Alex Bee
109b7bc2d0 Rockchip: switch to mainline u-boot 2022-09-12 08:21:01 +00:00
CvH
017ceab30e Merge pull request #6705 from SupervisedThinking/up_checkdeps_arch
[le11] scripts/checkdeps: add EndeavourOS & fix Java
2022-09-02 05:42:30 +02:00
Christian Hewitt
e924769df9 samsung: add support for an XU3 image 2022-08-21 12:24:14 +00:00
Ian Leonard
3c999938ed scripts: suppress qa_check error message when no issues present
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-08-15 06:06:33 +00:00
SupervisedThinking
3f099ca0ed scripts/checkdeps: add EndeavourOS & fix Java 2022-08-04 11:34:45 +02:00
Rudi Heitbaum
44d5686e0d scripts/image: cleanup ORIGIN_URL 2022-07-21 12:00:49 +00:00
Lukas Rusak
3fa587eb52 add ability to log qa checks 2022-06-28 15:24:22 -07:00
Ian Leonard
e4bded9315 makefile_helper: only source necessary values from buildsystem's config
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-05-01 17:56:34 +00:00
Rudi Heitbaum
03f142b99e scripts/makefile_helper: make sure variables are set before running an rm 2022-04-30 09:58:07 +00:00
Ian Leonard
1f4ffcc981 scripts/makefile_helper: initial commit
The buildsystem's Makefile hardcodes the location of the BUILD_DIR used
by the rest of the buildsystem. Add a script to handle what BUILD_DIR
might be set to.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-04-24 20:08:53 +00:00
CvH
b284b18d89 Merge pull request #6262 from antonlacon/show-config-cflags
Account for setup_toolchain in show_config's reported CFLAGS/LDFLAGS
2022-02-27 21:16:40 +01:00
Christian Hewitt
3ccf688470 scripts: add Radxa Zero2 to uboot_helper 2022-02-19 11:01:39 +00:00
Christian Hewitt
b04da7c1e3 scripts: drop beelink-s922x from helper as no longer needed 2022-02-19 11:01:39 +00:00
Ian Leonard
41d833c2aa scripts/image: include adjustments to cflags made by toolchain setup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-02-19 07:30:16 +00:00