Commit Graph

149 Commits

Author SHA1 Message Date
heitbaum
5a9f30cb89 u-boot: update to 2022.01
remove upstreamed Allwinner patches
rebase Allwinner patches
remove upstreamed Amlogic patches
add CONFIG_SYS_LOAD_ADDR=0x1000000 to WeTek configs
add CONFIG_SYS_LOAD_ADDR=0x43e00000 to Odroid XU4 config
remove obsolete NXP patch
- d9a6f0eed6
2022-01-15 10:16:29 +00:00
Jernej Škrabec
e3a7c0687e Merge pull request #5923 from heitbaum/build
u-boot and u-boot-tools: fix HOSTCC build issues
2021-11-27 10:26:56 +01:00
heitbaum
dfac76b2fb u-boot: fix make config with HOSTCC
Without defining HOSTCC Makefile.host was defaulting to the operating
system cc. In the minimal docker image (focal) - cc is not available.

BUILD      u-boot (target)
    TOOLCHAIN      make (auto-detect)
make[1]: Entering directory
  HOSTCC  scripts/basic/fixdep
/bin/sh: 1: cc: not found
make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 127
make[1]: *** [Makefile:488: scripts_basic] Error 2
make[1]: Leaving directory
FAILURE: scripts/build u-boot:target during make_target (package.mk)
*********** FAILED COMMAND ***********
DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm make $(${ROOT}/${SCRIPTS}/uboot_helper ${PROJECT} ${DEVICE} ${UBOOT_SYSTEM} config)
*********** FAILED COMMAND ***********
2021-11-27 01:44:26 +00:00
Christian Hewitt
eadbf85c3c u-boot: bump Amlogic to 2021.10 2021-11-26 12:00:19 +00:00
Matthias Reichl
b075c10e71 u-boot: add missing deps and host-cc options
u-boot requires openssl includes and libs on host, add the missing
dependencies and set HOSTCFLAGS so the build can pick up openssl from
the LE toolchain.

Also fix HOSTLDFLAGS to use HOST_LDFLAGS which adds an rpath to
toolchain/lib so the dynamic linker uses our openssl libs, not those
from the host.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-30 17:47:40 +02:00
heitbaum
fe7c8dfe1e u-boot: use setup_pkg_config_host for build
Issue was that pkg-config picks wrong include folders. That is because
in u-boot case, pkg-config is configured to pick up target (ARM)
includes and libraries, because it's called from make_target(). Simple
solution to avoid patching sources and adding CONFIG_TOOLS_LIBCRYPTO
line to each and every config file is to add setup_pkg_config_host at
the beginning of make_target(). Include the dependency to
openssl:host.
2021-10-10 19:56:36 +11:00
heitbaum
b91cb5f2b0 u-boot: update to 2021.10 2021-10-08 19:02:09 +11:00
Jernej Skrabec
03e61f9216 u-boot: Update to 2021.07 2021-09-12 16:33:37 +10:00
Alex Bee
6560ed36ef Rockchip: u-boot: fix boot for RK3999-ROC-PC 2021-06-04 22:16:41 +02:00
Ezra Buehler
d2af770524 u-boot: rockchip: fix build with GCC 10 2021-04-30 22:40:54 +00:00
Christian Hewitt
aa335d515d u-boot: add Amlogic 2021.04-rc2 option for testing 2021-03-04 14:55:17 +00:00
Alex Bee
ba907f5d28 u-boot: rockchip: fix mac address generation from efuse for RK3288
For RK3288 CONFIG_SHA256 has to be selected seperatly in vendor u-boot
for the mac-address calculation to work - otherwise it will silently fail.
2021-02-16 16:38:34 +01:00
Jernej Skrabec
ea0fb3e525 u-boot: Add support for PXE DT overlays 2021-01-21 22:18:22 +01:00
Ian Leonard
bd3b212848 tools: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:19 +00:00
Jernej Skrabec
5e7e0501e5 u-boot: Update to 2021.01 2021-01-12 21:31:50 +01:00
Jonas Karlman
11db31c238 u-boot: restore bootloader/firmware script
Also move crust depend into options
2021-01-02 22:42:56 +00:00
Andre Heider
f7bbe3903f u-boot: fix warnings with unset UBOOT_SYSTEM 2020-12-31 11:59:30 +01:00
Andre Heider
19c994e914 u-boot: add support for crust 2020-12-28 11:20:57 +01:00
Andre Heider
31b199fda5 u-boot: fold atf bootloader/firmware script
Fold this generic oneliner into the package, it's not allwinner specific.
2020-12-28 11:20:57 +01:00
Andre Heider
e83096fb7b u-boot: update to v2021.01-rc4
Required for sunxi crust support.
2020-12-28 11:20:57 +01:00
Jonas Karlman
94c05d489d u-boot: update to v2020.10 2020-10-13 06:08:58 +00:00
chewitt
f2933a5cb7 u-boot: update to 2020.04 and drop temp VIM3L patches 2020-05-01 13:50:16 +00:00
chewitt
8a03faa3a4 u-boot: add temp patches to support VIM3L 2020-03-02 11:57:30 +00:00
Andre Heider
4c80f82f21 u-boot: update to v2020.01 2020-02-10 09:22:25 +01:00
Jonas Karlman
1111c606f6 u-boot: rockchip: fix build with make 4.3 2020-01-20 12:37:50 +01:00