Jump to content

ROC-RK3399-PC (Renegade Elite)


tkaiser

Recommended Posts

Success, Used the dts from here rk3399-roc-pc.dts and merged some of the kernel config from here firefly_linux_defconfig and presto! I have a booting Armbian image for the Renegade Elite :D

 

Spoiler

U-Boot 2018.11-armbian (Mar 03 2019 - 05:52:50 +0100)

Model: Firefly-RK3399 Board
DRAM:  3.9 GiB
MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from EXT4... Card did not respond to voltage select!
In:    serial@ff1a0000
Out:   serial@ff1a0000
Err:   serial@ff1a0000
Model: Firefly-RK3399 Board
Net:   
Error: ethernet@fe300000 address not set.
eth-1: ethernet@fe300000
Hit any key to stop autoboot:  0 
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2958 bytes read in 2 ms (1.4 MiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
137 bytes read in 1 ms (133.8 KiB/s)
4240622 bytes read in 276 ms (14.7 MiB/s)
18591752 bytes read in 1200 ms (14.8 MiB/s)
100282 bytes read in 11 ms (8.7 MiB/s)
** File not found /boot/dtb/rockchip/overlay/rockchip-fixup.scr **
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    4240558 Bytes = 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 f5b12000, end f5f1d4ae ... OK
   reserving fdt memory region: addr=1f00000 size=7e000
   Loading Device Tree to 00000000f5a91000, end 00000000f5b11fff ... OK

Starting kernel ...
 

Spoiler

 _____ _           __ _         ____  _  ____________ ___   ___    ____  
|  ___(_)_ __ ___ / _| |_   _  |  _ \| |/ /___ /___ // _ \ / _ \  |  _ \ 
| |_  | | '__/ _ \ |_| | | | | | |_) | ' /  |_ \ |_ \ (_) | (_) | | |_) |
|  _| | | | |  __/  _| | |_| | |  _ <| . \ ___) |__) \__, |\__, | |  __/ 
|_|   |_|_|  \___|_| |_|\__, | |_| \_\_|\_\____/____/  /_/   /_/  |_|    
                        |___/                                            
  ____                                                                   
 / ___|                                                                  
| |                                                                      
| |___                                                                   
 \____|                                                                  
                                                                         

Welcome to ARMBIAN 5.76 user-built Debian GNU/Linux 9 (stretch) 4.4.176-rk3399-pc   
System load:   0.93 0.65 0.29      Up time:       4 min        
Memory usage:  2 % of 3812MB     IP:            192.168.0.153
CPU temp:      30°C               
Usage of /:    4% of 30G        


pi@rk3399:~$ 

 

 

Link to comment
Share on other sites

Oooo... Does this mean we'll see an Armbian build soon? :D I'm afraid I'll be spending so much time waiting after Libre to release functional mainline content that I might just scrap this board. If I can boot Armbian off the SSD, I've just made this thing a whole lot more interesting. 

Link to comment
Share on other sites

17 hours ago, Fred St-Pierre said:

Oooo... Does this mean we'll see an Armbian build soon? 

Potentially a WIP/csc until Armbian in general properly supports rk3399.  This isn't so much a libre computer issue as it is a u-boot/kernel issue, all Rockchip boards with high-spec ram have been a challenge to support because the Rockchip binary blobs aren't so great sometimes.  I have this board, I can test any PR's in the meantime while I clean up some other stuff

Link to comment
Share on other sites

53 minutes ago, TonyMac32 said:

Potentially a WIP/csc until Armbian in general properly supports rk3399.  This isn't so much a libre computer issue as it is a u-boot/kernel issue, all Rockchip boards with high-spec ram have been a challenge to support because the Rockchip binary blobs aren't so great sometimes.  I have this board, I can test any PR's in the meantime while I clean up some other stuff

 

Ok great. I have the board in hand, full kit with PoE mezzanine and 256gb SSD onboard if ever you want to use me as a guinea pig. 

Link to comment
Share on other sites

On 2/20/2019 at 5:22 AM, TonyMac32 said:

 

the USB-C at the rear with the Ethernet port is the power-in, not hard to do backwards.

 

 

Call me stupid... It started when I switched the USB-C port. :wacko:

On 3/5/2019 at 4:58 PM, Fred St-Pierre said:

 

Ok great. I have the board in hand, full kit with PoE mezzanine and 256gb SSD onboard if ever you want to use me as a guinea pig. 

Wow, I was very tempted by the mezzanine, but I had to choose between that and the emmc...

Link to comment
Share on other sites

I should be able to create a PR for a WIP. I just wondering how to handle the BL31 issue. It is either to pull the binaries from here: https://github.com/rockchip-linux/rkbin/tree/master/bin/rk33 or try to build from https://github.com/ARM-software/arm-trusted-firmware. Also need input for the common board name, I guess "rk3399-roc-pc" is the one?

 

@TonyMac32   I will also try to build ayufans mainline and see if it boots ok.

 

