This shows you the differences between two versions of the page.
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 '' | ||
+ | |||
+ | ```txt uboot-info | ||
+ | Info: UBOOT_COMPRESSION: | ||
+ | FIT description: | ||
+ | Created: | ||
+ | Image 0 (uboot) | ||
+ | Description: | ||
+ | Created: | ||
+ | Type: | ||
+ | Compression: | ||
+ | Data Size: 430151 Bytes = 420.07 KiB = 0.41 MiB | ||
+ | Architecture: | ||
+ | Load Address: 0x00200000 | ||
+ | Entry Point: | ||
+ | Hash algo: sha256 | ||
+ | Hash value: | ||
+ | Image 1 (atf-1) | ||
+ | Description: | ||
+ | Created: | ||
+ | Type: | ||
+ | Compression: | ||
+ | Data Size: 47147 Bytes = 46.04 KiB = 0.04 MiB | ||
+ | Architecture: | ||
+ | Load Address: 0x00040000 | ||
+ | Hash algo: sha256 | ||
+ | Hash value: | ||
+ | Image 2 (atf-2) | ||
+ | Description: | ||
+ | Created: | ||
+ | Type: | ||
+ | Compression: | ||
+ | Data Size: 28672 Bytes = 28.00 KiB = 0.03 MiB | ||
+ | Architecture: | ||
+ | Load Address: 0x000f0000 | ||
+ | Hash algo: sha256 | ||
+ | Hash value: | ||
+ | Image 3 (atf-3) | ||
+ | Description: | ||
+ | Created: | ||
+ | Type: | ||
+ | Compression: | ||
+ | Data Size: 20480 Bytes = 20.00 KiB = 0.02 MiB | ||
+ | Architecture: | ||
+ | Load Address: 0xff100000 | ||
+ | Hash algo: sha256 | ||
+ | Hash value: | ||
+ | Image 4 (atf-4) | ||
+ | Description: | ||
+ | Created: | ||
+ | Type: | ||
+ | Compression: | ||
+ | Data Size: 8192 Bytes = 8.00 KiB = 0.01 MiB | ||
+ | Architecture: | ||
+ | Load Address: 0xff001000 | ||
+ | Hash algo: sha256 | ||
+ | Hash value: | ||
+ | Image 5 (optee) | ||
+ | Description: | ||
+ | Created: | ||
+ | Type: | ||
+ | Compression: | ||
+ | Data Size: 177774 Bytes = 173.61 KiB = 0.17 MiB | ||
+ | Architecture: | ||
+ | Load Address: 0x08400000 | ||
+ | Hash algo: sha256 | ||
+ | Hash value: | ||
+ | Image 6 (fdt) | ||
+ | Description: | ||
+ | Created: | ||
+ | Type: Flat Device Tree | ||
+ | Compression: | ||
+ | Data Size: 8262 Bytes = 8.07 KiB = 0.01 MiB | ||
+ | Architecture: | ||
+ | Hash algo: sha256 | ||
+ | Hash value: | ||
+ | | ||
+ | | ||
+ | Description: | ||
+ | Kernel: | ||
+ | Firmware: | ||
+ | FDT: fdt | ||
+ | Loadables: | ||
+ | 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/ |
- | master@universe: | + | |
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 '' | ||
- | |||
- | ```txt uboot-info | ||
- | Info: UBOOT_COMPRESSION: | ||
- | FIT description: | ||
- | Created: | ||
- | Image 0 (uboot) | ||
- | Description: | ||
- | Created: | ||
- | Type: | ||
- | Compression: | ||
- | Data Size: 430151 Bytes = 420.07 KiB = 0.41 MiB | ||
- | Architecture: | ||
- | Load Address: 0x00200000 | ||
- | Entry Point: | ||
- | Hash algo: sha256 | ||
- | Hash value: | ||
- | Image 1 (atf-1) | ||
- | Description: | ||
- | Created: | ||
- | Type: | ||
- | Compression: | ||
- | Data Size: 47147 Bytes = 46.04 KiB = 0.04 MiB | ||
- | Architecture: | ||
- | Load Address: 0x00040000 | ||
- | Hash algo: sha256 | ||
- | Hash value: | ||
- | Image 2 (atf-2) | ||
- | Description: | ||
- | Created: | ||
- | Type: | ||
- | Compression: | ||
- | Data Size: 28672 Bytes = 28.00 KiB = 0.03 MiB | ||
- | Architecture: | ||
- | Load Address: 0x000f0000 | ||
- | Hash algo: sha256 | ||
- | Hash value: | ||
- | Image 3 (atf-3) | ||
- | Description: | ||
- | Created: | ||
- | Type: | ||
- | Compression: | ||
- | Data Size: 20480 Bytes = 20.00 KiB = 0.02 MiB | ||
- | Architecture: | ||
- | Load Address: 0xff100000 | ||
- | Hash algo: sha256 | ||
- | Hash value: | ||
- | Image 4 (atf-4) | ||
- | Description: | ||
- | Created: | ||
- | Type: | ||
- | Compression: | ||
- | Data Size: 8192 Bytes = 8.00 KiB = 0.01 MiB | ||
- | Architecture: | ||
- | Load Address: 0xff001000 | ||
- | Hash algo: sha256 | ||
- | Hash value: | ||
- | Image 5 (optee) | ||
- | Description: | ||
- | Created: | ||
- | Type: | ||
- | Compression: | ||
- | Data Size: 177774 Bytes = 173.61 KiB = 0.17 MiB | ||
- | Architecture: | ||
- | Load Address: 0x08400000 | ||
- | Hash algo: sha256 | ||
- | Hash value: | ||
- | Image 6 (fdt) | ||
- | Description: | ||
- | Created: | ||
- | Type: Flat Device Tree | ||
- | Compression: | ||
- | Data Size: 8262 Bytes = 8.07 KiB = 0.01 MiB | ||
- | Architecture: | ||
- | Hash algo: sha256 | ||
- | Hash value: | ||
- | | ||
- | | ||
- | Description: | ||
- | Kernel: | ||
- | Firmware: | ||
- | FDT: fdt | ||
- | Loadables: | ||
- | 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 | ||
- | ``` |