,正式拉起kernel;
6、boot_linux 分析:
boot_linux 实际上跑的是boot_linux_fdt,这个函数有对dtb的加载做出来,期间操作相当复杂,这里只简单关注主流程。...void boot_linux(void *kernel, unsigned *tags,
char *cmdline, unsigned machtype,...int boot_linux_fdt(void *kernel, unsigned *tags,
char *cmdline, unsigned machtype,...,"%s%s",cmdline," printk.disable_uart=1");
#else
sprintf(cmdline,"%s%s",cmdline," printk.disable_uart...dprintf(CRITICAL,"cmdline: %s\n", cmdline);
dprintf(CRITICAL,"lk boot time = %d ms\n", lk_t);
dprintf