HI
Rockpi5b uboot from below link gives error
https://wiki.radxa.com/Rock5/guide/build-debian-from-debos-radxa
OBJCOPY u-boot-nodtb.bin
start=$(aarch64-none-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ’ '); end=$(aarch64-none-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ’ '); tools/relocate-rela u-boot-nodtb.bin 0x00200000 $start $end
./“arch/arm/mach-rockchip/make_fit_atf.sh”
arch/arm/dts/rk3588-rock-5b.dtb > u-boot.its
Traceback (most recent call last):
File “/root/rk3588-sdk2/u-boot/arch/arm/mach-rockchip/decode_bl31.py”, line 58, in
main()
File “/root/rk3588-sdk2/u-boot/arch/arm/mach-rockchip/decode_bl31.py”, line 55, in main
generate_atf_binary(bl31_elf);
File “/root/rk3588-sdk2/u-boot/arch/arm/mach-rockchip/decode_bl31.py”, line 38, in generate_atf_binary
for index, entry, paddr, data in unpack_elf(bl31_file_name):
File “/root/rk3588-sdk2/u-boot/arch/arm/mach-rockchip/decode_bl31.py”, line 18, in unpack_elf
with open(filename, ‘rb’) as file:
IOError: [Errno 2] No such file or directory: ‘…/rkbin/bin/rk35/rk3588_bl31_v1.47.elf’
ls: cannot access ‘bl31_0x*.bin’: No such file or directory
MKIMAGE u-boot.itb
./tools/mkimage: Can’t open …/rkbin/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin: No such file or directory
Error: SPL image is too large (size 0xffffffff than 0xff000)
Error: Bad parameters for image type
Usage: ./tools/mkimage -l image
-l ==> list image header information
./tools/mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file…] image
-A ==> set architecture to ‘arch’
-O ==> set operating system to ‘os’
-T ==> set image type to ‘type’
-C ==> set compression type ‘comp’
-a ==> set load address to ‘addr’ (hex)
-e ==> set entry point to ‘ep’ (hex)
-n ==> set image name to ‘name’
-d ==> use image data from ‘datafile’
-x ==> set XIP (execute in place)
./tools/mkimage [-D dtc_options] [-f fit-image.its|-f auto|-F] [-b [-b ]] [-i <ramdisk.cpio.gz>] fit-image
file is used with -f auto, it may occur multiple times.
-D => set all options for device tree compiler
-f => input filename for FIT source
-i => input filename for ramdisk file
-v => set FIT image version in decimal
Signing / verified boot not supported (CONFIG_FIT_SIGNATURE undefined)
./tools/mkimage -V ==> print version information and exit
Use ‘-T list’ to see a list of available image types