emu 启动内核节约时间方法:
1. 不做CRC校验,在boot中设置:
setenv verify no
2. 原地执行,不做mem move
修改boot代码,bootm_start函数,将entrypoint加0x40偏移:
images.ep = image_get_ep (&images.legacy_hdr_os_copy);
images.ep += 0x40;
然后内核load到 Entry Point: 02000000 位置。