Patch
https://download.csdn.net/download/djylm/10780695
export PATH=/home/lake/opt/arm-2014.05/bin:$PATH
lake@lake-Latitude-5491:~/opt/Tiny4412$ tar zxf uboot_tiny4412-20130729.tgz
lake@lake-Latitude-5491:~/opt/Tiny4412$ ls
lake@lake-Latitude-5491:~/opt/Tiny4412$ cd uboot_tiny4412
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412$ patch -p1 <../uboot.patch
patching file board/samsung/tiny4412/mem_init_tiny4412.S
patching file board/samsung/tiny4412/tiny4412.c
patching file include/configs/tiny4412.h
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- tiny4412_config
awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > .boards.depend
Configuring for tiny4412 board...
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j32
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j32 -C sd_fuse
make: Entering directory '/home/lake/opt/Tiny4412/uboot_tiny4412/sd_fuse'
gcc -o mkbl2 V310-EVT1-mkbl2.c
gcc -o sd_fdisk sd_fdisk.c
make: Leaving directory '/home/lake/opt/Tiny4412/uboot_tiny4412/sd_fuse'
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412$
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412$ cd sd_fuse/tiny4412/
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412/sd_fuse/tiny4412$ sudo ./sd_fusing.sh /dev/sdb
/dev/sdb reader is identified.
---------------------------------------
BL1 fusing
16+0 records in
16+0 records out
8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0199643 s, 410 kB/s
---------------------------------------
BL2 fusing
28+0 records in
28+0 records out
14336 bytes (14 kB, 14 KiB) copied, 0.27085 s, 52.9 kB/s
---------------------------------------
u-boot fusing
540+1 records in
540+1 records out
276968 bytes (277 kB, 270 KiB) copied, 0.782389 s, 354 kB/s
---------------------------------------
TrustZone S/W fusing
184+0 records in
184+0 records out
94208 bytes (94 kB, 92 KiB) copied, 0.243608 s, 387 kB/s
---------------------------------------
U-boot image is fused successfully.
Eject SD card and insert it again.
lake@lake-Latitude-5491:~/opt/Tiny4412/uboot_tiny4412/sd_fuse/tiny4412$
### SD card 4G test boot
OK
U-Boot 2010.12 (Feb 02 2019 - 22:12:03) for TINY4412
CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]
APLL = 1500MHz, MPLL = 800MHz
Board: TINY4412
DRAM: 2047 MiB
vdd_arm: 1.2
vdd_int: 1.0
vdd_mif: 1.1
BL1 version: N/A (TrustZone Enabled BSP)
Checking Boot Mode ... SDMMC
REVISION: 1.1
MMC Device 0: 3824 MB
unrecognised EXT_CSD structure version 7
FAIL: waiting for status update.
MMC Device 1: 1024 MB
MMC Device 2: N/A
*** Warning - using default environment
Net: No ethernet found.
Hit any key to stop autoboot: 0
TINY4412 #
TINY4412 #
TINY4412 # ver
U-Boot 2010.12 (Feb 02 2019 - 22:12:03) for TINY4412
TINY4412 #
U-Boot 2010.12 (Feb 02 2019 - 22:12:03) for TINY4412
TINY4412 # printenv
baudrate=115200
bootcmd=movi read kernel 0 40008000;movi read rootfs 0 41000000 100000;bootm 40008000 41000000
bootdelay=3
ethaddr=00:40:5c:26:0a:5b
gatewayip=192.168.0.1
ipaddr=192.168.0.20
netmask=255.255.255.0
serverip=192.168.0.10
Environment size: 252/16380 bytes
TINY4412 #
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyUSB0
TINY4412 # fdisk -p 0
partion # size(MB) block start # block count partition_Id
1 600 313110 1230075 0x0C
2 2959 1543185 6060915 0x83
lake@lake-Latitude-5491:~/opt/Tiny4412$