Jump to content

Recommended Posts

Posted
19 minutes ago, Panzerknacker said:

Where did you get bl31.elf in u-boot src dir from?

 

I did not copy bl31.elf src dir consciously to the spi.   It must still contain the original from t-firefly.com.   It might be some Chinese "protection" because it is bought as a industrial board.    What is the purpose of bl31.elf - is it similar to mbr (before the arm embedded revolution)?  The boot order of Rockship (rk3399) is problematic - should be CPU-SD-emmc

Actually you and balbes150 are by far much more advanced than I am.  

Posted
3 minutes ago, Panzerknacker said:

If you really want to get rid of the SPI, you can erase it from your running u-boot.

Stop auto boot in u-boot and type "sf" at the prompt.

 

 

 

Might try that.   If there is nothing on the SPI will that force booting up from SD and is it possible to flash the spi through the gpio pins afterward in case if the spi boot is needed?

 

Posted
1 час назад, denni_isl сказал:

Using the 4 pin debug (close to usb-C) on the board connected to usb adapter (not the GPIO pins) connected to odroid-n2.   Are you talking about more options through the GPIO pins and a USB adapter like this one

This is not about physically connecting the UART, but about setting up the output of the system startup log from Armbian to UART. I am interested in connected devices (how and where HDMI, LAN USB, etc. is connected).

Before recording SPI, did you have any systems working (the HDMI output was working) ? Why do you need to from SPI ? How do you plan to use the device ?

Posted
18 minutes ago, balbes150 said:

This is not about physically connecting the UART, but about setting up the output of the system startup log from Armbian to UART. I am interested in connected devices (how and where HDMI, LAN USB, etc. is connected).

Before recording SPI, did you have any systems working (the HDMI output was working) ? Why do you need to from SPI ? How do you plan to use the device ?

 

Did only change verbosity=7 in armbianEnv.txt on the SD card and the connections are all normal except the hdmi is connected to the Benq 24" through kvm switch

 

I was just interesting in learning about SPI booting process and u-boot in general.  The device is just used for the purpose of expanding the knowledge of the technology that is shaping the modern world.  So there is no special stress factor involved.

 

Quote

verbosity=7
bootlogo=false
overlay_prefix=rockchip
fdtfile=rockchip/rk3399-roc-pc-mezzanine.dtb
rootdev=UUID=c8fe7fac-ac5e-4fe6-b6e6-1c7ed7f44ae2
rootfstype=ext4

 

roc-rk3399-pc-plus-1.png

Posted
36 минут назад, denni_isl сказал:

connected to the Benq 24" through kvm switch

Connect directly, so that there are no intermediate elements that may not work correctly with the signals

Which power supply do you use ?

Posted
7 minutes ago, balbes150 said:

Connect directly, so that there are no intermediate elements that may not work correctly with the signals

 

Still yellow screen

 

Spoiler

steini@odroidn2:~$ sudo minicom -D /dev/ttyUSB0
[sudo] password for steini:


Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Dec 23 2019, 02:06:26.
Port /dev/ttyUSB0, 19:10:57

Press CTRL-A Z for help on special keys


U-Boot TPL 2021.01-rc4 (Dec 31 2020 - 11:50:40)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)
Loading Environment from SPIFlash... OK
Trying to boot from SPI
cannot find image node 'atf_1': -1


U-Boot 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)

SoC: Rockchip rk3399
Reset cause: POR                                                                
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
DRAM:  3.9 GiB                                                                  
PMIC:  RK808                                                                    
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                      
Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 ByB
OK                                                                              
In:    serial                                                                   
Out:   vidconsole                                                               
Err:   vidconsole                                                               
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
Net:                                                                            
Error: ethernet@fe300000 address not set.                                       
No ethernet found.                                                              
                                                                                
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc1 is current device                                                          
Scanning mmc 1:1...                                                             
Found U-Boot script /boot/boot.scr                                              
3185 bytes read in 5 ms (622.1 KiB/s)                                           
## Executing script at 00500000                                                 
Boot script loaded from mmc 1                                                   
162 bytes read in 4 ms (39.1 KiB/s)                                             
14017362 bytes read in 603 ms (22.2 MiB/s)                                      
27507200 bytes read in 1167 ms (22.5 MiB/s)                                     
77135 bytes read in 13 ms (5.7 MiB/s)                                           
2698 bytes read in 8 ms (329.1 KiB/s)                                           
Applying kernel provided DT fixup script (rockchip-fixup.scr)                   
## Executing script at 09000000                                                 
Moving Image from 0x2080000 to 0x2200000, end=3cd0000                           
## Loading init Ramdisk from Legacy Image at 06000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                  
   Data Size:    14017298 Bytes = 13.4 MiB                                      
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
## Flattened Device Tree blob at 01f00000                                       
   Booting using the fdt blob at 0x1f00000                                      
   Loading Ramdisk to f11bf000, end f1f1d312 ... OK                             
   Loading Device Tree to 00000000f1143000, end 00000000f11befff ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                

 

 

 

Posted
7 minutes ago, balbes150 said:

You didn't answer the question - what systems did you try before (before the SPI change), did HDMI work or not?

 

I did use your image Armbian_20.11_Arm-64_bullseye_current_5.10.0-rc4.img.xz and it did work perfectly (hdmi through kvm switch and everything else) as a desktop before the compiling and flashing the spi. 

 

 

Posted

How can one erase the spi with the u-boot command "sf"?

 

Quote

=> sf probe                                                                     
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB   
=>

 

Some other useful hardware spesific u-boot info here https://wiki.dh-electronics.com/index.php/COM_iMX6_Bootloader_U-Boot

https://www.digi.com/resources/documentation/digidocs/PDFs/90000852.pdf

https://www.linuxsecrets.com/xilinx/U-Boot.html

 

Quote

uboot> sf probe 0 0 0 SF: Detected N25Q128 with page size 256, total 16 MiB 16384 KiB N25Q128 at 0:0 is now current device   // Detect QSPI Flash parameters // To make QSPI clock run faster, higher speed can be set to second parameter, // e.g. setting QSPI clock to 20MHz // sf probe 0 20000000 0   uboot> sf erase 0 0x200000

 

Did,

=> sf erase 0 0x200000                                                          
SF: 2097152 bytes @ 0x0 Erased: OK                                              
=>

 

Posted

EUREKA!

Thank you balbes150 and Panzerknaker - did make my third donatian to armbian through paypal. 

It did boot successfully from the sd card after -

=> sf erase 0 0x200000                                                          

 

Spoiler

                                  and chip select                               
sf read addr offset|partition len       - read `len' bytes starting at          
                                          `offset' or from start of mtd         
                                          `partition'to memory at `addr'        
sf write addr offset|partition len      - write `len' bytes from memory         
                                          at `addr' to flash at `offset'        
                                          or to start of mtd `partition'        
sf erase offset|partition [+]len        - erase `len' bytes from `offset'       
                                          or from start of mtd `partition'      
                                         `+len' round up `len' to block size    
sf update addr offset|partition len     - erase and write `len' bytes from memoy
                                          at `addr' to flash at `offset'        
                                          or to start of mtd `partition'        
sf protect lock/unlock sector len       - protect/unprotect 'len' bytes starting
                                          at address 'sector'                   
                                                                                
=> sf                                                                           
sf - SPI flash sub-system                                                       
                                                                                
Usage:                                                                          
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus            
                                  and chip select                               
sf read addr offset|partition len       - read `len' bytes starting at          
                                          `offset' or from start of mtd         
                                          `partition'to memory at `addr'        
sf write addr offset|partition len      - write `len' bytes from memory         
                                          at `addr' to flash at `offset'        
                                          or to start of mtd `partition'        
sf erase offset|partition [+]len        - erase `len' bytes from `offset'       
                                          or from start of mtd `partition'      
                                         `+len' round up `len' to block size    
