Jump to content

Firfly-rk3399 have not been booting up reasent images from Armbian


denni_isl

Recommended Posts

Unfortunately, I can't test the M2 operation. I don't have an adapter to connect the NVMe module to the board. Without an adapter, it is impossible to connect a standard NVMe module (the USB connectors interfere, they are double height), you need to look for a short version of NVMe, but I have not seen such for a long time. But I do know that the latest versions of ArmbianTV run perfectly from the SD card (i'm tested). The kernel versions 4.4 and 5.10 work. The composition has a DTB specifically for firefly-rk3399 (although with DTB for rk3399-pc-plus, everything works the same, except for BT and analog sound). I hope to send a patch for the main core to the official build system soon, this will allow the official Armbian versions on Firefly-rk3399 to work properly.

Link to comment
Share on other sites

On 2/16/2021 at 7:08 PM, denni_isl said:

 

Some progress,  rk3399-nanopi-m4.dtb does bring everyting up exept hdmi - the others on the list did just end at Starting kernel .....rk3399-orangepi-4.dtb does also bring up the board.

On 2/16/2021 at 7:08 PM, denni_isl said:

 

Some progress,  rk3399-nanopi-m4.dtb does bring everyting up exept hdmi - the others on the list did just end at Starting kernel .....

rk3399-orangepi-4.dtb does also bring up the board.

 

 

  Reveal hidden contents

ïDDR Version 1.24 20191016                                                      
In                                                                              
Channel 0: DDR3, 800MHz                                                         
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB          
Channel 1: DDR3, 800MHz                                                         
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB          
256B stride                                                                     
ch 0 ddrconfig = 0x101, ddrsize = 0x2020                                        
ch 1 ddrconfig = 0x101, ddrsize = 0x2020                                        
pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xD                                     
OUT                                                                             
Boot1: 2019-03-14, version: 1.19                                                
CPUId = 0x0                                                                     
ChipType = 0x10, 241                                                            
SdmmcInit=2 0                                                                   
BootCapSize=100000                                                              
UserCapSize=119276MB                                                            
FwPartOffset=2000 , 100000                                                      
mmc0:cmd5,20                                                                    
SdmmcInit=0 0                                                                   
BootCapSize=0                                                                   
UserCapSize=61056MB                                                             
FwPartOffset=2000 , 0                                                           
StorageInit ok = 259304                                                         
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=0xbaecc                                            
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 (Feb 03 2021 - 22:38:38 +0100)                           
                                                                                
SoC: Rockchip rk3399                                                            
Reset cause: POR                                                                
Model: Firefly-RK3399 Board                                                     
DRAM:  3.9 GiB                                                                  
PMIC:  RK808                                                                    
Cannot find regulator pwm init_voltage                                          
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                      
Loading Environment from MMC... *** Warning - bad CRC, using default environment
                                                                                
In:    serial@ff1a0000                                                          
Out:   serial@ff1a0000                                                          
Err:   serial@ff1a0000                                                          
Model: Firefly-RK3399 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                                                   
434 bytes read in 5 ms (84 KiB/s)                                               
15339744 bytes read in 652 ms (22.4 MiB/s)                                      
28582400 bytes read in 1211 ms (22.5 MiB/s)                                     
75124 bytes read in 11 ms (6.5 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=3de0000                           
## Loading init Ramdisk from Legacy Image at 06000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                  
   Data Size:    15339680 Bytes = 14.6 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 f507d000, end f5f1e0a0 ... OK                             
   Loading Device Tree to 00000000f5002000, end 00000000f507cfff ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]          
[    0.000000] Linux version 5.10.12-rockchip64 (root@beast) (aarch64-linux-gnu1
[    0.000000] Machine model: FriendlyElec NanoPi M4                            
[    0.000000] efi: UEFI not found.                                             
[    0.000000] cma: Reserved 128 MiB at 0x00000000ed000000                      
[    0.000000] NUMA: No NUMA configuration found                                
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7fffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77e2100-0xf77e3fff]                      
[    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 s94040 r8192 d28840 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=e4ee432b-e6cf-43d2-aca5-c26b7fca01
[    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 0x000000003bfff000-0x000000003ffff0)
[    0.000000] Memory: 3739812K/4061184K available (14848K kernel code, 2632K 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 @40100000 (flat,)
[    0.000000] ITS: using cache flushing for cmd queue                          
[    0.000000] GICv3: using LPI property table @0x00000000400d0000              
[    0.000000] GIC: using cache flushing for LPI property table                 
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000400e000
[    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.001369] Console: colour dummy device 80x25                               
[    0.002432] printk: console [tty1] enabled                                   
[    0.002572] Calibrating delay loop (skipped), value calculated using timer f)
[    0.002619] pid_max: default: 32768 minimum: 301                             
[    0.002799] LSM: Security Framework initializing                             
[    0.002855] Yama: becoming mindful.                                          
[    0.003010] AppArmor: AppArmor initialized                                   
[    0.003127] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, lin)
[    0.003182] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.006796] rcu: Hierarchical SRCU implementation.                           
[    0.007999] Platform MSI: interrupt-controller@fee20000 domain created       
[    0.008524] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@feed
[    0.010823] EFI services will not be available.                              
[    0.011532] smp: Bringing up secondary CPUs ...                              
[    0.012628] Detected VIPT I-cache on CPU1                                    
[    0.012672] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000   
[    0.012689] GICv3: CPU1: using allocated LPI pending table @0x00000000400f000
[    0.012757] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]       
[    0.013869] Detected VIPT I-cache on CPU2                                    
[    0.013903] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000   
[    0.013918] GICv3: CPU2: using allocated LPI pending table @0x000000004018000
[    0.013965] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]       
[    0.015068] Detected VIPT I-cache on CPU3                                    
[    0.015101] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000   
[    0.015117] GICv3: CPU3: using allocated LPI pending table @0x000000004019000
[    0.015163] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]       
[    0.016296] CPU features: detected: Spectre-v2                               
[    0.016304] CPU features: detected: Spectre-v4                               
[    0.016309] CPU features: detected: ARM errata 1165522, 1319367, or 1530923  
[    0.016317] Detected PIPT I-cache on CPU4                                    
[    0.016354] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.016369] GICv3: CPU4: using allocated LPI pending table @0x00000000401a000
[    0.016418] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]       
[    0.017477] Detected PIPT I-cache on CPU5                                    
[    0.017507] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.017520] GICv3: CPU5: using allocated LPI pending table @0x00000000401b000
[    0.017558] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]       
[    0.017728] smp: Brought up 1 node, 6 CPUs                                   
[    0.018139] SMP: Total of 6 processors activated.                            
[    0.018165] CPU features: detected: 32-bit EL0 Support                       
[    0.018190] CPU features: detected: CRC32 instructions                       
[    0.018216] CPU features: detected: 32-bit EL1 Support                       
[    0.044870] CPU: All CPU(s) started at EL2                                   
[    0.044965] alternatives: patching kernel code                               
[    0.048683] devtmpfs: initialized                                            
[    0.065882] Registered cp15_barrier emulation handler                        
[    0.065922] Registered setend emulation handler                              
[    0.066166] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.066246] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)  
[    0.069226] pinctrl core: initialized pinctrl subsystem                      
[    0.069904] DMI not present or invalid.                                      
[    0.070480] NET: Registered protocol family 16                               
[    0.073833] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.075240] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic als
[    0.075987] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic s
[    0.076104] audit: initializing netlink subsys (disabled)                    
[    0.076443] audit: type=2000 audit(0.076:1): state=initialized audit_enabled1
[    0.077705] thermal_sys: Registered thermal governor 'fair_share'            
[    0.077713] thermal_sys: Registered thermal governor 'bang_bang'             
[    0.077735] thermal_sys: Registered thermal governor 'step_wise'             
[    0.077750] thermal_sys: Registered thermal governor 'user_space'            
[    0.078232] cpuidle: using governor menu                                     
[    0.078574] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.    
[    0.078807] ASID allocator initialised with 65536 entries                    
[    0.080058] Serial: AMBA PL011 UART driver                                   
[    0.138355] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages     
[    0.138384] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages     
[    0.138403] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages     
[    0.138422] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages     
[    0.144925] cryptd: max_cpu_qlen set to 1000                                 
[    0.224295] raid6: neonx8   gen()  1665 MB/s                                 
[    0.292451] raid6: neonx8   xor()  1212 MB/s                                 
[    0.360635] raid6: neonx4   gen()  1696 MB/s                                 
[    0.428800] raid6: neonx4   xor()  1246 MB/s                                 
[    0.496988] raid6: neonx2   gen()  1511 MB/s                                 
[    0.565151] raid6: neonx2   xor()  1152 MB/s                                 
[    0.633324] raid6: neonx1   gen()  1185 MB/s                                 
[    0.701501] raid6: neonx1   xor()   928 MB/s                                 
[    0.769669] raid6: int64x8  gen()   995 MB/s                                 
[    0.837858] raid6: int64x8  xor()   578 MB/s                                 
[    0.905989] raid6: int64x4  gen()   990 MB/s                                 
[    0.974128] raid6: int64x4  xor()   591 MB/s                                 
[    1.042291] raid6: int64x2  gen()   928 MB/s                                 
[    1.110449] raid6: int64x2  xor()   524 MB/s                                 
[    1.178608] raid6: int64x1  gen()   723 MB/s                                 
[    1.246760] raid6: int64x1  xor()   391 MB/s                                 
[    1.246775] raid6: using algorithm neonx4 gen() 1696 MB/s                    
[    1.246790] raid6: .... xor() 1246 MB/s, rmw enabled                         
[    1.246805] raid6: using neon recovery algorithm                             
[    1.251027] vcc5v0_sys: supplied by vdd_5v                                   
[    1.251186] vbus_typec: supplied by vdd_5v                                   
[    1.251286] vcc5v0_core: supplied by vdd_5v                                  
[    1.251717] vcc3v3_sys: supplied by vcc5v0_core                              
[    1.251807] vcc3v0_sd: supplied by vcc3v3_sys                                
[    1.251921] vcc5v0_usb1: supplied by vcc5v0_sys                              
[    1.252400] vcc5v0_usb2: supplied by vcc5v0_sys                              
[    1.252860] iommu: Default domain type: Translated                           
[    1.256287] vgaarb: loaded                                                   
[    1.256815] SCSI subsystem initialized                                       
[    1.257335] usbcore: registered new interface driver usbfs                   
[    1.257395] usbcore: registered new interface driver hub                     
[    1.257454] usbcore: registered new device driver usb                        
[    1.258110] pps_core: LinuxPPS API ver. 1 registered                         
[    1.258128] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    1.258159] PTP clock support registered                                     
[    1.258461] EDAC MC: Ver: 3.0.0                                              
[    1.259741] NetLabel: Initializing                                           
[    1.259761] NetLabel:  domain hash size = 128                                
[    1.259775] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO                 
[    1.259860] NetLabel:  unlabeled traffic allowed by default                  
[    1.260392] clocksource: Switched to clocksource arch_sys_counter            
[    1.383526] VFS: Disk quotas dquot_6.6.0                                     
[    1.383622] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)   
[    1.384523] AppArmor: AppArmor Filesystem Enabled                            
[    1.395397] NET: Registered protocol family 2                                
[    1.396336] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 327)
[    1.396625] TCP established hash table entries: 32768 (order: 6, 262144 byte)
[    1.397167] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, line)
[    1.397847] TCP: Hash tables configured (established 32768 bind 32768)       
[    1.398060] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)     
[    1.398236] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.398585] NET: Registered protocol family 1                                
[    1.398629] NET: Registered protocol family 44                               
[    1.398652] PCI: CLS 0 bytes, default 64                                     
[    1.398889] Trying to unpack rootfs image as initramfs...                    
[    2.505029] Freeing initrd memory: 14980K                                    
[    2.506266] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counte
[    2.506717] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counte
[    2.507421] kvm [1]: IPA Size Limit: 40 bits                                 
[    2.508617] kvm [1]: vgic-v2@fff20000                                        
[    2.508665] kvm [1]: GIC system register CPU interface enabled               
[    2.508938] kvm [1]: vgic interrupt IRQ18                                    
[    2.509257] kvm [1]: Hyp mode initialized successfully                       
[    2.520913] Initialise system trusted keyrings                               
[    2.520973] Key type blacklist registered                                    
[    2.521235] workingset: timestamp_bits=44 max_order=20 bucket_order=0        
[    2.527635] zbud: loaded                                                     
[    2.529403] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    2.530247] fuse: init (API version 7.32)                                    
[    2.531623] integrity: Platform Keyring initialized                          
[    2.597614] xor: measuring software checksum speed                           
[    2.601543]    8regs           :  2531 MB/sec                                
[    2.604947]    32regs          :  2917 MB/sec                                
[    2.609076]    arm64_neon      :  2399 MB/sec                                
[    2.609092] xor: using function: 32regs (2917 MB/sec)                        
[    2.609114] Key type asymmetric registered                                   
[    2.609129] Asymmetric key parser 'x509' registered                          
[    2.609180] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    2.609388] io scheduler mq-deadline registered                              
[    2.609406] io scheduler kyber registered                                    
[    2.609546] io scheduler bfq registered                                      
[    2.628163] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:  
[    2.628210] OF: /pcie@f8000000: Missing device_type                          
[    2.628251] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff0
[    2.628288] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff0
[    2.629196] rockchip-pcie f8000000.pcie: no vpcie12v regulator found         
[    2.629238] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found         
[    2.636958] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-0
[    2.636989] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Cha2
[    2.638483] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-0
[    2.638510] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Ch6
[    2.644418] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled         
[    2.647947] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 47, base_baud =A
[    2.648141] serial serial0: tty port ttyS0 registered                        
[    2.649003] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 48, base_baud =A
[    2.764309] printk: console [ttyS2] enabled                                  
[    2.766064] Serial: AMBA driver                                              
[    2.767805] cacheinfo: Unable to detect cache hierarchy for CPU 0            
[    2.780279] loop: module loaded                                              
[    2.786078] libphy: Fixed MDIO Bus: probed                                   
[    2.787094] tun: Universal TUN/TAP device driver, 1.6                        
[    2.788649] thunder_xcv, ver 1.0                                             
[    2.788988] thunder_bgx, ver 1.0                                             
[    2.789322] nicpf, ver 1.0                                                   
[    2.790677] e1000e: Intel(R) PRO/1000 Network Driver                         
[    2.791125] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.              
[    2.791698] igb: Intel(R) Gigabit Ethernet Network Driver                    
[    2.792183] igb: Copyright (c) 2007-2014 Intel Corporation.                  
[    2.792736] igbvf: Intel(R) Gigabit Virtual Function Network Driver          
[    2.793296] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.              
[    2.794119] sky2: driver version 1.30                                        
[    2.795161] VFIO - User Level meta-driver version: 0.3                       
[    2.804636] OF: graph: no port node found in /syscon@ff770000/usb2-phy@e450/t
[    2.821452] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver       
[    2.822061] ehci-pci: EHCI PCI platform driver                               
[    2.822502] ehci-platform: EHCI generic platform driver                      
[    2.825366] ehci-platform fe380000.usb: EHCI Host Controller                 
[    2.825898] ehci-platform fe380000.usb: new USB bus registered, assigned bus1
[    2.826743] ehci-platform fe380000.usb: irq 39, io mem 0xfe380000            
[    2.840411] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00           
[    2.841221] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, b0
[    2.841963] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    2.842610] usb usb1: Product: EHCI Host Controller                          
[    2.843049] usb usb1: Manufacturer: Linux 5.10.12-rockchip64 ehci_hcd        
[    2.843625] usb usb1: SerialNumber: fe380000.usb                             
[    2.844684] hub 1-0:1.0: USB hub found                                       
[    2.845066] hub 1-0:1.0: 1 port detected                                     
[    2.848199] ehci-platform fe3c0000.usb: EHCI Host Controller                 
[    2.848750] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus2
[    2.849575] ehci-platform fe3c0000.usb: irq 41, io mem 0xfe3c0000            
[    2.864409] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00           
[    2.865187] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, b0
[    2.865928] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    2.866574] usb usb2: Product: EHCI Host Controller                          
[    2.867014] usb usb2: Manufacturer: Linux 5.10.12-rockchip64 ehci_hcd        
[    2.867590] usb usb2: SerialNumber: fe3c0000.usb                             
[    2.868562] hub 2-0:1.0: USB hub found                                       
[    2.868940] hub 2-0:1.0: 1 port detected                                     
[    2.870034] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver           
[    2.870605] ohci-pci: OHCI PCI platform driver                               
[    2.871057] ohci-platform: OHCI generic platform driver                      
[    2.871852] ohci-platform fe3a0000.usb: Generic Platform OHCI controller     
[    2.872497] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus3
[    2.873344] ohci-platform fe3a0000.usb: irq 40, io mem 0xfe3a0000            
[    2.936624] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, b0
[    2.937365] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    2.938011] usb usb3: Product: Generic Platform OHCI controller              
[    2.938542] usb usb3: Manufacturer: Linux 5.10.12-rockchip64 ohci_hcd        
[    2.939116] usb usb3: SerialNumber: fe3a0000.usb                             
[    2.940050] hub 3-0:1.0: USB hub found                                       
[    2.940460] hub 3-0:1.0: 1 port detected                                     
[    2.941513] ohci-platform fe3e0000.usb: Generic Platform OHCI controller     
[    2.942129] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus4
[    2.942947] ohci-platform fe3e0000.usb: irq 42, io mem 0xfe3e0000            
[    3.004592] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, b0
[    3.005333] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.005979] usb usb4: Product: Generic Platform OHCI controller              
[    3.006509] usb usb4: Manufacturer: Linux 5.10.12-rockchip64 ohci_hcd        
[    3.007084] usb usb4: SerialNumber: fe3e0000.usb                             
[    3.008018] hub 4-0:1.0: USB hub found                                       
[    3.008428] hub 4-0:1.0: 1 port detected                                     
[    3.010324] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller                   
[    3.010837] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus n5
[    3.011690] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110
[    3.012575] xhci-hcd xhci-hcd.0.auto: irq 78, io mem 0xfe800000              
[    3.013513] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, b0
[    3.014255] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.014901] usb usb5: Product: xHCI Host Controller                          
[    3.015341] usb usb5: Manufacturer: Linux 5.10.12-rockchip64 xhci-hcd        
[    3.015916] usb usb5: SerialNumber: xhci-hcd.0.auto                          
[    3.016928] hub 5-0:1.0: USB hub found                                       
[    3.017315] hub 5-0:1.0: 1 port detected                                     
[    3.018019] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller                   
[    3.018524] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus n6
[    3.019217] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed       
[    3.019874] usb usb6: We don't know the algorithms for LPM for this host, di.
[    3.020787] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, b0
[    3.021529] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.022175] usb usb6: Product: xHCI Host Controller                          
[    3.022613] usb usb6: Manufacturer: Linux 5.10.12-rockchip64 xhci-hcd        
[    3.023189] usb usb6: SerialNumber: xhci-hcd.0.auto                          
[    3.024149] hub 6-0:1.0: USB hub found                                       
[    3.024586] hub 6-0:1.0: 1 port detected                                     
[    3.025530] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
[    3.026040] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus n7
[    3.026888] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110
[    3.027776] xhci-hcd xhci-hcd.1.auto: irq 79, io mem 0xfe900000              
[    3.028746] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, b0
[    3.029487] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.030133] usb usb7: Product: xHCI Host Controller                          
[    3.030572] usb usb7: Manufacturer: Linux 5.10.12-rockchip64 xhci-hcd        
[    3.031149] usb usb7: SerialNumber: xhci-hcd.1.auto                          
[    3.032127] hub 7-0:1.0: USB hub found                                       
[    3.032536] hub 7-0:1.0: 1 port detected                                     
[    3.033238] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
[    3.033742] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus n8
[    3.034453] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed       
[    3.035111] usb usb8: We don't know the algorithms for LPM for this host, di.
[    3.035970] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, b0
[    3.036727] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber1
[    3.037373] usb usb8: Product: xHCI Host Controller                          
[    3.037814] usb usb8: Manufacturer: Linux 5.10.12-rockchip64 xhci-hcd        
[    3.038388] usb usb8: SerialNumber: xhci-hcd.1.auto                          
[    3.039352] hub 8-0:1.0: USB hub found                                       
[    3.039728] hub 8-0:1.0: 1 port detected                                     
[    3.040679] usbcore: registered new interface driver usb-storage             
[    3.043770] mousedev: PS/2 mouse device common for all mice                  
[    3.045653] i2c /dev entries driver                                          
[    3.054564] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!   
[    3.056744] vdd_cpu_b: supplied by vcc3v3_sys                                
[    3.060420] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!   
[    3.062548] vdd_gpu: supplied by vcc3v3_sys                                  
[    3.067240] rk808 0-001b: chip id: 0x0                                       
[    3.071843] rk808-regulator rk808-regulator: there is no dvs0 gpio           
[    3.072494] rk808-regulator rk808-regulator: there is no dvs1 gpio           
[    3.073950] vdd_center: supplied by vcc3v3_sys                               
[    3.075010] vdd_cpu_l: supplied by vcc3v3_sys                                
[    3.075733] vcc_ddr: supplied by vcc3v3_sys                                  
[    3.076948] vcc_1v8: supplied by vcc3v3_sys                                  
[    3.078685] vcc1v8_cam: supplied by vcc3v3_sys                               
[    3.079375] vcc3v0_touch: Bringing 2800000uV into 3000000-3000000uV          
[    3.080827] vcc3v0_touch: supplied by vcc3v3_sys                             
[    3.082442] vcc1v8_pmupll: supplied by vcc3v3_sys                            
[    3.084071] vcc_sdio: supplied by vcc3v3_sys                                 
[    3.085541] vcca3v0_codec: supplied by vcc3v3_sys                            
[    3.087167] vcc_1v5: supplied by vcc3v3_sys                                  
[    3.088641] vcca1v8_codec: supplied by vcc3v3_sys                            
[    3.090278] vcc_3v0: supplied by vcc3v3_sys                                  
[    3.091018] vcc3v3_s3: supplied by vcc3v3_sys                                
[    3.091799] vcc3v3_s0: supplied by vcc3v3_sys                                
[    3.096015] rk808-rtc rk808-rtc: registered as rtc0                          
[    3.096587] random: fast init done                                           
[    3.097392] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:10)
[    3.104708] dw_wdt ff848000.watchdog: No valid TOPs array specified          
[    3.107384] sdhci: Secure Digital Host Controller Interface driver           
[    3.107942] sdhci: Copyright(c) Pierre Ossman                                
[    3.108359] Synopsys Designware Multimedia Card Interface Driver             
[    3.110306] sdhci-pltfm: SDHCI platform and OF driver helper                 
[    3.110931] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.111177] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.111609] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.      
[    3.112240] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.      
[    3.112852] dwmmc_rockchip fe310000.mmc: Version ID is 270a                  
[    3.112901] mmc2: CQHCI version 5.10                                         
[    3.113453] dwmmc_rockchip fe320000.mmc: Version ID is 270a                  
[    3.113555] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 37,32 bit o
[    3.114091] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 36,32 bit o
[    3.114388] ledtrig-cpu: registered to indicate activity on CPUs             
[    3.115141] dwmmc_rockchip fe320000.mmc: Got CD GPIO                         
[    3.115237] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq                
[    3.115249] mmc_host mmc0: card is non-removable.                            
[    3.116788] hid: raw HID events driver (C) Jiri Kosina                       
[    3.119067] usbcore: registered new interface driver usbhid                  
[    3.119569] usbhid: USB HID core driver                                      
[    3.123764] vcc1v8_s3: supplied by vcc_1v8                                   
[    3.124213] vcca1v8_s3: supplied by vcc1v8_s3                                
[    3.126549] drop_monitor: Initializing network drop monitor service          
[    3.127923] NET: Registered protocol family 10                               
[    3.128601] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,)
[    3.130109] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,)
[    3.139025] mmc2: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using A
[    3.173266] Segment Routing with IPv6                                        
[    3.173704] NET: Registered protocol family 17                               
[    3.174358] 8021q: 802.1Q VLAN Support v1.8                                  
[    3.174795] Key type dns_resolver registered                                 
[    3.175517] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)                   
[    3.175744] registered taskstats version 1                                   
[    3.176442] Loading compiled-in X.509 certificates                           
[    3.177648] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)                   
[    3.179759] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)                   
[    3.180457] Loaded X.509 cert 'Build time autogenerated kernel key: f47c1788'
[    3.183136] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)                   
[    3.187511] zswap: loaded using pool zstd/z3fold                             
[    3.188372] Key type ._fscrypt registered                                    
[    3.188777] Key type .fscrypt registered                                     
[    3.189133] Key type fscrypt-provisioning registered                         
[    3.192590] Btrfs loaded, crc32c=crc32c-generic                              
[    3.193671] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000)
[    3.195918] dwmmc_rockchip fe320000.mmc: All phases bad!                     
[    3.196423] mmc1: tuning execution failed: -5                                
[    3.196825] mmc1: error -5 whilst initialising SD card                       
[    3.208431] usb 2-1: new high-speed USB device number 2 using ehci-platform  
[    3.211402] mmc2: Command Queue Engine enabled                               
[    3.211825] mmc2: new HS200 MMC card at address 0001                         
[    3.213068] mmcblk2: mmc2:0001 DJNB4R 116 GiB                                
[    3.213718] mmcblk2boot0: mmc2:0001 DJNB4R partition 1 4.00 MiB              
[    3.214493] mmcblk2boot1: mmc2:0001 DJNB4R partition 2 4.00 MiB              
[    3.215263] mmcblk2rpmb: mmc2:0001 DJNB4R partition 3 4.00 MiB, chardev (243)
[    3.215910] Key type encrypted registered                                    
[    3.216303] AppArmor: AppArmor sha1 policy hashing enabled                   
[    3.217138]  mmcblk2: p1                                                     
[    3.220499] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz,)
[    3.240996] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000)
[    3.265766] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:  
[    3.266438] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff0
[    3.267206] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff0
[    3.268872] rockchip-pcie f8000000.pcie: no vpcie12v regulator found         
[    3.269479] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found         
[    3.270228] vcca0v9_s3: supplied by vcc1v8_s3                                
[    3.282363] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000)
[    3.284550] dwmmc_rockchip fe320000.mmc: All phases bad!                     
[    3.285033] mmc1: tuning execution failed: -5                                
[    3.313208] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz,)
[    3.356253] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 5000000)
[    3.357244] mmc1: new high speed SDXC card at address 0001                   
[    3.358842] mmcblk1: mmc1:0001 EC2QT 59.6 GiB                                
[    3.362357]  mmcblk1: p1                                                     
[    3.365054] usb 2-1: New USB device found, idVendor=1a40, idProduct=0201, bc0
[    3.365794] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.366431] usb 2-1: Product: USB 2.0 Hub [MTT]                              
[    3.367442] hub 2-1:1.0: USB hub found                                       
[    3.367921] hub 2-1:1.0: 7 ports detected                                    
[    3.501235] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 198     
[    3.504675] mmc0: new ultra high speed SDR104 SDIO card at address 0001      
[    3.656408] usb 2-1.3: new high-speed USB device number 3 using ehci-platform
[    3.765045] usb 2-1.3: New USB device found, idVendor=1a40, idProduct=0101, 1
[    3.765795] usb 2-1.3: New USB device strings: Mfr=0, Product=1, SerialNumbe0
[    3.766449] usb 2-1.3: Product: USB 2.0 Hub                                  
[    3.767444] hub 2-1.3:1.0: USB hub found                                     
[    3.767914] hub 2-1.3:1.0: 4 ports detected                                  
[    3.796460] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!    
[    3.797936] rockchip-pcie: probe of f8000000.pcie failed with error -110     
[    3.802764] input: gpio-keys as /devices/platform/gpio-keys/input/input0     
[    3.803867] of_cfs_init                                                      
[    3.804136] of_cfs_init: OK                                                  
[    3.808110] Freeing unused kernel memory: 4352K                              
[    3.824526] Run /init as init process                                        
[    3.848455] usb 2-1.4: new high-speed USB device number 4 using ehci-platform
[    3.970805] usb 2-1.4: New USB device found, idVendor=0d8c, idProduct=0004, 8
[    3.971566] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumbe0
[    3.972220] usb 2-1.4: Product: USB2.0 High-Speed True HD Audio              
[    3.972771] usb 2-1.4: Manufacturer: C-Media Electronics Inc.                
[    3.978166] input: C-Media Electronics Inc. USB2.0 High-Speed True HD Audio 1
[    4.036895] hid-generic 0003:0D8C:0004.0001: input,hidraw0: USB HID v1.00 De2
[    4.164428] usb 2-1.3.2: new full-speed USB device number 5 using ehci-platfm
[    4.403326] usb 2-1.3.2: language id specifier not provided by device, defauh
[    4.413063] usb 2-1.3.2: New USB device found, idVendor=0c45, idProduct=74031
[    4.413840] usb 2-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNum0
[    4.417884] input: HID 0c45:7403 as /devices/platform/fe3c0000.usb/usb2/2-1/2
[    4.477426] hid-generic 0003:0C45:7403.0002: input,hidraw1: USB HID v1.00 Ke0
[    4.480840] input: HID 0c45:7403 as /devices/platform/fe3c0000.usb/usb2/2-1/3
[    4.482498] hid-generic 0003:0C45:7403.0003: input,hidraw2: USB HID v1.10 Mo1
[    4.521989] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found      
[    4.522618] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found           
[    4.523387] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock             
[    4.524343] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    4.531370] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).                 
[    4.531914] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).                 
[    4.532478] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).           
[    4.533171] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed  
[    4.533806] rk_gmac-dwmac fe300000.ethernet: clock input from PHY            
[    4.539395] rk_gmac-dwmac fe300000.ethernet: init for RGMII                  
[    4.544497] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.545154] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000               
[    4.545628] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register suppd
[    4.546298] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine suppd
[    4.546965] rk_gmac-dwmac fe300000.ethernet: COE Type 2                      
[    4.547435] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    4.548063] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported        
[    4.548770] rk_gmac-dwmac fe300000.ethernet: Normal descriptors              
[    4.549306] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled               
[    4.549830] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watr
[    4.551752] libphy: stmmac: probed                                           
[    4.577498] rockchip-vop ff8f0000.vop: Adding to iommu group 2               
[    4.585802] rockchip-vop ff900000.vop: Adding to iommu group 3               
[    4.600700] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_comp)
[    4.601749] [drm] unsupported AFBC format[3231564e]                          
[    4.617284] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_comp)
[    4.624974] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11)
[    4.629871] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi)
[    5.664448] rk3x-i2c ff160000.i2c: timeout, ipd: 0x91, state: 2              
[    6.688457] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[    7.712429] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[    8.736428] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[    9.760432] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[    9.811482] Console: switching to colour frame buffer device 128x48          
[    9.866429] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame be
[    9.881302] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem 0
[   10.194556] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode)
[   11.084598] systemd[1]: System time before build time, advancing clock.      
[   11.113044] systemd[1]: Inserted module 'autofs4'                            
[   11.198627] systemd[1]: systemd 245.4-4ubuntu3.4 running in system mode. (+P)
[   11.202847] systemd[1]: Detected architecture arm64.                         
[   11.256531] systemd[1]: Set hostname to <firefly-rk3399>.                    
[   11.377704] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console       
[   11.701684] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= ref.
[   11.936452] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[   12.036055] random: systemd: uninitialized urandom read (16 bytes read)      
[   12.044911] systemd[1]: Created slice system-modprobe.slice.                 
[   12.053902] random: systemd: uninitialized urandom read (16 bytes read)      
[   12.059981] systemd[1]: Created slice system-serial\x2dgetty.slice.          
[   12.069057] random: systemd: uninitialized urandom read (16 bytes read)      
[   12.074953] systemd[1]: Created slice User and Session Slice.                
[   12.084208] systemd[1]: Started Forward Password Requests to Wall Directory .
[   12.094081] systemd[1]: Set up automount Arbitrary Executable File Formats F.
[   12.103730] systemd[1]: Reached target User and Group Name Lookups.          
[   12.112825] systemd[1]: Reached target Remote File Systems.                  
[   12.122142] systemd[1]: Reached target Slices.                               
[   12.131379] systemd[1]: Reached target Swap.                                 
[   12.140576] systemd[1]: Reached target System Time Set.                      
[   12.150289] systemd[1]: Listening on Syslog Socket.                          
[   12.160019] systemd[1]: Listening on fsck to fsckd communication Socket.     
[   12.169546] systemd[1]: Listening on initctl Compatibility Named Pipe.       
[   12.179908] systemd[1]: Listening on Journal Audit Socket.                   
[   12.189625] systemd[1]: Listening on Journal Socket (/dev/log).              
[   12.199278] systemd[1]: Listening on Journal Socket.                         
[   12.209063] systemd[1]: Listening on udev Control Socket.                    
[   12.218462] systemd[1]: Listening on udev Kernel Socket.                     
[   12.232899] systemd[1]: Mounting Huge Pages File System...                   
[   12.246817] systemd[1]: Mounting POSIX Message Queue File System...          
[   12.261190] systemd[1]: Mounting Kernel Debug File System...                 
[   12.275265] systemd[1]: Mounting Kernel Trace File System...                 
[   12.290608] systemd[1]: Starting Restore / save the current clock...         
[   12.304601] systemd[1]: Starting Set the console keyboard layout...          
[   12.319690] systemd[1]: Starting Create list of static device nodes for the .
[   12.329139] systemd[1]: Condition check resulted in Load Kernel Module drm b.
[   12.338977] systemd[1]: Started Nameserver information manager.              
[   12.349403] systemd[1]: Reached target Network (Pre).                        
[   12.362023] systemd[1]: Condition check resulted in Set Up Additional Binary.
[   12.366941] systemd[1]: Condition check resulted in File System Check on Roo.
[   12.383039] systemd[1]: Starting Load Kernel Modules...                      
[   12.396316] systemd[1]: Starting Remount Root and Kernel File Systems...     
[   12.410016] systemd[1]: Starting udev Coldplug all Devices...                
[   12.425457] systemd[1]: Mounted Huge Pages File System.                      
[   12.435019] systemd[1]: Mounted POSIX Message Queue File System.             
[   12.444486] systemd[1]: Mounted Kernel Debug File System.                    
[   12.450498] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remounto
[   12.461899] systemd[1]: Mounted Kernel Trace File System.                    
[   12.474059] systemd[1]: Finished Restore / save the current clock.           
[   12.486332] systemd[1]: Finished Create list of static device nodes for the .
[   12.502240] systemd[1]: Finished Load Kernel Modules.                        
[   12.515583] systemd[1]: Finished Remount Root and Kernel File Systems.       
[   12.531957] systemd[1]: Mounting FUSE Control File System...                 
[   12.546977] systemd[1]: Mounting Kernel Configuration File System...         
[   12.562385] systemd[1]: Condition check resulted in Rebuild Hardware Databas.
[   12.573771] systemd[1]: Condition check resulted in Platform Persistent Stor.
[   12.593079] systemd[1]: Starting Load/Save Random Seed...                    
[   12.614547] systemd[1]: Starting Apply Kernel Variables...                   
[   12.628716] systemd[1]: Starting Create System Users...                      
[   12.642029] systemd[1]: Mounted FUSE Control File System.                    
[   12.651715] systemd[1]: Mounted Kernel Configuration File System.            
[   12.960459] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[   13.984426] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[   14.278961] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22    
[   14.650544] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio f2
[   14.834441] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio f2
[   14.849024] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: Mar  40
[   15.012442] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[   16.032485] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
                                                                                
