ARM development edition uboot
Create uboot and start the development board zshh @ zshh-shaohua :~ /ARM/arm information $ cd exynos4412_lzy1/src/uboot/uboot-2012-12/1. Switch the directory to exynos4412_lzy1/src/uboot/uboot-2012-12/zshh @ zshh-shaohua :~ /ARM/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.) zshh @ zshh-shaohua :~ /ARM/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 "[zshh @ root] #" 4. (Note: After mmu is disabled, all the addresses accessed during Uboot run are physical addresses.) zshh @ zshh-shaohua :~ /ARM/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 ---- 0x80000000zshh @ zshh-shaohua :~ /ARM/arm data/exynos4412_lzy1/src/uboot/uboot-2012-12 $ make-j4 1. Open four threads to compile the uboot file. Zshh @ zshh-shaohua :~ /ARM/arm documents/exynos4412_lzy1/src/uboot/uboot-2012-12 $ cd sd_fuse/1. Switch to the sd_fuse folder. Zshh @ zshh-shaohua :~ /ARM/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.czshh @ zshh-shaohua :~ /ARM/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/arm data/exynos4412_lzy1/src/uboot/uboot-2012-12/sd_fuse/tiny4412 $ sudo. /sd_fusing.sh/dev/sdb1. write the file to/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.