sf update addr offset|partition len     - erase and write `len' bytes from memoy
                                          at `addr' to flash at `offset'        
                                          or to start of mtd `partition'        
sf protect lock/unlock sector len       - protect/unprotect 'len' bytes starting
                                          at address 'sector'                   
                                                                                
=> sf probe                                                                     
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB   
=> mdtparts                                                                     
Unknown command 'mdtparts' - try 'help'                                         
=> mtdparts                                                                     
Unknown command 'mtdparts' - try 'help'                                         
=> ubi info layout                                                              
Unknown command 'ubi' - try 'help'                                              
=> ubi info layout                                                              
Unknown command 'ubi' - try 'help'                                              
=> help ubi                                                                     
Unknown command 'ubi' - try 'help' without arguments for list of all known comms
                                                                                
=> sf erase 0 0x200000                                                          
SF: 2097152 bytes @ 0x0 Erased: OK                                              
=> DDR Version 1.24 20191016                                                    
In                                                                              
channel 0                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 1                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 0 training pass!                                                        
channel 1 training pass!                                                        
change freq to 416MHz 0,1                                                       
Channel 0: LPDDR4,416MHz                                                        
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB          
Channel 1: LPDDR4,416MHz                                                        
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB          
256B stride                                                                     
channel 0                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 1                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 0 training pass!                                                        
channel 1 training pass!                                                        
channel 0, cs 0, advanced training done                                         
channel 0, cs 1, advanced training done                                         
channel 1, cs 0, advanced training done                                         
channel 1, cs 1, advanced training done                                         
change freq to 856MHz 1,0                                                       
ch 0 ddrconfig = 0x101, ddrsize = 0x2020                                        
ch 1 ddrconfig = 0x101, ddrsize = 0x2020                                        
pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD                                     
ddr_set_rate to 328MHZ                                                          
ddr_set_rate to 666MHZ                                                          
ddr_set_rate to 416MHZ, ctl_index 0                                             
ddr_set_rate to 856MHZ, ctl_index 1                                             
support 416 856 328 666 MHz, current 856MHz                                     
OUT                                                                             
Boot1: 2019-03-14, version: 1.19                                                
CPUId = 0x0                                                                     
ChipType = 0x10, 249                                                            
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000                                    
mmc: ERROR: Card did not respond to voltage select!                             
emmc reinit                                                                     
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000                                    
mmc: ERROR: Card did not respond to voltage select!                             
emmc reinit                                                                     
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000                                    
mmc: ERROR: Card did not respond to voltage select!                             
SdmmcInit=2 1                                                                   
mmc0:cmd5,20                                                                    
SdmmcInit=0 0                                                                   
BootCapSize=0                                                                   
UserCapSize=61056MB                                                             
FwPartOffset=2000 , 0                                                           
StorageInit ok = 44032                                                          
SecureMode = 0                                                                  
SecureInit read PBA: 0x4                                                        
SecureInit read PBA: 0x404                                                      
SecureInit read PBA: 0x804                                                      
SecureInit read PBA: 0xc04                                                      
SecureInit read PBA: 0x1004                                                     
SecureInit read PBA: 0x1404                                                     
SecureInit read PBA: 0x1804                                                     
SecureInit read PBA: 0x1c04                                                     
SecureInit ret = 0, SecureMode = 0                                              
atags_set_bootdev: ret:(0)                                                      
GPT 0x3380ec0 signature is wrong                                                
recovery gpt...                                                                 
GPT 0x3380ec0 signature is wrong                                                
recovery gpt fail!                                                              
LoadTrust Addr:0x4000                                                           
No find bl30.bin                                                                
No find bl32.bin                                                                
Load uboot, ReadLba = 2000                                                      
hdr 0000000003380880 + 0x0:0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x,
                                                                                
Load OK, addr=0x200000, size=0xceb30                                            
RunBL31 0x40000                                                                 
NOTICE:  BL31: v1.3(debug):42583b6                                              
NOTICE:  BL31: Built : 07:55:13, Oct 15 2019                                    
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(1190): 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 2020.10-armbian (Jan 05 2021 - 04:22:37 +0100)                           
                                                                                
SoC: Rockchip rk3399                                                            
Reset cause: POR                                                                
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
DRAM:  3.9 GiB                                                                  
PMIC:  RK808                                                                    
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                      
Loading Environment from SPIFlash... Invalid bus 0 (err=-19)                    
*** Warning - spi_flash_probe_bus_cs() failed, using default environment        
                                                                                
In:    serial                                                                   
Out:   vidconsole                                                               
Err:   vidconsole                                                               
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
Net:   eth0: ethernet@fe300000                                                  
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc1 is current device                                                          
Scanning mmc 1:1...                                                             
Found U-Boot script /boot/boot.scr                                              
3185 bytes read in 5 ms (622.1 KiB/s)                                           
## Executing script at 00500000                                                 
Boot script loaded from mmc 1                                                   
162 bytes read in 4 ms (39.1 KiB/s)                                             
14017362 bytes read in 603 ms (22.2 MiB/s)                                      
27507200 bytes read in 1167 ms (22.5 MiB/s)                                     
77135 bytes read in 13 ms (5.7 MiB/s)                                           
2698 bytes read in 8 ms (329.1 KiB/s)                                           
Applying kernel provided DT fixup script (rockchip-fixup.scr)                   
## Executing script at 09000000                                                 
Moving Image from 0x2080000 to 0x2200000, end=3cd0000                           
## Loading init Ramdisk from Legacy Image at 06000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                  
   Data Size:    14017298 Bytes = 13.4 MiB                                      
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
## Flattened Device Tree blob at 01f00000                                       
   Booting using the fdt blob at 0x1f00000                                      
   Loading Ramdisk to f11bc000, end f1f1a312 ... OK                             
   Loading Device Tree to 00000000f1140000, end 00000000f11bbfff ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]          
[    0.000000] Linux version 5.9.14-rockchip64 (root@desktop) (aarch64-linux-gn0
[    0.000000] Machine model: Firefly ROC-RK3399-PC Mezzanine Board             
[    0.000000] efi: UEFI not found.                                             
[    0.000000] cma: Reserved 128 MiB at 0x00000000e9000000                      
[    0.000000] NUMA: No NUMA configuration found                                
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7fffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77df100-0xf77e0fff]                      
[    0.000000] Zone ranges:                                                     
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]           
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000f7ffffff]           
[    0.000000]   Normal   empty                                                 
[    0.000000] Movable zone start for each node                                 
[    0.000000] Early memory node ranges                                         
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]          
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] psci: probing for conduit method from DT.                        
[    0.000000] psci: PSCIv1.0 detected in firmware.                             
[    0.000000] psci: Using standard PSCI v0.2 function IDs                      
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.                           
[    0.000000] psci: SMC Calling Convention v1.0                                
[    0.000000] percpu: Embedded 32 pages/cpu s93784 r8192 d29096 u131072        
[    0.000000] Detected VIPT I-cache on CPU0                                    
[    0.000000] CPU features: detected: ARM erratum 845719                       
[    0.000000] CPU features: detected: GIC system register CPU interface        
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432    
[    0.000000] Policy zone: DMA32                                               
[    0.000000] Kernel command line: root=UUID=c8fe7fac-ac5e-4fe6-b6e6-1c7ed7f441
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 byte)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes,)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off           
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)       
[    0.000000] Memory: 3742180K/4061184K available (14464K kernel code, 2094K r)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1       
[    0.000000] rcu: Preemptible hierarchical RCU implementation.                
[    0.000000] rcu:     RCU event tracing is enabled.                           
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.  
[    0.000000]  Trampoline variant of Tasks RCU enabled.                        
[    0.000000]  Rude variant of Tasks RCU enabled.                              
[    0.000000]  Tracing variant of Tasks RCU enabled.                           
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 ji.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6     
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0                   
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode                      
[    0.000000] GICv3: 256 SPIs implemented                                      
[    0.000000] GICv3: 0 Extended SPIs implemented                               
[    0.000000] GICv3: Distributor has no Range Selector support                 
[    0.000000] GICv3: 16 PPIs implemented                                       
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000   
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]                                  
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f2d00000 (flat,)
[    0.000000] ITS: using cache flushing for cmd queue                          
[    0.000000] GICv3: using LPI property table @0x00000000f2cb0000              
[    0.000000] GIC: using cache flushing for LPI property table                 
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2cc000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0}
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@1}
[    0.000000] random: get_random_bytes called from start_kernel+0x698/0x850 wi0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).            
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s
[    0.001473] Console: colour dummy device 80x25                               
[    0.002478] printk: console [tty1] enabled                                   
[    0.002619] Calibrating delay loop (skipped), value calculated using timer f)
[    0.002659] pid_max: default: 32768 minimum: 301                             
[    0.002826] LSM: Security Framework initializing                             
[    0.002886] Yama: becoming mindful.                                          
[    0.003049] AppArmor: AppArmor initialized                                   
[    0.003154] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, lin)
[    0.003207] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.006484] rcu: Hierarchical SRCU implementation.                           
[    0.007730] Platform MSI: interrupt-controller@fee20000 domain created       
[    0.008281] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@feed
[    0.010770] EFI services will not be available.                              
[    0.011476] smp: Bringing up secondary CPUs ...                              
[    0.012616] Detected VIPT I-cache on CPU1                                    
[    0.012665] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000   
[    0.012682] GICv3: CPU1: using allocated LPI pending table @0x00000000f2cd000
[    0.012740] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]       
[    0.014111] Detected VIPT I-cache on CPU2                                    
[    0.014156] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000   
[    0.014174] GICv3: CPU2: using allocated LPI pending table @0x00000000f2ce000
[    0.014231] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]       
[    0.015579] Detected VIPT I-cache on CPU3                                    
[    0.015625] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000   
[    0.015644] GICv3: CPU3: using allocated LPI pending table @0x00000000f2cf000
[    0.015700] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]       
[    0.017090] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware                
[    0.017100] CPU features: detected: ARM errata 1165522, 1319367, or 1530923  
[    0.017108] Detected PIPT I-cache on CPU4                                    
[    0.017143] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.017157] GICv3: CPU4: using allocated LPI pending table @0x00000000f2d8000
[    0.017196] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]       
[    0.018404] Detected PIPT I-cache on CPU5                                    
[    0.018441] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.018455] GICv3: CPU5: using allocated LPI pending table @0x00000000f2d9000
[    0.018493] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]       
[    0.018662] smp: Brought up 1 node, 6 CPUs                                   
[    0.019042] SMP: Total of 6 processors activated.                            
[    0.019064] CPU features: detected: 32-bit EL0 Support                       
[    0.019087] CPU features: detected: CRC32 instructions                       
[    0.019110] CPU features: detected: 32-bit EL1 Support                       
[    0.046213] CPU: All CPU(s) started at EL2                                   
[    0.046303] alternatives: patching kernel code                               
[    0.050071] devtmpfs: initialized                                            
[    0.065439] Registered cp15_barrier emulation handler                        
[    0.065478] Registered setend emulation handler                              
[    0.066277] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.066361] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)  
[    0.069505] xor: measuring software checksum speed                           
[    0.107911]    8regs     :  2346.000 MB/sec                                  
[    0.148002]    32regs    :  2757.000 MB/sec                                  
[    0.188092]    arm64_neon:  2203.000 MB/sec                                  
[    0.188107] xor: using function: 32regs (2757.000 MB/sec)                    
[    0.188175] pinctrl core: initialized pinctrl subsystem                      
[    0.188846] DMI not present or invalid.                                      
[    0.189432] NET: Registered protocol family 16                               
[    0.192236] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.193703] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic als
[    0.194491] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic s
[    0.194610] audit: initializing netlink subsys (disabled)                    
[    0.194924] audit: type=2000 audit(0.192:1): state=initialized audit_enabled1
[    0.196176] thermal_sys: Registered thermal governor 'fair_share'            
[    0.196181] thermal_sys: Registered thermal governor 'bang_bang'             
[    0.196202] thermal_sys: Registered thermal governor 'step_wise'             
[    0.196217] thermal_sys: Registered thermal governor 'user_space'            
[    0.196754] cpuidle: using governor menu                                     
[    0.197099] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.    
[    0.197327] ASID allocator initialised with 65536 entries                    
[    0.198618] Serial: AMBA PL011 UART driver                                   
[    0.263982] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages     
[    0.264009] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages     
[    0.264027] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages     
[    0.264044] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages     
[    0.269596] cryptd: max_cpu_qlen set to 1000                                 
[    0.344515] raid6: neonx8   gen()  1667 MB/s                                 
[    0.412670] raid6: neonx8   xor()  1218 MB/s                                 
[    0.480835] raid6: neonx4   gen()  1687 MB/s                                 
[    0.548996] raid6: neonx4   xor()  1256 MB/s                                 
[    0.617160] raid6: neonx2   gen()  1505 MB/s                                 
[    0.685315] raid6: neonx2   xor()  1159 MB/s                                 
[    0.753479] raid6: neonx1   gen()  1182 MB/s                                 
[    0.821638] raid6: neonx1   xor()   931 MB/s                                 
[    0.889831] raid6: int64x8  gen()   997 MB/s                                 
[    0.957970] raid6: int64x8  xor()   575 MB/s                                 
[    1.026111] raid6: int64x4  gen()   989 MB/s                                 
[    1.094284] raid6: int64x4  xor()   589 MB/s                                 
[    1.162422] raid6: int64x2  gen()   926 MB/s                                 
[    1.230588] raid6: int64x2  xor()   522 MB/s                                 
[    1.298760] raid6: int64x1  gen()   723 MB/s                                 
[    1.366922] raid6: int64x1  xor()   389 MB/s                                 
[    1.366936] raid6: using algorithm neonx4 gen() 1687 MB/s                    
[    1.366949] raid6: .... xor() 1256 MB/s, rmw enabled                         
[    1.366963] raid6: using neon recovery algorithm                             
[    1.369654] vcc3v3_sys: supplied by sys_12v                                  
[    1.370083] vcc3v0_sd: supplied by vcc3v3_sys                                
[    1.370176] vcca_0v9: supplied by vcc3v3_sys                                 
[    1.371917] vcc_sys: supplied by sys_12v                                     
[    1.372507] vcc5v0_host: supplied by vcc_sys                                 
[    1.372584] vcc_vbus_typec1: supplied by vcc_sys                             
[    1.372661] vcc3v3_ngff: supplied by sys_12v                                 
[    1.373223] vcc3v3_pcie: supplied by sys_12v                                 
[    1.373753] iommu: Default domain type: Translated                           
[    1.377065] vgaarb: loaded                                                   
[    1.377700] SCSI subsystem initialized                                       
[    1.378250] usbcore: registered new interface driver usbfs                   
[    1.378307] usbcore: registered new interface driver hub                     
[    1.378424] usbcore: registered new device driver usb                        
[    1.379093] pps_core: LinuxPPS API ver. 1 registered                         
[    1.379109] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    1.379138] PTP clock support registered                                     
[    1.379451] EDAC MC: Ver: 3.0.0                                              
[    1.380660] NetLabel: Initializing                                           
[    1.380676] NetLabel:  domain hash size = 128                                
[    1.380689] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO                 
[    1.380783] NetLabel:  unlabeled traffic allowed by default                  
[    1.381323] clocksource: Switched to clocksource arch_sys_counter            
[    1.506357] VFS: Disk quotas dquot_6.6.0                                     
[    1.506453] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)   
[    1.507330] AppArmor: AppArmor Filesystem Enabled                            
[    1.518037] NET: Registered protocol family 2                                
[    1.518934] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 327)
[    1.519127] TCP established hash table entries: 32768 (order: 6, 262144 byte)
[    1.519685] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, line)
[    1.520362] TCP: Hash tables configured (established 32768 bind 32768)       
[    1.520557] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)     
[    1.520731] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.521085] NET: Registered protocol family 1                                
[    1.521127] NET: Registered protocol family 44                               
[    1.521149] PCI: CLS 0 bytes, default 64                                     
[    1.521456] Trying to unpack rootfs image as initramfs...                    
[    2.536966] Freeing initrd memory: 13688K                                    
[    2.538292] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counte
[    2.538754] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counte
[    2.539486] kvm [1]: IPA Size Limit: 40bits                                  
[    2.540296] kvm [1]: vgic-v2@fff20000                                        
[    2.540341] kvm [1]: GIC system register CPU interface enabled               
[    2.540595] kvm [1]: vgic interrupt IRQ10                                    
[    2.540903] kvm [1]: Hyp mode initialized successfully                       
[    2.551981] Initialise system trusted keyrings                               
[    2.552040] Key type blacklist registered                                    
[    2.552253] workingset: timestamp_bits=44 max_order=20 bucket_order=0        
[    2.558926] zbud: loaded                                                     
[    2.560570] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    2.561515] fuse: init (API version 7.31)                                    
[    2.562930] integrity: Platform Keyring initialized                          
[    2.628349] Key type asymmetric registered                                   
[    2.628367] Asymmetric key parser 'x509' registered                          
[    2.628417] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    2.628715] io scheduler mq-deadline registered                              
[    2.628732] io scheduler kyber registered                                    
[    2.628868] io scheduler bfq registered                                      
[    2.647211] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:  
[    2.647257] OF: /pcie@f8000000: Missing device_type                          
[    2.647297] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff0
[    2.647332] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff0
[    2.648211] rockchip-pcie f8000000.pcie: no vpcie12v regulator found         
[    2.655574] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-0
[    2.655604] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Cha2
[    2.657110] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-0
[    2.657135] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Ch6
[    2.661546] vdd_log: supplied by vcc3v3_sys                                  
[    2.662972] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled         
[    2.666387] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 39, base_baud =A
[    2.667444] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 40, base_baud =A
[    2.782095] printk: console [ttyS2] enabled                                  
[    2.783818] Serial: AMBA driver                                              
[    2.785631] cacheinfo: Unable to detect cache hierarchy for CPU 0            
[    2.798350] loop: module loaded                                              
[    2.804229] spi-nor spi0.0: w25q128 (16384 Kbytes)                           
[    2.824364] libphy: Fixed MDIO Bus: probed                                   
[    2.825087] tun: Universal TUN/TAP device driver, 1.6                        
[    2.826655] thunder_xcv, ver 1.0                                             
[    2.826993] thunder_bgx, ver 1.0                                             
[    2.827332] nicpf, ver 1.0                                                   
[    2.828695] e1000e: Intel(R) PRO/1000 Network Driver                         
[    2.829141] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.              
[    2.829812] igb: Intel(R) Gigabit Ethernet Network Driver                    
[    2.830298] igb: Copyright (c) 2007-2014 Intel Corporation.                  
[    2.830830] igbvf: Intel(R) Gigabit Virtual Function Network Driver          
[    2.831389] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.              
[    2.832201] sky2: driver version 1.30                                        
[    2.833230] VFIO - User Level meta-driver version: 0.3                       
[    2.843154] OF: graph: no port node found in /syscon@ff770000/usb2-phy@e450/t
[    2.860126] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver       
[    2.860758] ehci-pci: EHCI PCI platform driver                               
[    2.861198] ehci-platform: EHCI generic platform driver                      
[    2.864139] ehci-platform fe380000.usb: EHCI Host Controller                 
[    2.864671] ehci-platform fe380000.usb: new USB bus registered, assigned bus1
[    2.865605] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000            
[    2.881347] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00           
[    2.882148] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, b9
[    2.882888] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    2.883534] usb usb1: Product: EHCI Host Controller                          
[    2.883974] usb usb1: Manufacturer: Linux 5.9.14-rockchip64 ehci_hcd         
[    2.884543] usb usb1: SerialNumber: fe380000.usb                             
[    2.885568] hub 1-0:1.0: USB hub found                                       
[    2.885946] hub 1-0:1.0: 1 port detected                                     
[    2.889113] ehci-platform fe3c0000.usb: EHCI Host Controller                 
[    2.889667] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus2
[    2.890497] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000            
[    2.909342] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00           
[    2.910125] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, b9
[    2.910865] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    2.911511] usb usb2: Product: EHCI Host Controller                          
[    2.911950] usb usb2: Manufacturer: Linux 5.9.14-rockchip64 ehci_hcd         
[    2.912518] usb usb2: SerialNumber: fe3c0000.usb                             
[    2.913541] hub 2-0:1.0: USB hub found                                       
[    2.913918] hub 2-0:1.0: 1 port detected                                     
[    2.915014] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver           
[    2.915584] ohci-pci: OHCI PCI platform driver                               
[    2.916036] ohci-platform: OHCI generic platform driver                      
[    2.916848] ohci-platform fe3a0000.usb: Generic Platform OHCI controller     
[    2.917491] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus3
[    2.918312] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000            
[    2.981592] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, b9
[    2.982333] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    2.982979] usb usb3: Product: Generic Platform OHCI controller              
[    2.983510] usb usb3: Manufacturer: Linux 5.9.14-rockchip64 ohci_hcd         
[    2.984077] usb usb3: SerialNumber: fe3a0000.usb                             
[    2.985027] hub 3-0:1.0: USB hub found                                       
[    2.985425] hub 3-0:1.0: 1 port detected                                     
[    2.986470] ohci-platform fe3e0000.usb: Generic Platform OHCI controller     
[    2.987083] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus4
[    2.987900] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000            
[    3.049527] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, b9
[    3.050267] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.050912] usb usb4: Product: Generic Platform OHCI controller              
[    3.051441] usb usb4: Manufacturer: Linux 5.9.14-rockchip64 ohci_hcd         
[    3.052008] usb usb4: SerialNumber: fe3e0000.usb                             
[    3.052944] hub 4-0:1.0: USB hub found                                       
[    3.053340] hub 4-0:1.0: 1 port detected                                     
[    3.055262] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller                   
[    3.055776] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus n5
[    3.056633] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110
[    3.057514] xhci-hcd xhci-hcd.0.auto: irq 231, io mem 0xfe800000             
[    3.058481] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, b9
[    3.059221] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.059866] usb usb5: Product: xHCI Host Controller                          
[    3.060305] usb usb5: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd         
[    3.060873] usb usb5: SerialNumber: xhci-hcd.0.auto                          
[    3.061899] hub 5-0:1.0: USB hub found                                       
[    3.062276] hub 5-0:1.0: 1 port detected                                     
[    3.062974] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller                   
[    3.063477] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus n6
[    3.064169] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed       
[    3.064835] usb usb6: We don't know the algorithms for LPM for this host, di.
[    3.065721] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, b9
[    3.066459] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.067104] usb usb6: Product: xHCI Host Controller                          
[    3.067543] usb usb6: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd         
[    3.068110] usb usb6: SerialNumber: xhci-hcd.0.auto                          
[    3.069076] hub 6-0:1.0: USB hub found                                       
[    3.069502] hub 6-0:1.0: 1 port detected                                     
[    3.070438] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
[    3.070956] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus n7
[    3.071797] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110
[    3.072688] xhci-hcd xhci-hcd.1.auto: irq 232, io mem 0xfe900000             
[    3.073661] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, b9
[    3.074402] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.075048] usb usb7: Product: xHCI Host Controller                          
[    3.075488] usb usb7: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd         
[    3.076055] usb usb7: SerialNumber: xhci-hcd.1.auto                          
[    3.077016] hub 7-0:1.0: USB hub found                                       
[    3.077418] hub 7-0:1.0: 1 port detected                                     
[    3.078127] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
[    3.078629] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus n8
[    3.079321] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed       
[    3.079977] usb usb8: We don't know the algorithms for LPM for this host, di.
[    3.080836] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, b9
[    3.081600] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.082246] usb usb8: Product: xHCI Host Controller                          
[    3.082685] usb usb8: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd         
[    3.083252] usb usb8: SerialNumber: xhci-hcd.1.auto                          
[    3.084213] hub 8-0:1.0: USB hub found                                       
[    3.084589] hub 8-0:1.0: 1 port detected                                     
[    3.085512] usbcore: registered new interface driver usb-storage             
[    3.088643] mousedev: PS/2 mouse device common for all mice                  
[    3.090670] i2c /dev entries driver                                          
[    3.104116] rk808 0-001b: chip id: 0x0                                       
[    3.108956] rk808-regulator rk808-regulator: there is no dvs0 gpio           
[    3.109567] rk808-regulator rk808-regulator: there is no dvs1 gpio           
[    3.111008] vdd_center: supplied by vcc3v3_sys                               
[    3.112031] vdd_cpu_l: supplied by vcc3v3_sys                                
[    3.112717] vcc_ddr: supplied by vcc3v3_sys                                  
[    3.113722] vcc_1v8: supplied by vcc3v3_sys                                  
[    3.115398] vcca1v8_codec: supplied by vcc3v3_sys                            
[    3.116828] vcc1v8_hdmi: supplied by vcc3v3_sys                              
[    3.118397] vcc1v8_pmu: supplied by vcc3v3_sys                               
[    3.119958] vcc_sdio: supplied by vcc3v3_sys                                 
[    3.121362] vcca3v0_codec: supplied by vcc3v3_sys                            
[    3.122940] vcc_1v5: supplied by vcc3v3_sys                                  
[    3.124347] vcca0v9_hdmi: supplied by vcc3v3_sys                             
[    3.125908] vcc_3v0: supplied by vcc3v3_sys                                  
[    3.126591] vcc3v3_s3: supplied by vcc3v3_sys                                
[    3.127331] vcc3v3_s0: supplied by vcc3v3_sys                                
[    3.131482] rk808-rtc rk808-rtc: registered as rtc0                          
[    3.132481] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:11)
[    3.136018] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!   
[    3.137971] vcc1v8_s3: supplied by vcc_1v8                                   
[    3.138436] vdd_cpu_b: supplied by vcc3v3_sys                                
[    3.141558] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!   
[    3.143095] random: fast init done                                           
[    3.143650] vdd_gpu: supplied by vcc3v3_sys                                  
[    3.152035] dw_wdt ff848000.watchdog: No valid TOPs array specified          
[    3.154930] sdhci: Secure Digital Host Controller Interface driver           
[    3.155488] sdhci: Copyright(c) Pierre Ossman                                
[    3.155907] Synopsys Designware Multimedia Card Interface Driver             
[    3.158331] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.158989] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.      
[    3.159589] dwmmc_rockchip fe310000.mmc: Version ID is 270a                  
[    3.160152] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit o
[    3.161705] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq                
[    3.162228] mmc_host mmc0: card is non-removable.                            
[    3.173644] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,)
[    3.186456] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.187143] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.      
[    3.187743] dwmmc_rockchip fe320000.mmc: Version ID is 270a                  
[    3.188328] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit o
[    3.189950] dwmmc_rockchip fe320000.mmc: Got CD GPIO                         
[    3.201493] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,)
[    3.214129] sdhci-pltfm: SDHCI platform and OF driver helper                 
[    3.216360] mmc2: CQHCI version 5.10                                         
[    3.227192] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz,)
[    3.241682] mmc2: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using A
[    3.245571] ledtrig-cpu: registered to indicate activity on CPUs             
[    3.247219] hid: raw HID events driver (C) Jiri Kosina                       
[    3.247828] usbcore: registered new interface driver usbhid                  
[    3.248328] usbhid: USB HID core driver                                      
[    3.249365] usb 2-1: new high-speed USB device number 2 using ehci-platform  
[    3.254316] drop_monitor: Initializing network drop monitor service          
[    3.255732] NET: Registered protocol family 10                               
[    3.265916] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000)
[    3.285589] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz,)
[    3.319876] Segment Routing with IPv6                                        
[    3.320303] NET: Registered protocol family 17                               
[    3.320896] 8021q: 802.1Q VLAN Support v1.8                                  
[    3.321371] Key type dns_resolver registered                                 
[    3.322301] registered taskstats version 1                                   
[    3.322682] Loading compiled-in X.509 certificates                           
[    3.328875] Loaded X.509 cert 'Build time autogenerated kernel key: dccf44bd'
[    3.330094] zswap: loaded using pool lzo/zbud                                
[    3.330957] Key type ._fscrypt registered                                    
[    3.331330] Key type .fscrypt registered                                     
[    3.331689] Key type fscrypt-provisioning registered                         
[    3.335627] Btrfs loaded, crc32c=crc32c-generic                              
[    3.349410] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz,)
[    3.361976] Key type encrypted registered                                    
[    3.362389] AppArmor: AppArmor sha1 policy hashing enabled                   
[    3.413734] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 218     
[    3.414365] mmc1: new ultra high speed SDR104 SDXC card at address 0001      
[    3.414466] usb 2-1: New USB device found, idVendor=0bda, idProduct=d723, bc0
[    3.415733] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.416202] mmcblk1: mmc1:0001 EC2QT 59.6 GiB                                
[    3.416372] usb 2-1: Product: 802.11n WLAN Adapter                           
[    3.417200] usb 2-1: Manufacturer: Realtek                                   
[    3.417598] usb 2-1: SerialNumber: 00e04c000001                              
[    3.419352]  mmcblk1: p1                                                     
[    3.432488] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:  
[    3.433164] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff0
[    3.433972] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff0
[    3.435600] rockchip-pcie f8000000.pcie: no vpcie12v regulator found         
[    3.553363] usb 3-1: new full-speed USB device number 2 using ohci-platform  
[    3.786428] usb 3-1: New USB device found, idVendor=046d, idProduct=c534, bc1
[    3.787183] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.787842] usb 3-1: Product: USB Receiver                                   
[    3.788221] usb 3-1: Manufacturer: Logitech                                  
[    3.796777] input: Logitech USB Receiver as /devices/platform/fe3a0000.usb/u0
[    3.858377] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Ke0
[    3.865661] input: Logitech USB Receiver Mouse as /devices/platform/fe3a00001
[    3.867376] input: Logitech USB Receiver Consumer Control as /devices/platfo2
[    3.925726] input: Logitech USB Receiver System Control as /devices/platform3
[    3.927476] hid-generic 0003:046D:C534.0002: input,hiddev96,hidraw1: USB HID1
[    3.989358] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!    
[    3.990874] rockchip-pcie: probe of f8000000.pcie failed with error -110     
[    3.994182] input: gpio-keys as /devices/platform/gpio-keys/input/input6     
[    3.995329] of_cfs_init                                                      
[    3.995588] of_cfs_init: OK                                                  
[    3.999911] Freeing unused kernel memory: 4224K                              
[    4.005513] Run /init as init process                                        
[    4.563292] input: adc-keys as /devices/platform/adc-keys/input/input7       
[    4.574134] pwm-backlight backlight: supply power not found, using dummy regr
[    4.621463] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found      
[    4.622155] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found           
[    4.623039] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock             
[    4.624108] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    4.624829] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).                 
[    4.625859] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).                 
[    4.626736] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).           
[    4.627657] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed  
[    4.628384] rk_gmac-dwmac fe300000.ethernet: clock input from PHY            
[    4.634443] rk_gmac-dwmac fe300000.ethernet: init for RGMII                  
[    4.635333] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.635980] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000               
[    4.636455] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register suppd
[    4.637126] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine suppd
[    4.637900] rk_gmac-dwmac fe300000.ethernet: COE Type 2                      
[    4.638372] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    4.638999] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported        
[    4.639676] rk_gmac-dwmac fe300000.ethernet: Normal descriptors              
[    4.640209] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled               
[    4.640732] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watr
[    4.651150] dc_12v: failed to get the current voltage(-6)                    
[    4.651677] mp8859 7-0066: failed to register mp8859_dcdc: -6                
[    4.678655] rockchip-vop ff8f0000.vop: Adding to iommu group 2               
[    4.680364] rockchip-vop ff900000.vop: Adding to iommu group 3               
[    4.694781] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_comp)
[    4.695769] [drm] unsupported AFBC format[3231564e]                          
[    4.698321] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_comp)
[    4.699582] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11)
[    4.701708] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi)
[    4.770706] libphy: stmmac: probed                                           
[    4.770731] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8)
[    4.770747] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8)
[    4.796584] Console: switching to colour frame buffer device 240x67          
[    4.825758] logitech-djreceiver 0003:046D:C534.0001: hidraw0: USB HID v1.11 0
[    4.876992] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame be
[    4.906016] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem 0
[    5.007768] logitech-djreceiver 0003:046D:C534.0002: hiddev96,hidraw1: USB H1
[    5.071404] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD na1
[    5.075417] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD na2
[    5.076934] input: Logitech Wireless Keyboard PID:4023 Keyboard as /devices/8
[    5.080609] input: Logitech Wireless Keyboard PID:4023 Consumer Control as /9
[    5.083247] input: Logitech Wireless Keyboard PID:4023 System Control as /de0
[    5.085973] hid-generic 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Ke1
[    5.089381] input: Logitech Wireless Mouse PID:4054 Mouse as /devices/platfo5
[    5.092008] hid-generic 0003:046D:4054.0004: input,hidraw3: USB HID v1.11 Mo2
[    5.262042] input: Logitech Wireless Keyboard PID:4023 as /devices/platform/9
[    5.264523] logitech-hidpp-device 0003:046D:4023.0003: input,hidraw2: USB HI1
[    5.309608] input: Logitech Wireless Mouse as /devices/platform/fe3a0000.usb0
[    5.311560] logitech-hidpp-device 0003:046D:4054.0004: input,hidraw3: USB HI2
[    5.988371] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode)
[    6.519413] systemd[1]: System time before build time, advancing clock.      
[    6.540601] systemd[1]: Inserted module 'autofs4'                            
[    6.579455] systemd[1]: systemd 247.1-3+deb11u1 running in system mode. (+PA)
[    6.582836] systemd[1]: Detected architecture arm64.                         
[    6.614559] systemd[1]: Set hostname to <station-p1>.                        
[    6.690414] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console       
[    6.761268] systemd-sysv-generator[364]: SysV service '/etc/init.d/cpufrequt.
[    6.779527] systemd-sysv-generator[364]: SysV service '/etc/init.d/hostapd' .
[    6.797463] systemd-sysv-generator[364]: SysV service '/etc/init.d/sysfsutil.
[    6.817635] systemd-sysv-generator[364]: SysV service '/etc/init.d/loadcpufr.
[    7.235563] systemd[1]: Queued start job for default target Graphical Interf.
[    7.246217] random: systemd: uninitialized urandom read (16 bytes read)      
[    7.318443] systemd[1]: Created slice system-modprobe.slice.                 
[    7.337676] random: systemd: uninitialized urandom read (16 bytes read)      
[    7.349038] systemd[1]: Created slice system-serial\x2dgetty.slice.          
[    7.367881] random: systemd: uninitialized urandom read (16 bytes read)      
[    7.378980] systemd[1]: Created slice User and Session Slice.                
[    7.398106] systemd[1]: Started Dispatch Password Requests to Console Direct.
[    7.417675] systemd[1]: Started Forward Password Requests to Wall Directory .
[    7.437669] systemd[1]: Set up automount Arbitrary Executable File Formats F.
[    7.457268] systemd[1]: Reached target Local Encrypted Volumes.              
[    7.476484] systemd[1]: Reached target Paths.                                
[    7.495156] systemd[1]: Reached target Remote File Systems.                  
[    7.513688] systemd[1]: Reached target Slices.                               
[    7.531822] systemd[1]: Reached target Swap.                                 
[    7.549874] systemd[1]: Reached target System Time Set.                      
[    7.568275] systemd[1]: Listening on Syslog Socket.                          
[    7.586199] systemd[1]: Listening on fsck to fsckd communication Socket.     
[    7.603629] systemd[1]: Listening on initctl Compatibility Named Pipe.       
[    7.621187] systemd[1]: Listening on Journal Audit Socket.                   
[    7.638118] systemd[1]: Listening on Journal Socket (/dev/log).              
[    7.655071] systemd[1]: Listening on Journal Socket.                         
[    7.675568] systemd[1]: Listening on udev Control Socket.                    
[    7.692368] systemd[1]: Listening on udev Kernel Socket.                     
[    7.713704] systemd[1]: Mounting Huge Pages File System...                   
[    7.734476] systemd[1]: Mounting POSIX Message Queue File System...          
[    7.755416] systemd[1]: Mounting Kernel Debug File System...                 
[    7.776299] systemd[1]: Mounting Kernel Trace File System...                 
[    7.798287] systemd[1]: Starting Restore / save the current clock...         
[    7.818608] systemd[1]: Starting Set the console keyboard layout...          
[    7.840067] systemd[1]: Starting Create list of static device nodes for the .
[    7.861893] systemd[1]: Starting Load Kernel Module configfs...              
[    7.882140] systemd[1]: Starting Load Kernel Module drm...                   
[    7.901057] systemd[1]: Starting Load Kernel Module fuse...                  
[    7.919269] systemd[1]: Started Nameserver information manager.              
[    7.932491] systemd[1]: Reached target Network (Pre).                        
[    7.946374] systemd[1]: Condition check resulted in Set Up Additional Binary.
[    7.953131] systemd[1]: Condition check resulted in File System Check on Roo.
[    7.966425] systemd[1]: Starting Load Kernel Modules...                      
[    7.983450] systemd[1]: Starting Remount Root and Kernel File Systems...     
[    8.000651] systemd[1]: Starting Coldplug All udev Devices...                
[    8.022291] systemd[1]: Mounted Huge Pages File System.                      
[    8.034933] systemd[1]: Mounted POSIX Message Queue File System.             
[    8.044061] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remounto
[    8.057201] systemd[1]: Mounted Kernel Debug File System.                    
[    8.069444] systemd[1]: Mounted Kernel Trace File System.                    
[    8.084312] systemd[1]: Finished Restore / save the current clock.           
[    8.099610] systemd[1]: Finished Create list of static device nodes for the .
[    8.113301] systemd[1]: modprobe@configfs.service: Succeeded.                
[    8.122535] systemd[1]: Finished Load Kernel Module configfs.                
[    8.136523] systemd[1]: modprobe@drm.service: Succeeded.                     
[    8.145245] systemd[1]: Finished Load Kernel Module drm.                     
[    8.159191] systemd[1]: modprobe@fuse.service: Succeeded.                    
[    8.167783] systemd[1]: Finished Load Kernel Module fuse.                    
[    8.186440] systemd[1]: Finished Load Kernel Modules.                        
[    8.203494] systemd[1]: Finished Set the console keyboard layout.            
[    8.218842] systemd[1]: Finished Remount Root and Kernel File Systems.       
[    8.239609] systemd[1]: Mounting FUSE Control File System...                 
[    8.256804] systemd[1]: Mounting Kernel Configuration File System...         
[    8.272035] systemd[1]: Condition check resulted in Rebuild Hardware Databas.
[    8.278746] systemd[1]: Condition check resulted in Platform Persistent Stor.
[    8.289875] systemd[1]: Starting Load/Save Random Seed...                    
[    8.306842] systemd[1]: Starting Apply Kernel Variables...                   
[    8.324458] systemd[1]: Starting Create System Users...                      
[    8.344767] systemd[1]: Mounted FUSE Control File System.                    
[    8.357952] systemd[1]: Mounted Kernel Configuration File System.            
[    8.373532] systemd[1]: Finished Apply Kernel Variables.                     
[    8.434140] systemd[1]: Finished Create System Users.                        
[    8.451501] systemd[1]: Starting Create Static Device Nodes in /dev...       
[    8.523175] systemd[1]: Finished Create Static Device Nodes in /dev.         
[    8.536333] systemd[1]: Reached target Local File Systems (Pre).             
[    8.554769] systemd[1]: Mounting /tmp...                                     
[    8.574269] systemd[1]: Starting Rule-based Manager for Device Events and Fi.
[    8.591559] systemd[1]: Mounted /tmp.                                        
[    8.603940] systemd[1]: Reached target Local File Systems.                   
[    8.621072] systemd[1]: Starting Armbian ZRAM config...                      
[    8.638613] systemd[1]: Starting Set console font and keymap...              
[    8.671767] systemd[1]: Finished Set console font and keymap.                
[    8.751395] systemd[1]: Started Rule-based Manager for Device Events and Fil.
[    8.787811] systemd[1]: Finished Coldplug All udev Devices.                  
[    8.818987] systemd[1]: Starting Helper to synchronize boot up for ifupdown..
[    8.841774] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[    8.863994] systemd[1]: Starting Raise network interfaces...                 
[    8.948459] zram: Added device: zram0                                        
[    8.955181] zram: Added device: zram1                                        
[    8.962085] zram: Added device: zram2                                        
[    9.081194] zram0: detected capacity change from 0 to 1992278016             
[    9.200136] systemd[1]: Created slice system-systemd\x2dbacklight.slice.     
[    9.221058] systemd[1]: Starting Load/Save Screen Backlight Brightness of ba.
[    9.262500] systemd[1]: Finished Load/Save Screen Backlight Brightness of ba.
[    9.269874] mc: Linux media interface: v0.10                                 
[    9.287225] systemd[1]: Found device /dev/ttyS2.                             
[    9.296388] videodev: Linux video capture interface: v2.00                   
[    9.309037] systemd[1]: Finished Raise network interfaces.                   
[    9.309178] fusb30x: module is from the staging directory, the quality is un.
[    9.328375] fusb30x: module is from the staging directory, the quality is un.
[    9.341415] fusb302 7-0022: Can't get property of role, set role to default P
[    9.357203] fusb302 7-0022: Unable to request IRQ for INT_N GPIO! 0          
[    9.364554] fusb302: probe of 7-0022 failed with error -22                   
[    9.390171] fusb302 4-0022: Can't get property of role, set role to default P
[    9.421630] Bluetooth: Core ver 2.22                                         
[    9.422963] rockchip-rga ff680000.rga: HW Version: 0x03.02                   
[    9.427613] rockchip_vdec: module is from the staging directory, the quality.
[    9.430544] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[    9.430561] fusb302 4-0022: Unable to request IRQ for INT_N GPIO! 0          
[    9.431475] fusb302: probe of 4-0022 failed with error -22                   
[    9.434240] NET: Registered protocol family 31                               
[    9.434636] hantro_vpu: module is from the staging directory, the quality is.
[    9.443762] hantro-vpu ff650000.video-codec: Adding to iommu group 0         
[    9.444259] cfg80211: Loading compiled-in X.509 certificates for regulatory e
[    9.444539] Bluetooth: HCI device and connection manager initialized         
[    9.444557] Bluetooth: HCI socket layer initialized                          
[    9.444564] Bluetooth: L2CAP socket layer initialized                        
[    9.444594] Bluetooth: SCO socket layer initialized                          
[    9.451194] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-1
[    9.459202] Registered IR keymap rc-cec                                      
[    9.459329] rc rc0: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0        
[    9.493763] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'       
[    9.505302] rkvdec ff660000.video-codec: Adding to iommu group 1             
[    9.524229] cfg80211: loaded regulatory.db is malformed or signature is missd
[    9.545663] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-3
[    9.565471] panfrost ff9a0000.gpu: clock rate = 500000000                    
[    9.575127] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 st0
[    9.586974] usbcore: registered new interface driver btusb                   
[    9.593523] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000
[    9.598266] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000d lmp_ver=3
[    9.600108] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x000000007
[    9.608263] Bluetooth: hci0: RTL: rom_version status=0 version=2             
[    9.613605] input: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0/input21
[    9.613874] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1         
[    9.620260] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723d_fw.bin             
[    9.641138] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723d_fw.bin 2
[    9.648041] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723d_fw.bin not fd
[    9.650121] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on mi1
[    9.716622] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rf.
[    9.725214] asoc-simple-card hdmi-sound: ASoC: no DMI vendor name!           
[    9.873718] systemd[1]: Started Dispatch Password Requests to Console Direct.
[    9.897328] random: crng init done                                           
[    9.897330] random: 7 urandom warning(s) missed due to ratelimiting          
[    9.924063] usbcore: registered new interface driver rtl8723du               
[    9.966140] rtl8723du 2-1:1.2 wlx7c25dac44678: renamed from wlan0            
[   10.017565] systemd[1]: Reached target Bluetooth.                            
[   10.032205] systemd[1]: Condition check resulted in Set Up Additional Binary.
[   10.037401] Adding 1945580k swap on /dev/zram0.  Priority:5 extents:1 acrossS
[   10.039919] systemd[1]: Condition check resulted in Rebuild Hardware Databas.
[   10.051196] systemd[1]: Condition check resulted in Platform Persistent Stor.
[   10.063361] systemd[1]: Starting Load/Save RF Kill Switch Status...          
[   10.078265] systemd[1]: Finished Load/Save Random Seed.                      
[   10.087657] systemd[1]: Condition check resulted in First Boot Complete bein.
[   10.090936] systemd[1]: Condition check resulted in Store a System Token in .
[   10.094454] systemd[1]: Condition check resulted in Commit a transient machi.
[   10.097663] systemd[1]: Started Load/Save RF Kill Switch Status.             
[   10.192344] zram1: detected capacity change from 0 to 52428800               
[   10.264297] zram2: detected capacity change from 0 to 1992278016             
[   10.365794] EXT4-fs (zram2): mounted filesystem without journal. Opts: discad
[   10.400099] systemd[1]: Finished Armbian ZRAM config.                        
[   10.411343] systemd[1]: Starting Armbian memory supported logging...         
[   10.489147] EXT4-fs (zram1): mounted filesystem without journal. Opts: discad
[   10.498959] ext4 filesystem being mounted at /var/log supports timestamps un)
[   12.402740] systemd[1]: Finished Armbian memory supported logging.           
[   12.416921] systemd[1]: Starting Journal Service...                          
[   12.577029] systemd[1]: Started Journal Service.                             
[   13.484137] EXT4-fs (mmcblk1p1): resizing filesystem from 443392 to 15469936s
[   25.620453] EXT4-fs (mmcblk1p1): resized to 3145728 blocks                   
[   35.809350] vcc3v3_pcie: disabling                                           
[   36.499819] EXT4-fs (mmcblk1p1): resized to 5242880 blocks                   
[   47.933448] EXT4-fs (mmcblk1p1): resized to 7864320 blocks                   
[   58.052085] EXT4-fs (mmcblk1p1): resized to 10485760 blocks                  
[   68.932967] EXT4-fs (mmcblk1p1): resized to 13107200 blocks                  
[   79.664858] EXT4-fs (mmcblk1p1): resized filesystem to 15469936              
[  112.449291] systemd-sysv-generator[1459]: SysV service '/etc/init.d/cpufrequ.
[  112.460330] systemd-sysv-generator[1459]: SysV service '/etc/init.d/hostapd'.
[  112.470887] systemd-sysv-generator[1459]: SysV service '/etc/init.d/sysfsuti.
[  112.482958] systemd-sysv-generator[1459]: SysV service '/etc/init.d/loadcpuf.
[  115.656184] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [)
[  115.665413] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features supportd
[  115.670569] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW    
[  115.675771] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii e
[  119.778154] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - x
[  119.780313] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready          
[  128.393585] systemd-sysv-generator[2217]: SysV service '/etc/init.d/cpufrequ.
[  128.405771] systemd-sysv-generator[2217]: SysV service '/etc/init.d/hostapd'.
[  128.411352] systemd-sysv-generator[2217]: SysV service '/etc/init.d/sysfsuti.
[  128.417572] systemd-sysv-generator[2217]: SysV service '/etc/init.d/loadcpuf.
[  128.972414] systemd-sysv-generator[2250]: SysV service '/etc/init.d/cpufrequ.
[  128.988385] systemd-sysv-generator[2250]: SysV service '/etc/init.d/hostapd'.
[  129.003965] systemd-sysv-generator[2250]: SysV service '/etc/init.d/sysfsuti.
[  129.020886] systemd-sysv-generator[2250]: SysV service '/etc/init.d/loadcpuf.
[  130.622826] systemd-sysv-generator[2386]: SysV service '/etc/init.d/cpufrequ.
[  130.642169] systemd-sysv-generator[2386]: SysV service '/etc/init.d/hostapd'.
[  130.650000] systemd-sysv-generator[2386]: SysV service '/etc/init.d/sysfsuti.
[  130.658708] systemd-sysv-generator[2386]: SysV service '/etc/init.d/loadcpuf.
                                                                                
station-p1 login: root (automatic login)                                        
                                                                                
 ____  _        _   _               ____  _                                     
/ ___|| |_ __ _| |_(_) ___  _ __   |  _ \/ |                                    
\___ \| __/ _` | __| |/ _ \| '_ \  | |_) | |                                    
 ___) | || (_| | |_| | (_) | | | | |  __/| |                                    
|____/ \__\__,_|\__|_|\___/|_| |_| |_|   |_|                                    
                                                                                
Welcome to Armbian 20.11.6 Bullseye with Linux 5.9.14-rockchip64                
                                                                                
No end-user support: community creations & unsupported (bullseye) userspace!    
                                                                                
System load:   48%              Up time:       2 min                            
Memory usage:  4% of 3.71G      IP:            192.168.1.18                     
CPU temp:      61°C            Usage of /:    3% of 59G                        
                                                                                
Last login: Thu Jan 14 13:50:12 UTC 2021 on tty1                                
[  133.979861] systemd-sysv-generator[2845]: SysV service '/etc/init.d/cpufrequ.
[  133.983512] systemd-sysv-generator[2845]: SysV service '/etc/init.d/hostapd'.
[  133.986123] systemd-sysv-generator[2845]: SysV service '/etc/init.d/sysfsuti.
[  133.989527] systemd-sysv-generator[2845]: SysV service '/etc/init.d/loadcpuf.
                                                                                
You are using an Armbian with unsupported (bullseye) userspace !!!              
                                                                                
This image is provided AS IS with NO WARRANTY and NO END USER SUPPORT!.         
                                                                                
New to Armbian? Documentation: https://docs.armbian.com Support: https://forum.m
                                                                                
New root password: [  134.380421] systemd-sysv-generator[2860]: SysV service '/.
[  134.384072] systemd-sysv-generator[2860]: SysV service '/etc/init.d/hostapd'.
[  134.386743] systemd-sysv-generator[2860]: SysV service '/etc/init.d/sysfsuti.
[  134.389999] systemd-sysv-generator[2860]: SysV service '/etc/init.d/loadcpuf.

 

 

What is the best way for one to get himself familiar with memory address management.   To know offsett and size of memory addresses.   It is a bit a Hebrew to me and probably most others. 

 

This is a good source of information about practical use of u-boot commands, with examples and explanations. 

https://www.linuxsecrets.com/xilinx/U-Boot.html

 

 

 

Posted

  

On 12/23/2020 at 6:54 AM, Panzerknacker said:

Boot from SPI directly to NVME works:

 

Latest U-Boot v2021.01-rc4 + this patch:

rockchip: roc-pc-rk3399: fix boot from SPI flash on spi1

https://patchwork.kernel.org/project/linux-rockchip/list/?series=403611

 

 

 

Thanks for this, I just tried it yesterday and I actually get a post from SPI. It's a step in the right direction! I made a build environment in a Vmware player VM, which lets me manipulate the board as well. Compiling Armbian right now.

 

My issue is that I still have no keyboard input. I only have Unifying wireless keyboards, both do not work. I checked the config file and CONFIG_USB_KEYBOARD is set. I'm at a loss why it would not work. In the meantime, I'll flash to a USB stick to test and then migrate that to the nvme drive... 

Posted
8 minutes ago, Panzerknacker said:

I forgot to mention how to build ATF (Arm Trusted Firmware)

 

git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git

 

make PLAT=rk3399 bl31
cp build/rk3399/release/bl31/bl31.elf ../u-boot

 

You need bl31.elf to build your u-boot!

Yep, I had a previous bl31.elf built, that was not the issue. I had to enable CONFIG_DM_KEYBOARD=y in my defconfig... Keyboard now works. Thanks for the help! Next step, boot from nvme. ;)

