孤狼默戮

不断学习,不断的发现自己无知

Itop4412学习笔记(1)

0
阅读(1428)

学习了ubuntu下自己编译最小Linux系统,大概步骤为构建根文件系统+编译;具体这里不再记录。
需要记录下来的是给itop4412烧写系统的方法:

1. COM3用串口或者串口转USB连接到电脑,OTG接口通过USB线连接到电脑
2. 需要安装ADB驱动,可以连上OTG线后上电,然后通过驱动精灵安装对应驱动
3. 格式化mmc,其对应步骤为在开发板启动过程中进入boot模式然后在超级终端依次输入下列指令:
        fdish -c 0        fatformat mmc 0:1
        ext3format mmc 0:2
        ext3format mmc 0:3
        ext3format mmc 0:4
        fastboot
4. 在fastboot工具中打开cmd.exe,并依次输入下列指令:
        fastboot.exe flash bootloader u-boot-iTOP-4412.bin(这个步骤可以省略)
        fastboot.exe flash kernel zImage
        fastboot.exe flash ramdisk ramdisk-uboot.img
        fastboot.exe flash system system.img
        fastboot -w
        fastboot reboot

最后完成第一个程序helloworld的编写、编译和上板过程。