Device unable to boot
#1
Hi everybody, I've just bought a RockPro64.

Yesterday I wanted to try it out and flashed OpenWRT onto a SD card and powered it.
I was getting a white LED almost immediately and I was able to login using SSH and the web GUI.

Today I wanted to actually setup the board, I tried to boot using the same process and using the same working SD card. I couldn't get any LED expect the green power LED.
I tried reflashing the SD card with OpenWRT again, still nothing.
Tried connecting the HDMI, no signal.
Tried to flash Armbian Buster for the RockPro64. Same thing no HDMI signal and no LED.
I also tried to connect to the board using serial. When I'm trying to use 9600,8n1 I'm getting just an infinite number of `?` in the terminal,
when using 1500000,8n1 I'm getting ``

[Image: rock.png]

I tried flashing the OS on two different SD cards.
At first I tried flashing using Etcher on Windows and using PuTTY to connect.

[Image: unknown.png]

Since that wasn't working, I booted into Linux. Redownloaded the OpenWRT version I previously was able to boot.
Flashed a SD card using:
Code:
sudo dd if=./openwrt-21.02.0-rc2-rockchip-armv8-pine64_rockpro64-ext4-sysupgrade.img of=/dev/sdb

Powered the device with the freshly flashed OS.
And tried to get the serial monitor to work using
Code:
minimon -D /dev/ttyUSB0 -b 1500000

Still nothing except a long line of missing symbol character (same as PuTTY on Windows), and still no white LED.


I've also noticed the Ethernet port LEDs looks really dull for about 5 minutes then brighten.
I'm using a HW-417 Serial to USB, and I keep the TX cable disconnected from the pin 10 of the PI header, since from what I've read the connecting the TX to pin 10 at boot could cause the board not to boot. Still tried with the pin 10 connected just in case but didn't change a thing.
  Reply
#2
Hi Lunix33 and welcome,
  (with this login I was not expected to see see a windows user Tongue )

If you did not solve yet your problen, you could eventually check :

- for the boot :
     - the sd is properly inserted
     - the power supply is sufficient

