Learning notebook-Linux minimum system burning based on iTOP4412 development board
The minimum system can only be operated through hyperterminal and there is no screen display.
Use tools: HyperTerminal, fastboot
Communication: serial port RS232
Operating environment: bootloader is completed after boot, but before the file system is mounted. (abort file system mount through HyperTerminal after boot)
Operation permission: root
Procedure:
1. Format (in order)
Fdisk-c 0 [partition command partition serial number: 0 (this command will empty emmc)]
Fatformat mmc 0:1 [formatted in "FAT" format, object: mmc, partition serial number 0 first partition]
Ext3format mmc 0:2 [formatted in "ext3" format, object: mmc, partition serial number 0 second partition]
Ext3format mmc 0:3 [formatted in "ext3" format, object: mmc, partition serial number 0 third partition]
Ext3format mmc 0:4 [formatted in "ext3" format, object: mmc, partition serial number 0 fourth partition]
Fastboot [say hello and get the hardware ready, and then start using fastboot]
As for why it is divided in this way, I don't understand it for the time being. The tutorial says you'll understand it later.
two。 Burn and write three big pieces
These three pieces are: uboot, kernel and file system.
Communication: USB OTG
Note: burning is implemented in the cmd console under the folder where the fastboot is located, not a serial hyperterminal. Copy all the files you want to burn into the fastboot folder.
Fastboot.exe flash bootloader u-boot-iTOP-4412.bin [flash: execute burn bootloader: burn write type u-boot-iTOP-4412.bin: burn write object]
Fastboot.exe flash kernel zImage [this command is used to burn the kernel (kernel)]
Fastboot.exe flash ramdisk ramdisk-uboot.img [ramdisk belongs to the file system]
Fastboot.exe flash system system.img [system obviously the body of the file system]
Fastboot-w [clear user space]
Fastboot reboot [restart]