Hi
I wanna install U-Boot on my Fairphone 5 https://wiki.postmarketos.org/wiki/Fairphone_5_(fairphone-fp5)#U-Boot but there is not enable UHS support , &:
[a@archlinux ~]$ cd /run/media/a/1b0cfe57-4f05-4100-835d-f90559411e31
git clone https://source.denx.de/u-boot/u-boot.git
cd u-boot
make CROSS_COMPILE="aarch64-linux-gnu-" qcm6490_defconfig qcom-phone.config
make menuconfig
make -j$(nproc)
Cloning into 'u-boot'...
remote: Enumerating objects: 1108390, done.
remote: Counting objects: 100% (5292/5292), done.
remote: Compressing objects: 100% (1584/1584), done.
remote: Total 1108390 (delta 3737), reused 5196 (delta 3681), pack-reused 1103098 (from 1)
Receiving objects: 100% (1108390/1108390), 247.71 MiB | 47.96 MiB/s, done.
Resolving deltas: 100% (922771/922771), done.
Updating files: 100% (37532/37532), done.
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.[ch]
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
generated_defconfig:155:warning: override: reassigning to symbol ARM
generated_defconfig:155:warning: override: ARM changes choice state
generated_defconfig:159:warning: override: reassigning to symbol DEFAULT_DEVICE_TREE
generated_defconfig:160:warning: override: reassigning to symbol FASTBOOT_BUF_ADDR
#
# configuration written to .config
#
Using .config as base
Merging ./board/qualcomm/qcom-phone.config
Value of CONFIG_ENV_DEFAULT_ENV_TEXT_FILE is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="board/qualcomm/default.env"
New value: CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="board/qualcomm/qcom-phone.env"
Value of CONFIG_PANIC_HANG is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_PANIC_HANG is not set
New value: CONFIG_PANIC_HANG=y
Value of CONFIG_CMD_PAUSE is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_CMD_PAUSE is not set
New value: CONFIG_CMD_PAUSE=y
Value of CONFIG_BOOT_RETRY is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_BOOT_RETRY is not set
New value: CONFIG_BOOT_RETRY=y
Value of CONFIG_BUTTON_REMAP_PHONE_KEYS is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_BUTTON_REMAP_PHONE_KEYS is not set
New value: CONFIG_BUTTON_REMAP_PHONE_KEYS=y
Value of CONFIG_FASTBOOT_BUF_ADDR is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: CONFIG_FASTBOOT_BUF_ADDR=0xd8800000
New value: CONFIG_FASTBOOT_BUF_ADDR=0x1A000000
Value of CONFIG_USB_FUNCTION_ACM is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_USB_FUNCTION_ACM is not set
New value: CONFIG_USB_FUNCTION_ACM=y
Value of CONFIG_CMD_UMS_ABORT_KEYED is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_CMD_UMS_ABORT_KEYED is not set
New value: CONFIG_CMD_UMS_ABORT_KEYED=y
Value of CONFIG_CONSOLE_RECORD is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_CONSOLE_RECORD is not set
New value: CONFIG_CONSOLE_RECORD=y
Value of CONFIG_FASTBOOT_OEM_RUN is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: # CONFIG_FASTBOOT_OEM_RUN is not set
New value: CONFIG_FASTBOOT_OEM_RUN=y
Value of CONFIG_REQUIRE_SERIAL_CONSOLE is redefined by fragment ./board/qualcomm/qcom-phone.config:
Previous value: CONFIG_REQUIRE_SERIAL_CONSOLE=y
New value: # CONFIG_REQUIRE_SERIAL_CONSOLE is not set
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
*
* Restart config...
*
*
* Autoboot options
*
Autoboot (AUTOBOOT) [Y/n/?] y
delay in seconds before automatically booting (BOOTDELAY) [1] 1
Stop autobooting via specific input key / string (AUTOBOOT_KEYED) [N/y/?] n
Allow a specify key to run a menu from the environment (AUTOBOOT_USE_MENUKEY) [N/y/?] n
Show a menu on boot (AUTOBOOT_MENU_SHOW) [N/y/?] n
Boot retry feature (BOOT_RETRY) [Y/n/?] y
Timeout in seconds before attempting to boot again (BOOT_RETRY_TIME) [1] 1
Minimum timeout in seconds for 'bootretry' (BOOT_RETRY_MIN) [1] (NEW)
Reset the board to retry autoboot (RESET_TO_RETRY) [N/y/?] (NEW)
Run bootcmd on retry (RETRY_BOOTCMD) [Y/n/?] y
*
* Console
*
Console recording (CONSOLE_RECORD) [Y/n/?] y
Enable console recording during pre-relocation init (CONSOLE_RECORD_INIT_F) [Y/n/?] y
Output buffer size (CONSOLE_RECORD_OUT_SIZE) [0x6000] 0x6000
Output buffer size before relocation (CONSOLE_RECORD_OUT_SIZE_F) [0x400] (NEW)
Input buffer size (CONSOLE_RECORD_IN_SIZE) [0x100] (NEW)
Console input buffer size (SYS_CBSIZE) [512] 512
Console output buffer size (SYS_PBSIZE) [1044] 1044
Add functionality to disable console completely (DISABLE_CONSOLE) [N/y/?] n
Board specific string to be added to uboot version string (IDENT_STRING) []
loglevel (LOGLEVEL) [4] 4
Support a silent console (SILENT_CONSOLE) [N/y/?] n
Use a silent console in SPL (SPL_SILENT_CONSOLE) [N/y/?] n
Use a silent console in TPL (TPL_SILENT_CONSOLE) [N/y/?] n
Buffer characters before the console is available (PRE_CONSOLE_BUFFER) [N/y/?] n
Enable console flush support (CONSOLE_FLUSH_SUPPORT) [Y/n/?] y
Flush console buffer on every newline character (CONSOLE_FLUSH_ON_NEWLINE) [N/y/?] n
Enable console multiplexing (CONSOLE_MUX) [Y/n/?] y
Select console devices from the environment (SYS_CONSOLE_IS_IN_ENV) [Y/n/?] y
Allow board control over console overwriting (SYS_CONSOLE_OVERWRITE_ROUTINE) [N/y/?] n
Update environment variables during console init (SYS_CONSOLE_ENV_OVERWRITE) [N/y/?] n
Don't display the console devices on boot (SYS_CONSOLE_INFO_QUIET) [N/y/?] n
Allow deregistering stdio devices (SYS_STDIO_DEREGISTER) [Y/?] y
Allow deregistering stdio devices in SPL (SPL_SYS_STDIO_DEREGISTER) [N/y/?] n
Enable a null device for stdio (SYS_DEVICE_NULLDEV) [N/y/?] n
#
# configuration written to .config
#
UPD scripts/kconfig/.mconf-cfg
HOSTCC scripts/kconfig/mconf.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig
configuration written to .config
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
scripts/kconfig/conf --syncconfig Kconfig
UPD include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
cc1: warning: unknown register name: x18
cc1: warning: unknown register name: x18
GEN include/autoconf.mk
UPD include/generated/timestamp_autogenerated.h
UPD include/generated/dt.h
ENVC include/generated/env.txt
UPD include/generated/defaultenv_autogenerated.h
ENVP include/generated/env.in
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
ENVT include/generated/environment.h
LEX scripts/dtc/dtc-lexer.lex.c
YACC scripts/dtc/dtc-parser.tab.[ch]
HOSTCC scripts/dtc/yamltree.o
HOSTCC scripts/dtc/libfdt/fdt.o
HOSTCC scripts/dtc/libfdt/fdt_ro.o
HOSTCC scripts/dtc/libfdt/fdt_wip.o
UPD include/config/uboot.release
HOSTCC scripts/dtc/libfdt/fdt_sw.o
HOSTCC scripts/dtc/libfdt/fdt_rw.o
HOSTCC scripts/dtc/libfdt/fdt_strerror.o
HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o
HOSTCC scripts/dtc/libfdt/fdt_addresses.o
HOSTCC scripts/dtc/libfdt/fdt_overlay.o
HOSTCC scripts/dtc/fdtoverlay.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
UPD include/generated/version_autogenerated.h
HOSTLD scripts/dtc/fdtoverlay
HOSTLD scripts/dtc/dtc
CC arch/arm/lib/asm-offsets.s
CC lib/asm-offsets.s
cc1: warning: unknown register name: x18
cc1: error: bad value βarmv8-a+crcβ for β-march=β switch
cc1: note: valid arguments to β-march=β switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids emeraldrapids alderlake raptorlake meteorlake graniterapids graniterapids-d arrowlake arrowlake-s lunarlake pantherlake diamondrapids bonnell atom silvermont slm goldmont goldmont-plus tremont gracemont sierraforest grandridge clearwaterforest x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 lujiazui yongfeng shijidadao k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 znver4 znver5 btver1 btver2 native
make[1]: *** [scripts/Makefile.build:139: arch/arm/lib/asm-offsets.s] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: warning: unknown register name: x18
cc1: error: bad value βarmv8-a+crcβ for β-march=β switch
cc1: note: valid arguments to β-march=β switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids emeraldrapids alderlake raptorlake meteorlake graniterapids graniterapids-d arrowlake arrowlake-s lunarlake pantherlake diamondrapids bonnell atom silvermont slm goldmont goldmont-plus tremont gracemont sierraforest grandridge clearwaterforest x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 lujiazui yongfeng shijidadao k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 znver4 znver5 btver1 btver2 native
make[1]: *** [scripts/Makefile.build:139: lib/asm-offsets.s] Error 1
make: *** [Makefile:2258: prepare0] Error 2
[a@archlinux u-boot]$ gzip -k u-boot-nodtb.bin
gzip: u-boot-nodtb.bin: No such file or directory
Also why not this boot.img directly available to download?