在u-boot-iTOP-4412.bin当前目录下,烧写uboot 文件至SD卡
./mkuboot /dev/sdb 烧写uboot至SD卡
创建分区
fdisk -c 1
fatformat mmc 1:1
ext3format mmc 1:2
ext3format mmc 1:3
ext3format mmc 1:4
在windows系统的SD中创建sdupdate文件夹
将4个文件(u-boot-iTOP-4412.bin zImage ramdisk-uboot.img system.img)放至sdupdate
sdfuse flashall,可以将以上4个文件烧写至EMMC中,这样就可以EMMC启动或SD启动。
而且试到没有使用sdfuse flashall命令之前,SD卡也没有办法正常启动。
U-Boot 2010.03 (Jul 02 2022 - 10:50:18) for iTOP-4412 Android
CPU: SMDK4412-AP1.1 [e4412211]
version:zhm-2022.07.03 V1.0
APLL = 1000MHz, MPLL = 800MHz
ARM_CLOCK = 1000MHz
PMIC: S5M8767(VER5.0)
Board: iTOP-4412Quad
POP type: POP for C220
DRAM: 1023 MB
MMC: max_emmc_clock:40 MHZ
Set CLK to 400 KHz
EMMC CLOCK OUTPUT:: 400KHz -[div:50]
response timeout error : 00000104 cmd 8
response timeout error : 00000104 cmd 55
max_emmc_clock:40 MHZ
Input CLK [ 50 MHz] is higher than limit [40 MHZ]
Set CLK to 40000 KHz
EMMC clock output: 40000 KHz
max_emmc_clock:40 MHZ
Input CLK [ 50 MHz] is higher than limit [40 MHZ]
Set CLK to 40000 KHz
EMMC clock output: 40000 KHz
MMC0: 3728 MB
SD sclk_mmc is 400K HZ
SD sclk_mmc is 50000K HZ
SD sclk_mmc is 50000K HZ
MMC1: 30436 MB
*** Warning - using default environment
In: serial
Out: serial
Err: serial
Checking Boot Mode … SDMMC
SYSTEM ENTER NORMAL BOOT MODE
Hit any key to stop autoboot: 0
reading kernel… 1120, 12288
MMC read: dev # 1, block # 1120, count 12288 …12288 blocks read: OK
completed
reading RFS… 13408, 2048
MMC read: dev # 1, block # 13408, count 2048 …2048 blocks read: OK
completed
Boot with zImage
Wrong Ramdisk Image Format
[err] boot_get_ramdisk
Starting kernel …
end uboot 0703Uncompressing Linux…zhm add 0703 done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.15 (root@ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #4 SMP PREEMPT Sat Jul 2 11:00:01 PDT 2022
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: SMDK4X12
[ 0.000000] **************************
[ 0.000000] reserve_panic_dump_area!!
[ 0.000000] **************************
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] CPU EXYNOS4412 (id 0xe4412211)