Link to comment
Share on other sites

Tried building BL31 from mainline here: https://github.com/ARM-software/arm-trusted-firmware

Seems to build OK, but it links it to load @ 0x0 which probably is bad. I'm guessing the BL31 should have it's base addr @ 0x10000.

Maybe it's possible to load it @ 0x0, anyone has experience? I'm in the deep-end here :wacko:

 

UART Boot log:

...

LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0x9abc0
RunBL31 0x0

<Hangs here>

 

 

trust_merger --verbose

Spoiler

Built build/rk3399/debug/bl31.bin successfully

D: [main] do_merge
D: [parseOpts] start parse
D: [parseVersion] major:1, minor:0
D: [parseBL3x] bl30 sec: 0
D: [parseBL3x] bl31 sec: 1
D: [parseBL3x] bl31 path:./build/rk3399/debug/bl31/bl31.elf
D: [parseBL3x] bl31 addr:0x10000
D: [parseBL3x] bl32 sec: 0
D: [parseBL3x] bl33 sec: 0
out:trust.bin
---------------
USING CONFIG:
[BL30_OPTION]
SEC=0
[BL31_OPTION]
SEC=1
PATH=./build/rk3399/debug/bl31/bl31.elf
ADDR=0x00010000
[BL32_OPTION]
SEC=0
[BL33_OPTION]
SEC=0
[OUTPUT]
PATH=trust.bin
---------------
D: [filter_elf] index=1,file=./build/rk3399/debug/bl31/bl31.elf
D: [getFileSize] path:./build/rk3399/debug/bl31/bl31.elf, size:1079048
D: [filter_elf] bl31: filesize = 147552, imagesize = 149504, segment=0
D: [filter_elf] bl31: filesize = 8024, imagesize = 8192, segment=1
D: [filter_elf] bl31: filesize = 8192, imagesize = 8192, segment=2
D: [mergetrust] bl3x bin sec = 3
D: [getBCD] ret:1
D: [getBCD] ret:0
D: [mergetrust] trust bin sign offset = 944
D: [mergetrust] bl31: LoadAddr = 0x00000000, StorageAddr = 4, ImageSize = 292
D: [mergetrust] bl31: LoadAddr = 0xff3b0000, StorageAddr = 296, ImageSize = 16
D: [mergetrust] bl31: LoadAddr = 0xff8c0000, StorageAddr = 312, ImageSize = 16
merge success(trust.bin)
 

 

Link to comment
Share on other sites

I'm holding off until the DDR4 support is working in mainline, this board would be in the same unfortunate state as the RockPi 4/etc. once the u-boot is working properly we can get rk3399 all put into one happy family and get the support fixed.

Link to comment
Share on other sites

Funny. I was just about to give it another go since I just received the 128GB eMMC for this board. I really don't remember where I left off, but I had issues with the ARM trust not working. So I'll just pull it from the rockchip repo and this what gives...

Link to comment
Share on other sites

So I spent some hours trying build the 4.4.180 kernel (rk3399) target, and for some reason it fails to start the kernel.

Boot log here:

Spoiler

U-Boot 2019.04-armbian (May 31 2019 - 03:17:52 +0200)

