[Uboot Fail] How to recovery uboot

Moderator: FATechsupport

03 Aug 2016, 14:16
Hi,
In my board, I can't bootup to uboot on Nano PC-T3 , so how to flashing new uboot or recovery bootloader?

Regards,
HuyLe
---
HuyLe
05 Aug 2016, 09:24
huyle wrote:
Hi,
In my board, I can't bootup to uboot on Nano PC-T3 , so how to flashing new uboot or recovery bootloader?

Regards,
HuyLe


Hello,
Tere are ways how to compile uboot and flash new uboot:
Compile U-Boot

Download the U-Boot source code and compile it. Note that the github's branch is nanopi2-lollipop-mr1:

git clone https://github.com/friendlyarm/uboot_nanopi2.git
cd uboot_nanopi2
git checkout nanopi2-lollipop-mr1
make s5p6818_nanopi3_config
make CROSS_COMPILE=arm-linux-After your compilation succeeds a u-boot.bin will be generated. If you want to test it flash it to your installation SD card via fastboot. Here is how you can do it:
1) On your host PC run "sudo apt-get install android-tools-fastboot" to install the fastboot utility;
2) Connect your NanoPC-T3 to your host PC via a serial cable (e.g. PSU-ONECOME). Press the enter key within two seconds right after you power on your NanoPC-T3 and you will enter uboot's command line mode;
3) After type in "fastboot" and press "enter" you will enter the fastboot mode;
4) Connect your NanoPC-T3 to this host PC via a microUSB cable and type in the following command to flash u-boot.bin:


fastboot flash bootloader u-boot.bin
Warning: you cannot update this SD card by commanding "dd". This command will cause trouble when booting the NanoPC-T3.
09 Aug 2016, 07:43
Hi JJm,

Yes, I know. default source code in git compile and flashing to uboot is OK.
But I request in case uboot is fail, we doesn't excuting the cmdline fastboot in uboot, so how to recovery uboot ?

Regards,
HuyLe
---
HuyLe

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 42 on 15 Jul 2016, 01:04

Users browsing this forum: No registered users and 1 guest