Binman for RK35xx

Игорь Зафиевский i.zafievsky at gmail.com
Tue Apr 4 01:06:38 CEST 2023


Hello!

First of all: I have no idea who wrote the original rockchip-u-boot.dtsi,
but all the time I've worked with Rockchips SoCs, it;s always been like
this : BL31 is provided by Rockchips in form of .elf file, that binman
successfully process, and BL32 (AKA OP-TEE) is provided as a pre-compiled
blob that just need to be loaded at fixed address and nothing more, ATF
(BL31) knows what to do.

Jonas, I've done what you recommend. Edited .dtsi and binman output
attached. Produced .itb looks unusable because of the following:
1. No load address for optee entry
2. FDT entry in configuration looks wrong
3. No "firmware" entry in configuration
4/ No "loadables" entry in configuration

Any suggestions?

Regards,
Igor

пн, 3 апр. 2023 г. в 17:03, Jonas Karlman <jonas at kwiboo.se>:

> On 2023-04-03 15:33, Peter Robinson wrote:
> > On Mon, Apr 3, 2023 at 2:30 PM Mark Kettenis <mark.kettenis at xs4all.nl>
> wrote:
> >>
> >>> From: <i.zafievsky at gmail.com>
> >>> Date: Mon, 3 Apr 2023 12:27:36 +0300
> >>>
> >>> Hi!
> >>>
> >>>    Trying to build mainline U-Boot for Rockchip RK3568-based board
> (Forlinx
> >>> RK3568), but I think it;s can be reproduced on all RK35 chips. The main
> >>> problem is that BL32 (AKA OP-TEE) is provided by Roch-Chips as a
> >>> pre-compiled blob and binman fails to implement that scenario. Used
> .dtsi
> >>> file and binman verbose output provided in attachments. Do am I done
> >>> something  wrong or it can be considered as bug? Can someone assist?
> >>
> >> What do you need OP_TEE for?  Many of us consider less blobs a good
> >> thing and simply live without OP-TEE.
> >
> > I think it's a moot point, OP_TEE is useful for a number of things,
> > and it should be an option for those that wish to use it.
>
> Your issue seem to be that your optee node is placed after the dynamic
> @atf-SEQ node, try place the optee node before the @atf-SEQ node.
>
> Trying to use the common rockchip-u-boot.dtsi and TEE env var result in
> the following:
>
>   binman: Node '/binman/simple-bin/fit': subnode 'images/@tee-SEQ': Failed
> to read ELF file: Magic number does not match
>
> And I assume you are using a custom binman node because of such error?
>
> Adding support for the rockchip bl31.bin blob format to binman and use
> the common rockchip-u-boot.dtsi would be the proper way to fix this.
>
> Regards,
> Jonas
>
-------------- next part --------------
  /home/gosha/u-boot/tools/binman/binman -D  --toolpath ./tools -v5 build -u -d u-boot.dtb -O . -m  -I . -I /home/gosha/u-boot -I /home/gosha/u-boot/board/forlinx/ok3568-c -I arch/arm/dts -a of-list="rk3568-ok3568-c"  -a atf-bl31-path=/home/gosha/ff3588/rk3588/rkbin/bin/rk35/rk3568_bl31_v1.36.elf -a tee-os-path= -a opensbi-path= -a default-dt="rk3568-ok3568-c" -a scp-path= -a rockchip-tpl-path=/home/gosha/ff3588/rk3588/rkbin/bin/rk35/rk3568_ddr_1560MHz_v1.15.bin -a spl-bss-pad= -a tpl-bss-pad=1 -a spl-dtb=y -a tpl-dtb= -a pre-load-key-path=
Using input directories ['.', '/home/gosha/u-boot', '/home/gosha/u-boot/board/forlinx/ok3568-c', 'arch/arm/dts']
Using output directory '.'
Processing entry args:
                of-list = rk3568-ok3568-c
          atf-bl31-path = /home/gosha/ff3588/rk3588/rkbin/bin/rk35/rk3568_bl31_v1.36.elf
            tee-os-path =
           opensbi-path =
             default-dt = rk3568-ok3568-c
               scp-path =
      rockchip-tpl-path = /home/gosha/ff3588/rk3588/rkbin/bin/rk35/rk3568_ddr_1560MHz_v1.15.bin
            spl-bss-pad =
            tpl-bss-pad = 1
                spl-dtb = y
                tpl-dtb =
      pre-load-key-path =