firefly-rk3399 login: root (automatic login)                                    
                                                                                
 _____ _           __ _         ____  _  ____________ ___   ___                 
|  ___(_)_ __ ___ / _| |_   _  |  _ \| |/ /___ /___ // _ \ / _ \                
| |_  | | '__/ _ \ |_| | | | | | |_) | ' /  |_ \ |_ \ (_) | (_) |               
|  _| | | | |  __/  _| | |_| | |  _ <| . \ ___) |__) \__, |\__, |               
|_|   |_|_|  \___|_| |_|\__, | |_| \_\_|\_\____/____/  /_/   /_/                
                        |___/                                                   
Welcome to Armbian 21.02.1 Focal with Linux 5.10.12-rockchip64                  
                                                                                
No end-user support: community creations                                        
                                                                                
System load:   50%              Up time:       1 min                            
Memory usage:  8% of 3.71G      IP:                                             
CPU temp:      44°C            Usage of /:    5% of 59G                        
                                                                                
[ General system configuration (beta): armbian-config ]                         
                                                                                
New to Armbian? Documentation: https://docs.armbian.com Support: https://forum.m
                                                                                
New root password:                                                              
Armbian 21.02.1 Focal ttyS2                                                     
                                                                                
firefly-rk3399 login: root                                                      
Password:                                                                       
 _____ _           __ _         ____  _  ____________ ___   ___                 
