Create uboot and start the Development Board [email protected]: ~ /ARM information $ CD exynos4412_lzy1/src/uboot/uboot-2012-12/1. Switch the directory to exynos4412_lzy1/src/uboot/uboot-2012-12/[email protected]: ~ /ARM data/exynos4412_lzy1/src/uboot/uboot-2012-12 $ Vim makefile 1. Modify the MAKEFILE file. The prefix of the compiler must be added to this file. The first row in the file. Cross_compile 2. This is cross_compile? = Arm-Linux-3. (Note: spaces are not supported.) [email protected]: ~ /ARM data/exynos4412_lzy1/src/uboot/uboot-2012-12 $ Vim include/configs/tiny4412.h 1. Modify the tiny4412.h file line 311 and disable MMU. // # Define config_enable_mmu 2. add # UNDEF config_enable_mmu 3. 255. # define config_sys_prompt "[[email protected] #" 4. (Note: After MMU is disabled, all the addresses accessed during uboot run are physical addresses.) [email protected]: ~ /ARM data/exynos4412_lzy1/src/uboot/uboot-2012-12 $ Vim board/Samsung/tiny4412/config. MK 1. config_sys_text_base = 0x43e00000 2. config. MK: the link address of uboot is saved in this file. After MMU is disabled, you need to change this address to a physical address. 3. The physical address range of the Development Board is 0x40000000 ---- 0x80000000 [email protected]: ~ /ARM data/exynos4412_lzy1/src/uboot/uboot-2012-12 $ make-J4 1. Open four threads to compile the uboot file. [Email protected]: ~ /ARM documents/exynos4412_lzy1/src/uboot/uboot-2012-12 $ CD sd_fuse/1. Switch to the sd_fuse folder. [Email protected]: ~ /ARM data/exynos4412_lzy1/src/uboot/uboot-2012-12/sd_fuse $ LS 1. view the files added under this file. 2. The file is as follows: makefile mkbl2 sd_fdisk sd_fdisk.c tiny4412 V310-EVT1-mkbl2.c [email protected]: ~ /ARM data/exynos4412_lzy1/src/uboot/uboot-2012-12/sd_fuse $ make 1. Compile this file. Output: gcc-omkbl2 V310-EVT1-mkbl2.c gcc-osd_fdisk sd_fdisk.zshh-shaohua :~ /ARM data/exynos4412_lzy1/src/uboot/uboot-2012-12/sd_fuse/tiny4412 $ sudo. /sd_fusing.sh/dev/sdb1. write the file to/dev/sdb/dev/SDB reader is identified. ------------------------------------- BL1 fusing Records 16 + 0 read records 16 + 0 write 8192 bytes (8.2 KB) have been copied, 0.0220084 seconds, 372 KB/second --------------------------------------- bl2 fusing records 28 + 0 read records 28 + 0 write 14336 bytes (14 KB) have been copied, 0.0585371 seconds, 245 KB/second --------------------------------------- U-boot fusing records 501 + 1 read records 501 + 1 Write 256612 bytes (257 KB) have been copied, 0.701688 seconds, 366 KB/second --------------------------------------- trustzone S/W fusing records 184 + 0 read records 184 + 0 write 94208 bytes (94 KB) Copied, 0.259597 seconds, 363 KB/second --------------------------------------- U-boot image is fused successfully. eject SD card and insert it again.
ARM development edition uboot