Processing entry args done
bintool: mkimage -d /home/gosha/ff3588/rk3588/rkbin/bin/rk35/rk3568_ddr_1560MHz_v1.15.bin:./spl/u-boot-spl.bin -n rk3568 -T rksd ./idbloader.img
Image Type:   Rockchip RK35 boot image
Init Data Size: 59392 bytes
Boot Data Size: 106496 bytes

Node '/binman/simple-bin/mkimage': Packing: offset=None, size=None, content_size=29000
Node '/binman/simple-bin/mkimage':    - packed: offset=0x0, size=0x29000, content_size=0x29000, next_offset=29000
Node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb': Packing: offset=None, size=None, content_size=a20d0
Node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb':    - packed: offset=0x0, size=0xa20d0, content_size=0xa20d0, next_offset=a20d0
Node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb': GetData: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/u-boot': GetData: 1 entries, total size 0xa20d0
 Node '/binman/simple-bin/fit': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/u-boot': Packing: offset=None, size=0xa20d0, content_size=a20d0
Node '/binman/simple-bin/fit/images/u-boot':    - packed: offset=0x0, size=0xa20d0, content_size=0xa20d0, next_offset=a20d0
Node '/binman/simple-bin/fit/images/optee/blob-ext': Packing: offset=None, size=None, content_size=6f998
Node '/binman/simple-bin/fit/images/optee/blob-ext':    - packed: offset=0x0, size=0x6f998, content_size=0x6f998, next_offset=6f998
Node '/binman/simple-bin/fit/images/optee/blob-ext': GetData: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/optee': GetData: 1 entries, total size 0x6f998
 Node '/binman/simple-bin/fit': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/optee': Packing: offset=None, size=0x6f998, content_size=6f998
Node '/binman/simple-bin/fit/images/optee':    - packed: offset=0xa20d0, size=0x6f998, content_size=0x6f998, next_offset=111a68
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': Packing: offset=None, size=None, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31':    - packed: offset=0x0, size=0x623c8, content_size=0x623c8, next_offset=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
 Node '/binman/simple-bin/fit': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/@atf-SEQ': Packing: offset=None, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ':    - packed: offset=0x111a68, size=0x623c8, content_size=0x623c8, next_offset=173e30
Node '/binman/simple-bin/fit/images/@fdt-SEQ': GetData: 0 entries, total size 0x0
 Node '/binman/simple-bin/fit': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/@fdt-SEQ': Packing: offset=None, size=0x0, content_size=0