Posted

This board is doing its best to drive me totally bonkers. Still can't boot anything...  It sees NVME, it sees my USB, able to see all files are there, but it just doesn't fire up anything. More digging required, I guess. Used Armbian compiler for most, compiled initramfs with linux-next instructions, followed most recommendations here. 

 

At least I figured out that having the board plugged into my laptop to power it, if I type ums 0 nvme 0 from u-boot, I can access the nvme drive from my Ubuntu VM and fully manipulate it from there. Learning experience :)

Posted
2 hours ago, Fred St-Pierre said:

This board is doing its best to drive me totally bonkers. Still can't boot anything... 

You mean "anything" literally or "anything besides microSD/eMMC"?

 

With change described here this board works for me. Armbian 21.02.0-trunk is installed on eMMC and I typing this message on this board right it now.  There is of course several issues, such as not working DisplayPort and unreliable Type-C ports behavior, but at least it's as good as ROCKPro64, even Gnome Shell Wayland works (earlier it was limited to X11 due to workaround).

Posted
18 hours ago, RussianNeuroMancer said:

You mean "anything" literally or "anything besides microSD/eMMC"?

 

With change described here this board works for me. Armbian 21.02.0-trunk is installed on eMMC and I typing this message on this board right it now.  There is of course several issues, such as not working DisplayPort and unreliable Type-C ports behavior, but at least it's as good as ROCKPro64, even Gnome Shell Wayland works (earlier it was limited to X11 due to workaround).

 

