This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

K2E_EVM 启动过程疑问



gin:
U-Boot SPL 2013.01 (Mar 27 2015 - 01:35:48)
SF: Detected N25Q128A with page size 64 KiB, total 16 MiB


U-Boot 2013.01 (Mar 27 2015 - 01:35:48)

I2C: ready
SPD csum OK; in SPD: 33 CC; computed 00000033 CC
DDR3A Speed will be configured for 1600 Operation.
Detected SO-DIMM [18KSF51272HZ-1G6K2]
DDR3 speed 1600
DRAM: 4 GiB

Reseting entire DDR3 memory to 0 ...
DRAM: 2 GiB
NAND: 512 MiB
Net: K2E_EMAC0, K2E_EMAC1, K2E_EMAC2, K2E_EMAC3, K2E_EMAC4, K2E_EMAC5, K2E_EMAC6, K2E_EMAC7
Hit any key to stop autoboot: 3 2 1 0
Creating 1 MTD partitions on "nand0":
0x000000180000-0x000020000000 : "mtd=2"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=2"
UBI: MTD device size: 510 MiB
UBI: number of good PEBs: 4080
UBI: number of bad PEBs: 4
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 5
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 4080
UBI: number of PEBs reserved for bad PEB handling: 40
UBI: max/mean erase counter: 5/1
UBIFS: mounted UBI device 0, volume 0, name "boot"
UBIFS: mounted read-only
UBIFS: file system size: 5079040 bytes (4960 KiB, 4 MiB, 40 LEBs)
UBIFS: journal size: 1142785 bytes (1116 KiB, 1 MiB, 9 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
Loading file 'securedb.key.bin' to addr 0x0c000000 with size 28 (0x0000001c)...
Done
Loading file 'uImage-k2e-evm.dtb' to addr 0x87000000 with size 42478 (0x0000a5ee)...
Done
Loading file 'skern-k2e-evm.bin' to addr 0x0c140000 with size 45056 (0x0000b000)...
Done
Loading file 'uImage-keystone-evm.bin' to addr 0x88000000 with size 4042944 (0x003db0c0)...
Done
## installed monitor, freq [208333333], status 0
## Booting kernel from Legacy Image at 88000000 ...
Image Name: Linux-3.10.61
Created: 2015-03-27 3:46:58 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4042880 Bytes = 3.9 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 87000000
Booting using the fdt blob at 0x87000000
Loading Kernel Image ... OK
OK
Using Device Tree in place at 87000000, end 8700d5ed

Starting kernel ...

下面是启动过程中的部分信息

Loading file 'securedb.key.bin' to addr 0x0c000000 with size 28 (0x0000001c)...
Done
Loading file 'uImage-k2e-evm.dtb' to addr 0x87000000 with size 42478 (0x0000a5ee)...
Done
Loading file 'skern-k2e-evm.bin' to addr 0x0c140000 with size 45056 (0x0000b000)...
Done

请问这3个文件的作用

谢谢!

  • securedb.key.bin: 二进制秘钥文件,在安全加密模式下需要

    uImage-k2e-evm.dtb: linux kernel image

    skern-k2e-evm.bin: boot monitor image

    具体参考:

    http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Developing_Security?keyMatch=securedb.key.bin&tisearch=Search-EN-Everything

    http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring

  • Loading file 'uImage-keystone-evm.bin' to addr 0x88000000 with size 4042944 (0x003db0c0)...
    这个才是内核啊

    uImage-k2e-evm.dtb 只有41KB怎么可能是内核

    麻烦解答,谢谢