(09-07-2018, 09:39 PM)magare Wrote: (09-07-2018, 05:08 PM)t4_4t Wrote: It sounds difficult.
In the state where the serial console is connected, there are the following disadvantages.
TX from the serial console becomes the voltage source ("rock 64" RX)
A small amount of voltage will remain even when the power is turned off.
Since the residual voltage value depends on the individual difference of "rock 64" and the driving ability of "TX"
There are reports that due to the above, reset does not work well and "boot" fails.
If you are lucky (unless it is broken), you still have the possibility of "booting" by removing the serial console TX.
For details, please refer to.
https://forum.pine64.org/showthread.php?tid=5008
- -
I do not have any more information that I know is useful to you.
I wish you good luck.
Yahooooo ...
I can see the board is alive :-)
I see booting messages .... Got a login prompt ....
Thinks guys.
So what I did was:
1. Power off the board
2. Short pin 20 and 21 to skip the spi loading.
3. Inserted an SD card with stretch-minimal-rock64-0.7.9-1067-arm64.img.xz flushed on.
4. connect Rx and ground to the Serial to TTL cable
5. Power on the card
6. Watch all the booting messages on the console
7. SSH to the board.
8. Have a beer and burp loud.
9. That is it folks.
Just not sure if I need to have 20 and 21 short all the time or I shall try to fix the SPI u-boot.
Will see and will post any news.
Thanks a lot for the help you guys.
Cheers!
If you are curious why I can't flush the SPI here is the output:
DDR version 1.13 20180428
ID:0x805 Y
In
LPDDR3
786MHz
Bus Width=32 Col=11 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=4096MB
ddrconfig:7
OUT
U-Boot SPL 2017.09-g03a332b (May 27 2018 - 18:34:41)
setup_ddr_param 1
booted from SD
Trying to boot from MMC2
NOTICE: BL31: v1.3(debug):9d3f591
NOTICE: BL31: Built : 14:39:02, Jan 17 2018
NOTICE: BL31:Rockchip release version: v1.3
INFO: ARM GICv2 driver initialized
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09-g03a332b (May 27 2018 - 18:34:56 +0000), Build: jenkins-linux-build-rock-64-239
Model: Pine64 Rock64
DRAM: 4 GiB
MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1
*** Warning - bad CRC, using default environment
In: serial@ff130000
Out: serial@ff130000
Err: serial@ff130000
Model: Pine64 Rock64
misc_init_r
cpuid=55524b5030363030300000000015210a
serial=8377a0df90b44e3
Net: eth0: ethernet@ff540000
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:6...
Found U-Boot script /boot.scr
reading /boot.scr
268 bytes read in 1 ms (261.7 KiB/s)
## Executing script at 00500000
SF: unrecognized JEDEC id bytes: 00, 00, 00
Failed to initialize SPI flash at 0:0 (error -2)
No SPI flash selected. Please run `sf probe'
==================================