Yeah, just flashed SD card and tested, seems like my build does not work... It doesn't even fetch extlinux.conf to begin boot. More digging to figure it all out. Baby steps and progress.  Learning how to compile slowly.

Posted
14 hours ago, Fred St-Pierre said:

 

Yeah, just flashed SD card and tested, seems like my build does not work... It doesn't even fetch extlinux.conf to begin boot. More digging to figure it all out. Baby steps and progress.  Learning how to compile slowly.

 

Ok, so progress: flashed u-boot from this release: https://github.com/amarula/bsp-rockchip/releases/tag/v1.3-roc-rk3399-pc and board boots into Armbian with a freshly compiled Armbian build. HUZZAH! Boots off nvme too... Now I'm kind of afraid to see what will happen if I update the board, as I think this is u-boot 5.5... At least it's a step in the right direction.

Posted

So further trying to get the board to boot, I tried to compile Linux-next, copied all files to the /boot folder, flashed spi.img as recommended and the board is dead in the water again. The u-boot from the amarula release seems to have initramfs built in to the image... So... More attempts required to get the board to boot with self-compiled u-boot and initramfs, I guess.

Posted
Am 26.1.2021 um 04:02 schrieb Fred St-Pierre:

So further trying to get the board to boot, I tried to compile Linux-next, copied all files to the /boot folder, flashed spi.img as recommended and the board is dead in the water again. The u-boot from the amarula release seems to have initramfs built in to the image... So... More attempts required to get the board to boot with self-compiled u-boot and initramfs, I guess.