Node '/binman/simple-bin/fit/images/@fdt-SEQ':    - packed: offset=0x173e30, size=0x0, content_size=0x0, next_offset=173e30
Node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb': GetData: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetPaddedDataForEntry: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetData: 1 entries, total size 0xa20d0
Node '/binman/simple-bin/fit/images/optee/blob-ext': GetData: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetPaddedDataForEntry: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetData: 1 entries, total size 0x6f998
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': Packing: offset=0x0, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31':    - packed: offset=0x0, size=0x623c8, content_size=0x623c8, next_offset=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': Packing: offset=0x111a68, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ':    - packed: offset=0x111a68, size=0x623c8, content_size=0x623c8, next_offset=173e30
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
bintool: mkimage -E -B 200 -t -F ./simple-bin.fit.fit
FIT description: FIT image for U-Boot with bl31 (TF-A)
Created:         Tue Apr  4 00:50:02 2023
 Image 0 (u-boot)
  Description:  U-Boot (64-bit)
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Standalone Program
  Compression:  uncompressed
  Data Size:    663760 Bytes = 648.20 KiB = 0.63 MiB
  Architecture: AArch64
  Load Address: 0x00a00000
  Entry Point:  0x00a00000
  Hash algo:    sha256
  Hash value:   c253fac4a3883d13bd6c42af5ba0a2d1fe40b8ec7d1207719c1a0a8ad38a08c6
 Image 1 (optee)
  Description:  TEE
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Trusted Execution Environment Image
  Compression:  uncompressed
  Data Size:    457112 Bytes = 446.40 KiB = 0.44 MiB
  Hash algo:    sha256
  Hash value:   af414b9c9f1a05b058de55de4ad0fa6ec1f40e6b42769454196ee63279570cc7
 Image 2 (atf-1)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    163840 Bytes = 160.00 KiB = 0.16 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00040000
  Hash algo:    sha256
  Hash value:   df3dd620f7412cc7233d775405bead9f3323bb12a1c902dafd71752357211505
 Image 3 (atf-2)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    7732 Bytes = 7.55 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00068000
  Hash algo:    sha256
  Hash value:   6e9d32ba2391ea86ec585080eebb4c76fae7b5363dca1a69e6035ba3e4491bc8
 Image 4 (atf-3)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    20259 Bytes = 19.78 KiB = 0.02 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x0006a000
  Hash algo:    sha256
  Hash value:   919db4e965c19bf879da8a058ac6008a892a17904e6437cdd72f8f485aa61e0c
 Image 5 (atf-4)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    40960 Bytes = 40.00 KiB = 0.04 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcc1000
  Hash algo:    sha256
  Hash value:   455304ad25a671f34193e732b2c3c679f4ef43d6254f642c29d1643c937cf2d9
 Image 6 (atf-5)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcce000
  Hash algo:    sha256
  Hash value:   cb025e3a5b768cdea2ba62e092042d5194098016e43c323db954278ad7d75a84
 Image 7 (atf-6)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcd0000
  Hash algo:    sha256
  Hash value:   d4e8257343b8be878acde6ba7274e2e60640e5c20bffe754984761a31276b3de
 Image 8 (fdt-1)
  Description:  fdt-rk3568-ok3568-c
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    61456 Bytes = 60.02 KiB = 0.06 MiB
  Architecture: Unknown Architecture
  Hash algo:    sha256
  Hash value:   f6125bc9609e12ae85e4e9255c3813073ffcbfe59e68bdd697290619deb12f04
 Default Configuration: 'config-1'
 Configuration 0 (config-1)
  Description:  NAME.dtb
  Kernel:       unavailable
  FDT:          fdt-SEQ

     Node '/binman/simple-bin': GetPaddedDataForEntry: size None
 Node '/binman/simple-bin/fit': Packing: offset=0x7f8000, size=0x15ec00, content_size=15ec00
 Node '/binman/simple-bin/fit':    - packed: offset=0x7f8000, size=0x15ec00, content_size=0x15ec00, next_offset=956c00
Node '/binman/simple-bin/mkimage': GetData: size 0x29000
     Node '/binman/simple-bin': GetPaddedDataForEntry: size None