Model: Firefly-RK3399 Board
DRAM:  3.9 GiB
MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from EXT4... 
** Unable to use mmc 0:auto for loading the env **
In:    serial@ff1a0000
Out:   serial@ff1a0000
Err:   serial@ff1a0000
Model: Firefly-RK3399 Board
Net:   
Error: ethernet@fe300000 address not set.
eth-1: ethernet@fe300000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2949 bytes read in 7 ms (411.1 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
137 bytes read in 6 ms (21.5 KiB/s)
4704676 bytes read in 324 ms (13.8 MiB/s)
20928520 bytes read in 1415 ms (14.1 MiB/s)
100202 bytes read in 17 ms (5.6 MiB/s)
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    4704612 Bytes = 4.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 f5aa9000, end f5f25964 ... OK
ERROR: reserving fdt memory region failed (addr=0 size=0)
   Loading Device Tree to 00000000f5a28000, end 00000000f5aa8fff ... OK

Starting kernel ...
 

 

I'm thinking it is caused by:

 

ERROR: reserving fdt memory region failed (addr=0 size=0)

 

I have no clue as to why this fails, but's somewhere in u-boot between v2018.11 (worked OK!) and v2019.04 (?)

Any pointers?

 

Link to comment
Share on other sites

On 6/4/2019 at 1:01 PM, Redferne said:

have no clue as to why this fails, but's somewhere in u-boot between v2018.11 (worked OK!) and v2019.04 (?)

Any pointers?

 

RK3288 also is stuck at older u-boot, I guess we need to investigate further what changed.

Link to comment
Share on other sites

On 7/7/2019 at 12:19 AM, Da Xue said:

You can try this u-boot and just have the OS as an EFI binary: http://share.loverpi.com/board/libre-computer-project/libre-computer-board-roc-rk3399-pc/u-boot/

 

There's two versions, one based on RK's u-boot and one based on upstream.

 

Been trying to get support on how to flash this to my RK3399... Not much info on that front.

 

Renegade Elite is a big paperweight right now.

Link to comment
Share on other sites

So, spent an insane amount of time on this board last week :blink: Could only get so far as an booting example. Tried many combinations of dts and versions of U-Boot (2019.01, 2019.04, mainline and Ayufan). Tried merging some of the kernel dts into Ayufan 5.2.0-1116 but could not get it to boot. My endeavours are compilation ready over here: https://github.com/Redferne/build

 

For anyone unable to build but wants to take it for a spin, there's a freshly minted build here: https://mega.nz/#!7loDAITK!kwm-mJ-95QcXbP_I8hJSYdSkT2vPqeBsLbSticJGsJY

 

The working combo is:

$ touch .ignore_changes
$ ./compile.sh NO_HOST_RELEASE_CHECK=yes KERNEL_CONFIGURE=no BUILD_DESKTOP=no BOARD=roc-rk3399-pc BRANCH=default RELEASE=buster KERNEL_ONLY=no

It will boot, but there is no serial console(?) (only debug output). Insert a UTP cable and it is possible to ssh into the machine once the filesystem resize has completed.

EMMC (128GB) is recognised and accessable, did not try to boot from it.

USB works(-ish) Got some softlockups while using the USB3 ports.

 

I'm hoping someone more into fixing dts and have more expertise and time to pick up from here.

Maybe looking into the mainline U-Boot (recently got LPDDR4 RK3399 support)

 

 ____   ___   ____      ____  _  ____________ ___   ___        ____   ____ 
|  _ \ / _ \ / ___|    |  _ \| |/ /___ /___ // _ \ / _ \      |  _ \ / ___|
| |_) | | | | |   _____| |_) | ' /  |_ \ |_ \ (_) | (_) |_____| |_) | |    
|  _ <| |_| | |__|_____|  _ <| . \ ___) |__) \__, |\__, |_____|  __/| |___ 
|_| \_\\___/ \____|    |_| \_\_|\_\____/____/  /_/   /_/      |_|    \____|
                                                                           
Welcome to Debian Buster with Armbian Linux 4.4.188-rk3399
System load:   2.00 2.02 1.91  	Up time:       31 min		Local users:   2            	
Memory usage:  3 % of 3875MB 	IP:            192.168.0.33
CPU temp:      40°C           	
Usage of /:    4% of 30G    	

 

Edited by Redferne
Added link to image
Link to comment
Share on other sites

So, finally got 5.3.0-rc4 (ayufan) to boot into console. Funny thing. Board would power off once this line was printed:

Quote

[   55.500054] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro

Tried three different USB-C PD supplies. My trusty Dell XPS13, the power supply that came with the board and last I tried a complety new Plexgear USB-C PD 60W supply. All three was the same, once userspace was reached, it powered off. So had to solder a jumper so I could feed 12V directly to the DC_12V header. And hey presto I boots and is very much alive :-)

 ____   ___   ____      ____  _  ____________ ___   ___        ____   ____ 
|  _ \ / _ \ / ___|    |  _ \| |/ /___ /___ // _ \ / _ \      |  _ \ / ___|
| |_) | | | | |   _____| |_) | ' /  |_ \ |_ \ (_) | (_) |_____| |_) | |    
|  _ <| |_| | |__|_____|  _ <| . \ ___) |__) \__, |\__, |_____|  __/| |___ 
|_| \_\\___/ \____|    |_| \_\_|\_\____/____/  /_/   /_/      |_|    \____|
                                                                           
Welcome to Debian Buster with Armbian Linux 5.3.0-rc4-rk3399
System load:   0.49 0.33 0.13  	Up time:       2 min		
Memory usage:  3 % of 3865MB 	IP:            192.168.0.33
CPU temp:      29°C           	
Usage of /:    4% of 30G    	

New to Armbian? Check the documentation first: https://docs.armbian.com


You are using an Armbian preview build !!!

This image is provided AS IS with NO WARRANTY and NO END USER SUPPORT!.

But the big cores are not starting? Maybe need to look through the device tree again.