|  ___(_)_ __ ___ / _| |_   _  |  _ \| |/ /___ /___ // _ \ / _ \                
| |_  | | '__/ _ \ |_| | | | | | |_) | ' /  |_ \ |_ \ (_) | (_) |               
|  _| | | | |  __/  _| | |_| | |  _ <| . \ ___) |__) \__, |\__, |               
|_|   |_|_|  \___|_| |_|\__, | |_| \_\_|\_\____/____/  /_/   /_/                
                        |___/                                                   
Welcome to Armbian 21.02.1 Focal with Linux 5.10.12-rockchip64                  
                                                                                
No end-user support: community creations                                        
                                                                                
System load:   9%               Up time:       3 min                            
Memory usage:  4% of 3.71G      IP:                                             
CPU temp:      36°C            Usage of /:    5% of 59G                        
                                                                                
[ 0 security updates available, 2 updates total: apt upgrade ]                  
Last check: 2021-02-04 13:28                                                    
                                                                                
[ General system configuration (beta): armbian-config ]                         
                                                                                
Last login: Thu Feb  4 13:28:27 UTC 2021 on tty1                                
New to Armbian? Documentation: https://docs.armbian.com Support: https://forum.m
                                                                                
New root password: ******                                                       
Repeat password: ******                                                         
                                                                                
