Not able to write u-boot to SPI
#3
Please use this image to write to spi.

https://github.com/ayufan-rock64/linux-u...o64.img.xz

Quick test


Code:
U-Boot SPL 2017.09-rockchip-ayufan-1035-gd646df03ac (Oct 26 2018 - 08:36:09)    
booted from SD                                                                  
Trying to boot from MMC2                                                        
NOTICE:  BL31: v1.3(debug):65aa5ce                                              
NOTICE:  BL31: Built : 10:47:37, Jun 19 2018                                    
NOTICE:  BL31: Rockchip release version: v1.1                                  
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!                                          
INFO:    boot cpu mask: 0                                                      
INFO:    plat_rockchip_pmu_init(1151): pd status 3e                            
INFO:    BL31: Initializing runtime services                                    
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE iniK
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-rockchip-ayufan-1035-gd646df03ac (Oct 26 2018 - 08:36:24 +0000)  
                                                                               
Model: Pine64 RockPro64                                                        
DRAM:  2 GiB                                                                    
DCDC_REG1@vdd_center: ; enabling                                                
DCDC_REG2@vdd_cpu_l: ; enabling                                                
DCDC_REG3@vcc_ddr: ; enabling (ret: -38)                                        
DCDC_REG4@vcc_1v8: set 1800000 uV; enabling                                    
LDO_REG1@vcc1v8_dvp: set 1800000 uV; enabling                                  
LDO_REG2@vcc3v0_touch: set 3000000 uV; enabling                                
LDO_REG3@vcc1v8_pmu: set 1800000 uV; enabling                                  
LDO_REG4@vcc_sd: set 3300000 uV; enabling                                      
LDO_REG5@vcca3v0_codec: set 3000000 uV; enabling                                
LDO_REG6@vcc_1v5: set 1500000 uV; enabling                                      
LDO_REG7@vcca1v8_codec: set 1800000 uV; enabling                                
LDO_REG8@vcc_3v0: set 3000000 uV; enabling                                      
SWITCH_REG1@vcc3v3_s3: ; enabling (ret: -38)                                    
SWITCH_REG2@vcc3v3_s0: ; enabling (ret: -38)                                    
vcc1v8-s0@vcc1v8_s0: set 1800000 uV; enabling (ret: -38)                        
dc-12v@dc_12v: set 12000000 uV; enabling (ret: -38)                            
vcc-sys@vcc_sys: set 5000000 uV; enabling (ret: -38)                            
vcc3v3-sys@vcc3v3_sys: set 3300000 uV; enabling (ret: -38)                      
vcc-phy-regulator@vcc_phy: ; enabling (ret: -38)                                
vdd-log@vdd_log: ; enabling (ret: -38)                                          
MMC:   sdhci@fe330000: 0, dwmmc@fe320000: 1                                    
SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB  
*** Warning - bad CRC, using default environment                                
                                                                               
In:    serial@ff1a0000                                                          
Out:   serial@ff1a0000                                                          
Err:   serial@ff1a0000                                                          
Model: Pine64 RockPro64                                                        
Net:   eth0: ethernet@fe300000                                                  
Hit any key to stop autoboot:  0                                                
Card did not respond to voltage select!                                        
mmc_init: -95, time 19                                                          
switch to partitions #0, OK                                                    
mmc1 is current device                                                          
Scanning mmc 1:2...                                                            
Found U-Boot script /boot.scr                                                  
reading /boot.scr                                                              
827 bytes read in 3 ms (268.6 KiB/s)                                            
## Executing script at 00500000                                                
SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB  
reading rkspi_loader.img                                                        
1461372 bytes read in 156 ms (8.9 MiB/s)                                        
SF: 4194304 bytes @ 0x0 Erased: OK                                              
device 0 offset 0x0, size 0x164c7c                                              
SF: 1461372 bytes @ 0x0 Written: OK          


And please use image for rockpro64 Exclamation
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/


Messages In This Thread
Not able to write u-boot to SPI - by Jix0 - 10-29-2018, 11:08 AM
RE: Not able to write u-boot to SPI - by lybin - 11-13-2018, 02:08 AM
RE: Not able to write u-boot to SPI - by Bullet64 - 11-13-2018, 09:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  enble boot after power loss/restore dkebler 18 9,298 12-04-2023, 12:14 PM
Last Post: ok38
  Mainline U-Boot with SPI, NVMe and SATA boot support sigmaris 108 118,819 09-25-2023, 12:46 AM
Last Post: ChriChri
Bug Broken boot: What am I missing? mkosarek 1 655 09-08-2023, 08:14 AM
Last Post: wdt
  Unable to boot Armbian on new RockPro64 mooseball 5 4,206 07-14-2023, 08:59 AM
Last Post: rockjonn
  no boot white led flashing moserwi 7 4,270 05-18-2023, 10:46 AM
Last Post: wdt
  u-boot locked on pine64pro ljones 1 1,530 09-06-2022, 10:32 AM
Last Post: ljones
  Cannot get my board to boot deutschlmao 11 8,096 09-05-2022, 04:23 PM
Last Post: ljones
  U-BOOT Tutorial hazz 0 1,140 07-19-2022, 10:48 PM
Last Post: hazz
  Installation Debian on emmc: which U-Boot and where? vongillus 3 2,761 07-02-2022, 09:24 AM
Last Post: dkebler
  ROCKPRO64 PCI SSD SD-boot Install pspgarret 0 1,153 06-09-2022, 10:56 AM
Last Post: pspgarret

Forum Jump:


Users browsing this thread: 1 Guest(s)