1141 Commits

Author SHA1 Message Date
Alex Bee
fb250136fa rockchip: align uboot_helper and READMEs for currently supported boards 2021-01-18 00:28:58 +01:00
Ian Leonard
7472a164e1 checkdeps: add debug toggle
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 19:20:54 +00:00
Ian Leonard
75489fd17c checkdeps: remove option to add extra depends in project or distro options
Broken since November 2019 without complaint. Remove.

Revert this commit and add '. config/options ""' to scripts/checkdeps to restore
or look at having checkdeps source a function or call a script in the
distro/project/device directory to check for additional dependencies.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 19:19:47 +00:00
Ian Leonard
d655a20025 checkdeps: overhaul
Convert from using the indices of two arrays to establish a relationship
to using associative arrays to make the relationship direct in a
[key]=value pairing.

Move the qemu-binfmt-dep, et all, for native Rockchip builds out to the
project options file.

Don't recalculate needed deps if sudo isn't installed to add new packages;
just exit.

Rename Gentoo's python3 package to python. Specifying a slot would be how to
state a specific version of python on Gentoo. Regardless, python is a hard dep
of Gentoo's package manager so this will never come up in practice.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-16 18:26:21 +00:00
chewitt
7beb75fdaf amlogic: remove AMLG12 device and update AMLGX options 2021-01-13 10:43:45 +00:00
Jernej Skrabec
23e64b8622 uboot_helper: Add Tanix TX6 Crust config 2021-01-10 11:44:58 +01:00
mglae
c03f7a75a2 build: check package for wrong toolchain configured 2021-01-08 20:13:02 +01:00
Jernej Skrabec
d9bacba15b uboot_helper: Update Tanix TX6 U-Boot config file name 2021-01-06 18:20:57 +01:00
Jonas Karlman
b175b5d12f scripts/uboot_helper: update usage and comments after adding crust_config 2021-01-02 22:35:16 +00:00
Jernej Skrabec
f05af922e3 Allwinner: Fix OrangePi 3 ethernet resume 2021-01-02 19:36:45 +01:00
Andre Heider
9faef13b0b scripts: add board specific 'crust_config' to uboot_helper
The sunxi firmware crust needs to be enabled per board, add this as a
new optional option.

A missing entry indicated that crust is not supported/enabled for the
corresponding board.
2020-12-28 11:20:57 +01:00
Ilya Ostrovskiy
3f5eb79f52 Support the RockPi DTSs that are being pulled in from 5.10 2020-12-06 16:51:57 -05:00
Michael Klein
5c432689e5 uboot_helper: add Banana Pi M2 Zero board 2020-11-04 22:05:45 +01:00
Jernej Skrabec
a5be43f45c uboot_helper: Remove Allwinner A20 boards 2020-10-25 10:13:57 +01:00
Matthias Reichl
bc4943e203 scripts/mkimage: drop dt-blob.bin handling
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 21:02:05 +02:00
Matthias Reichl
8065dff7d3 scripts/image: drop dt-blob.bin handling
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 21:01:39 +02:00
Matthias Reichl
578b34eb1b scripts/mkimage: drop chowning image to SUDO_USER
This is a leftover from ancient times when mkimage had to be
run via sudo.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-13 10:32:39 +02:00
Jernej Skrabec
23551f92e4 uboot_helper: Add BananaPi M2 Ultra 2020-09-05 11:16:47 +02:00
Peter
31a7bc75d6 unpack: prevent circular unpacking between two packages
In case two packages has dependency on each other unpacking fails because unpack script goes to loop and eats all the computer resources. With this change unpack fails on third pass.
Probably this functionality could be done better but atm I don't have better idea.