Choose default system command shell:                                            
                                                                                
1) bash                                                                         
2) zsh                                                                          
                                                                                
Shell: BASH                                                                     
                                                                                
Creating a new user account. Press <Ctrl-C> to abort                            
                                                                                
Desktop environment will not be enabled if you abort the new user creation      
                                                                                
Please provide a username (eg. your forename):                                  
Creating a new user account. Press <Ctrl-C> to abort                            
                                                                                
Desktop environment will not be enabled if you abort the new user creation      
                                                                                
Please provide a username (eg. your forename): denni                            
Create password: ******                                                         
Repeat password: ******                                                         
                                                                                
Please provide your real name: Denni                                            
                                                                                
Dear Denni, your account denni has been created and is sudo enabled.            
Please use this account for your daily work from now on.                        
                                                                                
                                                                                
Now starting desktop environment...                                             
                                                                                
root@firefly-rk3399:~# [  271.040440] rk3x-i2c ff160000.i2c: timeout, ipd: 0x802
[  272.064473] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  273.088518] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  274.112476] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  275.136477] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  276.160482] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  277.184482] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  278.208473] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  279.232475] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  280.256474] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  282.097381] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                  
[  282.097876] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk2
[  282.099116] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                  
[  282.099607] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk2
[  282.100847] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                  
[  282.101338] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk2
[  282.102598] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                  
[  282.103088] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk2
[  282.104367] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                  
[  282.104896] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk2
[  282.106309] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                  
[  282.106801] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk2
[  287.222137] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22                  
[  287.222735] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk2
[  287.328397] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  288.352397] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  289.376515] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  290.400461] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              
[  291.424437] rk3x-i2c ff160000.i2c: timeout, ipd: 0x80, state: 2              

 

