[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 4047176K/4192256K available (4910K kernel code, 4717K rwdata, 2048K rodata, 2150K init, 268K bss, 145080K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] ...
Total pages: 8192[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off[ 0.000000] Memory: 30248K/32768K available (1370K kernel code, 298K rwdata, 266K rodata, 97K init, 136K bss, 2520K reserved, 0K cma-reserved)[ 0.000000] SLUB: HWalign=64, Order=0-3,...
[0.000000]Built 1 zonelists,mobility grouping on.Total pages:8192 [0.000000]memauto-init:stack:all(zero),heap alloc:off,heap free:off [0.000000]Memory:30248K/32768Kavailable(1370K kernel code,298K rwdata,266K rodata,97K init,136K bss,2520K reserved,0K cma-reserved) [0.000000]SLUB:HWalig...
.heap_size = SBI_PLATFORM_DEFAULT_HEAP_SIZE(0), .platform_ops_addr = (unsigned long)&platform_ops }; unsigned long fw_platform_init(unsigned long arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3, unsigned long arg4) { void * fdt = (void *)arg1; int root_offset =...
S-Mode->U-Mode:Kernel加载rootfs,启动rootfs的init进程开启用户空间。 2.1 镜像组成 u-boot-spl作为bios,负责加载并加些u-boot.itb。 u-boot.itb根据binman.dts生成,包括:u-boot-nodtb.bin、tee.bin、fw_dynamic.bin。 /dts-v1/;/{ timestamp= <0x66da6580>; ...
@@ -346,10 +361,21 @@ static void __noreturn init_warmboot(struct sbi_scratch *scratch, u32 hartid) if (rc) sbi_hart_hang(); + rc = sbi_pmp_init(scratch, FALSE); + if (rc) { + sbi_printf("%s: (penglai) pmp init failed (error %d)\n", __func__, rc); ...