Node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb': GetData: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetPaddedDataForEntry: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetData: 1 entries, total size 0xa20d0
Node '/binman/simple-bin/fit/images/optee/blob-ext': GetData: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetPaddedDataForEntry: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetData: 1 entries, total size 0x6f998
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': Packing: offset=0x0, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31':    - packed: offset=0x0, size=0x623c8, content_size=0x623c8, next_offset=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': Packing: offset=0x111a68, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ':    - packed: offset=0x111a68, size=0x623c8, content_size=0x623c8, next_offset=173e30
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
bintool: mkimage -E -B 200 -t -F ./simple-bin.fit.fit
FIT description: FIT image for U-Boot with bl31 (TF-A)
Created:         Tue Apr  4 00:50:02 2023
 Image 0 (u-boot)
  Description:  U-Boot (64-bit)
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Standalone Program
  Compression:  uncompressed
  Data Size:    663760 Bytes = 648.20 KiB = 0.63 MiB
  Architecture: AArch64
  Load Address: 0x00a00000
  Entry Point:  0x00a00000
  Hash algo:    sha256
  Hash value:   c253fac4a3883d13bd6c42af5ba0a2d1fe40b8ec7d1207719c1a0a8ad38a08c6
 Image 1 (optee)
  Description:  TEE
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Trusted Execution Environment Image
  Compression:  uncompressed
  Data Size:    457112 Bytes = 446.40 KiB = 0.44 MiB
  Hash algo:    sha256
  Hash value:   af414b9c9f1a05b058de55de4ad0fa6ec1f40e6b42769454196ee63279570cc7
 Image 2 (atf-1)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    163840 Bytes = 160.00 KiB = 0.16 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00040000
  Hash algo:    sha256
  Hash value:   df3dd620f7412cc7233d775405bead9f3323bb12a1c902dafd71752357211505
 Image 3 (atf-2)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    7732 Bytes = 7.55 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00068000
  Hash algo:    sha256
  Hash value:   6e9d32ba2391ea86ec585080eebb4c76fae7b5363dca1a69e6035ba3e4491bc8
 Image 4 (atf-3)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    20259 Bytes = 19.78 KiB = 0.02 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x0006a000
  Hash algo:    sha256
  Hash value:   919db4e965c19bf879da8a058ac6008a892a17904e6437cdd72f8f485aa61e0c
 Image 5 (atf-4)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    40960 Bytes = 40.00 KiB = 0.04 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcc1000
  Hash algo:    sha256
  Hash value:   455304ad25a671f34193e732b2c3c679f4ef43d6254f642c29d1643c937cf2d9
 Image 6 (atf-5)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcce000
  Hash algo:    sha256
  Hash value:   cb025e3a5b768cdea2ba62e092042d5194098016e43c323db954278ad7d75a84
 Image 7 (atf-6)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcd0000
  Hash algo:    sha256
  Hash value:   d4e8257343b8be878acde6ba7274e2e60640e5c20bffe754984761a31276b3de
 Image 8 (fdt-1)
  Description:  fdt-rk3568-ok3568-c
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    61456 Bytes = 60.02 KiB = 0.06 MiB
  Architecture: Unknown Architecture
  Hash algo:    sha256
  Hash value:   f6125bc9609e12ae85e4e9255c3813073ffcbfe59e68bdd697290619deb12f04
 Default Configuration: 'config-1'
 Configuration 0 (config-1)
  Description:  NAME.dtb
  Kernel:       unavailable
  FDT:          fdt-SEQ

     Node '/binman/simple-bin': GetPaddedDataForEntry: size None
     Node '/binman/simple-bin': GetData: 2 entries, total size 0x956c00
     Node '/binman/simple-bin': GetPaddedDataForEntry: size 0x956c00
     Node '/binman/simple-bin': Packing: offset=None, size=0x956c00, content_size=956c00
     Node '/binman/simple-bin':    - packed: offset=0x0, size=0x956c00, content_size=0x956c00, next_offset=956c00
