Jump to content

Recommended Posts

Posted

Hi everybody,

 

I am currently facing some struggles with the nanoPC-T4 recently bought to run armbian. When I got the board, I was able to run android default installed OS, but also armbian from a SD card. 

But along the way, I decided to install armbian on an NVMe SSD memory to prevent running the OS from the SD card, anyway ... That when I started playing to with the kernel build, u-boot, flashing the emmc etc .. 

I tried couple of times using the rockchip tool : developtool in MASKROM to play with the EMMC because I couldn't boot from the SD card, and wanted to start with a clean emmc, but every time the tool had to execute a libusb_bulk_transfer, a timeout was returned. 

So I gave up debugging the board using usb, and started using the UART bus, which took me few days to get it work but finally was able to get the console ouput when starting the board. 

I managed to play with the android CLI, but was still annoyed to not be able to boot up from the SD card, any os images provided by friendly arm. So I decided to make a radical step and clear the emmc with this command : sudo dd if=/dev/null of=/dev/mmcblkxxx, 

this solution worked by clearing the memory and works so well that I cannot debug my board anymore. When I start the board in BOOT mode or not, the UART debug mode doesn't work as no console output is returned to my host.

When I try debugging by usb, I can see the device is alive, but a bulk_transfer return nothing else than an error. Here below is described the additional debug done on the USB. 

However, I am now stuck and don't know what I can do more, to get the board working again. Does anyone have any idea ? Does anyone get difficulty using the USB bus to debug their board ?

 

Best regards,

Jean-Pierre

 

Posted

Try the following :

 

Compile rkdeveloptool. As stated in their README :
 

sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf
git clone --depth 1 https://github.com/rockchip-linux/rkdeveloptool
cd rkdeveloptool
autoreconf -i
./configure
make

 

You might also need to

sudo apt install build-essentials

 

Then download rk3399-typec-android8-20181112.tgz from FriendlyElec Google drive for RK3399 boards :

https://drive.google.com/drive/folders/1gaLKSlIHvqhJ5cASTFGSjJ9XvtgosZFQ

 

Extract the MiniLoaderAll.bin somewhere and then do :

 

/path/to/rkdeveloptool db /path/to/MiniLoaderAll.bin
/path/to/rkdeveloptool uf /path/to/MiniLoaderAll.bin

 

I tested than on another RK3399 board and that got it working after being in "quiet MaskROM mode".

Now, by working, I just mean that it will print its UBoot messages back on the serial console. However, you'll need to flash an image again with some flash tools, either on Linux or Windows.

 

Posted

I install on nvme on my NanoPC-T4

With a SD inserted with a new image, 

Boot and hold the maskrom button for 5 seconds, then press recovery.

 

I had a can't find a btrfs volume error

After I installed a nightly Dev update.

I took the above steps to recover

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines