一、烧写
在uboot环境下,输入下面的命令
fastboot 0
在cmd命令行,用最新的fastboot烧写
fastboot.exe flash bootloader u-boot-iTOP-4412.bin
fastboot.exe flash kernel uImage
fastboot.exe flash dtb exynos4412-itop-elite.dtb
fastboot.exe flash system system.img
fastboot reboot
查看最新烧写的系统的内核版本
uname -a
二、修改linux内核源码
修改配置文件arch/arm/configs/iTop-4412_scp_defconfig:
将
CONFIG_CMDLINE="root=/dev/mmcblk0p2 console=ttySAC2,115200 init=/linuxrc rootwait"
改为:
CONFIG_CMDLINE="root=/dev/mmcblk1p2 rw console=ttySAC2,115200 init=/linuxrc rootwait"
重新烧写,可以解决挂载U盘失败的问题。
三、最小文件系统的烧写
最小linux系统,重新编译烧写
编译命令
make_ext4fs -s -l 314572800 -a root -L Linux system.img system
四、支持的功能
1、 uboot烧写功能正常;
2 、内核和设备树正常;
3 、文件系统可以正常使用。
、