unpack recursive limit hit [package1, package2]
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${PKG_NAME}" "${PARENT_PKG}"
**************************************
2020-07-11 19:26:09 +02:00
Jernej Škrabec
3ff609fd34
Merge pull request #4468 from chewitt/samsung
add experimental Samsung/Exynos/Odroid-XU4 project
2020-07-06 17:30:44 +02:00
chewitt
b17b795e83 amlogic: add C4 to scripts/u-boot helper 2020-07-01 09:55:59 +00:00
chewitt
1c0cd9e880 samsung: add exynos/odroid-xu4 to uboot_helper 2020-07-01 09:54:47 +00:00
CvH
f32e4aaa2b
Merge pull request #4388 from antonlacon/le10-april-updates
April 2020 Package Updates
2020-06-18 21:33:27 +02:00
Ian Leonard
d6622d5b94 image: zstd: use compression level 19 by default
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-07 19:52:02 +00:00
CvH
71faeb0cd7
Merge pull request #4297 from mglae/le10_image_debug_shell
mkimage: replace deprecated "tty" with "systemd.debug_shell" for Generic
2020-05-31 18:31:34 +02:00
CvH
cb97caf937
Merge pull request #4271 from catalinii/master
Support cross-compile on aarch64 platform
2020-05-31 11:09:54 +02:00
Pat Wood
c6f8822b27 uboot_helper: for Pine H64 Model B: changed target to pine-h64-model-b 2020-05-21 16:23:48 +00:00
Pat Wood
28cee771fe uboot_helper: added support for Pine H64 Model B 2020-05-21 15:51:20 +00:00
Catalin Toda
7ec5ec3f93 Add linaro gcc for compiling on host on aarch64 2020-05-02 10:18:54 -07:00
Ntemis
a0c7fef3ae uboot_helper: add Tritium H5 support
Signed-off-by: Ntemis <ierokipides.dem@gmail.com>
2020-04-26 18:50:54 +03:00
mglae
0c065dbdde mkimage: replace deprecated "tty" with "systemd.debug_shell" for Generic 2020-04-06 18:42:34 +02:00
Jernej Skrabec
7a86df990c uboot_helper: H6: Add orangepi-lite2 board 2020-04-04 21:25:52 +02:00
Jernej Skrabec
5a75688cd1 uboot_helper: add H5 board 2020-03-13 20:23:07 +01:00
CvH
5f958fcd6a
Merge pull request #4240 from MilhouseVH/le10_samba-4.12.0
samba: update to samba-4.12.0
2020-03-12 19:59:29 +01:00
MilhouseVH
ab05c17cca scripts/checkdeps: perl Yapp module required by samba-4.12.0
https://bugzilla.samba.org/show_bug.cgi?id=14284
2020-03-03 12:20:26 +00:00
chewitt
22422b139d scripts: add Amlogic emmc devices to uboot_helper 2020-03-02 11:57:30 +00:00
MilhouseVH
a1e700fd87 buildsystem: log pkg_call that failed 2020-02-19 07:49:35 +00:00
dhewg
c6e17d2b06
Merge pull request #4177 from MilhouseVH/le10-pkgbuilder-setsid
scripts/pkgbuilder.py: assign each subprocess a process group
2020-02-19 08:47:22 +01:00
MilhouseVH
ef86eb88ae scripts/pkgbuilder.py: drop redundant test 2020-02-19 07:41:18 +00:00
MilhouseVH
a6f81e49d5 scripts/pkgbuilder.py: enable percent/load/mem info with --progress 2020-02-19 07:33:42 +00:00
MilhouseVH
e488126c36 scripts/get_archive: try two times to download file 2020-02-15 19:18:18 +01:00
MilhouseVH
70b69ebffa
Merge pull request #4191 from HiassofT/le10-fix-obj-remove
allow packages to install *.o files into the image
2020-02-13 17:26:09 +00:00
MilhouseVH
8e2c02f464 scripts/pkgbuilder.py: assign each subprocess a process group
When pkgbuilder.py is terminated with SIGINT (ie. ctrl-c), or exits
immediately due to a failed job, it is sometimes possible for child
subprocesses (ie. build tasks) to remain alive and continue running
in the background.

To fix this, assign each subprocess a new process group identifier,
and capture the pid of each child subprocess so that on shutdown we
can kill the entire child process group (ie. kill the child subprocess,
and all subprocesses the child subprocess may have created) for any
builder processes that are still running.
2020-02-10 08:14:04 +00:00
MilhouseVH
a11e063083 build: auto remove build dirs 2020-02-10 08:53:39 +01:00
Andre Heider
e1ec1c7a5d unpack: don't wipe build stamps
That's the job of the clean script, don't force a rebuild after
build & autoremove & unpack
2020-02-10 08:53:39 +01:00
Andre Heider
64c73805fe build: add PKG_DEPENDS_CONFIG to set PKG_CONFIG_PATH for packages
To be used for "-sysroot" packages.
2020-02-10 08:53:39 +01:00
Matthias Reichl
24c4c14ab2 scripts/build: allow installation of *.o files
commit c468820ba9bab93c9d2fd34eba765e52b703b3ee "scripts/build: cleanup"
started to silently remove *.o files from the installation without
giving an explanation why this should be needed.

Drop that as it prevents packages from including *.o files in the
image, which eg is needed to include IR BPF decoders in LibreELEC.

Packages which install *.o files that should not end up in the image
should manually remove these in post_makeinstall_target.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-02-09 11:27:26 +01:00
Christian Hewitt
44a6266465
Merge pull request #4103 from Kwiboo/mkimage-box
scripts/mkimage: only configure extlinux for valid uboot_helper dtb
2020-01-31 10:55:35 +03:00
MilhouseVH
6d9bccebe5 scripts/pkgbuilder.py: need at least one process 2020-01-30 08:23:57 +00:00
MilhouseVH
893a7870c4 scripts/pkgbuilder.py: small cleanup 2020-01-28 12:51:10 +00:00