But no hdmi connection - just UART

 

 

apt update - apt upgrade

and the new image boots up

 

 

 

Screenshot_2021-02-16_11-18-07.png

Screenshot_2021-02-16_11-49-26.png

 

Thank you,it helps me a lot.Change to rk3399-nanopi-m4.dtb really works well.I have booted Armbian_21.02.3_Firefly-rk3399_buster_current_5.10.21.img from SD card,and it seems nothing worng but HDMI.Did anyone tested the M.2 PCIE slot?

d0fe1add6bbb7013.png

 

Link to comment
Share on other sites

Weird, even though after loading the overlay file for either of those two other boards (rk3399-nanopi-m4.dtb or rk3399-orangepi-4.dtb) gets me past the "Starting kernel..." log message, boot for 5.10.21 still doesn't complete for me - now I get stuck at the "fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!" log entry. Since this particular line points at a problem with the .dtb file (which makes sense, either of those files are not meant for this board) it's puzzling why this would work for others.

 

I'm using the following (U-Boot 2020.10-armbian):

ext4load mmc 1 0x49000000 /boot/dtb-5.10.21-rockchip64/rockchip/rk3399-nanopi-m4.dtb
ext4load mmc 1 0x46000000 /boot/Image
env set fdt_high ffffffff
booti 0x46000000 - 0x49000000