- for the UART (but I suppose you are aware of these points and the tuto : https://forum.pine64.org/showthread.php?tid=6387)
     - 150000 is indeed the appropriate frequency
     - the rx of the uart is linked to the tx and the ground are wired
     - the voltage is 3.3V


- flash the u-boot image in the spi and see if there are some messages sent by UART at power on even without any sd inserted

- if you have the opportunity, try with an emmc (boot method enabled in default) or usb boot (thanks to the u-boot)

good luck !
  Reply
#3
Thanks for the insight LMM,

With all the boot tries and reflashing I did, I don't expect to have inserted the SD card every single time.

When it comes to the power supply I'm using one of the recommended power supplied. It's a 12v@3A power supply.
I'm trying to boot the device without any accessory attached, so I don't think I'm actually overloading the power supply.

And I've followed the exact same tutorial to try to establish a serial connection.
I've been using the 1.5MBaud rate,
I was connecting the RX lead to the pin 8 and used the ground lead on pin 6 while keeping the TX lead disconnected to make sure I don't impede the boot process.
The serial adapter was set at 3.3v

I haven't tried to flash the SPI with UBoot yet since currently I'm waiting for the Pine support to issue a RMA so I can test if I just received a lemon.
But I still tried to see if I would get anything out of serial connection even without any SD card, and I just get the same goop as when the SD card is in.

And the emmc isn't an option since I didn't buy any emmc modules and prefer to run directly from a SD card for the time being for simplicity.
  Reply
#4
I saw in this post that all uart do not support 150000 rate. https://forum.pine64.org/showthread.php?tid=9364
Moreover it also give some useful hint.
And also this one on not genuine ft232RL chips problems with windows : https://forum.pine64.org/showthread.php?tid=11918
  Reply
#5
in this post https://forum.pine64.org/showthread.php?tid=13704, the solution was to hold the the reset + power button (or on power off touch all the gpio pins  before). You could also eventually use the 4 pins hole next to the headphone jack (wire the reset or power button to the ground with a paper clip for example )
  Reply
#6
I've just looked through the posts you've recommanded.
I've flashed an os on the SD card I know has HDMI output (Armbian Buster) and did some more testing.

I've tried the power + reset solution by pressing both at the same time for 2 sec and doing a 2sec power followed by 2sec reset then pressing the power button once more to power on the device but without any result all no white led, nor any HDMI output.
When it comes to the power and reset pin holes next to the audio jack, I've tried jumping the power and ground as in this post (https://forum.pine64.org/showthread.php?pid=77022), it just powered off the device. From what I can understand those pins are the same as the buttons, unless I've misunderstood what they are used for.
For the `(or on power off touch all the gpio pins  before)` part, I'm not sure I get what you mean by that.

On the serial interface side of things. I didn't expect there could be fake FTDI IC, but after some research, I found my FTDI programmer might be a fake.
So far it worked just fine with lower speed devices like some other SBC and dev board, but maybe not with this board.
I've ordered a new serial interface with a genuine FTDI chip and will try to see if I can get any output out of the board once I'll receive it.
  Reply
#7
Okay as an update,
I've just received the new FTDI Serial interface I validated the serial number to make sure I don't have a fake chip,
I tested the serial interface on a ESP32 project board I have and it's working just fine.

But when I'm trying to use the serial interface with the Rockpro I still only get garbage from the board.
I made sure the interface was in 3.3v mode, and connected the ground to the ground pin of the board (pin 6) and connected the Rx pin of the interface to the Tx pin of the board (pin 8), and left the Rx pin (pin 10) of the board empty.
  Reply
#8
> But I still tried to see if I would get anything out of serial connection even without any SD card,
> and I just get the same goop as when the SD card is in.

If your report above is similar to the photo you presented in the first report,
It means the symptom that "Tx outputs a lot of garbage even though no bootable device is attached".

At least this isn't normal.
Even if there is a baud rate mismatch,
when resetting or powering on, garbage of about 1 or 2 characters appears.
It is a symptom of that degree at best. (If there is no hardware dameges)

---

"Some dirty data was unintentionally written to SPI-Flash."
It looks like that to me.

For the RK3399, SPI-Flash has the highest boot priority.
*) SPI-Flash-> eMMC-> SDcard
Therefore, if invalid data is written here,
that media will not be referenced even if a valid image is written to SDCard / eMMC.

SPI-Flash can be easily disabled with a jumper.
Does the above operation change the state ?
I recommend the above confirmation first.

The current situation is that you don't even have the minimum debugging tools,
which is a stalemate.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mainline U-Boot with SPI, NVMe and SATA boot support sigmaris 103 44,603 07-08-2021, 04:55 PM
Last Post: Mentaluproar
  First boot - no fan, no display... is it broken? rantoie 1 395 04-28-2021, 04:41 PM
Last Post: rantoie
  PXE boot - unable to login LMM 2 557 04-22-2021, 02:59 PM
Last Post: LMM
  Unable to Run GNOME or KDE due to "dmidecode" segmentation fault rrs64 3 1,838 03-15-2021, 06:42 AM
Last Post: Mishal22
  Device bricked? TheHunter 1 529 03-10-2021, 05:27 PM
Last Post: TheHunter
  unable to boot from SDCard Charles Tarkowski 4 1,368 12-16-2020, 11:11 AM
Last Post: Charles Tarkowski
  Unable to synchronize Raid 0 NAS with OMV keuplat 0 590 11-10-2020, 05:47 PM
Last Post: keuplat
  USB Device Mode R0b0t1 3 2,338 10-30-2020, 07:34 PM
Last Post: guannais
  Rockpro64 boot issues larsgn 14 8,168 10-21-2020, 07:54 AM
Last Post: quinterro
  RockPro64 eMMC boot euu 4 3,111 08-24-2020, 11:07 PM
Last Post: t4_4t

Forum Jump:


Users browsing this thread: 1 Guest(s)