页次: 1
从启动到kernel完成自解压,可以做到1.7秒完成,
3M大小的内核,应该还有优化的空间
比如把内核的压缩算法换成UCL,根据前人的评测,自解压时间可以缩短40%,体积基本不变
[0.000000 0.000000]
[0.000000 0.000000] U-Boot SPL 2020.07 (Jul 23 2021 - 17:56:01 +0800)
[0.003958 0.003958] DRAM: 32 MiB
[0.016923 0.012966] Trying to boot from sunxi SPI
[0.125636 0.108713]
[0.125636 0.000000]
[0.126635 0.000999] U-Boot 2020.07 (Jul 23 2021 - 17:56:01 +0800) Allwinner Technology
[0.132615 0.005980]
[0.132615 0.000000] CPU: Allwinner F Series (SUNIV)
[0.134644 0.002028] Model: Allwinner F1C100s Generic Device
[0.137670 0.003026] DRAM: 32 MiB
[0.160615 0.022945] In: serial@1c25000
[0.162609 0.001995] Out: serial@1c25000
[0.163607 0.000998] Err: serial@1c25000
[0.167600 0.003993] Hit any key to stop autoboot: 0
[0.172583 0.004983] "Booting from SPI-NOR..."
[0.177580 0.004997] SF: Detected xt25f128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
[0.183727 0.006147] device 0 offset 0x40000, size 0x300000
[0.943240 0.759512] time elapsed: 755
[0.944898 0.001658] SF: 3145728 bytes @ 0x40000 Read: OK
[0.946893 0.001995] ## Loading kernel from FIT Image at 81000000 ...
[0.951885 0.004992] ## Loading fdt from FIT Image at 81000000 ...
[0.955869 0.003984] Booting using the fdt blob at 0x8128b0d8
[0.959863 0.003994] Loading Kernel Image
[0.991094 0.031231] Loading Device Tree to 81e9c000, end 81ea298d ... OK
[1.002053 0.010959]
[1.002053 0.000000] Starting kernel ...
[1.003807 0.001753]
[1.773779 0.769973] [ 0.000000] Booting Linux on physical CPU 0x0
functionfs daemon程序需要写入winusb相关的描述符字段,参考代码
https://github.com/NXPmicro/imx-uuc/blob/master/ufb.c
页次: 1