Integrator Resources

The official home for NAI Support

Not sure where to start? Try Quick Start Guide or ask a question below!

Toggle Components with Visual Button
JavaScript Form Processing

ARM SATA BSP Restore (Peta Linux) - 75ARM1

AppNote – ARM SATA BSP Restore (Peta Linux)

NAI Generation 5 ARM processor products (75ARM1, 64ARM1, 68ARM1, NIU1A) have SATA Flash for customer application use. In some instances, there may be a need to restore the SATA BSP image back to default BSP image.

Note the BSP image for each of the products listed above is different. For illustration purposes, this document will refer to the 75ARM1 product.

SATA Restore

The following software applications (or equivalent) are needed to restore the BSP image:

Software Application

Description

Filename

Tera Term

Used for Serial communication between the host PC and the target

teraterm-4.86.exe

WinSCP

Used for File transfer between the host PC and the target

winscp576setup.exe

1.1 Connect to Board

Using Tera Term (or equivalent application), connect to the target board with the following settings:

Serial Port Configuration Settings

Speed

115200

Data Bits

8

Stop Bits

1

Parity

none

Flow Control

none

After powering up the board, you should see the Log-in prompt (refer to Figure 1).

arm sata bsp restore img1

1.2 Boot from QSPI Image

Cycle power on the target board and interrupt the normal boot-up sequence by hitting the <Enter> key. You need to hit the <Enter> key within 2 seconds in order to interrupt the boot-up cycle before it boots from SATA.

If you successfully interrupt the normal boot-up sequence (refer to Figure 2), you will see the UBoot prompt. Otherwise cycle power and try again.

arm sata bsp restore img2

At the UBoot prompt, force booting from QSPI with the following command: 1. Type “run qspi_boot” Once Linux boots up, verify you can log-in to the target (refer to Figure 3). The default username is “root” and the default password for this username is “root”. Verify no files in root directory (refer to Figure 3) with the following commands: 1. Type “pwd” 2. Type “ls”

arm sata bsp restore img3

Verify that you can communicate to the target via Ethernet (refer to Figure 4). The default IP address and Subnet mask is 192.168.1.16 and 255.255.255.0 respectively.

arm sata bsp restore img4

1.3 Disable SATA Write-Protect

The SATA write-protect can be disabled by grounding the write-protect pin, or by the following commands (refer to Figure 5): 1. Type “memtool -32 43c10094=0” (0 will Disable Write-Protect) 2. Type “memtool -32 43c10094 1” (1 will retrieve the Write-Protect Value)

arm sata bsp restore img5

1.4 Transfer Files to Board

Using WinSCP (or equivalent application), connect to the board (refer to Figure 6), and transfer the BSP image file from the host PC to the board (refer to Figure 7). Note WinSCP will copy the file to the /var/ftp directory on the target.

arm sata bsp restore img6
arm sata bsp restore img7

Run the following commands to re-format SATA and install the BSP image (refer to Figure 8): 1. Type “cd /var/ftp” 2. Type “ls” 3. nai_format_sata_drive.sh ROOTFS_XIL_NIU1A_VERSION_INFO_ext3.img

arm sata bsp restore img8

1.5 Boot from SATA Image

Cycle power on the target board and allow it to boot from SATA (i.e., do not interrupt boot-up sequence).

Help Bot

X