//soc_term目录下来实现端口监听
listening on port 54320
soc_term: accepted fd 4
soc_term: read fd EOF
soc_term: accepted fd 4
Normal 环境下的启动log,包括Linux加载log和linux启动log
/**find DTB(device tree database)/
#define DTB_START DRAM_START
#define DRAM_START 0x40000000
Using QEMU provided DTB at 0x40000000
msg(found secure header)
found secure header
The struct optee_header hdr
struct optee_header {
uint32_t magic;
uint8_t version;
uint8_t arch;
uint16_t flags;
uint32_t num_images;
struct optee_image images[OPTEE_MAX_NUM_IMAGES];
};
Relocating DTB for kernel use at 0x483bb000
Initializing secure world
//The optee_os is loaded
//conf.mk file defined ,command line 是bios_qemu_tz_arm目录下的文件传进来的。
kernel command line: "console=ttyAMA0,115200 earlyprintk=serial,ttyAMA0,115200 dynamic_debug.verbose=1 "
到这里系统加载成功,下一步就是启动linux
//kernel enter
Entering kernel at 0x42000000 with r0=0x0 r1=0x8e0 r2=0x483bb000
//在qemu情况下,optee只启动一个CPU核
Booting Linux on physical CPU 0x0
Linux version 4.12.0 (ming@ming-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #4 SMP PREEMPT Sat Jan 27 16:06:09 CST 2018
//注意这里用的是AVMv7核
CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data c
OPTEE Normal 环境启动log分析
最新推荐文章于 2024-03-29 17:30:36 发布