Hello Alexander,
On 5/6/24 12:50, Alexander Dahl wrote:
> Hello,
>
> some spring cleaning and a new feature for the firmware inject
> mechanism.
>
> When trying to re-build U-Boot as an oot build for the Karo QSBASE93
> Evalkit (for QS93 Solder-Down System-on-Module) it became apparent
> U-Boot
Same approach as in barebox packages.
Signed-off-by: Alexander Dahl
---
platforms/u-boot.in | 5 +
1 file changed, 5 insertions(+)
diff --git a/platforms/u-boot.in b/platforms/u-boot.in
index 53db146e1..9163a8378 100644
--- a/platforms/u-boot.in
+++ b/platforms/u-boot.in
@@ -1,6 +1,11 @@
Almost same approach as done for barebox with commit
6684c552fbd7 ("barebox: add integration of firmware blobs") already.
For some boards it is required to inject files to build dir. This is
cleaner and not cluttering your source dir. In U-Boot it seems to work
in both ways, injecting to source
Hello everyone,
for quite some new boards external firmware blobs are required to build
a working bootloader image. This series is the follow-up to the
reworked ptxdist inject mechanism and allows to build U-Boot for modern
boards with i.MX8 or i.MX9 SoCs (and probably more).
Greets
Alex
Some things need to be set in environment instead of passing them as
additional make opts.
Signed-off-by: Alexander Dahl
---
platforms/u-boot.in | 9 +
rules/u-boot.make | 4 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/platforms/u-boot.in b/platforms/u-boot.in
pkg_source was defined as "$($(1)_DIR)" which is the same as pkg_dir in
ptxd_make_world_common. We can use pkg_dir directly. Add a safe-guard
to bail out early if that var is empty.
Signed-off-by: Alexander Dahl
---
Notes:
v2:
- no change
v1:
- implicit
One line above $target is set to "${var}/$(subshell)" and even if $var
_and_ the result of the subshell call is empty, there's still the slash.
Thus target is never empty.
Signed-off-by: Alexander Dahl
---
Notes:
v2:
- no change
v1:
- implicit
Setting the new variable to 'YES' allows to inject into _BUILD_DIR
instead of _DIR as before.
When building out-of-tree some bootloaders like U-Boot expect injected
files in the build dir, not in the source dir. Backwards compatibility
is ensured, the source dir is still the default, the new
Hello,
some spring cleaning and a new feature for the firmware inject
mechanism.
When trying to re-build U-Boot as an oot build for the Karo QSBASE93
Evalkit (for QS93 Solder-Down System-on-Module) it became apparent
U-Boot wants some of those binary blobs in build folder instead of
source
Same as in ptxd_make_world_common for all the other variables set in
make and used in shell.
Signed-off-by: Alexander Dahl
---
Notes:
v2:
- no change
v1:
- implicit
rules/post/ptxd_make_world_inject.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
10 matches
Mail list logo