Node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb': GetData: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetPaddedDataForEntry: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetData: 1 entries, total size 0xa20d0
Node '/binman/simple-bin/fit/images/optee/blob-ext': GetData: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetPaddedDataForEntry: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetData: 1 entries, total size 0x6f998
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': Packing: offset=0x0, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31':    - packed: offset=0x0, size=0x623c8, content_size=0x623c8, next_offset=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': Packing: offset=0x111a68, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ':    - packed: offset=0x111a68, size=0x623c8, content_size=0x623c8, next_offset=173e30
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
bintool: mkimage -E -B 200 -t -F ./simple-bin.fit.fit
FIT description: FIT image for U-Boot with bl31 (TF-A)
Created:         Tue Apr  4 00:50:02 2023
 Image 0 (u-boot)
  Description:  U-Boot (64-bit)
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Standalone Program
  Compression:  uncompressed
  Data Size:    663760 Bytes = 648.20 KiB = 0.63 MiB
  Architecture: AArch64
  Load Address: 0x00a00000
  Entry Point:  0x00a00000
  Hash algo:    sha256
  Hash value:   c253fac4a3883d13bd6c42af5ba0a2d1fe40b8ec7d1207719c1a0a8ad38a08c6
 Image 1 (optee)
  Description:  TEE
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Trusted Execution Environment Image
  Compression:  uncompressed
  Data Size:    457112 Bytes = 446.40 KiB = 0.44 MiB
  Hash algo:    sha256
  Hash value:   af414b9c9f1a05b058de55de4ad0fa6ec1f40e6b42769454196ee63279570cc7
 Image 2 (atf-1)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    163840 Bytes = 160.00 KiB = 0.16 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00040000
  Hash algo:    sha256
  Hash value:   df3dd620f7412cc7233d775405bead9f3323bb12a1c902dafd71752357211505
 Image 3 (atf-2)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    7732 Bytes = 7.55 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00068000
  Hash algo:    sha256
  Hash value:   6e9d32ba2391ea86ec585080eebb4c76fae7b5363dca1a69e6035ba3e4491bc8
 Image 4 (atf-3)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    20259 Bytes = 19.78 KiB = 0.02 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x0006a000
  Hash algo:    sha256
  Hash value:   919db4e965c19bf879da8a058ac6008a892a17904e6437cdd72f8f485aa61e0c
 Image 5 (atf-4)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    40960 Bytes = 40.00 KiB = 0.04 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcc1000
  Hash algo:    sha256
  Hash value:   455304ad25a671f34193e732b2c3c679f4ef43d6254f642c29d1643c937cf2d9
 Image 6 (atf-5)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcce000
  Hash algo:    sha256
  Hash value:   cb025e3a5b768cdea2ba62e092042d5194098016e43c323db954278ad7d75a84
 Image 7 (atf-6)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcd0000
  Hash algo:    sha256
  Hash value:   d4e8257343b8be878acde6ba7274e2e60640e5c20bffe754984761a31276b3de
 Image 8 (fdt-1)
  Description:  fdt-rk3568-ok3568-c
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    61456 Bytes = 60.02 KiB = 0.06 MiB
  Architecture: Unknown Architecture
  Hash algo:    sha256
  Hash value:   f6125bc9609e12ae85e4e9255c3813073ffcbfe59e68bdd697290619deb12f04
 Default Configuration: 'config-1'
 Configuration 0 (config-1)
  Description:  NAME.dtb
  Kernel:       unavailable
  FDT:          fdt-SEQ

File ./u-boot.dtb.out: Update node '/binman/simple-bin' prop 'offset' to 0x0
File ./u-boot.dtb.out: Update node '/binman/simple-bin' prop 'size' to 0x956c00
File ./u-boot.dtb.out: Update node '/binman/simple-bin' prop 'image-pos' to 0x0
File ./u-boot.dtb.out: Update node '/binman/simple-bin/mkimage' prop 'offset' to 0x0
File ./u-boot.dtb.out: Update node '/binman/simple-bin/mkimage' prop 'size' to 0x29000
File ./u-boot.dtb.out: Update node '/binman/simple-bin/mkimage' prop 'image-pos' to 0x0
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit' prop 'offset' to 0x7f8000
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit' prop 'size' to 0x15ec00
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit' prop 'image-pos' to 0x7f8000
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/u-boot' prop 'offset' to 0xe00
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/u-boot' prop 'size' to 0xa20d0
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/u-boot' prop 'image-pos' to 0x7f8e00
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb' prop 'offset' to 0x0
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb' prop 'size' to 0xa20d0
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb' prop 'image-pos' to 0x7f8e00
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/optee' prop 'offset' to 0xa3000
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/optee' prop 'size' to 0x6f998
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/optee' prop 'image-pos' to 0x89b000
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/optee/blob-ext' prop 'offset' to 0x0
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/optee/blob-ext' prop 'size' to 0x6f998
File ./u-boot.dtb.out: Update node '/binman/simple-bin/fit/images/optee/blob-ext' prop 'image-pos' to 0x89b000
Pack completed after 1 pass(es)
Writing image to './u-boot-rockchip.bin'
Node '/binman/simple-bin/mkimage': GetData: size 0x29000
     Node '/binman/simple-bin': GetPaddedDataForEntry: size 0x956c00