Quote

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.3.0-rc4-rk3399 (root@builder) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.96 SMP PREEMPT Wed Sep 11 22:50:29 CEST 2019
[    0.000000] Machine model: Firefly ROC-RK3399-PC Board
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x00000000f7000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf67e2840-0xf67e3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000200000-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] On node 0 totalpages: 1015296
[    0.000000]   DMA32 zone: 15864 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 1015296 pages, LIFO batch:63
[    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 23 pages/cpu s56280 r8192 d29736 u94208
[    0.000000] pcpu-alloc: s56280 r8192 d29736 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected VIPT I-cache on CPU0
[    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=0c220ce5-ae81-4251-bdb1-e70e7cba6a6f rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 panic=10 consoleblank=0 loglevel=7 ubootpart=8e19fbeb-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 3934516K/4061184K available (13500K kernel code, 882K rwdata, 4668K rodata, 896K init, 396K bss, 110284K reserved, 16384K cma-reserved)
[    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 restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000]     Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    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: Distributor has no Range Selector support
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f1080000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f1040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f1050000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: get_random_bytes called from start_kernel+0x2e8/0x480 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002258] Console: colour dummy device 80x25
[    0.003680] printk: console [tty1] enabled
[    0.003848] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003907] pid_max: default: 32768 minimum: 301
[    0.004127] LSM: Security Framework initializing
[    0.004299] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004375] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.005377] *** VALIDATE proc ***
[    0.005824] *** VALIDATE cgroup1 ***
[    0.005861] *** VALIDATE cgroup2 ***
[    0.027720] ASID allocator initialised with 32768 entries
[    0.035714] rcu: Hierarchical SRCU implementation.
[    0.043908] Platform MSI: interrupt-controller@fee20000 domain created
[    0.044553] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.045054] EFI services will not be available.
[    0.051814] smp: Bringing up secondary CPUs ...
[    0.084129] Detected VIPT I-cache on CPU1
[    0.084183] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.084205] GICv3: CPU1: using allocated LPI pending table @0x00000000f1060000
[    0.084262] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.116279] Detected VIPT I-cache on CPU2
[    0.116323] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.116343] GICv3: CPU2: using allocated LPI pending table @0x00000000f1070000
[    0.116387] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.148453] Detected VIPT I-cache on CPU3
[    0.148495] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.148513] GICv3: CPU3: using allocated LPI pending table @0x00000000f1100000
[    0.148555] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.183349] CPU features: detected: EL2 vector hardening
[    0.183694] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.184083] Detected PIPT I-cache on CPU4
[    0.185307] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.185771] GICv3: CPU4: using allocated LPI pending table @0x00000000f1110000
[    0.186982] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.227080] Detected PIPT I-cache on CPU5
[    0.228276] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.228707] GICv3: CPU5: using allocated LPI pending table @0x00000000f1120000
[    0.229773] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.235429] smp: Brought up 1 node, 6 CPUs
[    0.236019] SMP: Total of 6 processors activated.
[    0.236070] CPU features: detected: 32-bit EL0 Support
[    0.236115] CPU features: detected: CRC32 instructions
[    0.247310] CPU: All CPU(s) started at EL2
[    0.247920] alternatives: patching kernel code
[    0.253754] devtmpfs: initialized
[    0.284864] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.285056] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.286890] xor: measuring software checksum speed
[    0.326592]    8regs     :   771.000 MB/sec
[    0.366333]    32regs    :    52.000 MB/sec
[    0.406589]    arm64_neon:    45.000 MB/sec
[    0.407336] xor: using function: 8regs (771.000 MB/sec)
[    0.412533] pinctrl core: initialized pinctrl subsystem
[    0.454319] DMI not present or invalid.
[    0.472773] NET: Registered protocol family 16
[    0.513489] audit: initializing netlink subsys (disabled)
[    0.518654] audit: type=2000 audit(0.512:1): state=initialized audit_enabled=0 res=1
[    0.583423] cpuidle: using governor menu
[    0.605576] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.685740] DMA: preallocated 2048 KiB pool for atomic allocations
[    0.693429] Serial: AMBA PL011 UART driver
[    3.025144] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    3.026930] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    3.027790] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    3.028612] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    3.355980] cryptd: max_cpu_qlen set to 1000
[    3.935101] raid6: neonx8   gen()    26 MB/s
[    4.002220] raid6: neonx8   xor()    21 MB/s
[    4.071287] raid6: neonx4   gen()    26 MB/s
[    4.139570] raid6: neonx4   xor()    20 MB/s
[    4.210023] raid6: neonx2   gen()    20 MB/s
[    4.276850] raid6: neonx2   xor()    20 MB/s
[    4.346804] raid6: neonx1   gen()    12 MB/s
[    4.413144] raid6: neonx1   xor()    14 MB/s
[    4.483584] raid6: int64x8  gen()    14 MB/s
[    4.550394] raid6: int64x8  xor()     9 MB/s
[    4.621093] raid6: int64x4  gen()    15 MB/s
[    4.691589] raid6: int64x4  xor()    10 MB/s
[    4.763623] raid6: int64x2  gen()    10 MB/s
[    4.833401] raid6: int64x2  xor()     8 MB/s
[    4.911690] raid6: int64x1  gen()     6 MB/s
[    4.981468] raid6: int64x1  xor()     6 MB/s
[    4.982574] raid6: using algorithm neonx8 gen() 26 MB/s
[    4.983268] raid6: .... xor() 21 MB/s, rmw enabled
[    4.983939] raid6: using neon recovery algorithm
[    5.031716] vcc12v_sys: supplied by vcc_vbus_typec0
[    5.062932] vcc3v3_sys: supplied by vcc12v_sys
[    5.120210] vcc_sys: supplied by vcc12v_sys
[    5.253067] vgaarb: loaded
[    5.269552] SCSI subsystem initialized
[    5.276417] libata version 3.00 loaded.
[    5.289477] usbcore: registered new interface driver usbfs
[    5.293079] usbcore: registered new interface driver hub
[    5.298875] usbcore: registered new device driver usb
[    5.318558] pps_core: LinuxPPS API ver. 1 registered
[    5.319354] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.321266] PTP clock support registered
[    5.334701] EDAC MC: Ver: 3.0.0
[    5.357942] Advanced Linux Sound Architecture Driver Initialized.
[    5.382484] NetLabel: Initializing
[    5.383293] NetLabel:  domain hash size = 128
[    5.383920] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    5.387548] NetLabel:  unlabeled traffic allowed by default
[    5.411448] clocksource: Switched to clocksource arch_sys_counter
[    5.422317] VFS: Disk quotas dquot_6.6.0
[    5.426543] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    5.430647] *** VALIDATE hugetlbfs ***
[    5.782184] thermal_sys: Registered thermal governor 'step_wise'
[    5.782401] thermal_sys: Registered thermal governor 'power_allocator'
[    5.813655] NET: Registered protocol family 2
[    5.852777] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    5.858457] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    5.880067] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    5.919430] TCP: Hash tables configured (established 32768 bind 32768)
[    5.925983] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    5.934452] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    5.952833] NET: Registered protocol family 1
[    5.971993] RPC: Registered named UNIX socket transport module.
[    5.972865] RPC: Registered udp transport module.
[    5.973502] RPC: Registered tcp transport module.
[    5.974133] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.975666] PCI: CLS 0 bytes, default 64
[    5.985091] Trying to unpack rootfs image as initramfs...
[   31.803596] Freeing initrd memory: 6700K
[   31.853918] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[   31.876418] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[   31.897427] kvm [1]: IPA Size Limit: 40bits
[   31.929870] kvm [1]: vgic-v2@fff20000
[   31.932424] kvm [1]: GIC system register CPU interface enabled
[   31.942320] kvm [1]: vgic interrupt IRQ10
[   31.954622] kvm [1]: Hyp mode initialized successfully
[   42.970680] Initialise system trusted keyrings
[   42.977400] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[   43.433185] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   43.474487] NFS: Registering the id_resolver key type
[   43.476705] Key type id_resolver registered
[   43.477444] Key type id_legacy registered
[   43.478551] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   43.479900] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   43.544417] fuse: init (API version 7.31)
[   43.568320] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[   43.652700] 9p: Installing v9fs 9p2000 file system support
[   45.800176] NET: Registered protocol family 38
[   45.801357] Key type asymmetric registered
[   45.802042] Asymmetric key parser 'x509' registered
[   45.806829] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[   45.812517] io scheduler mq-deadline registered
[   45.813305] io scheduler kyber registered
[   45.824199] io scheduler bfq registered
[   46.200210] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[   46.201590] dma-pl330 ff6d0000.dma-controller:     DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[   46.282786] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[   46.284805] dma-pl330 ff6e0000.dma-controller:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[   46.381400] pwm-regulator: supplied by regulator-dummy
[   46.395595] vcc5v0_host: supplied by vcc_sys
[   46.399854] vcc_vbus_typec1: supplied by vcc_sys
[   46.560410] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[   46.652497] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 35, base_baud = 1500000) is a 16550A
[   46.692190] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 36, base_baud = 1500000) is a 16550A
[   47.074487] printk: console [ttyS2] enabled
[   47.295849] cacheinfo: Unable to detect cache hierarchy for CPU 0
[   47.778135] brd: module loaded
[   48.297246] loop: module loaded
[   49.566513] libphy: Fixed MDIO Bus: probed
[   49.597127] tun: Universal TUN/TAP device driver, 1.6
[   49.682520] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[   49.685004] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[   49.689514] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[   49.692162] igb: Copyright (c) 2007-2014 Intel Corporation.
[   49.696389] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[   49.698637] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[   49.738290] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   49.743459] usbcore: registered new interface driver pegasus
[   49.746763] usbcore: registered new interface driver rtl8150
[   49.751823] usbcore: registered new interface driver r8152
[   49.755684] usbcore: registered new interface driver dm9601
[   49.759826] usbcore: registered new interface driver CoreChips
[   49.764195] usbcore: registered new interface driver smsc75xx
[   49.768790] usbcore: registered new interface driver smsc95xx
[   49.773028] usbcore: registered new interface driver plusb
[   49.777094] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[   49.785588] VFIO - User Level meta-driver version: 0.3
[   49.988351] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   49.990527] ehci-pci: EHCI PCI platform driver
[   49.994228] ehci-platform: EHCI generic platform driver
[   50.021389] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   50.024561] ohci-pci: OHCI PCI platform driver
[   50.028835] ohci-platform: OHCI generic platform driver
[   50.082284] usbcore: registered new interface driver usb-storage
[   50.273929] i2c /dev entries driver
[   50.441580] rk808 0-001b: chip id: 0x0
[   50.556635] rk808-regulator rk808-regulator: there is no dvs0 gpio
[   50.560461] rk808-regulator rk808-regulator: there is no dvs1 gpio
[   50.566333] DCDC_REG1: supplied by vcc3v3_sys
[   50.593341] DCDC_REG2: supplied by vcc3v3_sys
[   50.614743] DCDC_REG3: supplied by vcc3v3_sys
[   50.632614] DCDC_REG4: supplied by vcc3v3_sys
[   50.654761] LDO_REG1: supplied by vcc3v3_sys
[   50.680599] LDO_REG2: supplied by vcc3v3_sys
[   50.702635] LDO_REG3: supplied by vcc3v3_sys
[   50.726583] LDO_REG4: supplied by vcc3v3_sys
[   50.752928] LDO_REG5: supplied by vcc3v3_sys
[   50.775953] LDO_REG6: supplied by vcc3v3_sys
[   50.798710] LDO_REG7: supplied by vcc3v3_sys
[   50.821047] LDO_REG8: supplied by vcc3v3_sys
[   50.847457] SWITCH_REG1: supplied by vcc3v3_sys
[   50.867721] SWITCH_REG2: supplied by vcc3v3_sys
[   50.939798] rk808-rtc rk808-rtc: registered as rtc0
[   50.955698] rockchip-pinctrl pinctrl: pin gpio1-18 already requested by 0-001b; cannot claim for 0-0040
[   50.958565] rockchip-pinctrl pinctrl: pin-50 (0-0040) status -22
[   50.961163] rockchip-pinctrl pinctrl: could not request pin 50 (gpio1-18) from group vsel1-gpio  on device rockchip-pinctrl
[   50.964713] fan53555-regulator 0-0040: Error applying setting, reverse things back
[   50.967907] fan53555-regulator: probe of 0-0040 failed with error -22
[   50.993916] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[   50.998022] fan53555-reg: supplied by vcc3v3_sys
[   51.025454] vcc1v8_s3: supplied by vcc_1v8
[   51.361145] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 400000 KHz
[   51.369295] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 408000 KHz
[   51.393136] cpu cpu4: Failed to set regulator for cpu4: -517
[   51.404640] cpu cpu5: Failed to set regulator for cpu5: -517
[   51.509411] sdhci: Secure Digital Host Controller Interface driver
[   51.511994] sdhci: Copyright(c) Pierre Ossman
[   51.514482] Synopsys Designware Multimedia Card Interface Driver
[   51.590413] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
[   51.594241] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
[   51.597152] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[   51.601855] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[   51.612439] dwmmc_rockchip fe320000.dwmmc: Got CD GPIO
[   51.641281] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[   51.712151] sdhci-pltfm: SDHCI platform and OF driver helper
[   51.734306] random: fast init done
[   51.748538] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[   51.757202] mmc0: new high speed SDHC card at address 0001
[   51.801112] mmc1: CQHCI version 5.10
[   51.829478] mmcblk0: mmc0:0001 EB1QT 29.8 GiB 
[   51.872635] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[   51.886616]  mmcblk0: p1
[   51.971373] ledtrig-cpu: registered to indicate activity on CPUs
[   52.064406] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[   52.074525] usbcore: registered new interface driver usbhid
[   52.077267] usbhid: USB HID core driver
[   52.123991] mmcblk1: mmc1:0001 128G72 116 GiB 
[   52.160997] mmcblk1boot0: mmc1:0001 128G72 partition 1 4.00 MiB
[   52.200757] mmcblk1boot1: mmc1:0001 128G72 partition 2 4.00 MiB
[   52.220933] mmcblk1rpmb: mmc1:0001 128G72 partition 3 4.00 MiB, chardev (243:0)
[   52.365753]  mmcblk1: p1
[   52.568640] xt_time: kernel timezone is -0000
[   52.572659] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[   52.576954] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[   52.588902] IPVS: ipvs loaded.
[   52.590297] IPVS: [rr] scheduler registered.
[   52.592417] IPVS: [wrr] scheduler registered.
[   52.593887] IPVS: [lc] scheduler registered.
[   52.595808] IPVS: [wlc] scheduler registered.
[   52.597262] IPVS: [fo] scheduler registered.
[   52.598637] IPVS: [ovf] scheduler registered.
[   52.601132] IPVS: [lblc] scheduler registered.
[   52.603581] IPVS: [lblcr] scheduler registered.
[   52.605086] IPVS: [dh] scheduler registered.
[   52.606477] IPVS: [sh] scheduler registered.
[   52.608448] IPVS: [sed] scheduler registered.
[   52.609882] IPVS: [nq] scheduler registered.
[   52.620477] Initializing XFRM netlink socket
[   52.625482] NET: Registered protocol family 17
[   52.641203] 8021q: 802.1Q VLAN Support v1.8
[   52.653222] 9pnet: Installing 9P2000 support
[   52.658371] Key type dns_resolver registered
[   52.729949] registered taskstats version 1
[   52.732302] Loading compiled-in X.509 certificates
[   53.152295] zswap: default zpool zbud not available
[   53.154416] zswap: pool creation failed
[   53.238215] Btrfs loaded, crc32c=crc32c-generic
[   55.464593] adc_keys adc-keys: Key with invalid or missing linux,code
[   55.468062] adc_keys: probe of adc-keys failed with error -22
[   55.770034] gpio-keys gpio-keys: Button without keycode
[   55.773750] gpio-keys: probe of gpio-keys failed with error -22
[   55.797647] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:51:03 UTC (1358499063)
[   55.801183] of_cfs_init
[   55.803946] of_cfs_init: OK
[   55.861450] ALSA device list:
[   55.863566]   No soundcards found.
[   55.899754] Freeing unused kernel memory: 896K
[   55.904364] Run /init as init process
[   78.221868] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[   78.223430] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[   78.224071] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[   78.224575] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[   78.225082] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[   78.225677] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[   78.226292] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[   78.231890] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[   78.233923] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[   78.234569] rk_gmac-dwmac fe300000.ethernet:     DWMAC1000
[   78.235127] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[   78.235791] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[   78.236452] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[   78.236914] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[   78.237535] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[   78.238174] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[   78.238724] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[   78.239241] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[   78.394632] libphy: stmmac: probed
[   78.395114] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[   78.396233] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[   85.758123] random: crng init done
[   87.715959] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[   88.557170] systemd[1]: System time before build time, advancing clock.
[   88.611862] NET: Registered protocol family 10
[   88.613761] Segment Routing with IPv6
[   88.653498] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   88.656261] systemd[1]: Detected architecture arm64.
[   88.668640] systemd[1]: Set hostname to <roc>.
[   88.671504] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[   88.728554] ttyS2 - failed to request DMA
[   88.885304] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   88.886854] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   89.093125] systemd[1]: /lib/systemd/system/rk3399-bluetooth.service:10: Support for option SysVStartPriority= has been removed and it is ignored
[   89.193360] systemd[1]: Listening on Journal Audit Socket.
[   89.197538] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   89.199458] systemd[1]: Created slice User and Session Slice.
[   89.298032] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[   89.508748] systemd-journald[423]: Received request to flush runtime journal from PID 1
[   89.922208] zram: Added device: zram0
[   89.922955] zram: Added device: zram1
[   89.923508] zram: Added device: zram2
[   89.950027] mc: Linux media interface: v0.10
[   89.951109] OF: graph: no port node found in /i2c@ff160000/usb-typec@22
[   89.951269] power_supply tcpm-source-psy-7-0022: hwmon: 'tcpm-source-psy-7-0022' is not a valid name attribute, please fix
[   89.959045] OF: graph: no port node found in /i2c@ff3d0000/usb-typec@22
[   89.959205] power_supply tcpm-source-psy-4-0022: hwmon: 'tcpm-source-psy-4-0022' is not a valid name attribute, please fix
[   89.968867] rockchip-vop ff8f0000.vop: Adding to iommu group 1
[   89.979735] rockchip-vop ff900000.vop: Adding to iommu group 2
[   89.993312] videodev: Linux video capture interface: v2.00
[   90.013562] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm])
[   90.014481] zram1: detected capacity change from 0 to 1073741824
[   90.017478] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops [rockchipdrm])
[   90.017612] rockchip-drm display-subsystem: failed to bind ff940000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm]): -517
[   90.017810] rockchip-drm display-subsystem: master bind failed: -517
[   90.107995] rockchip-rga ff680000.rga: HW Version: 0x03.02
[   90.108281] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[   90.118503] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm])
[   90.120551] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops [rockchipdrm])
[   90.120701] rockchip-drm display-subsystem: failed to bind ff940000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm]): -517
[   90.120927] rockchip-drm display-subsystem: master bind failed: -517
[   90.126762] Adding 1048572k swap on /dev/zram1.  Priority:5 extents:1 across:1048572k SSFS
[   90.362363] zram0: detected capacity change from 0 to 52428800
[   90.933359] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[   97.531206] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet]
[   97.531217] rk_gmac-dwmac fe300000.ethernet eth0: phy: setting supported 00,00000000,000062ff advertising 00,00000000,000062ff
[   97.537009] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[   97.537031] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   97.537045] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   97.537062] rk_gmac-dwmac fe300000.ethernet eth0: phylink_mac_config: mode=phy/rgmii/Unknown/Unknown adv=00,00000000,000062ff pause=10 link=0 an=1
[   97.540046] rk_gmac-dwmac fe300000.ethernet eth0: phy link down rgmii/Unknown/Unknown
[  102.667403] rk_gmac-dwmac fe300000.ethernet eth0: phy link up rgmii/1Gbps/Full
[  102.667429] rk_gmac-dwmac fe300000.ethernet eth0: phylink_mac_config: mode=phy/rgmii/1Gbps/Full adv=00,00000000,00000000 pause=0f link=1 an=0
[  102.667456] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  102.667493] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 

 