Link to comment
Share on other sites

4 hours ago, balbes150 said:

don't reinvent the wheel, all  versions already work correctly with Fyrefly-rk3399 with native DTB.

 

Nobody is reinventing the wheel @balbes150. This thread tracks issues booting from SD with some of the versions, in particular current - your statement that "all versions already work correctly" is overconfident and simply not true.

Link to comment
Share on other sites

23 hours ago, balbes150 said:

don't reinvent the wheel, all  versions already work correctly with Fyrefly-rk3399 with native DTB.

It seems not working on my firefly-rk3399 borad……(2G RAM). I've tried buliding the new version Armbian_21.05.0-trunk_Firefly-rk3399_buster_current_5.10.27.img,but the board stopped at “Starting kernel”.Then I edited the armbianEnv.txt,changed the dtb file to rockchip/rk3399-nanopi-m4.dtb, the board can boot into system,though it takes me about 2-3 minutes……

 

DDR Version 1.19 20190305
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x32817281, stride = 0x9
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
ChipType = 0x10, 231
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=60906MB
FwPartOffset=2000 , 0
StorageInit ok = 224328
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=0xcefb8
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 initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2020.10-armbian (Apr 05 2021 - 15:11:52 +0000)

SoC: Rockchip rk3399
Reset cause: POR
Model: Firefly ROC-RK3399-PC Mezzanine Board
DRAM:  2 GiB
PMIC:  RK808
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from SPIFlash... unrecognized JEDEC id bytes: ff, ff, ff
*** Warning - spi_flash_probe_bus_cs() failed, using default environment