Maybe check this commit: https://github.com/armbian/build/pull/2572

Posted
19 minutes ago, frauhottelmann said:

 

I dirty modified the config code to include this... Booting from nvme doesn't seem like it's an issue, it's more the fact the initramfs on the amarula image is part of their SPI image, while the other needs to be added to the armbian image to boot properly. I don't have much time to play around with it lately, so I'll give it some time before I try it again. But the SPI image from Amarula boots the armbian latest compiled image without issues, so I'll keep this for now and play around with it further when I have time. Thanks! 

Posted

Ok lets tell my story of successfully flashing SPI with a Chinese programmer.    This is for educational purpose for others in similar situation.

 

Had done armbian-config, system, install to/update bootloader, install/Update the bootloader on SPI Flash roc-rk3399-pc-plus board and that did completely brick the board. 

 

Prior to that I had ordered EZP2019 flasher kit from https://www.aliexpress.com/item/33042726404.html?spm=a2g0s.9042311.0.0.491a4c4dxKfJuf

for 20$.  Witch turned out to be fortunate.

 

Compiled u-boot-2021-01 according to Panzerknacker advice as a had done before and

 

 

flashed the u-boot-rokchip.bin (8.8 MiB image) to the SPI chip throug my old Windows laptop with the EZP2019+ USB high speed programmer software that was included in the package.  

