Make SD card to start your own compiled Uboot.bin

Source: Internet
Author: User

README for Friendlyarm Tiny4412

-----------------------------------------------------
1. Build Uboot

A) Install the toolchain (arm-linux-gcc-4.5.1-v6-vfp-20120301.tgz) and set it up.
environment variable path, guaranteed to work properly.

b) Unzip the uboot_tiny4412-20130729.tgz and enter the appropriate directory
Tar xzf uboot_tiny4412-20130729.tgz

c) Configure Uboot and compile
CD uboot_tiny4412
Make Tiny4412_config
Make

d) compiling tools for generating BL2
Make-c Sd_fuse
Or
CD sd_fuse; Make


-----------------------------------------------------
2. Make an SD card that starts Tiny4412

A) Prepare a SDHC card of 4G or above first
Note: The existing data of the card will be corrupted, so please first back up the data on the SD card.

b) Fusing SD card
Assuming that the SD card has been recognized as/DEV/SDB by PC Linux, run the following command with the root user:
CD sd_fuse/tiny4412
./sd_fusing.sh/dev/sdb


-----------------------------------------------------
3. Use SD card to start Tiny4412 and burn Android

A) Insert the already made SD card into the TINY4412 board, toggle the S2 switch to Sdboot, and connect
Serial cable to the PC and assume it's ready.

b) Add power to the board, and then press any key to enter the Uboot command line mode on the serial console (e.g. minicom)

c) partition the SD card
You can partition the SD card by entering the following Uboot command:
Fdisk-c 0 320 806 518
After repartitioning, you can reformat the FAT partition
Fatformat MMC 0:1

d) Enter FastBoot mode to burn and write Android
Connect the Tiny4412 micro_usb port to the PC using a USB cable, and then enter the following Uboot command:
FastBoot

e) Burn write Android to sd card
First please have Android image ready, including: Zimage, Ramdisk-u.img, system.img
Enter the following command on the PC side to write the burn:
FastBoot Flash kernel zimage (burn write kernel)

FASTBOOT-W (format UserData and cache)

FastBoot Flash ramdisk ramdisk-u.img (Burn write RAMDisk)

FastBoot Flash system system.img (Burn write system)

f) can also write uboot to sd card via fastboot on PC side
Manually generate Bl2.bin First
CD sd_fuse/tiny4412
.. /mkbl2. /.. /u-boot.bin Bl2.bin 14336

Then enter the following command:
FastBoot Flash FWBL1 E4412_N.bl1.bin

FastBoot Flash BL2 Bl2.bin

FastBoot Flash bootloader. /.. /u-boot.bin

FastBoot Flash TZSW E4412_tzsw.bin


-----------------------------------------------------
4. Use SD card to start Android

A) If you are using HD700, you can automatically start Android by restarting Tiny4412 directly after the burn-write is complete.

b) If you are using S700, you need to set the kernel command-line arguments on Uboot:
setenv Bootargs CONSOLE=TTYSAC0,115200N8 androidboot.console=ttysac0 lcd=s700
Saveenv
Then restart the Tiny4412.

Make SD card to start your own compiled Uboot.bin

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.