Hi all,
I'm trying to install the bootloader to my RockPro64, but I'm facing an issue trying to flash it.
First I left the board at this point for some time:
There, the white and red leds were flashing alternating (white, then red, then white, then red and so on).
Then on the serial console I press Ctrl+c, and the message continued as shown above
No matter if I try @sigmaris or @ayufan, the error is the same on both.
For example, using ayufan's Buster minimal, if I try to reset the SPI, it says success:
But I still can't see anything about SPI if I remove the emmc and the SD card. So I doubt it loads anything from SPI.
Any help?
I'm trying to install the bootloader to my RockPro64, but I'm facing an issue trying to flash it.
Code:
U-Boot TPL 2021.01-09768-gc762ab29b8 (Mar 20 2021 - 13:35:30)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Colpddr4_set_rate: change freq to lpddr4_set_rate: change freq to Trying to boot from BOOTROM
Ret
U-Boot SPL 2021.01-09768-gc762ab29b8 (Mar 20 2021 - 13:35:30 +0000)
Trying to boot from MMC1
NOTICE: BL31: v2.4(release):v2.4
NOTICE: BL31: Built : 13:33:26, Mar 20 2021
U-Boot 2021.01-09768-gc762ab29b8 (Mar 20 2021 - 13:35:30 +0000)
SoC: Rockchip rk3399
Reset cause: POR
Model: Pine64 Roc3.9 GiB
PMIC: RK808
MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from SPIFlash... jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff
*** Warning - spi_flash_probe_buIn: serial
Out: serial
Err: serial
Model: Pine64 RockPro64 v2.1
Net: eth0: ethernet@fe300000
Hit any key to stop autoboot: 0
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:3...
Found U-Boot script /boot.scr
967 bytes read in 4 ms (235.4 KiB/s)
## Executing script at 00500000
jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff
Failed to initialize SPI flash at 1:0 (error -2)
Error: No SPI <<<<<<Pressed Ctrl+c>>>>>>sleep - delay execution for some time
Usage:
sleep N
- delay execution for N seconds (NSCRIPT FAILED: continuing...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk mmc@fe310000.blk...
Disk mmc@fe310000.blk not ready
Scanning disNo valid Btrfs found
** UnrecogNo valid Btrfs found
** Unrecognized filesystem type **
Card did not respond to voltage select! : -110
Scanning disk sdhci@fe330000.blk...
Disk sdhci@fe330000.blk not ready
Found 4 ition
Device nor0 not found!
BootOrder not defined
EFI boot manager: Cannot load any image
=> sf probe
jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff
Failed to initialize SPI flash (error -2)
=>
First I left the board at this point for some time:
Code:
## Executing script at 00500000
jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff
Failed to initialize SPI flash at 1:0 (error -2)
Error: No SPI
There, the white and red leds were flashing alternating (white, then red, then white, then red and so on).
Then on the serial console I press Ctrl+c, and the message continued as shown above
No matter if I try @sigmaris or @ayufan, the error is the same on both.
For example, using ayufan's Buster minimal, if I try to reset the SPI, it says success:
Code:
root@rockpro64:/usr/local/sbin# /usr/local/sbin/rockpro64_reset_spi_flash.sh
Unbinding...
Binding...
Finished
root@rockpro64:/usr/local/sbin# /usr/local/sbin/rock64_erase_spi_flash.sh
Doing this will overwrite data stored on SPI Flash and it will require that you use eMMC or SD as your boot device.
loader partition on MTD is not found
/usr/local/sbin/rock64_erase_spi_flash.sh: line 14: return: can only `return' from a function or sourced script
root@rockpro64:/usr/local/sbin# ls -lah /dev/mt*
ls: cannot access '/dev/mt*': No such file or directory
root@rockpro64:/usr/local/sbin#
Any help?