First knowledge of am335x

Source: Internet
Author: User

TI's Am335x,linux operating system, are all unfamiliar dongdong, 1.1 points to familiar with it.

Take the TI agent of a development Board, directly look at the document. Environment because a colleague has been installed, the company conditions are limited, can not let us a person an Ubuntu machine to do the development environment, so only share a server, everyone remote terminal in the above development.

The Development Board company has given us some basic documentation:

am335x ubifs Nandflash Programming Guide v1.1.pdf

Am335x_linux_ Erase NAND Flash.pdf

Am335x_linux_ Modify Boot Logo.pdf

Am335x_ use _sd_ fast burn _nandflash_ manual. pdf

Linux SDK for am335x Ver 1.1.pdf

Then of course the SDK is using the TI official SDK.

A little look, these documents provide the basis for the settlement, mainly how to install the environment, how to upgrade Ah, how to compile Ah, these for me without liunx basis of people, it is greatly useful ah. The command line is not accustomed to the operation, the command can not remember, indeed a bit painful.

This part of the "NAND" burn should be a supplement to the official SDK, as the official code does not implement this part. own according to the original supply of some of the source code modified to make the following changes, mainly several documents:

BOOT-COMMON.C am335x_evm.h

In addition, the hardware of the Board for the original main changed a few files:

BOARD-AM335XEVM.C DA8XX-FB.C EVM.C

I thought a simple compile is OK, but actually, want to start from NAND there are several other points, see Am335x_ use _sd_ fast burn _nandflash_ manual. pdf

The 1 script was a bit blocked. Why the script, it is because of burning the program to NAND, we need to the NAND format ah, written to xloader,uboot,image and other files, these operations of course can be in the command line of operation, but in order to simple and convenient, We can make a script (just like Windows batch) and do it in a direct sequence. The changes in am335x_evm.h are for scripting. When the script runs in the document, it always complains, so I have to run the command in the command line first, confirm the command is feasible, and then modify the original script, let it pass. After the specific modification of Dongdong I will not post, because of their own hands, will be more understanding.

2 is to make ubi.img, the script has the size of the file parameters, and put the file size to match. The concept of UBIFN is still at a level not understood, the current understanding is a file system, different from the wince fat. We can decide which files and folders to put in the file system, then we can make the ubi.img, so that the contents of the device will be decided after it is run.

Finally ran up, a little dongdong also spend almost a day of time. So if you like me, do not understand this environment, must not be too urgent, the document look carefully, it is not easy to make mistakes. Look and comb the content and its relevance.

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.