Had to chose, Chip - Type = SPI_FLASH, Manufacturer = WINBOUND, Name = W25Q128, Test, AUTO - few attempts because of the fragile connection through the clip.

 

The output from UART serial

Spoiler

 [ 3943.337689] watchdog: watchdog0: watchdog did not stop!    
[ 3943.716106] xhci-hcd xhci-hcd.0.auto: Host halt failed, -110                 
[ 3943.742103] xhci-hcd xhci-hcd.0.auto: Host halt failed, -110                 
[ 3943.742639] xhci-hcd xhci-hcd.0.auto: Host controller not halted, aborting r.
DDR Version 1.24 20191016                                                       
In                                                                              
soft reset                                                                      
SRX                                                                             
channel 0                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 1                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 0 training pass!                                                        
channel 1 training pass!                                                        
change freq to 416MHz 0,1                                                       
Channel 0: LPDDR4,416MHz                                                        
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB          
Channel 1: LPDDR4,416MHz                                                        
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB          
256B stride                                                                     
channel 0                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 1                                                                       
CS = 0                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
CS = 1                                                                          
MR0=0x18                                                                        
MR4=0x2                                                                         
MR5=0x1                                                                         
MR8=0x8                                                                         
MR12=0x72                                                                       
MR14=0x72                                                                       
MR18=0x0                                                                        
MR19=0x0                                                                        
MR24=0x8                                                                        
MR25=0x0                                                                        
channel 0 training pass!                                                        
channel 1 training pass!                                                        
channel 0, cs 0, advanced training done                                         
channel 0, cs 1, advanced training done                                         
channel 1, cs 0, advanced training done                                         
channel 1, cs 1, advanced training done                                         
change freq to 856MHz 1,0                                                       
ch 0 ddrconfig = 0x101, ddrsize = 0x2020                                        
ch 1 ddrconfig = 0x101, ddrsize = 0x2020                                        
pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD                                     
ddr_set_rate to 328MHZ                                                          
ddr_set_rate to 666MHZ                                                          
ddr_set_rate to 928MHZ                                                          
channel 0, cs 0, advanced training done                                         
channel 0, cs 1, advanced training done                                         
channel 1, cs 0, advanced training done                                         
channel 1, cs 1, advanced training done                                         
ddr_set_rate to 416MHZ, ctl_index 0                                             
ddr_set_rate to 856MHZ, ctl_index 1                                             
support 416 856 328 666 928 MHz, current 856MHz                                 
OUT                                                                             
Boot1: 2019-03-14, version: 1.19                                                
CPUId = 0x0                                                                     
ChipType = 0x10, 314                                                            
SdmmcInit=2 0                                                                   
BootCapSize=100000                                                              
UserCapSize=29820MB                                                             
FwPartOffset=2000 , 100000                                                      
mmc0:cmd8,20                                                                    
mmc0:cmd5,20                                                                    
mmc0:cmd55,20                                                                   
mmc0:cmd1,20                                                                    
mmc0:cmd8,20                                                                    
mmc0:cmd5,20                                                                    
mmc0:cmd55,20                                                                   
mmc0:cmd1,20                                                                    
mmc0:cmd8,20                                                                    
mmc0:cmd5,20                                                                    
mmc0:cmd55,20                                                                   
mmc0:cmd1,20                                                                    
SdmmcInit=0 1                                                                   
StorageInit ok = 68360                                                          
SecureMode = 0                                                                  
SecureInit read PBA: 0x4                                                        
SecureInit read PBA: 0x404                                                      
SecureInit read PBA: 0x804                                                      
SecureInit read PBA: 0xc04                                                      
SecureInit read PBA: 0x1004                                                     
SecureInit read PBA: 0x1404                                                     
SecureInit read PBA: 0x1804                                                     
SecureInit read PBA: 0x1c04                                                     
SecureInit ret = 0, SecureMode = 0                                              
atags_set_bootdev: ret:(0)                                                      
GPT 0x3380ec0 signature is wrong                                                
recovery gpt...                                                                 
GPT 0x3380ec0 signature is wrong                                                
recovery gpt fail!                                                              
LoadTrust Addr:0x4000                                                           
No find bl30.bin                                                                
No find bl32.bin                                                                
Load uboot, ReadLba = 2000                                                      
Load OK, addr=0x200000, size=0xcf148                                            
RunBL31 0x40000                                                                 
NOTICE:  BL31: v1.3(debug):42583b6                                              
NOTICE:  BL31: Built : 07:55:13, Oct 15 2019                                    
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(1190): 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 2020.10-armbian (Jan 09 2021 - 15:03:36 +0000)                           
                                                                                