Node '/binman/simple-bin/fit/images/u-boot/u-boot-nodtb': GetData: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetPaddedDataForEntry: size 0xa20d0
Node '/binman/simple-bin/fit/images/u-boot': GetData: 1 entries, total size 0xa20d0
Node '/binman/simple-bin/fit/images/optee/blob-ext': GetData: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetPaddedDataForEntry: size 0x6f998
Node '/binman/simple-bin/fit/images/optee': GetData: 1 entries, total size 0x6f998
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': Packing: offset=0x0, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31':    - packed: offset=0x0, size=0x623c8, content_size=0x623c8, next_offset=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': Packing: offset=0x111a68, size=0x623c8, content_size=623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ':    - packed: offset=0x111a68, size=0x623c8, content_size=0x623c8, next_offset=173e30
Node '/binman/simple-bin/fit/images/@atf-SEQ/atf-bl31': GetData: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetPaddedDataForEntry: size 0x623c8
Node '/binman/simple-bin/fit/images/@atf-SEQ': GetData: 1 entries, total size 0x623c8
bintool: mkimage -E -B 200 -t -F ./simple-bin.fit.fit
FIT description: FIT image for U-Boot with bl31 (TF-A)
Created:         Tue Apr  4 00:50:02 2023
 Image 0 (u-boot)
  Description:  U-Boot (64-bit)
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Standalone Program
  Compression:  uncompressed
  Data Size:    663760 Bytes = 648.20 KiB = 0.63 MiB
  Architecture: AArch64
  Load Address: 0x00a00000
  Entry Point:  0x00a00000
  Hash algo:    sha256
  Hash value:   c253fac4a3883d13bd6c42af5ba0a2d1fe40b8ec7d1207719c1a0a8ad38a08c6
 Image 1 (optee)
  Description:  TEE
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Trusted Execution Environment Image
  Compression:  uncompressed
  Data Size:    457112 Bytes = 446.40 KiB = 0.44 MiB
  Hash algo:    sha256
  Hash value:   af414b9c9f1a05b058de55de4ad0fa6ec1f40e6b42769454196ee63279570cc7
 Image 2 (atf-1)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    163840 Bytes = 160.00 KiB = 0.16 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00040000
  Hash algo:    sha256
  Hash value:   df3dd620f7412cc7233d775405bead9f3323bb12a1c902dafd71752357211505
 Image 3 (atf-2)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    7732 Bytes = 7.55 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x00068000
  Hash algo:    sha256
  Hash value:   6e9d32ba2391ea86ec585080eebb4c76fae7b5363dca1a69e6035ba3e4491bc8
 Image 4 (atf-3)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    20259 Bytes = 19.78 KiB = 0.02 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0x0006a000
  Hash algo:    sha256
  Hash value:   919db4e965c19bf879da8a058ac6008a892a17904e6437cdd72f8f485aa61e0c
 Image 5 (atf-4)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    40960 Bytes = 40.00 KiB = 0.04 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcc1000
  Hash algo:    sha256
  Hash value:   455304ad25a671f34193e732b2c3c679f4ef43d6254f642c29d1643c937cf2d9
 Image 6 (atf-5)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcce000
  Hash algo:    sha256
  Hash value:   cb025e3a5b768cdea2ba62e092042d5194098016e43c323db954278ad7d75a84
 Image 7 (atf-6)
  Description:  ARM Trusted Firmware
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Firmware
  Compression:  uncompressed
  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
  Architecture: AArch64
  OS:           ARM Trusted Firmware
  Load Address: 0xfdcd0000
  Hash algo:    sha256
  Hash value:   d4e8257343b8be878acde6ba7274e2e60640e5c20bffe754984761a31276b3de
 Image 8 (fdt-1)
  Description:  fdt-rk3568-ok3568-c
  Created:      Tue Apr  4 00:50:02 2023
  Type:         Flat Device Tree
  Compression:  uncompressed
  Data Size:    61456 Bytes = 60.02 KiB = 0.06 MiB
  Architecture: Unknown Architecture
  Hash algo:    sha256
  Hash value:   f6125bc9609e12ae85e4e9255c3813073ffcbfe59e68bdd697290619deb12f04
 Default Configuration: 'config-1'
 Configuration 0 (config-1)
  Description:  NAME.dtb
  Kernel:       unavailable
  FDT:          fdt-SEQ

     Node '/binman/simple-bin': GetPaddedDataForEntry: size 0x956c00
     Node '/binman/simple-bin': GetData: 2 entries, total size 0x956c00
     Node '/binman/simple-bin': GetPaddedDataForEntry: size 0x956c00
Wrote 0x956c00 bytes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rk3568-ok3568-c-u-boot.dtsi
Type: application/octet-stream
Size: 3958 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230404/0ac6c002/attachment.obj>


More information about the U-Boot mailing list