Recently started a friendly arm of the nanopc-t3, personal feeling is good, the board's craft and Yan value are very high, that is, the price is slightly higher. The student party can't afford to hurt. Play the occasion found that the official provided Uboot does not support the serial port through the loady command to download code. Obsessive-compulsive disorder, recompile uboot to support Loady commands. The following is a specific process for sharing a reference.
The PC system recommends the use of a ubuntu14.04 64-bit system.
Download the extract uboot source code, configure Uboot and compile:
1, Vim UBOOT_NANOPI2-NANOPI2-LOLLIPOP-MR1/COMMON/CMD_LOAD.C
2, save changes, compile Uboot:
Make S5p6818_nanopi3_config
Make cross_compile=arm-linux-
3, the compilation completes, generates the Uboot.bin file in the source directory, namely is the target file.
Second, replace the Uboot in SD card by FastBoot
1, on the computer first with the command sudo apt-get install android-tools-fastboot installation fastboot tools;
To see if FastBoot is installed successfully:
2, with the serial port accessories to connect NANOPC-T3 and computer, in the power to start 2 seconds, in the serial terminals on the press ENTER, into the u-boot command line mode;
3, in the U-boot command line Mode input Command FastBoot carriage return, into the fastboot mode;
4, with the microUSB line to connect nanopc-t3 and computer, switch to the computer on the Uboot source file location, enter the following command to burn write U-boot.bin:
5, Burn write complete:
Three Authentication Loady command
In the Development Board Uboot Environment Enter Loady 0x40008000 carriage return, then press CTRL + A key to release, and then hold down the S key to select the code
Download.
Download Complete:
At this point, uboot update success, the implementation of the serial Port Loady command to download the function of the code.
The article uses the Uboot source code and the test code downloading address: Click opens the link