SoC: Rockchip rk3399                                                            
Reset cause: RST                                                                
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
DRAM:  3.9 GiB                                                                  
PMIC:  RK808                                                                    
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                      
Loading Environment from SPIFlash... Invalid bus 0 (err=-19)                    
*** Warning - spi_flash_probe_bus_cs() failed, using default environment        
                                                                                
In:    serial                                                                   
Out:   vidconsole                                                               
Err:   vidconsole                                                               
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
Net:   eth0: ethernet@fe300000                                                  
Hit any key to stop autoboot:  0                                                
starting USB...                                                                 
Bus usb@fe380000: USB EHCI 1.00                                                 
Bus usb@fe3c0000: USB EHCI 1.00                                                 
Bus dwc3: usb maximum-speed not found                                           
Register 2000140 NbrPorts 2                                                     
Starting the controller                                                         
USB XHCI 1.10                                                                   
scanning bus usb@fe380000 for devices... 2 USB Device(s) found                  
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found                  
scanning bus dwc3 for devices... 1 USB Device(s) found                          
       scanning usb for storage devices... 0 Storage Device(s) found            
                                                                                
Device 0: unknown device                                                        
Card did not respond to voltage select!                                         
switch to partitions #0, OK                                                     
mmc0(part 0) is current device                                                  
Scanning mmc 0:1...                                                             
Found U-Boot script /boot/boot.scr                                              
3185 bytes read in 18 ms (171.9 KiB/s)                                          
## Executing script at 00500000                                                 
Boot script loaded from mmc 0                                                   
210 bytes read in 15 ms (13.7 KiB/s)                                            
15545457 bytes read in 1495 ms (9.9 MiB/s)                                      
27640320 bytes read in 2638 ms (10 MiB/s)                                       
76858 bytes read in 42 ms (1.7 MiB/s)                                           
2698 bytes read in 41 ms (63.5 KiB/s)                                           
Applying kernel provided DT fixup script (rockchip-fixup.scr)                   
## Executing script at 09000000                                                 
Moving Image from 0x2080000 to 0x2200000, end=3cf0000                           
## Loading init Ramdisk from Legacy Image at 06000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                  
   Data Size:    15545393 Bytes = 14.8 MiB                                      
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
## Flattened Device Tree blob at 01f00000                                       
   Booting using the fdt blob at 0x1f00000                                      
   Loading Ramdisk to f1046000, end f1f19431 ... OK                             
   Loading Device Tree to 00000000f0fca000, end 00000000f1045fff ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                
                                                                                
Armbian 21.02.0-trunk Bullseye ttyS2                                            
                                                                                
station-p1 login:

 

 

 

20210129_194001.jpg

Posted
On 1/19/2021 at 9:28 PM, Panzerknacker said:

I forgot to mention how to build ATF (Arm Trusted Firmware)

 

git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git

 

make PLAT=rk3399 bl31
cp build/rk3399/release/bl31/bl31.elf ../u-boot

 

You need bl31.elf to build your u-boot!

 

This was the missing link.   Now the spi boot work like a charm (have not tried yet to boot from nvme).

=> run bootcmd_mmc1 (sd) - with balbes150 bullseye image from https://users.armbian.com/balbes150/arm-64/

boots without a problem and supposedly also from NVME and USB.  

 

Some research;

https://duckduckgo.com/?q=bl31+uboot&t=newext&atb=v255-3__&ia=web

http://u-boot.10912.n7.nabble.com/SPL-load-ARM-Trusted-Firmware-BL31-td269471.html

 

Are you familiar with this warning? - 

*** Warning - bad CRC, using default envirt

 

This is the boot log.    

 

Spoiler

[  157.421924] xhci-hcd xhci-hcd.0.auto: Host halt failed, -10
[  157.441700] xhci-hcd xhci-hcd.0.auto: Host halt failed, -110                 
[  157.442204] xhci-hcd xhci-hcd.0.auto: Host controller not halted, aborting r.
[  157.443678] reboot: Power down                                               
                                                                                
U-Boot TPL 2021.01 (Jan 30 2021 - 10:14:46)                                     
Trying to boot from BOOTROM                                                     
Returning to boot ROM...                                                        
                                                                                
U-Boot SPL 2021.01 (Jan 30 2021 - 10:14:46 +0000)                               
Loading Environment from SPIFlash... *** Warning - bad CRC, using default envirt
                                                                                
Trying to boot from SPI                                                         
                                                                                
                                                                                
U-Boot 2021.01 (Jan 30 2021 - 10:14:46 +0000)                                   
                                                                                
SoC: Rockchip rk3399                                                            
Reset cause: POR                                                                
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
DRAM:  3.9 GiB                                                                  
PMIC:  RK808                                                                    
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                      
Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 ByB
*** Warning - bad CRC, using default environment                                
                                                                                
In:    serial                                                                   
Out:   vidconsole                                                               
Err:   vidconsole                                                               
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
Net:                                                                            
Error: ethernet@fe300000 address not set.                                       
No ethernet found.                                                              
                                                                                
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc0(part 0) is current device                                                  
Scanning mmc 0:1...                                                             
Found U-Boot script /boot/boot.scr                                              
3185 bytes read in 18 ms (171.9 KiB/s)                                          
## Executing script at 00500000                                                 
Boot script loaded from mmc 0                                                   
210 bytes read in 14 ms (14.6 KiB/s)                                            
15545457 bytes read in 1494 ms (9.9 MiB/s)                                      
27640320 bytes read in 2638 ms (10 MiB/s)                                       
76858 bytes read in 41 ms (1.8 MiB/s)                                           
2698 bytes read in 41 ms (63.5 KiB/s)                                           
Applying kernel provided DT fixup script (rockchip-fixup.scr)                   
## Executing script at 09000000                                                 
Moving Image from 0x2080000 to 0x2200000, end=3cf0000                           
## Loading init Ramdisk from Legacy Image at 06000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                  
   Data Size:    15545393 Bytes = 14.8 MiB                                      
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
## Flattened Device Tree blob at 01f00000                                       
   Booting using the fdt blob at 0x1f00000                                      
   Loading Ramdisk to f104c000, end f1f1f431 ... OK                             
   Loading Device Tree to 00000000f0fd0000, end 00000000f104bfff ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                
                                                                                
