Create ubifs record

Source: Internet
Author: User

Mail: bookworepeng@Hotmail.com

QQ: 196568501

Author: Driver monkey

Phone: 13410905075

1. Modify U-BOOT default startup parameters

"Mmc_root = ubi0: rootfs RW ubi. MTD = 8, 2048 \ 0 "\
"Nand_root = ubi0: rootfs RW ubi. MTD = 8, 2048 \ 0 "\

"Mmc_root_fs_type = ubifs rootwait = 1t \ 0 "\

2. Create an ubi Image File

Mkfs. ubifs/mkfs. ubifs-r filesystem/-f-o ubifs. IMG-M 2048-e 126976-C 1580
UBI-utils/ubinize-O ubi. IMG-M 2048-P 128kib-s 512-O 2048 ubinize. cfg

3. Burn the ubi Image File

# NAND erase <mtdsize start Offset> <mtdsize>

# Nand ecc hw 2

# NAND wrirte 0x82000000 <mtdsize start Offset> <mtdsize>

There are two problems:

1. The entire NAND partition erased system cannot be started during erasure.

2. When the image file is burned, the system cannot start when the initial address is incorrect.

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.