In:    serial
Out:   serial
Err:   serial
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 4 ms (777.3 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
117 bytes read in 4 ms (28.3 KiB/s)
13104621 bytes read in 557 ms (22.4 MiB/s)
33300992 bytes read in 1410 ms (22.5 MiB/s)
77021 bytes read in 11 ms (6.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=4260000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13104557 Bytes = 12.5 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 7929a000, end 79f195ad ... OK
   Loading Device Tree to 000000007921e000, end 0000000079299fff ... OK

Starting kernel ...
 

Link to comment
Share on other sites

05.04.2021 в 20:07, adzio сказал:

Nobody is reinventing the wheel @balbes150. This thread tracks issues booting from SD with some of the versions, in particular current - your statement that "all versions already work correctly" is overconfident and simply not true.

 

If you do not want to read and do not see the recommendations, you can continue to waste time, I am not going to prove anything to you and waste time on you.

 

20 часов назад, Niang Min сказал:

Then I edited the armbianEnv.txt,

Try these versions, they have all the latest fixes.

https://users.armbian.com/balbes150/station-p1/

Link to comment
Share on other sites

@balbes150 It works both ways. I can choose not to waste my time and not to get involved with folks whose first reaction is to generalize and spew negativity rather than to internalize feedback and to make it actionable.

 

I had tried debugging your CSC software to get it to even finish booting and you decided to disparage me that I’m reinventing the wheel.

 

I've seen, read and followed your recommendations and they didn’t work, simple as that. I'm not a noob with Linux, but well above enthusiast level.

 

Your custom Armbian_21.05.0-trunk_Station-p1_focal_current_5.10.25.img.xz image boots to prompt on my setup. So we’re getting somewhere. My board has two PCIe modules attached, without which it’s quite useless to me. So that's probably the difference (the issue) booting bare board vs. with PCIE attached but the board should still finish booting with any 5.10 image. This configuration boots fine with other flavors (debian, ubuntu) with both modules attached, so it should work here too.

 

The issue in these Release images may be PCIe related. The station version boots with the PCIe -110 error in dmsg and lspci output is empty. Perhaps the other versions don’t finish boot because they are running into some sort of PCIe init issue. BTW the station image is different than what is shipped in other Armbian 5.10 images because the -110 error is absent there and lspci has correct output (basically, my PCIE stuff works on Armbian 5.10 + Rock Pi 4C).

 

So, a bug found in the field. No problem, but also no need to throw feces at people for reporting and no need to disparage them when they’re trying to debug from their side which in the end may only help you, like in this case.

Link to comment
Share on other sites

The newest images are not booting out of the box  did though get Armbian_22.11.0-trunk_Firefly-rk3399_sid_current_5_19.14.img to boot

 

Quote

changing  extlinux.conf - fdt /boot/dtb/rockchip/rk3399-roc-pc-plus.dtb 

 

- it is working quite well with rk3399-roc-pc-plus device blog except there is no wifi at all.

 

Trying to compile with this line bullseye kernel 5.19 server image

 

Quote

sudo ./compile.sh CLEAN_LEVEL=make,debs,images,alldebs,cache EXTRAWIFI=yes CREATE_PATCHES=yes EXPERT=yes NO_APT_CACHER=yes

 

get tihis error;

Quote

drivers/usb/dwc3/host.c:110:11: error: ‘struct dwc3’ has no member named ‘xhci_trb_ent_quirk’; did you mean ‘dis_u1_entry_quirk’?
make[3]: *** [scripts/Makefile.build:249: drivers/usb/dwc3/host.o] Error 1
make[2]: *** [scripts/Makefile.build:466: drivers/usb/dwc3] Error 2
make[1]: *** [scripts/Makefile.build:466: drivers/usb] Error 2
make: *** [Makefile:1846: drivers] Error 2
[ error ] ERROR in function compile_kernel [ functions/cli/cli-entrypoint.sh:108 -> functions/main/default-build.sh:63 -> functions/compilation/kernel.sh:142 -> functions/logging/traps.sh:0 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated

    -------------

This is beound my scope

This seems to be the case

 

https://www.kernel.org/doc/html/v5.16/driver-api/usb/dwc3.html

 

 

Edited by denni_isl
Link to comment
Share on other sites

Did get Arbian 22.08 bullseye kernel 5.19.16-media to work by copying rk3399-firefly.dtb from a working 5.15.27-media

 

The boot up error

 

Quote

fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!

 

Found this

 

Spoiler

Without this patch the Firefly-RK3399 board boot process hangs after these lines: fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! fan53555-reg: supplied by vcc_sys vcc1v8_s3: supplied by vcc_1v8 Blacklisting driver fan53555 allows booting. The device tree uses a value of fcs,suspend-voltage-selector different to any other board. Changing this setting to the usual value is sufficient to enable booting. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts index 4f28628aa091..50940ef844a7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts @@ -458,7 +458,7 @@ vdd_cpu_b: regulator@40 { compatible = "silergy,syr827"; reg = <0x40>; - fcs,suspend-voltage-selector = <0>; + fcs,suspend-voltage-selector = <1>; regulator-name = "vdd_cpu_b"; regulator-min-microvolt = <712500>; regulator-max-microvolt = <1500000>; -- 2.17.1

 

Link to comment
Share on other sites


3 Nov 22

Was able to compile Armbian (22.11.0-trunk) Kernel: 6.0.6-media for firefly-rk3399 with

sudo ./compile.sh CLEAN_LEVEL=make,debs,images,alldebs,cache EXTRAWIFI=yes CREATE_PATCHES=yes
EXPERT=yes NO_APT_CACHER=yes

 

and apply this patch to drivers/usb/dwc3/core.c

+ #include <linux/ectcon.h>

 

and copy /boot/dtb/rockchip/firefly-rk3399.dtb from a SD card with Arbian with kernel 5.15.27-media
to /boot/dtb/rockchip/ on the new Armbian 22.11.0-trunk kernel 6.0.6 image

 

 

Link to comment
Share on other sites

The console is completely different now - it used to be blurred.  I usually set up usable console; sudo apt install console-data console-setup  (for right keyboard)  and sudo dpkg-reconfigure keyboard-configuration and sudo dpkg-reconfigure console-data > sudo dpkg-reconfigure console-setup - utf8 - latin1 - termus - 11x22

 

Now the console on firefly-rk3399 is Cristal clear with the new kernel 6 

Link to comment
Share on other sites

I finally got Armbian working on my Firefly RK3399 thanks to your efforts here.
Then i ran gparted to check for the ominous extra partitions but i had none of them.

 

Maybe i can give back something: During all my attempts to get any images from Firefly working i understood i had to erase the flash first to be able to move from Android to Ubuntu. And to be able to erase the flash one would have to use the right upgrade_tool version that came with the Android release.

 

In my case i had to get the old version v1.24 running on my linux machine (32Bit App on 64Bit linux). And i had to have either a boot loader or a firmware to erase. 

 

I happened to have a MiniLoaderAll.bin (attached) from a previous expansion of a Firefly Ubuntu img file and i could use that to erase the flash successfully.

Again i tried to erase the flash with current version of upgrade_tool v2.1 and it failed but i could now flash their Ubuntu images with it.

 

Maybe the successful erase with the right upgrade_tools did remove the ominous partitions you still seem to have.

MiniLoaderAll.bin

Link to comment
Share on other sites

4 часа назад, Huifeng Shen сказал:

I have purchased a Firefly RK3399 board which has Android 8.1 on it. I can start it with Ubuntu 20.04 downloaded from T-Firefly website on a TF card. I can enter loader mode and maskrom mode. My questions how can I install armbian on EMMC. Can you give me a much detailed guide.

Have you tried writing to an Armbian SD card from this theme and trying to launch it?

Link to comment
Share on other sites

6 часов назад, Huifeng Shen сказал:

The firefly RK3399 board I have is not complete version, it has no WiFi, no GPIO, etc. It can not start after I erased the EMMC and failed to burn firefly official firmware

Show a photo of your model.

Link to comment
Share on other sites

6 часов назад, Huifeng Shen сказал:

The photo and the ttl is added later

A strange model, there are not many components. Now I have compiled new versions 20231010 current (6.5.5) and edge (6.6.-rc5) for Firefly-rk3399 and checked out the launch. Everything starts from the SD card and works without problems. I checked the installation on eMMC - it works. These images have a built-in u-boot, which ensures that the system starts even if it is not on the eMMC. Try to completely erase the eMMC and check the launch from the SD card. If the system does not start, the UART console is needed, without it it is impossible to find out the cause of the error. By the way, the built-in u-boot supports displaying the process on the HDMI monitor screen and selecting the system. If you do not have any display at startup, it means that u-boot does not start (or does not work). Perhaps a special u-boot is needed for your specific model.

Link to comment
Share on other sites

@balbes150 I succeed to run `Armbian_23.10_Firefly-rk3399_lunar_edge_6.6.0.img` and `Armbian_23.8.1_Firefly-rk3399_jammy_current_6.1.50.img` on SD card. Thank you very much. Would you please help me a favor, how to fix the following error on UART

 

mmc: ERROR: SDHCI:Transfer data timeout
mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
mmc: ERROR: tuning execution failed
emmc reinit

 

Edited by Huifeng Shen
Add more information
Link to comment
Share on other sites

The full complete log when start Armbian for firefly rk3399

 

DDR Version 1.26 20210628
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x32817281, stride = 0x9
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 337
mmc: ERROR: SDHCI:Transfer data timeout
mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
mmc: ERROR: tuning execution failed
emmc reinit
mmc: ERROR: SDHCI:Transfer data timeout
mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
mmc: ERROR: tuning execution failed
emmc reinit
mmc: ERROR: SDHCI:Transfer data timeout
mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
mmc: ERROR: tuning execution failed
SdmmcInit=2 1
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30145MB
FwPartOffset=2000 , 0
StorageInit ok = 488421
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 part:  0, name:           Ventoy, start:0x800, size:0x3acffd8
GPT part:  1, name:          VTOYEFI, start:0x3ad07d8, size:0x10000
no find partition:uboot.
Trust Addr:0x4000, 0x58334c42
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xd9f08
RunBL31 0x40000 @ 612057 us
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
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(1196): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2022.04-armbian (Aug 22 2023 - 15:24:21 +0000)

 

Link to comment
Share on other sites

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