Armbian 21.02.0-trunk Bullseye ttyS2                                            
                                                                                
station-p1 login:

 

Posted
4 hours ago, denni_isl said:

 

This was the missing link.   Now the spi boot work like a charm (have not tried yet to boot from nvme).

=> run bootcmd_mmc1 (sd) - with balbes150 bullseye image from https://users.armbian.com/balbes150/arm-64/

boots without a problem and supposedly also from NVME and USB.  

 

Some research;

https://duckduckgo.com/?q=bl31+uboot&t=newext&atb=v255-3__&ia=web

http://u-boot.10912.n7.nabble.com/SPL-load-ARM-Trusted-Firmware-BL31-td269471.html

 

Are you familiar with this warning? - 

*** Warning - bad CRC, using default envirt

 

This is the boot log.    

 

  Reveal hidden contents

[  157.421924] xhci-hcd xhci-hcd.0.auto: Host halt failed, -10
[  157.441700] xhci-hcd xhci-hcd.0.auto: Host halt failed, -110                 
[  157.442204] xhci-hcd xhci-hcd.0.auto: Host controller not halted, aborting r.
[  157.443678] reboot: Power down                                               
                                                                                
U-Boot TPL 2021.01 (Jan 30 2021 - 10:14:46)                                     
Trying to boot from BOOTROM                                                     
Returning to boot ROM...                                                        
                                                                                
U-Boot SPL 2021.01 (Jan 30 2021 - 10:14:46 +0000)                               
Loading Environment from SPIFlash... *** Warning - bad CRC, using default envirt
                                                                                
Trying to boot from SPI                                                         
                                                                                
                                                                                
U-Boot 2021.01 (Jan 30 2021 - 10:14:46 +0000)                                   
                                                                                
SoC: Rockchip rk3399                                                            
Reset cause: POR                                                                
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
DRAM:  3.9 GiB                                                                  
PMIC:  RK808                                                                    
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                      
Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 ByB
*** Warning - bad CRC, using default environment                                
                                                                                
In:    serial                                                                   
Out:   vidconsole                                                               
Err:   vidconsole                                                               
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
Net:                                                                            
Error: ethernet@fe300000 address not set.                                       
No ethernet found.                                                              
                                                                                
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc0(part 0) is current device                                                  
Scanning mmc 0:1...                                                             
Found U-Boot script /boot/boot.scr                                              
3185 bytes read in 18 ms (171.9 KiB/s)                                          
## Executing script at 00500000                                                 
Boot script loaded from mmc 0                                                   
210 bytes read in 14 ms (14.6 KiB/s)                                            
15545457 bytes read in 1494 ms (9.9 MiB/s)                                      
27640320 bytes read in 2638 ms (10 MiB/s)                                       
76858 bytes read in 41 ms (1.8 MiB/s)                                           
2698 bytes read in 41 ms (63.5 KiB/s)                                           
Applying kernel provided DT fixup script (rockchip-fixup.scr)                   
## Executing script at 09000000                                                 
Moving Image from 0x2080000 to 0x2200000, end=3cf0000                           
## Loading init Ramdisk from Legacy Image at 06000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                  
   Data Size:    15545393 Bytes = 14.8 MiB                                      
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
## Flattened Device Tree blob at 01f00000                                       
   Booting using the fdt blob at 0x1f00000                                      
   Loading Ramdisk to f104c000, end f1f1f431 ... OK                             
   Loading Device Tree to 00000000f0fd0000, end 00000000f104bfff ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                
                                                                                
Armbian 21.02.0-trunk Bullseye ttyS2                                            
                                                                                
station-p1 login:

 

Normal message on first boot. Just enter u-boot without a boot drive, type saveen. If you want, you can use printenv to see your environment variables and modify them to your liking (for example edit boot_targets) and then type saveen. CRC error should dissapear.

Posted

Is it right understood that ATF (Arm Trusted Firmware) is necessary for u-boot to function by it self as a mini kernel to recognize all the necessary hardware by it self on various embedded devices? 

What is the purpose of having multiple bl* - bl31,bl32 bl2u * ?

- ma

Quote

make PLAT=rk3399 bl31

- you define the platform (PLAT) and then other hardware support you chose through bl31?

I can see that plat directory is under trusted-firmware-a/plat/rockchip/rk3399/ 

 

Posted

Did "brick" rokpro64 and there is a workaround there to disable spi, jumper on pin 23 and 25 release the jumper to boot from sd or mmc. 

 

Just want to put it here for those who are flashing the gd25q128 spi with programmers, to unplug all extra electrical connections from the board UART serial adapter, lan and the power cord.

Did get error messages from the programmer software for the EZP201+ "programmer - flash check error address 0h" and no writing to the spi few times.  

 

Did then eventually flash the same  u-boot-rokchip.bin (8.8 MiB image) that I dis use for flashing roc-rk3399-pc to flash the rockpro64.  It seems to be enough to get one up and going if he bricks rk3399 spi. 

 

Spoiler

U-Boot TPL 2020.07-armbian (Dec 12 2020 - 02:09:32)                                                
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 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB                                 
256B stride                                                                                        
256B stride                                                                                        
lpddr4_set_rate: change freq to 400000000 mhz 0, 1                                                 
lpddr4_set_rate: change freq to 800000000 mhz 1, 0                                                 
Trying to boot from BOOTROM                                                                        
Returning to boot ROM...                                                                           
                                                                                                   
U-Boot SPL 2020.07-armbian (Dec 12 2020 - 02:09:32 +0100)                                          
Trying to boot from MMC2                                                                           
NOTICE:  BL31: v1.3(debug):42583b6                                                                 
NOTICE:  BL31: Built : 07:55:13, Oct 15 2019                                                       
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:    If lpddr4 need support multi frequency,                                                   
INFO:    please update loader!                                                                     
INFO:    Current ctl index[0] freq=400MHz                                                          
INFO:    Current ctl index[1] freq=800MHz                                                          
INFO:    plat_rockchip_pmu_init(1190): pd status 3e                                                
INFO:    BL31: Initializing runtime services                                                       
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s K
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 2020.07-armbian (Dec 12 2020 - 02:09:32 +0100)                                              
                                                                                                   
SoC: Rockchip rk3399                                                                               
Reset cause: POR                                                                                   
Model: Pine64 RockPro64 v2.1                                                                       
DRAM:  3.9 GiB                                                                                     
PMIC:  RK808                                                                                       
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                                         
Loading Environment from SPI Flash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4B
*** Warning - bad CRC, using default environment                                                   
                                                                                                   
In:    serial                                                                                      
Out:   vidconsole                                                                                  
Err:   vidconsole                                                                                  
Model: Pine64 RockPro64 v2.1                                                                       
Net:   eth0: ethernet@fe300000                                                                     
Hit any key to stop autoboot:  0                                                                   
=>  run bootcmd_mmc0                                                                               
switch to partitions #0, OK                                                                        
mmc0(part 0) is current device                                                                     
Scanning mmc 0:1...                                                                                
Found U-Boot script /boot/boot.scr                                                                 
2940 bytes read in 18 ms (159.2 KiB/s)                                                             
## Executing script at 00500000                                                                    
Boot script loaded from mmc 0                                                                      
151 bytes read in 15 ms (9.8 KiB/s)                                                                
17488236 bytes read in 1684 ms (9.9 MiB/s)                                                         
27507200 bytes read in 2631 ms (10 MiB/s)                                                          
76075 bytes read in 46 ms (1.6 MiB/s)                                                              
2698 bytes read in 34 ms (77.1 KiB/s)                                                              
Applying kernel provided DT fixup script (rockchip-fixup.scr)                                      
## Executing script at 39000000                                                                    
## Loading init Ramdisk from Legacy Image at 06000000 ...                                          
   Image Name:   uInitrd                                                                           
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                                     
   Data Size:    17488172 Bytes = 16.7 MiB                                                         
   Load Address: 00000000                                                                          
   Entry Point:  00000000                                                                          
   Verifying Checksum ... OK                                                                       
## Flattened Device Tree blob at 01f00000                                                          
   Booting using the fdt blob at 0x1f00000                                                         
   Loading Ramdisk to f0e59000, end f1f0692c ... OK                                                
   Loading Device Tree to 00000000f0dde000, end 00000000f0e58fff ... OK                            
                                                                                                   
Starting kernel ...                                                                                
                                                                                                   
[    8.921240] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22                       
[    9.374594] Bluetooth: hci1: BCM: firmware Patch file not found, tried:                         
[    9.377211] Bluetooth: hci1: BCM: 'brcm/BCM4359C0.hcd'                                          
[    9.379748] Bluetooth: hci1: BCM: 'brcm/BCM.hcd'                                                
[   10.957750] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4359-sdio for chip BCM4359/9   
[   11.204537] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4359-sdio for chip BCM4359/9   
[   11.206998] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may havee
[   11.209930] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4359/9 wl0: Mar  6 2017 10:16:06 vers9
[   97.908886] systemd[1]: Timed out waiting for device /dev/disk/by-uuid/b5ee8f20-404a-4c70-a58f-.
[   97.935737] systemd[1]: Timed out waiting for device /dev/ttyFIQ0.                              
[  107.187965] ieee80211 phy0: brcmf_dongle_roam: WLC_SET_ROAM_TRIGGER error (-52)                 
[  109.973237] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                                     
[  109.973763] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -2
[  109.975222] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                                     
[  109.975718] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -2
[  109.977190] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                                     
[  109.977725] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -2
[  109.979333] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                                     
[  109.979831] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -2
[  109.981321] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                                     
[  109.981845] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -2
[  109.983508] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                                     
[  109.983999] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -2
[  110.036702] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.037198] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.040609] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.041104] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.042829] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.043323] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.046160] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.046656] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.048395] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.049743] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.054463] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.054960] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.064399] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.064909] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.066810] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.067307] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.068753] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.069247] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.070857] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.071350] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.072973] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.073465] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.076176] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.076671] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.081582] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.082266] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.087887] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.088381] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.089304] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.089839] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.096586] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.097096] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.104033] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.104529] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  110.105454] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  110.106013] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
                                                                                                   
Armbian 20.11.6 Focal ttyS2                                                                        
                                                                                                   
steini-desktop login: [  115.295673] rockchip-i2s ff890000.i2s: Fail to set mclk -22               
[  115.296198] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  115.302312] rockchip-i2s ff890000.i2s: Fail to set mclk -22                                     
[  115.302921] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -2
[  115.305334] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                                     
[  115.305895] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -2

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines