Problems with sam9x5 Transplantation

Source: Internet
Author: User

Recently I got sam9x5, and the core chip model is at91sam9x25. I encountered many problems and got depressed for several days. The problem is solved as follows:

I. Board bootload is different from the previous mini2440. This board bootload is divided into three levels of boot programs: romboot, bootstrap, and U-boot. Because bootload comes with the factory, and development does not require a lot of it, it is ready to use, Just transplant the kernel and file system. According to the instructions, the kernel is successfully downloaded using TFTP, but when the file system is mounted using NFS, it stops running at 0x8 .. for some reason. This problem has not been solved yet.

2. Enter the command: NAND erase. Result ...... after the restart is found, only romboot is printed on the board. It turns out that everything is wiped out. The effect is the same as executing erase all after enabling it in NAND Flash using SAM-ba.

Iii. What should I do if u-boot is missing on the board? Installation! So after installing the sam-ba2.11, follow the steps below to start porting bootload.

1: Bootstrap

  1. Choose the properMedia Tab(Dataflash, nandflash, etc.) In the SAM-BA GUI interface
  2. Initialize the media choosingEnableAction inScriptsRolling menu and pressExecute
  3. ChooseSend boot file, PressExecute
  4. Select the at91bootstrap binary file and pressOpen; The media is written down
  5. Close SAM-BA, remove the USB cable

2: U-boot

  1. Choose the properMedia Tab(Dataflash, nandflash, etc.) In the SAM-BA GUI interface
  2. Initialize the media choosingEnableAction inScriptsRolling menu and pressExecute
  3. Press onSend File NameBrowse button
  4. Choose u-boot.bin binary file and pressOpen
  5. Enter the proper address on media inAddressText Field. You can find a media map for each product ingettingstarted # linux4sam_dataflash_demo_memory
    And
    Gettingstarted # linux4sam_nandflash_demo_memory
  6. PressSend FileButton
  7. On AT91SAM9260-EK or AT91SAM9XE-EK, if you have erased the booting media, do not forget to replaceat91bootstrap in it
  8. Close SAM-BA, remove the USB cable
Well, it is restored to the original state, but note that the bootstrap and U-boot used must match the board, otherwise, problems such as Sam-Ba connection errors and USB disidentification will occur. If this problem occurs, J-link is recommended.

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.