Still no go on U-Boot V2019.10-rc3. This is SD card boot using Option 3:

Quote

U-Boot TPL 2019.10-rc3-armbian (Sep 11 2019 - 23:57:40)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2019.10-rc3-armbian (Sep 11 2019 - 23:57:40 +0200)
Trying to boot from MMC1


U-Boot 2019.10-rc3-armbian (Sep 11 2019 - 23:57:40 +0200)

Model: Firefly ROC-RK3399-PC Board
DRAM:  3.9 GiB
MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from EXT4... unable to select a mode
 ** fs_devread read error - block
Failed to mount ext2 filesystem...

** Unable to use mmc 0:auto for loading the env **
In:    serial@ff1a0000
Out:   serial@ff1a0000
Err:   serial@ff1a0000
Model: Firefly ROC-RK3399-PC Board
rockchip_dnl_key_pressed: adc_channel_single_shot fail!
Net:   
Error: ethernet@fe300000 address not set.
eth-1: ethernet@fe300000
Hit any key to stop autoboot:  0 
unable to select a mode
switch to partitions #0, OK
mmc0(part 0) is current device
** No partition table - mmc 0 **
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2949 bytes read in 8 ms (359.4 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
137 bytes read in 8 ms (16.6 KiB/s)
6864123 bytes read in 303 ms (21.6 MiB/s)
20498944 bytes read in 878 ms (22.3 MiB/s)
71827 bytes read in 23 ms (3 MiB/s)
2698 bytes read in 22 ms (119.1 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 39000000
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    6864059 Bytes = 6.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 f5893000, end f5f1ecbb ... OK
   Loading Device Tree to 00000000f5819000, end 00000000f5892fff ... OK

Starting kernel ...
 

 

Link to comment
Share on other sites

We work on Armbian every day, not just when Linus change kernel version.
 

This

https://github.com/armbian/build/pull/1614
and this
https://docs.armbian.com/Release_Changelog/

(5.3.y for this board is out, 5.4.y will follow when this will make sense. Sooner if you help somehow)

is relevant for your board which is sadly not getting our dedicated attention.


 

Link to comment
Share on other sites

A huge kudos to @piter75 who commited a csc for this board 👍😍 Did not have the time or energy get my efforts to bear fruit. Was probably to focused on getting the U-Boot TPL+SPL combo working. Maybe this board finally gets the love it so desperately needs. Once again. Thank you for Armbian and all the work everyone puts in! 

Link to comment
Share on other sites

7 hours ago, Igor said:

We work on Armbian every day, not just when Linus change kernel version.
 

This

https://github.com/armbian/build/pull/1614
and this
https://docs.armbian.com/Release_Changelog/

(5.3.y for this board is out, 5.4.y will follow when this will make sense. Sooner if you help somehow)

is relevant for your board which is sadly not getting our dedicated attention.


 

 

Considering there weren't updates to the thread about this board, I wasn't sure. Thanks for the links! Any work on RK3399 is great news.

 

Also, I know work on armbian occurs regularly. The comment about 5.4 was mostly because Libre said they would work on the board once the kernel had the necessary commits and hit LTS, so when 5.4 came out. 

Link to comment
Share on other sites

The kudos belong to Levin Du of T-Firefly team who did the heavy lifting.

I merely paved the path with my u-boot PR and helped make the reboot work in mainline ATF for rk3399.

 

Oh and BTW... this is the first rk3399 board in Armbian which boots with full and fresh OSS combo: mainline u-boot's TPL/SPL + mainline ATF.

Link to comment
Share on other sites

10 hours ago, piter75 said:

The kudos belong to Levin Du of T-Firefly team who did the heavy lifting.

I merely paved the path with my u-boot PR and helped make the reboot work in mainline ATF for rk3399.

 

Oh and BTW... this is the first rk3399 board in Armbian which boots with full and fresh OSS combo: mainline u-boot's TPL/SPL + mainline ATF.

 

I'll have to whip me up an image and deploy it then! Can't wait to make this board useful. I was so impressed with having a POE board with an M2 NVMe SSD on it. Armbian will make it an amazing server. 

Link to comment
Share on other sites

16 hours ago, piter75 said:

Oh and BTW... this is the first rk3399 board in Armbian which boots with full and fresh OSS combo: mainline u-boot's TPL/SPL + mainline ATF.

 

I was trying to get "Option 3: Package the image with TPL" pure U-Boot working without ATF. But it would not boot properly. BTW, why do we need ATF? I'm probably missing something important ☺️

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