Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge2:hardware:edge2-boot-flow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:edge2:hardware:edge2-boot-flow [2023/07/17 03:08]
hyphop [Uboot]
products:sbc:edge2:hardware:edge2-boot-flow [2023/07/17 03:15] (current)
hyphop [Uboot image format]
Line 379: Line 379:
 ===== Uboot ===== ===== Uboot =====
  
 +
 +==== Uboot image format ====
 +
 +Need be stored by offset ''CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x4000'' (check it [[##uboot-oowow-defconfig]]) as FIT packed image
 +
 +```txt uboot-info 
 +Info: UBOOT_COMPRESSION: lzma
 +FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU
 +Created:         Mon Jul 17 14:59:34 2023
 + Image 0 (uboot)
 +  Description:  U-Boot
 +  Created:      Mon Jul 17 14:59:34 2023
 +  Type:         Standalone Program
 +  Compression:  lzma compressed
 +  Data Size:    430151 Bytes = 420.07 KiB = 0.41 MiB
 +  Architecture: AArch64
 +  Load Address: 0x00200000
 +  Entry Point:  unavailable
 +  Hash algo:    sha256
 +  Hash value:   72065bbc30ae3f4bcd548f6ff2a7b9dd1a629f09a2b192ee530eab82ec6d1b32
 + Image 1 (atf-1)
 +  Description:  ARM Trusted Firmware
 +  Created:      Mon Jul 17 14:59:34 2023
 +  Type:         Firmware
 +  Compression:  lzma compressed
 +  Data Size:    47147 Bytes = 46.04 KiB = 0.04 MiB
 +  Architecture: AArch64
 +  Load Address: 0x00040000
 +  Hash algo:    sha256
 +  Hash value:   65a97025c2150f2ed0fb746a438612a3f1521d8305e14ccd5807bd58b2e7fe9c
 + Image 2 (atf-2)
 +  Description:  ARM Trusted Firmware
 +  Created:      Mon Jul 17 14:59:34 2023
 +  Type:         Firmware
 +  Compression:  uncompressed
 +  Data Size:    28672 Bytes = 28.00 KiB = 0.03 MiB
 +  Architecture: AArch64
 +  Load Address: 0x000f0000
 +  Hash algo:    sha256
 +  Hash value:   6a00298af819b30f482d5ba9e53d6fa6bb2719007f69ff985e23e06d4f9d439f
 + Image 3 (atf-3)
 +  Description:  ARM Trusted Firmware
 +  Created:      Mon Jul 17 14:59:34 2023
 +  Type:         Firmware
 +  Compression:  uncompressed
 +  Data Size:    20480 Bytes = 20.00 KiB = 0.02 MiB
 +  Architecture: AArch64
 +  Load Address: 0xff100000
 +  Hash algo:    sha256
 +  Hash value:   33280a39887591959dcb20ad42140a5eeed61fde49b7a38cc44172cd8f1a9dc7
 + Image 4 (atf-4)
 +  Description:  ARM Trusted Firmware
 +  Created:      Mon Jul 17 14:59:34 2023
 +  Type:         Firmware
 +  Compression:  uncompressed
 +  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB
 +  Architecture: AArch64
 +  Load Address: 0xff001000
 +  Hash algo:    sha256
 +  Hash value:   2301cf73be91bb638ecd9c296d6674b9d52696a3825745070c92e21e79c8be24
 + Image 5 (optee)
 +  Description:  OP-TEE
 +  Created:      Mon Jul 17 14:59:34 2023
 +  Type:         Firmware
 +  Compression:  lzma compressed
 +  Data Size:    177774 Bytes = 173.61 KiB = 0.17 MiB
 +  Architecture: AArch64
 +  Load Address: 0x08400000
 +  Hash algo:    sha256
 +  Hash value:   1fcfe45105750e2fcd47a14b54c80d66a8b2f7ad3a166b699d2bb5b0e2a3ed69
 + Image 6 (fdt)
 +  Description:  U-Boot dtb
 +  Created:      Mon Jul 17 14:59:34 2023
 +  Type:         Flat Device Tree
 +  Compression:  uncompressed
 +  Data Size:    8262 Bytes = 8.07 KiB = 0.01 MiB
 +  Architecture: AArch64
 +  Hash algo:    sha256
 +  Hash value:   5648101b8ee7ec2a390f0a072eb27f47724d40e2f76d8dc2be624e6114b84d67
 + Default Configuration: 'conf'
 + Configuration 0 (conf)
 +  Description:  rk3588s-khadas-edge2
 +  Kernel:       unavailable
 +  Firmware:     atf-1
 +  FDT:          fdt
 +  Loadables:    uboot
 +                atf-2
 +                atf-3
 +                atf-4
 +                optee
 +-rw-rw-r-- 1 master master 725504 Jul 17 14:59 u-boot-cmp.itb
 +Info: pack uboot.img okay!
 +Info: Generating uboot-sd.img ... 0x4000 == 16384 > u-boot.itb
 +```
 ==== Uboot oowow defconfig ==== ==== Uboot oowow defconfig ====
  
-``` +```txt u-boot/configs/khadas-edge2-rk3588s-oowow_defconfig
-master@universe:~/khadas/edge2/fenix/build/u-boot/configs$ cat khadas-edge2-rk3588s-oowow_defconfig +
 CONFIG_ARM=y CONFIG_ARM=y
 CONFIG_ARCH_ROCKCHIP=y CONFIG_ARCH_ROCKCHIP=y
Line 685: Line 778:
 ``` ```
  
- 
-==== Uboot image format ==== 
- 
-Need be stored by offset ''CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x4000'' as FIT packed image 
- 
-```txt uboot-info  
-Info: UBOOT_COMPRESSION: lzma 
-FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU 
-Created:         Mon Jul 17 14:59:34 2023 
- Image 0 (uboot) 
-  Description:  U-Boot 
-  Created:      Mon Jul 17 14:59:34 2023 
-  Type:         Standalone Program 
-  Compression:  lzma compressed 
-  Data Size:    430151 Bytes = 420.07 KiB = 0.41 MiB 
-  Architecture: AArch64 
-  Load Address: 0x00200000 
-  Entry Point:  unavailable 
-  Hash algo:    sha256 
-  Hash value:   72065bbc30ae3f4bcd548f6ff2a7b9dd1a629f09a2b192ee530eab82ec6d1b32 
- Image 1 (atf-1) 
-  Description:  ARM Trusted Firmware 
-  Created:      Mon Jul 17 14:59:34 2023 
-  Type:         Firmware 
-  Compression:  lzma compressed 
-  Data Size:    47147 Bytes = 46.04 KiB = 0.04 MiB 
-  Architecture: AArch64 
-  Load Address: 0x00040000 
-  Hash algo:    sha256 
-  Hash value:   65a97025c2150f2ed0fb746a438612a3f1521d8305e14ccd5807bd58b2e7fe9c 
- Image 2 (atf-2) 
-  Description:  ARM Trusted Firmware 
-  Created:      Mon Jul 17 14:59:34 2023 
-  Type:         Firmware 
-  Compression:  uncompressed 
-  Data Size:    28672 Bytes = 28.00 KiB = 0.03 MiB 
-  Architecture: AArch64 
-  Load Address: 0x000f0000 
-  Hash algo:    sha256 
-  Hash value:   6a00298af819b30f482d5ba9e53d6fa6bb2719007f69ff985e23e06d4f9d439f 
- Image 3 (atf-3) 
-  Description:  ARM Trusted Firmware 
-  Created:      Mon Jul 17 14:59:34 2023 
-  Type:         Firmware 
-  Compression:  uncompressed 
-  Data Size:    20480 Bytes = 20.00 KiB = 0.02 MiB 
-  Architecture: AArch64 
-  Load Address: 0xff100000 
-  Hash algo:    sha256 
-  Hash value:   33280a39887591959dcb20ad42140a5eeed61fde49b7a38cc44172cd8f1a9dc7 
- Image 4 (atf-4) 
-  Description:  ARM Trusted Firmware 
-  Created:      Mon Jul 17 14:59:34 2023 
-  Type:         Firmware 
-  Compression:  uncompressed 
-  Data Size:    8192 Bytes = 8.00 KiB = 0.01 MiB 
-  Architecture: AArch64 
-  Load Address: 0xff001000 
-  Hash algo:    sha256 
-  Hash value:   2301cf73be91bb638ecd9c296d6674b9d52696a3825745070c92e21e79c8be24 
- Image 5 (optee) 
-  Description:  OP-TEE 
-  Created:      Mon Jul 17 14:59:34 2023 
-  Type:         Firmware 
-  Compression:  lzma compressed 
-  Data Size:    177774 Bytes = 173.61 KiB = 0.17 MiB 
-  Architecture: AArch64 
-  Load Address: 0x08400000 
-  Hash algo:    sha256 
-  Hash value:   1fcfe45105750e2fcd47a14b54c80d66a8b2f7ad3a166b699d2bb5b0e2a3ed69 
- Image 6 (fdt) 
-  Description:  U-Boot dtb 
-  Created:      Mon Jul 17 14:59:34 2023 
-  Type:         Flat Device Tree 
-  Compression:  uncompressed 
-  Data Size:    8262 Bytes = 8.07 KiB = 0.01 MiB 
-  Architecture: AArch64 
-  Hash algo:    sha256 
-  Hash value:   5648101b8ee7ec2a390f0a072eb27f47724d40e2f76d8dc2be624e6114b84d67 
- Default Configuration: 'conf' 
- Configuration 0 (conf) 
-  Description:  rk3588s-khadas-edge2 
-  Kernel:       unavailable 
-  Firmware:     atf-1 
-  FDT:          fdt 
-  Loadables:    uboot 
-                atf-2 
-                atf-3 
-                atf-4 
-                optee 
--rw-rw-r-- 1 master master 725504 Jul 17 14:59 u-boot-cmp.itb 
-Info: pack uboot.img okay! 
-Info: Generating uboot-sd.img ... 0x4000 == 16384 > u-boot.itb 
-``` 
Last modified: 2023/07/17 03:08 by hyphop