Trying to get mainline kernel working on N1

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jan 02, 2020 2:10 pm

Thanks for the feedback! I wasn't able to boot 4.4 with the mainline uboot because the format was not supported.

I'll upload a backup of the original uboot so you can revert to it if needed shortly.

I got those patches from one of moon.linux'es posts earlier in the thread. I'll add the links shortly.

brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by brad » Thu Jan 02, 2020 2:27 pm

I'm compiling up a 5.3 from oversun and a 5.4.7 from mainline with Oversun's patches to see if they boot, I have to get it right first shot as I don't have access to UART adaptor (just spend hours looking for it)

I wasn't game to try to boot 4.4 as the different formats also

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jan 02, 2020 2:50 pm

Sorry for making your N1 unbootable :( But at least you now have a goal :)
Here is my bootloader backup: https://mega.nz/#!ZkBj1AiL!bskfUmrxHrAj ... asSrD4_0g8. My partition layout is the following - check yours before flashing so you don't corrupt the first partition.

Code: Select all

root@aldebaran64:~# fdisk -l /dev/mmcblk1
Disk /dev/mmcblk1: 29.1 GiB, 31268536320 bytes, 61071360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x630bb630

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk1p1       32769   294911   262143  128M  c W95 FAT32 (LBA)
/dev/mmcblk1p2      294912 61069312 60774401   29G 83 Linux
You can restore it with odroid-backup. Better make a backup of what's left before restoring just in case... If you try to write it with dd, note that it contains the MBR as well! odroid-backup can skip the mbr section and flash the rest.

The patches for uboot I got from here:
viewtopic.php?f=155&t=33373&start=50#p268522 and here viewtopic.php?f=155&t=33373&start=50#p273395. Not sure I need both of them, but they applied ok (there are some kernel patches too).

I too compiled Oversun's latest 5.3, but haven't booted it yet. Will try to see if I have time today to try out your steps (without overwriting my bootloader automatically)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jan 02, 2020 3:17 pm

Ok, I started from scratch with your suggestions (with toolchains installed from apt on 18.04). I only applied this patch:

Code: Select all

mkdir Jan2020
cd Jan2020/
git clone https://github.com/ARM-software/arm-trusted-firmware.git
git clone https://github.com/rockchip-linux/rkbin.git
git clone https://github.com/u-boot/u-boot.git
ls -l
cp 0001-u-boot-rockchip-rk3399-Add-Odroid-N1-support.patch u-boot/
cd u-boot/
patch -p1 < 0001-u-boot-rockchip-rk3399-Add-Odroid-N1-support.patch 
vi buildn1spltpl.sh 
./buildn1spltpl.sh 
And now the build process finished correctly. It looks like I messed up the patches and merged them when I shouldn't have... Sorry for wasting your time!

Alas, I don't think I have time to try it out right now, but I hope to get a chance soon...

brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by brad » Thu Jan 02, 2020 3:49 pm

mad_ady wrote:
Thu Jan 02, 2020 2:50 pm
Sorry for making your N1 unbootable :( But at least you now have a goal :)
It was actually my N2 ;) but I have rebuilt it now and taking a full backup of the emmc :)

Back to the N1 I tried to install uboot & 5.2 kernel to the emmc but I could not get it to boot, no blue light at all. I'm out of ways to move forward now until I find my UART adaptor. I have 2 of them and they are probably together somewhere.

Im glad you got yours to compile :) these things happen :) Hope you know where your uart adaptor is :)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jan 02, 2020 4:16 pm

My UART is permanently attached to the N1. I got a bunch of them for good measure :)

Ok, flashed the uboot manually to emmc and it booted:

Code: Select all

�                                                                                                                                                                                                                            [0/0]
U-Boot TPL 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 08:00:46)
Channel 0: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 08:00:46 +0200)
Trying to boot from MMC2
NOTICE:  BL31: v2.2(release):v2.2-270-g86ed8953
NOTICE:  BL31: Built : 08:00:36, Jan  2 2020


U-Boot 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 08:02:08 +0200)

Model: Hardkernel ODROID-N1
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   dwmmc@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: Hardkernel ODROID-N1
Net:
Error: ethernet@fe300000 address not set.
No ethernet found.

Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
485 bytes read in 17 ms (27.3 KiB/s)
## Executing script at 00500000
16960000 bytes read in 535 ms (30.2 MiB/s)
55579 bytes read in 25 ms (2.1 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Device Tree to 00000000f5f00000, end 00000000f5f1091a ... OK

Starting kernel ...

The kernel (5.3.0-rc5) doesn't quite come up... Time to restore my backup... I will also try mainline kernel with moon.linux's patch.

Edit: here is my boot.txt used to generate boot.scr. If I remember correctly the serial port should be ttyS2 on mainline, instead of ttyFIQ0, right?

Code: Select all

$ cat boot.txt
setenv ethaddr 00:1e:06:ae:d4:2e
setenv bootargs earlyprintk console=ttyS2,115200 root=/dev/mmcblk1p2 net.ifnames=0 biosdevname=0 fsck.mode=auto fsck.repair=yes mitigations=off rootwait ro usb-storage.quirks=0x174c:0x1153:u,0x152d:0x0578:u
load ${devtype} ${devnum} ${kernel_addr_r} /boot/vmlinuz-5.3.0-rc5+
load ${devtype} ${devnum} ${fdt_addr_r} /boot/rk3399-odroidn1.dtb
booti ${kernel_addr_r} - ${fdt_addr_r}


brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by brad » Thu Jan 02, 2020 5:04 pm

mad_ady wrote:
Thu Jan 02, 2020 4:16 pm
Edit: here is my boot.txt used to generate boot.scr. If I remember correctly the serial port should be ttyS2 on mainline, instead of ttyFIQ0, right?
Yes I believe so, I didn't have my files or boot.src set to boot from /boot/ so maybe that is my problem. Still looking for my uart...........

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jan 02, 2020 5:14 pm

Well, my maintenance window is over for now, so no rush.
Will try again with mainline + moon.linux's patch

brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by brad » Thu Jan 02, 2020 5:33 pm

I found my UART - finally!! (had fallen down behind draws)

I see this so maybe a flash problem, ill try again

Code: Select all

U-Boot TPL 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 14:21:49)
Channel 0: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 14:21:49 +1100)
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jan 02, 2020 8:15 pm

New maintenance window (last one for a while) scheduled for tonight. If you want I'll post my built uboot.

brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by brad » Thu Jan 02, 2020 8:46 pm

mad_ady wrote:
Thu Jan 02, 2020 8:15 pm
New maintenance window (last one for a while) scheduled for tonight. If you want I'll post my built uboot.
Thanks ok I got uboot sorted out, now having the same trouble as you booting 5.3, stuck at Starting Kernel..

Im not sure what is wrong im trying to work out if ttyS2 is correct for mainline console.

Edit it appears to be correct based on https://github.com/Owersun/linux-hardke ... n1.dts#L68

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Thu Jan 02, 2020 11:14 pm

@mad_ady and @brad,

You probably need to compile the u-boot + ATF and kernel with additional patches from armbian repository,
it will boot cleanly.

Code: Select all

#make ARCH=arm64 mrproper
make ARCH=arm64 CROSS_COMPILE="aarch64-linux-gnu-" defconfig
make ARCH=arm64 CROSS_COMPILE="aarch64-linux-gnu-" -j$(nproc) LOCALVERSION=-xn1mlu dtbs Image modules
Note : Use the image to boot instead of vmlinux

Once booted to login prompt best approach as of now is the get the board to shutdown correctly as some
sub module like pcie or mmc are not getting clean released, which lead to board stuck in u-boot.

Here is the series of patches for clean shutdown,
[0] https://patchwork.kernel.org/patch/11279249/
[1] https://patchwork.kernel.org/cover/11282445/

Currently I see that ethernet is broken on my Odroid N1, so disable the node as of now, until proper solution is found.
These users thanked the author moon.linux for the post (total 2):
brad (Thu Jan 02, 2020 11:22 pm) • mad_ady (Fri Jan 03, 2020 12:18 am)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Sat Jan 04, 2020 1:18 am

When you say that ethernet is broken, you mean with your current build, not physically broken, right?

Anyway, here are the uboot binaries for those too lazy to build them themselves: https://mega.nz/#F!YhwzVSoL!2QClQMTY48rsTzh12o9q_A

Flash with

Code: Select all

sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64                                                     
sudo dd if=u-boot.itb of=/dev/mmcblk0 seek=16384
sudo dd if=trust.img of=/dev/mmcblk0 seek=24576 conv=notrunc
but before backup the first 16MB of your disk.

Hope to pick it up from here a few weeks later, hopefully with working ethernet...

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Sun Jan 05, 2020 10:32 pm

In the future we need only one single image for build the u-boot binary.
https://patchwork.ozlabs.org/patch/1217531/

User avatar
rooted
Posts: 7752
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 209 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by rooted » Sun Jan 05, 2020 11:24 pm

moon.linux wrote:In the future we need only one single image for build the u-boot binary.
https://patchwork.ozlabs.org/patch/1217531/
Which one of those will work for the N1?

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Sun Jan 05, 2020 11:41 pm

rk3399 should work, though there might be odroid specific things which are still needed.

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Sun May 24, 2020 6:38 am

Mainline Kernel 5.7.0-rc6 is now boot-able on the Odroid-N1. I have been testing for a couple of days on Ubuntu 20.04 on both an eMMC and SDCard and it appears to be stable with most things working.

Code: Select all

U-Boot TPL 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 08:00:46)
Channel 0: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 08:00:46 +0200)
Trying to boot from MMC2
NOTICE:  BL31: v2.2(release):v2.2-270-g86ed8953
NOTICE:  BL31: Built : 08:00:36, Jan  2 2020


U-Boot 2020.01-rc5-00042-g6cb87cbb14-dirty (Jan 02 2020 - 08:02:08 +0200)

Model: Hardkernel ODROID-N1
DRAM:  3.9 GiB
PMIC:  RK808 
MMC:   dwmmc@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: Hardkernel ODROID-N1
Net:   
Error: ethernet@fe300000 address not set.
No ethernet found.

Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3273 bytes read in 15 ms (212.9 KiB/s)
## Executing script at 00500000
27688968 bytes read in 882 ms (29.9 MiB/s)
56300 bytes read in 36 ms (1.5 MiB/s)
11877568 bytes read in 389 ms (29.1 MiB/s)
Booting Debian 5.7.0-rc6+ from mmc 0:1...
## Flattened Device Tree blob at 20000000
   Booting using the fdt blob at 0x20000000
   Loading Ramdisk to f53bc000, end f5f0fcc0 ... OK
   Loading Device Tree to 00000000f53ab000, end 00000000f53bbbeb ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.0-rc6+ (hominoid@odroid-n1) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2), GNU ld (GNU Binutils for Ubuntu) 2.30
[    0.000000] Machine model: Hardkernel ODROID-N1
[    0.000000] cma: Reserved 800 MiB at 0x00000000c3000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77ed100-0xf77eefff]
[    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.1 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 22 pages/cpu s53208 r8192 d28712 u90112
[    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=a977a8c4-0492-48d9-9876-8f53ac858a41 rootwait ro console=ttyS2,115200 cma=800M clk_ignore_unusd
[    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] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3056248K/4061184K available (15934K kernel code, 1440K rwdata, 6036K rodata, 3584K init, 609K bss, 185736K reserved, 81)
[    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=256 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: 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 @f6c80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f6c40000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f6c50000
[    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+0x310/0x4d4 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001342] Console: colour dummy device 80x25
[    0.001469] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001485] pid_max: default: 32768 minimum: 301
[    0.001637] LSM: Security Framework initializing
[    0.001695] SELinux:  Initializing.
[    0.001852] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001885] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004424] rcu: Hierarchical SRCU implementation.
[    0.007117] Platform MSI: interrupt-controller@fee20000 domain created
[    0.007527] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.010063] smp: Bringing up secondary CPUs ...
[    0.010745] Detected VIPT I-cache on CPU1
[    0.010782] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.010798] GICv3: CPU1: using allocated LPI pending table @0x00000000f6c60000
[    0.010850] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.011623] Detected VIPT I-cache on CPU2
[    0.011654] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.011667] GICv3: CPU2: using allocated LPI pending table @0x00000000f6c70000
[    0.011701] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.012431] Detected VIPT I-cache on CPU3
[    0.012460] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.012473] GICv3: CPU3: using allocated LPI pending table @0x00000000f6d00000
[    0.012504] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013206] CPU features: detected: EL2 vector hardening
[    0.013215] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.013222] CPU features: detected: ARM erratum 1319367
[    0.013228] Detected PIPT I-cache on CPU4
[    0.013259] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.013273] GICv3: CPU4: using allocated LPI pending table @0x00000000f6d10000
[    0.013309] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.014062] Detected PIPT I-cache on CPU5
[    0.014087] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.014099] GICv3: CPU5: using allocated LPI pending table @0x00000000f6d20000
[    0.014126] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.014240] smp: Brought up 1 node, 6 CPUs
[    0.014318] SMP: Total of 6 processors activated.
[    0.014329] CPU features: detected: 32-bit EL0 Support
[    0.014340] CPU features: detected: CRC32 instructions
[    0.040077] CPU: All CPU(s) started at EL2
[    0.040132] alternatives: patching kernel code
[    0.043249] devtmpfs: initialized
[    0.054319] Registered cp15_barrier emulation handler
[    0.054341] Registered setend emulation handler
[    0.054354] KASLR disabled due to lack of seed
[    0.054747] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.054767] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.070172] xor: measuring software checksum speed
[    0.108005]    8regs     :  2344.000 MB/sec
[    0.148072]    32regs    :  2756.000 MB/sec
[    0.188146]    arm64_neon:  2432.000 MB/sec
[    0.188154] xor: using function: 32regs (2756.000 MB/sec)
[    0.188168] pinctrl core: initialized pinctrl subsystem
[    0.189612] thermal_sys: Registered thermal governor 'fair_share'
[    0.189616] thermal_sys: Registered thermal governor 'bang_bang'
[    0.189626] thermal_sys: Registered thermal governor 'step_wise'
[    0.189633] thermal_sys: Registered thermal governor 'user_space'
[    0.190805] NET: Registered protocol family 16
[    0.193127] DMA: preallocated 256 KiB pool for atomic allocations
[    0.193143] audit: initializing netlink subsys (disabled)
[    0.193334] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
[    0.194979] cpuidle: using governor menu
[    0.195453] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.195653] ASID allocator initialised with 65536 entries
[    0.196650] Serial: AMBA PL011 UART driver
[    0.240293] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.240307] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.240318] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.240327] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.246244] cryptd: max_cpu_qlen set to 1000
[    0.328560] raid6: neonx8   gen()  1698 MB/s
[    0.396672] raid6: neonx8   xor()  1266 MB/s
[    0.464795] raid6: neonx4   gen()  1715 MB/s
[    0.532910] raid6: neonx4   xor()  1307 MB/s
[    0.601024] raid6: neonx2   gen()  1528 MB/s
[    0.669153] raid6: neonx2   xor()  1207 MB/s
[    0.737261] raid6: neonx1   gen()  1190 MB/s
[    0.805389] raid6: neonx1   xor()   964 MB/s
[    0.873546] raid6: int64x8  gen()   990 MB/s
[    0.941649] raid6: int64x8  xor()   582 MB/s
[    1.009757] raid6: int64x4  gen()   986 MB/s
[    1.077877] raid6: int64x4  xor()   592 MB/s
[    1.146008] raid6: int64x2  gen()   923 MB/s
[    1.214112] raid6: int64x2  xor()   525 MB/s
[    1.282251] raid6: int64x1  gen()   728 MB/s
[    1.350356] raid6: int64x1  xor()   390 MB/s
[    1.350364] raid6: using algorithm neonx4 gen() 1715 MB/s
[    1.350371] raid6: .... xor() 1307 MB/s, rmw enabled
[    1.350378] raid6: using neon recovery algorithm
[    1.351665] vcc5v0_sys: supplied by vcc12v_dcin
[    1.351955] vcc3v3_sys: supplied by vcc12v_dcin
[    1.352372] vcc3v0_vdd: supplied by vcc3v3_sys
[    1.352972] vcca1v8_s3: supplied by vcc3v3_sys
[    1.353513] vcc_0v9: supplied by vcc3v3_sys
[    1.354010] vcc5v0_host: supplied by vcc5v0_sys
[    1.354428] vcc5v0_host31: supplied by vcc5v0_sys
[    1.354834] vcc5v0_host32: supplied by vcc5v0_sys
[    1.355718] iommu: Default domain type: Translated 
[    1.358839] vgaarb: loaded
[    1.359220] SCSI subsystem initialized
[    1.359578] usbcore: registered new interface driver usbfs
[    1.359631] usbcore: registered new interface driver hub
[    1.359768] usbcore: registered new device driver usb
[    1.360406] pps_core: LinuxPPS API ver. 1 registered
[    1.360414] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.360436] PTP clock support registered
[    1.360681] EDAC MC: Ver: 3.0.0
[    1.361649] Advanced Linux Sound Architecture Driver Initialized.
[    1.362573] clocksource: Switched to clocksource arch_sys_counter
[    1.362798] VFS: Disk quotas dquot_6.6.0
[    1.362865] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.372691] NET: Registered protocol family 2
[    1.373210] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.373293] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.373641] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.374308] TCP: Hash tables configured (established 32768 bind 32768)
[    1.374443] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.374615] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.374929] NET: Registered protocol family 1
[    1.375484] RPC: Registered named UNIX socket transport module.
[    1.375493] RPC: Registered udp transport module.
[    1.375500] RPC: Registered tcp transport module.
[    1.375506] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.375520] PCI: CLS 0 bytes, default 64
[    1.375699] Trying to unpack rootfs image as initramfs...
[    1.554226] Freeing initrd memory: 11596K
[    1.555171] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.555523] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.556098] kvm [1]: IPA Size Limit: 40bits
[    1.556853] kvm [1]: vgic-v2@fff20000
[    1.556886] kvm [1]: GIC system register CPU interface enabled
[    1.557080] kvm [1]: vgic interrupt IRQ10
[    1.557308] kvm [1]: Hyp mode initialized successfully
[    1.953428] Initialise system trusted keyrings
[    1.953641] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    1.965640] zbud: loaded
[    1.968272] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.969760] NFS: Registering the id_resolver key type
[    1.969797] Key type id_resolver registered
[    1.969805] Key type id_legacy registered
[    1.969823] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.969832] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.971967] JFS: nTxBlock = 8192, nTxLock = 65536
[    1.977773] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    1.980824] ocfs2: Registered cluster interface o2cb
[    1.981148] OCFS2 User DLM kernel interface loaded
[    1.984034] gfs2: GFS2 installed
[    2.020692] Key type asymmetric registered
[    2.020704] Asymmetric key parser 'x509' registered
[    2.020760] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.021002] io scheduler mq-deadline registered
[    2.021012] io scheduler kyber registered
[    2.021187] io scheduler bfq registered
[    2.033766] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.033793] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    2.038942] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.038958] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    2.040464] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.040479] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.046870] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.048986] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[    2.049800] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    3.442623] printk: console [ttyS2] enabled
[    3.448441] Serial: AMBA driver
[    3.453765] rockchip-vop ff8f0000.vop: Adding to iommu group 3
[    3.460840] rockchip-vop ff900000.vop: Adding to iommu group 4
[    3.471695] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    3.482427] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    3.492206] panfrost ff9a0000.gpu: clock rate = 500000000
[    3.498290] panfrost ff9a0000.gpu: failed to get regulators: -517
[    3.505113] panfrost ff9a0000.gpu: regulator init failed -517
[    3.511971] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.523061] brd: module loaded
[    3.532093] loop: module loaded
[    3.538132] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    3.547400] libphy: Fixed MDIO Bus: probed
[    3.552525] tun: Universal TUN/TAP device driver, 1.6
[    3.559462] thunder_xcv, ver 1.0
[    3.563129] thunder_bgx, ver 1.0
[    3.566785] nicpf, ver 1.0
[    3.570638] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.577166] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.583834] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    3.591624] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.597909] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.606671] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.613517] sky2: driver version 1.30
[    3.618605] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.626013] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.633031] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.639790] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.650270] usbcore: registered new interface driver cdc_ether
[    3.656857] usbcore: registered new interface driver cdc_subset
[    3.663716] VFIO - User Level meta-driver version: 0.3
[    3.682599] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.689922] ehci-pci: EHCI PCI platform driver
[    3.694943] ehci-platform: EHCI generic platform driver
[    3.703011] ehci-platform fe380000.usb: EHCI Host Controller
[    3.709372] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    3.718257] ehci-platform fe380000.usb: irq 30, io mem 0xfe380000
[    3.738599] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    3.745715] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.754971] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.763056] usb usb1: Product: EHCI Host Controller
[    3.768517] usb usb1: Manufacturer: Linux 5.7.0-rc6+ ehci_hcd
[    3.774977] usb usb1: SerialNumber: fe380000.usb
[    3.780737] hub 1-0:1.0: USB hub found
[    3.784971] hub 1-0:1.0: 1 port detected
[    3.791937] ehci-platform fe3c0000.usb: EHCI Host Controller
[    3.798296] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    3.807169] ehci-platform fe3c0000.usb: irq 32, io mem 0xfe3c0000
[    3.826597] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    3.833708] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.842964] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.851048] usb usb2: Product: EHCI Host Controller
[    3.856508] usb usb2: Manufacturer: Linux 5.7.0-rc6+ ehci_hcd
[    3.862939] usb usb2: SerialNumber: fe3c0000.usb
[    3.868581] hub 2-0:1.0: USB hub found
[    3.872817] hub 2-0:1.0: 1 port detected
[    3.877810] ehci-exynos: EHCI Exynos driver
[    3.882704] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.889626] ohci-pci: OHCI PCI platform driver
[    3.894659] ohci-platform: OHCI generic platform driver
[    3.900680] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    3.908199] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    3.917058] ohci-platform fe3a0000.usb: irq 31, io mem 0xfe3a0000
[    3.986759] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    3.996014] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.004101] usb usb3: Product: Generic Platform OHCI controller
[    4.010729] usb usb3: Manufacturer: Linux 5.7.0-rc6+ ohci_hcd
[    4.017163] usb usb3: SerialNumber: fe3a0000.usb
[    4.022900] hub 3-0:1.0: USB hub found
[    4.027145] hub 3-0:1.0: 1 port detected
[    4.032018] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    4.039541] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    4.048407] ohci-platform fe3e0000.usb: irq 33, io mem 0xfe3e0000
[    4.118835] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.128094] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.136184] usb usb4: Product: Generic Platform OHCI controller
[    4.142815] usb usb4: Manufacturer: Linux 5.7.0-rc6+ ohci_hcd
[    4.149247] usb usb4: SerialNumber: fe3e0000.usb
[    4.154908] hub 4-0:1.0: USB hub found
[    4.159141] hub 4-0:1.0: 1 port detected
[    4.164093] ohci-exynos: OHCI Exynos driver
[    4.169550] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.175704] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    4.184425] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.194979] xhci-hcd xhci-hcd.0.auto: irq 229, io mem 0xfe800000
[    4.202034] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.211287] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.219372] usb usb5: Product: xHCI Host Controller
[    4.224832] usb usb5: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.231264] usb usb5: SerialNumber: xhci-hcd.0.auto
[    4.237216] hub 5-0:1.0: USB hub found
[    4.241460] hub 5-0:1.0: 1 port detected
[    4.246177] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.252338] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    4.260908] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.268273] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.277439] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.286693] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.294775] usb usb6: Product: xHCI Host Controller
[    4.300234] usb usb6: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.306665] usb usb6: SerialNumber: xhci-hcd.0.auto
[    4.312608] hub 6-0:1.0: USB hub found
[    4.316840] hub 6-0:1.0: 1 port detected
[    4.321715] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.327875] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    4.336566] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.347126] xhci-hcd xhci-hcd.1.auto: irq 230, io mem 0xfe900000
[    4.354177] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.363438] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.371531] usb usb7: Product: xHCI Host Controller
[    4.376991] usb usb7: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.383422] usb usb7: SerialNumber: xhci-hcd.1.auto
[    4.389377] hub 7-0:1.0: USB hub found
[    4.393618] hub 7-0:1.0: 1 port detected
[    4.398316] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.404472] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    4.413051] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.420414] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.429582] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.438835] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.446918] usb usb8: Product: xHCI Host Controller
[    4.452379] usb usb8: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.458810] usb usb8: SerialNumber: xhci-hcd.1.auto
[    4.464750] hub 8-0:1.0: USB hub found
[    4.468981] hub 8-0:1.0: 1 port detected
[    4.473881] usbcore: registered new interface driver usb-storage
[    4.483258] mousedev: PS/2 mouse device common for all mice
[    4.489740] usbcore: registered new interface driver dwav_usb_mt
[    4.497222] i2c /dev entries driver
[    4.504038] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    4.511789] fan53555-reg: supplied by vcc3v3_sys
[    4.518967] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    4.526698] fan53555-reg: supplied by vcc3v3_sys
[    4.533878] rk808 0-001b: chip id: 0x0
[    4.542228] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    4.549181] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    4.556152] DCDC_REG1: supplied by vcc3v3_sys
[    4.561895] DCDC_REG2: supplied by vcc3v3_sys
[    4.567308] DCDC_REG3: supplied by vcc3v3_sys
[    4.572456] DCDC_REG4: supplied by vcc3v3_sys
[    4.577935] LDO_REG1: supplied by vcc3v3_sys
[    4.583944] LDO_REG2: supplied by vcc3v3_sys
[    4.589669] LDO_REG3: supplied by vcc3v3_sys
[    4.595586] LDO_REG4: supplied by vcc3v3_sys
[    4.601576] LDO_REG5: supplied by vcc3v3_sys
[    4.607298] LDO_REG6: supplied by vcc3v3_sys
[    4.613192] LDO_REG7: supplied by vcc3v3_sys
[    4.618937] LDO_REG8: supplied by vcc3v3_sys
[    4.624832] SWITCH_REG1: supplied by vcc3v3_sys
[    4.630213] SWITCH_REG2: supplied by vcc3v3_sys
[    4.646327] sdhci: Secure Digital Host Controller Interface driver
[    4.653240] sdhci: Copyright(c) Pierre Ossman
[    4.658186] Synopsys Designware Multimedia Card Interface Driver
[    4.665554] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    4.673445] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    4.680840] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    4.687087] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.697930] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    4.714645] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.738599] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.745390] sdhci-arasan fe330000.sdhci: Got CD GPIO
[    4.751074] mmc1: CQHCI version 5.10
[    4.779354] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    4.788948] ledtrig-cpu: registered to indicate activity on CPUs
[    4.796199] hid: raw HID events driver (C) Jiri Kosina
[    4.802387] usbcore: registered new interface driver usbhid
[    4.808687] usbhid: USB HID core driver
[    4.816179] NET: Registered protocol family 10
[    4.821527] Segment Routing with IPv6
[    4.825661] NET: Registered protocol family 17
[    4.830669] NET: Registered protocol family 15
[    4.835783] 8021q: 802.1Q VLAN Support v1.8
[    4.840476] Key type dns_resolver registered
[    4.845498] registered taskstats version 1
[    4.850089] Loading compiled-in X.509 certificates
[    4.855509] zswap: loaded using pool lzo/zbud
[    4.860527] Key type ._fscrypt registered
[    4.865020] Key type .fscrypt registered
[    4.869409] Key type fscrypt-provisioning registered
[    4.869782] random: fast init done
[    4.875468] Btrfs loaded, crc32c=crc32c-generic
[    4.897450] Key type encrypted registered
[    4.918175] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    4.925308] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    4.932499] vcca0v9_s3: supplied by vcc_1v8
[    4.938535] mmc1: mmc_select_hs400es failed, error -110
[    4.944390] mmc1: error -110 whilst initialising MMC card
[    5.001208] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    5.009013] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    5.018499] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    5.028138] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    5.035540] pci_bus 0000:00: root bus resource [bus 00-1f]
[    5.041702] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    5.049395] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    5.060116] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    5.066912] pci 0000:00:00.0: supports D1
[    5.071399] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    5.079382] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.088445] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185
[    5.095242] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.103122] pci 0000:01:00.0: reg 0x10: [io  size 0x0008]
[    5.109184] pci 0000:01:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.117075] pci 0000:01:00.0: reg 0x14: [io  size 0x0004]
[    5.123140] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.131031] pci 0000:01:00.0: reg 0x18: [io  size 0x0008]
[    5.137087] pci 0000:01:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    5.144975] pci 0000:01:00.0: reg 0x1c: [io  size 0x0004]
[    5.151038] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.158944] pci 0000:01:00.0: reg 0x20: [io  size 0x0010]
[    5.165010] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    5.172072] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    5.179597] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 512)
[    5.188522] mmc1: mmc_select_hs400es failed, error -110
[    5.194363] mmc1: error -110 whilst initialising MMC card
[    5.201831] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    5.209237] pci 0000:00:00.0: BAR 14: assigned [mem 0xfa000000-0xfa0fffff]
[    5.216932] pci 0000:01:00.0: BAR 6: assigned [mem 0xfa000000-0xfa00ffff pref]
[    5.225007] pci 0000:01:00.0: BAR 5: assigned [mem 0xfa010000-0xfa0101ff]
[    5.232657] pci 0000:01:00.0: BAR 4: no space for [io  size 0x0010]
[    5.239662] pci 0000:01:00.0: BAR 4: failed to assign [io  size 0x0010]
[    5.247064] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0008]
[    5.254076] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0008]
[    5.261502] pci 0000:01:00.0: BAR 2: no space for [io  size 0x0008]
[    5.268513] pci 0000:01:00.0: BAR 2: failed to assign [io  size 0x0008]
[    5.275910] pci 0000:01:00.0: BAR 1: no space for [io  size 0x0004]
[    5.282945] pci 0000:01:00.0: BAR 1: failed to assign [io  size 0x0004]
[    5.290344] pci 0000:01:00.0: BAR 3: no space for [io  size 0x0004]
[    5.297356] pci 0000:01:00.0: BAR 3: failed to assign [io  size 0x0004]
[    5.304756] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.310311] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    5.320395] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    5.330817] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    5.339751] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    5.351370] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    5.360619] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.368041] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    5.376944] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    5.386081] panfrost ff9a0000.gpu: clock rate = 500000000
[    5.392472] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    5.401164] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    5.410318] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    5.423544] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    5.432815] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    5.441613] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    5.449023] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    5.455987] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    5.462807] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    5.470710] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    5.477052] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    5.483379] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    5.490299] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    5.498078] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    5.509970] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    5.516593] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    5.524637] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
[    5.530485] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    5.538856] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    5.547226] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    5.553068] mmc1: mmc_select_hs400es failed, error -110
[    5.558909] mmc1: error -110 whilst initialising MMC card
[    5.564942] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    5.572820] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    5.580068] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    5.586693] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    5.593209] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    5.698073] libphy: stmmac: probed
[    5.701885] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    5.715882] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    5.731351] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.739643] clk: Not disabling unused clocks
[    5.744412] ALSA device list:
[    5.747724]   No soundcards found.
[    5.751649] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    5.759080] mmc1: Command Queue Engine enabled
[    5.760288] Freeing unused kernel memory: 3584K
[    5.764057] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    5.776692] mmcblk1: mmc1:0001 AJNB4R 14.6 GiB 
[    5.781841] mmcblk1boot0: mmc1:0001 AJNB4R partition 1 4.00 MiB
[    5.788529] mmcblk1boot1: mmc1:0001 AJNB4R partition 2 4.00 MiB
[    5.795626] mmcblk1rpmb: mmc1:0001 AJNB4R partition 3 4.00 MiB, chardev (241:0)
[    5.805135]  mmcblk1: p1 p2
[    5.814788] Run /init as init process
Loading, please wait...
Starting version 245.4-4ubuntu3
[    6.006956] input: adc-keys as /devices/platform/adc-keys/input/input1
[    6.066232] rk808-rtc rk808-rtc: registered as rtc0
[    6.072725] rk808-rtc rk808-rtc: setting system clock to 2020-05-22T16:54:35 UTC (1590166475)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[    6.198796] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    6.398701] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.32:  No such file or directory
[    6.472523] systemd[1]: systemd 245.4-4ubuntu3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYP)
[    6.498059] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 20.04 LTS!

[    6.535274] systemd[1]: Set hostname to <odroid-n1>.
[    6.714910] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/.
[    6.785755] random: systemd: uninitialized urandom read (16 bytes read)
[    6.794732] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    6.818898] random: systemd: uninitialized urandom read (16 bytes read)
[    6.826943] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.850899] random: systemd: uninitialized urandom read (16 bytes read)
[    6.858876] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.883062] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password ��…ts to Console Directory Watch.
[    6.907042] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R��…uests to Wall Directory Watch.
[    6.931321] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary��…s File System Automount Point.
[    6.958994] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    6.982895] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    6.998863] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.022857] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    7.038865] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    7.055137] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.071040] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.095284] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    7.119105] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.143147] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.159222] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    7.183155] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.207074] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.233086] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    7.252856] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.276853] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.295000] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.307379] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    7.325234] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    7.354410] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st��…odes for the current kernel...
[    7.378749] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    7.389060] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    7.404173] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    7.422080] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    7.439208] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[    7.454043] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    7.473855] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[    7.495479] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    7.519519] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    7.544145] systemd[1]: Finished Set the console keyboard layout.
[  OK  ] Finished Set the console keyboard layout.
[    7.568280] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st��… nodes for the current kernel.
[    7.596251] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[    7.612075] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[    7.641137] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    7.653376] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    7.679662] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    7.689651] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    7.702343] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    7.720894] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Started Journal Service.
[  OK  ] Finished udev Coldplug all Devices.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Apply Kernel Variables.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Network Service...
[  OK  ] Found device /dev/ttyS2.
[  OK  ] Found device /dev/disk/by-��…1-3323-426e-9e7b-1e9dd07800c1.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Create Volatile Files and Directories.
[  OK  ] Started Network Service.
[  OK  ] Reached target Sound Card.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli��…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Onli��…t4 Metadata Check Snapshots...
         Starting LSB: Load kernel ��…d to enable cpufreq scaling...
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting System Logging Service...
         Starting Login Service...
         Starting Ubuntu Advantage auto attach...
[  OK  ] Started Network Name Resolution.
[  OK  ] Finished Remove Stale Onli��…ext4 Metadata Check Snapshots.
[  OK  ] Started System Logging Service.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting /etc/rc.local Compatibility...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS2.
         Starting Set console scheme...
[  OK  ] Started LSB: Load kernel m��…ded to enable cpufreq scaling.
[  OK  ] Finished Set console scheme.
[  OK  ] Created slice system-getty.slice.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Login Service.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started OpenBSD Secure Shell server.
[FAILED] Failed to start Ubuntu Advantage auto attach.
See 'systemctl status ua-auto-attach.service' for details.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

Ubuntu 20.04 LTS odroid-n1 ttyS2

odroid-n1 login: 
Dmesg is relatively clean with the following notable exceptions:

[ 3.484816] panfrost ff9a0000.gpu: failed to get regulators: -517
[ 3.491640] panfrost ff9a0000.gpu: regulator init failed -517

[ 4.972345] mmc1: mmc_select_hs400es failed, error -110
[ 4.978193] mmc1: error -110 whilst initialising MMC card

Code: Select all

Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.7.0-rc6+ aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
 _   _               _ _                        _ 
| | | | __ _ _ __ __| | | _____ _ __ _ __   ___| |
| |_| |/ _` | '__/ _` | |/ / _ \ '__| '_ \ / _ \ |
|  _  | (_| | | | (_| |   <  __/ |  | | | |  __/ |
|_| |_|\__,_|_|  \__,_|_|\_\___|_|  |_| |_|\___|_|
                                                  
  ___  ____  ____   ___ ___ ____        _   _ _ 
 / _ \|  _ \|  _ \ / _ \_ _|  _ \      | \ | / |
| | | | | | | |_) | | | | || | | |_____|  \| | |
| |_| | |_| |  _ <| |_| | || |_| |_____| |\  | |
 \___/|____/|_| \_\\___/___|____/      |_| \_|_|
                                                

Welcome to Ubuntu 20.04 LTS
Friday, 22 May 2020, 12:57:45 PM
Up time:     0 days, 00:03:16
Free memory: 3695464 / 3890628 kB
IP:          192.168.0.108


[!] Please visit 'https://launchpad.net/odroid-image' to report a bug
Last login: Fri May 22 11:35:48 2020 from 192.168.0.103

hominoid@odroid-n1:~$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.0-rc6+ (hominoid@odroid-n1) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2), GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP PREEMPT Fri May 22 11:25:45 EDT 2020
[    0.000000] Machine model: Hardkernel ODROID-N1
[    0.000000] cma: Reserved 800 MiB at 0x00000000c3000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77ed100-0xf77eefff]
[    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] On node 0 totalpages: 1015296
[    0.000000]   DMA zone: 4088 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261632 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 11776 pages used for memmap
[    0.000000]   DMA32 zone: 753664 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 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 22 pages/cpu s53208 r8192 d28712 u90112
[    0.000000] pcpu-alloc: s53208 r8192 d28712 u90112 alloc=22*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: 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=a977a8c4-0492-48d9-9876-8f53ac858a41 rootwait ro console=ttyS2,115200 cma=800M clk_ignore_unused
[    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] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3056248K/4061184K available (15934K kernel code, 1440K rwdata, 6036K rodata, 3584K init, 609K bss, 185736K reserved, 819200K 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=256 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: 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 @f6c80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f6c40000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f6c50000
[    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+0x310/0x4d4 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001342] Console: colour dummy device 80x25
[    0.001469] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001485] pid_max: default: 32768 minimum: 301
[    0.001637] LSM: Security Framework initializing
[    0.001695] SELinux:  Initializing.
[    0.001852] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001885] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004424] rcu: Hierarchical SRCU implementation.
[    0.007117] Platform MSI: interrupt-controller@fee20000 domain created
[    0.007527] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.010063] smp: Bringing up secondary CPUs ...
[    0.010745] Detected VIPT I-cache on CPU1
[    0.010782] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.010798] GICv3: CPU1: using allocated LPI pending table @0x00000000f6c60000
[    0.010850] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.011623] Detected VIPT I-cache on CPU2
[    0.011654] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.011667] GICv3: CPU2: using allocated LPI pending table @0x00000000f6c70000
[    0.011701] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.012431] Detected VIPT I-cache on CPU3
[    0.012460] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.012473] GICv3: CPU3: using allocated LPI pending table @0x00000000f6d00000
[    0.012504] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013206] CPU features: detected: EL2 vector hardening
[    0.013215] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.013222] CPU features: detected: ARM erratum 1319367
[    0.013228] Detected PIPT I-cache on CPU4
[    0.013259] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.013273] GICv3: CPU4: using allocated LPI pending table @0x00000000f6d10000
[    0.013309] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.014062] Detected PIPT I-cache on CPU5
[    0.014087] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.014099] GICv3: CPU5: using allocated LPI pending table @0x00000000f6d20000
[    0.014126] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.014240] smp: Brought up 1 node, 6 CPUs
[    0.014318] SMP: Total of 6 processors activated.
[    0.014329] CPU features: detected: 32-bit EL0 Support
[    0.014340] CPU features: detected: CRC32 instructions
[    0.040077] CPU: All CPU(s) started at EL2
[    0.040132] alternatives: patching kernel code
[    0.043249] devtmpfs: initialized
[    0.054319] Registered cp15_barrier emulation handler
[    0.054341] Registered setend emulation handler
[    0.054354] KASLR disabled due to lack of seed
[    0.054747] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.054767] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.070172] xor: measuring software checksum speed
[    0.108005]    8regs     :  2344.000 MB/sec
[    0.148072]    32regs    :  2756.000 MB/sec
[    0.188146]    arm64_neon:  2432.000 MB/sec
[    0.188154] xor: using function: 32regs (2756.000 MB/sec)
[    0.188168] pinctrl core: initialized pinctrl subsystem
[    0.189612] thermal_sys: Registered thermal governor 'fair_share'
[    0.189616] thermal_sys: Registered thermal governor 'bang_bang'
[    0.189626] thermal_sys: Registered thermal governor 'step_wise'
[    0.189633] thermal_sys: Registered thermal governor 'user_space'
[    0.190805] NET: Registered protocol family 16
[    0.193127] DMA: preallocated 256 KiB pool for atomic allocations
[    0.193143] audit: initializing netlink subsys (disabled)
[    0.193334] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
[    0.194979] cpuidle: using governor menu
[    0.195453] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.195653] ASID allocator initialised with 65536 entries
[    0.196650] Serial: AMBA PL011 UART driver
[    0.240293] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.240307] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.240318] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.240327] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.246244] cryptd: max_cpu_qlen set to 1000
[    0.328560] raid6: neonx8   gen()  1698 MB/s
[    0.396672] raid6: neonx8   xor()  1266 MB/s
[    0.464795] raid6: neonx4   gen()  1715 MB/s
[    0.532910] raid6: neonx4   xor()  1307 MB/s
[    0.601024] raid6: neonx2   gen()  1528 MB/s
[    0.669153] raid6: neonx2   xor()  1207 MB/s
[    0.737261] raid6: neonx1   gen()  1190 MB/s
[    0.805389] raid6: neonx1   xor()   964 MB/s
[    0.873546] raid6: int64x8  gen()   990 MB/s
[    0.941649] raid6: int64x8  xor()   582 MB/s
[    1.009757] raid6: int64x4  gen()   986 MB/s
[    1.077877] raid6: int64x4  xor()   592 MB/s
[    1.146008] raid6: int64x2  gen()   923 MB/s
[    1.214112] raid6: int64x2  xor()   525 MB/s
[    1.282251] raid6: int64x1  gen()   728 MB/s
[    1.350356] raid6: int64x1  xor()   390 MB/s
[    1.350364] raid6: using algorithm neonx4 gen() 1715 MB/s
[    1.350371] raid6: .... xor() 1307 MB/s, rmw enabled
[    1.350378] raid6: using neon recovery algorithm
[    1.351665] vcc5v0_sys: supplied by vcc12v_dcin
[    1.351955] vcc3v3_sys: supplied by vcc12v_dcin
[    1.352372] vcc3v0_vdd: supplied by vcc3v3_sys
[    1.352972] vcca1v8_s3: supplied by vcc3v3_sys
[    1.353513] vcc_0v9: supplied by vcc3v3_sys
[    1.354010] vcc5v0_host: supplied by vcc5v0_sys
[    1.354428] vcc5v0_host31: supplied by vcc5v0_sys
[    1.354834] vcc5v0_host32: supplied by vcc5v0_sys
[    1.355718] iommu: Default domain type: Translated 
[    1.358839] vgaarb: loaded
[    1.359220] SCSI subsystem initialized
[    1.359578] usbcore: registered new interface driver usbfs
[    1.359631] usbcore: registered new interface driver hub
[    1.359768] usbcore: registered new device driver usb
[    1.360406] pps_core: LinuxPPS API ver. 1 registered
[    1.360414] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.360436] PTP clock support registered
[    1.360681] EDAC MC: Ver: 3.0.0
[    1.361649] Advanced Linux Sound Architecture Driver Initialized.
[    1.362573] clocksource: Switched to clocksource arch_sys_counter
[    1.362798] VFS: Disk quotas dquot_6.6.0
[    1.362865] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.372691] NET: Registered protocol family 2
[    1.373210] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.373293] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.373641] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.374308] TCP: Hash tables configured (established 32768 bind 32768)
[    1.374443] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.374615] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.374929] NET: Registered protocol family 1
[    1.375484] RPC: Registered named UNIX socket transport module.
[    1.375493] RPC: Registered udp transport module.
[    1.375500] RPC: Registered tcp transport module.
[    1.375506] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.375520] PCI: CLS 0 bytes, default 64
[    1.375699] Trying to unpack rootfs image as initramfs...
[    1.554226] Freeing initrd memory: 11596K
[    1.555171] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.555523] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.556098] kvm [1]: IPA Size Limit: 40bits
[    1.556853] kvm [1]: vgic-v2@fff20000
[    1.556886] kvm [1]: GIC system register CPU interface enabled
[    1.557080] kvm [1]: vgic interrupt IRQ10
[    1.557308] kvm [1]: Hyp mode initialized successfully
[    1.953428] Initialise system trusted keyrings
[    1.953641] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    1.965640] zbud: loaded
[    1.968272] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.969760] NFS: Registering the id_resolver key type
[    1.969797] Key type id_resolver registered
[    1.969805] Key type id_legacy registered
[    1.969823] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.969832] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.971967] JFS: nTxBlock = 8192, nTxLock = 65536
[    1.977773] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    1.980824] ocfs2: Registered cluster interface o2cb
[    1.981148] OCFS2 User DLM kernel interface loaded
[    1.984034] gfs2: GFS2 installed
[    2.020692] Key type asymmetric registered
[    2.020704] Asymmetric key parser 'x509' registered
[    2.020760] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.021002] io scheduler mq-deadline registered
[    2.021012] io scheduler kyber registered
[    2.021187] io scheduler bfq registered
[    2.033766] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.033793] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    2.038942] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.038958] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    2.040464] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.040479] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.046870] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.048986] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[    2.049800] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    3.442623] printk: console [ttyS2] enabled
[    3.448441] Serial: AMBA driver
[    3.453765] rockchip-vop ff8f0000.vop: Adding to iommu group 3
[    3.460840] rockchip-vop ff900000.vop: Adding to iommu group 4
[    3.471695] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    3.482427] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    3.492206] panfrost ff9a0000.gpu: clock rate = 500000000
[    3.498290] panfrost ff9a0000.gpu: failed to get regulators: -517
[    3.505113] panfrost ff9a0000.gpu: regulator init failed -517
[    3.511971] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.523061] brd: module loaded
[    3.532093] loop: module loaded
[    3.538132] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    3.547400] libphy: Fixed MDIO Bus: probed
[    3.552525] tun: Universal TUN/TAP device driver, 1.6
[    3.559462] thunder_xcv, ver 1.0
[    3.563129] thunder_bgx, ver 1.0
[    3.566785] nicpf, ver 1.0
[    3.570638] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.577166] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.583834] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    3.591624] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.597909] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.606671] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.613517] sky2: driver version 1.30
[    3.618605] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.626013] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.633031] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.639790] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.650270] usbcore: registered new interface driver cdc_ether
[    3.656857] usbcore: registered new interface driver cdc_subset
[    3.663716] VFIO - User Level meta-driver version: 0.3
[    3.682599] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.689922] ehci-pci: EHCI PCI platform driver
[    3.694943] ehci-platform: EHCI generic platform driver
[    3.703011] ehci-platform fe380000.usb: EHCI Host Controller
[    3.709372] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    3.718257] ehci-platform fe380000.usb: irq 30, io mem 0xfe380000
[    3.738599] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    3.745715] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.754971] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.763056] usb usb1: Product: EHCI Host Controller
[    3.768517] usb usb1: Manufacturer: Linux 5.7.0-rc6+ ehci_hcd
[    3.774977] usb usb1: SerialNumber: fe380000.usb
[    3.780737] hub 1-0:1.0: USB hub found
[    3.784971] hub 1-0:1.0: 1 port detected
[    3.791937] ehci-platform fe3c0000.usb: EHCI Host Controller
[    3.798296] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    3.807169] ehci-platform fe3c0000.usb: irq 32, io mem 0xfe3c0000
[    3.826597] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    3.833708] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.842964] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.851048] usb usb2: Product: EHCI Host Controller
[    3.856508] usb usb2: Manufacturer: Linux 5.7.0-rc6+ ehci_hcd
[    3.862939] usb usb2: SerialNumber: fe3c0000.usb
[    3.868581] hub 2-0:1.0: USB hub found
[    3.872817] hub 2-0:1.0: 1 port detected
[    3.877810] ehci-exynos: EHCI Exynos driver
[    3.882704] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.889626] ohci-pci: OHCI PCI platform driver
[    3.894659] ohci-platform: OHCI generic platform driver
[    3.900680] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    3.908199] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    3.917058] ohci-platform fe3a0000.usb: irq 31, io mem 0xfe3a0000
[    3.986759] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    3.996014] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.004101] usb usb3: Product: Generic Platform OHCI controller
[    4.010729] usb usb3: Manufacturer: Linux 5.7.0-rc6+ ohci_hcd
[    4.017163] usb usb3: SerialNumber: fe3a0000.usb
[    4.022900] hub 3-0:1.0: USB hub found
[    4.027145] hub 3-0:1.0: 1 port detected
[    4.032018] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    4.039541] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    4.048407] ohci-platform fe3e0000.usb: irq 33, io mem 0xfe3e0000
[    4.118835] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.128094] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.136184] usb usb4: Product: Generic Platform OHCI controller
[    4.142815] usb usb4: Manufacturer: Linux 5.7.0-rc6+ ohci_hcd
[    4.149247] usb usb4: SerialNumber: fe3e0000.usb
[    4.154908] hub 4-0:1.0: USB hub found
[    4.159141] hub 4-0:1.0: 1 port detected
[    4.164093] ohci-exynos: OHCI Exynos driver
[    4.169550] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.175704] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    4.184425] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.194979] xhci-hcd xhci-hcd.0.auto: irq 229, io mem 0xfe800000
[    4.202034] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.211287] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.219372] usb usb5: Product: xHCI Host Controller
[    4.224832] usb usb5: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.231264] usb usb5: SerialNumber: xhci-hcd.0.auto
[    4.237216] hub 5-0:1.0: USB hub found
[    4.241460] hub 5-0:1.0: 1 port detected
[    4.246177] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.252338] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    4.260908] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.268273] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.277439] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.286693] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.294775] usb usb6: Product: xHCI Host Controller
[    4.300234] usb usb6: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.306665] usb usb6: SerialNumber: xhci-hcd.0.auto
[    4.312608] hub 6-0:1.0: USB hub found
[    4.316840] hub 6-0:1.0: 1 port detected
[    4.321715] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.327875] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    4.336566] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.347126] xhci-hcd xhci-hcd.1.auto: irq 230, io mem 0xfe900000
[    4.354177] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.363438] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.371531] usb usb7: Product: xHCI Host Controller
[    4.376991] usb usb7: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.383422] usb usb7: SerialNumber: xhci-hcd.1.auto
[    4.389377] hub 7-0:1.0: USB hub found
[    4.393618] hub 7-0:1.0: 1 port detected
[    4.398316] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.404472] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    4.413051] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.420414] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.429582] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.438835] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.446918] usb usb8: Product: xHCI Host Controller
[    4.452379] usb usb8: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.458810] usb usb8: SerialNumber: xhci-hcd.1.auto
[    4.464750] hub 8-0:1.0: USB hub found
[    4.468981] hub 8-0:1.0: 1 port detected
[    4.473881] usbcore: registered new interface driver usb-storage
[    4.483258] mousedev: PS/2 mouse device common for all mice
[    4.489740] usbcore: registered new interface driver dwav_usb_mt
[    4.497222] i2c /dev entries driver
[    4.504038] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    4.511789] fan53555-reg: supplied by vcc3v3_sys
[    4.518967] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    4.526698] fan53555-reg: supplied by vcc3v3_sys
[    4.533878] rk808 0-001b: chip id: 0x0
[    4.542228] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    4.549181] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    4.556152] DCDC_REG1: supplied by vcc3v3_sys
[    4.561895] DCDC_REG2: supplied by vcc3v3_sys
[    4.567308] DCDC_REG3: supplied by vcc3v3_sys
[    4.572456] DCDC_REG4: supplied by vcc3v3_sys
[    4.577935] LDO_REG1: supplied by vcc3v3_sys
[    4.583944] LDO_REG2: supplied by vcc3v3_sys
[    4.589669] LDO_REG3: supplied by vcc3v3_sys
[    4.595586] LDO_REG4: supplied by vcc3v3_sys
[    4.601576] LDO_REG5: supplied by vcc3v3_sys
[    4.607298] LDO_REG6: supplied by vcc3v3_sys
[    4.613192] LDO_REG7: supplied by vcc3v3_sys
[    4.618937] LDO_REG8: supplied by vcc3v3_sys
[    4.624832] SWITCH_REG1: supplied by vcc3v3_sys
[    4.630213] SWITCH_REG2: supplied by vcc3v3_sys
[    4.646327] sdhci: Secure Digital Host Controller Interface driver
[    4.653240] sdhci: Copyright(c) Pierre Ossman
[    4.658186] Synopsys Designware Multimedia Card Interface Driver
[    4.665554] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    4.673445] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    4.680840] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    4.687087] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.697930] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    4.714645] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.738599] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.745390] sdhci-arasan fe330000.sdhci: Got CD GPIO
[    4.751074] mmc1: CQHCI version 5.10
[    4.779354] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    4.788948] ledtrig-cpu: registered to indicate activity on CPUs
[    4.796199] hid: raw HID events driver (C) Jiri Kosina
[    4.802387] usbcore: registered new interface driver usbhid
[    4.808687] usbhid: USB HID core driver
[    4.816179] NET: Registered protocol family 10
[    4.821527] Segment Routing with IPv6
[    4.825661] NET: Registered protocol family 17
[    4.830669] NET: Registered protocol family 15
[    4.835783] 8021q: 802.1Q VLAN Support v1.8
[    4.840476] Key type dns_resolver registered
[    4.845498] registered taskstats version 1
[    4.850089] Loading compiled-in X.509 certificates
[    4.855509] zswap: loaded using pool lzo/zbud
[    4.860527] Key type ._fscrypt registered
[    4.865020] Key type .fscrypt registered
[    4.869409] Key type fscrypt-provisioning registered
[    4.869782] random: fast init done
[    4.875468] Btrfs loaded, crc32c=crc32c-generic
[    4.897450] Key type encrypted registered
[    4.918175] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    4.925308] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    4.932499] vcca0v9_s3: supplied by vcc_1v8
[    4.938535] mmc1: mmc_select_hs400es failed, error -110
[    4.944390] mmc1: error -110 whilst initialising MMC card
[    5.001208] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    5.009013] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    5.018499] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    5.028138] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    5.035540] pci_bus 0000:00: root bus resource [bus 00-1f]
[    5.041702] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    5.049395] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    5.060116] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    5.066912] pci 0000:00:00.0: supports D1
[    5.071399] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    5.079382] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.088445] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185
[    5.095242] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.103122] pci 0000:01:00.0: reg 0x10: [io  size 0x0008]
[    5.109184] pci 0000:01:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.117075] pci 0000:01:00.0: reg 0x14: [io  size 0x0004]
[    5.123140] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.131031] pci 0000:01:00.0: reg 0x18: [io  size 0x0008]
[    5.137087] pci 0000:01:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    5.144975] pci 0000:01:00.0: reg 0x1c: [io  size 0x0004]
[    5.151038] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.158944] pci 0000:01:00.0: reg 0x20: [io  size 0x0010]
[    5.165010] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    5.172072] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    5.179597] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 512)
[    5.188522] mmc1: mmc_select_hs400es failed, error -110
[    5.194363] mmc1: error -110 whilst initialising MMC card
[    5.201831] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    5.209237] pci 0000:00:00.0: BAR 14: assigned [mem 0xfa000000-0xfa0fffff]
[    5.216932] pci 0000:01:00.0: BAR 6: assigned [mem 0xfa000000-0xfa00ffff pref]
[    5.225007] pci 0000:01:00.0: BAR 5: assigned [mem 0xfa010000-0xfa0101ff]
[    5.232657] pci 0000:01:00.0: BAR 4: no space for [io  size 0x0010]
[    5.239662] pci 0000:01:00.0: BAR 4: failed to assign [io  size 0x0010]
[    5.247064] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0008]
[    5.254076] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0008]
[    5.261502] pci 0000:01:00.0: BAR 2: no space for [io  size 0x0008]
[    5.268513] pci 0000:01:00.0: BAR 2: failed to assign [io  size 0x0008]
[    5.275910] pci 0000:01:00.0: BAR 1: no space for [io  size 0x0004]
[    5.282945] pci 0000:01:00.0: BAR 1: failed to assign [io  size 0x0004]
[    5.290344] pci 0000:01:00.0: BAR 3: no space for [io  size 0x0004]
[    5.297356] pci 0000:01:00.0: BAR 3: failed to assign [io  size 0x0004]
[    5.304756] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.310311] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    5.320395] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    5.330817] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    5.339751] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    5.351370] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    5.360619] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.368041] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    5.376944] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    5.386081] panfrost ff9a0000.gpu: clock rate = 500000000
[    5.392472] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    5.401164] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    5.410318] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    5.423544] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    5.432815] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    5.441613] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    5.449023] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    5.455987] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    5.462807] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    5.470710] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    5.477052] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    5.483379] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    5.490299] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    5.498078] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    5.509970] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    5.516593] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    5.524637] rk_gmac-dwmac fe300000.ethernet: 	DWMAC1000
[    5.530485] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    5.538856] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    5.547226] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    5.553068] mmc1: mmc_select_hs400es failed, error -110
[    5.558909] mmc1: error -110 whilst initialising MMC card
[    5.564942] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    5.572820] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    5.580068] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    5.586693] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    5.593209] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    5.698073] libphy: stmmac: probed
[    5.701885] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    5.715882] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    5.731351] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.739643] clk: Not disabling unused clocks
[    5.744412] ALSA device list:
[    5.747724]   No soundcards found.
[    5.751649] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    5.759080] mmc1: Command Queue Engine enabled
[    5.760288] Freeing unused kernel memory: 3584K
[    5.764057] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    5.776692] mmcblk1: mmc1:0001 AJNB4R 14.6 GiB 
[    5.781841] mmcblk1boot0: mmc1:0001 AJNB4R partition 1 4.00 MiB
[    5.788529] mmcblk1boot1: mmc1:0001 AJNB4R partition 2 4.00 MiB
[    5.795626] mmcblk1rpmb: mmc1:0001 AJNB4R partition 3 4.00 MiB, chardev (241:0)
[    5.805135]  mmcblk1: p1 p2
[    5.814788] Run /init as init process
[    5.818886]   with arguments:
[    5.818887]     /init
[    5.818889]   with environment:
[    5.818891]     HOME=/
[    5.818892]     TERM=linux
[    6.006956] input: adc-keys as /devices/platform/adc-keys/input/input1
[    6.066232] rk808-rtc rk808-rtc: registered as rtc0
[    6.072725] rk808-rtc rk808-rtc: setting system clock to 2020-05-22T16:54:35 UTC (1590166475)
[    6.198796] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    6.398701] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    6.472523] systemd[1]: systemd 245.4-4ubuntu3 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)
[    6.498059] systemd[1]: Detected architecture arm64.
[    6.535274] systemd[1]: Set hostname to <odroid-n1>.
[    6.714910] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    6.785755] random: systemd: uninitialized urandom read (16 bytes read)
[    6.794732] systemd[1]: Created slice system-modprobe.slice.
[    6.818898] random: systemd: uninitialized urandom read (16 bytes read)
[    6.826943] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.850899] random: systemd: uninitialized urandom read (16 bytes read)
[    6.858876] systemd[1]: Created slice User and Session Slice.
[    6.883062] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    6.907042] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.931321] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    6.958994] systemd[1]: Reached target Local Encrypted Volumes.
[    6.982895] systemd[1]: Reached target Paths.
[    6.998863] systemd[1]: Reached target Remote File Systems.
[    7.022857] systemd[1]: Reached target Slices.
[    7.038865] systemd[1]: Reached target Swap.
[    7.055137] systemd[1]: Listening on Syslog Socket.
[    7.071040] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.095284] systemd[1]: Listening on Journal Audit Socket.
[    7.119105] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.143147] systemd[1]: Listening on Journal Socket.
[    7.159222] systemd[1]: Listening on Network Service Netlink Socket.
[    7.183155] systemd[1]: Listening on udev Control Socket.
[    7.207074] systemd[1]: Listening on udev Kernel Socket.
[    7.233086] systemd[1]: Mounting Huge Pages File System...
[    7.252856] systemd[1]: Mounting POSIX Message Queue File System...
[    7.276853] systemd[1]: Mounting Kernel Debug File System...
[    7.295000] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.307379] systemd[1]: Starting Journal Service...
[    7.325234] systemd[1]: Starting Set the console keyboard layout...
[    7.354410] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    7.378749] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    7.389060] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    7.404173] systemd[1]: Starting Load Kernel Modules...
[    7.422080] systemd[1]: Starting Remount Root and Kernel File Systems...
[    7.439208] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[    7.454043] systemd[1]: Starting udev Coldplug all Devices...
[    7.473855] systemd[1]: Mounted Huge Pages File System.
[    7.495479] systemd[1]: Mounted POSIX Message Queue File System.
[    7.519519] systemd[1]: Mounted Kernel Debug File System.
[    7.544145] systemd[1]: Finished Set the console keyboard layout.
[    7.568280] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    7.596251] systemd[1]: Finished Load Kernel Modules.
[    7.612075] systemd[1]: Finished Remount Root and Kernel File Systems.
[    7.641137] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    7.653376] systemd[1]: Mounting Kernel Configuration File System...
[    7.679662] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    7.689651] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    7.702343] systemd[1]: Starting Load/Save Random Seed...
[    7.720894] systemd[1]: Starting Apply Kernel Variables...
[    7.741018] systemd[1]: Starting Create System Users...
[    7.752398] systemd[1]: Started Journal Service.
[    7.836663] systemd-journald[1934]: Received client request to flush runtime journal.
[    8.340952] EXT2-fs (mmcblk1p1): warning: mounting unchecked fs, running e2fsck is recommended
[    8.341117] ext2 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[    8.455145] asoc-simple-card hdmi-sound: i2s-hifi <-> ff8a0000.i2s mapping ok
[    8.505444] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[    8.514581] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[    8.514593] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[    8.514600] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[    9.706595] random: crng init done
[    9.706601] random: 7 urandom warning(s) missed due to ratelimiting
[   11.583421] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   11.583449] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   35.806755] vcc_efuse: supplied by vcc3v3_s0
Getting it Working
On top of the work that had already been done(dts,uboot), there were 2 primary issues to get the N1 to boot on this image, creating a working boot.scr and kernel .config file. A change was required for the boot.scr and CONFIG_PWM_ROCKCHIP in the kernel .config needed to be disabled, it was preventing the kernel from booting. It looks like the original HK 4.4 kernel driver(drivers/pwm/pwm-rockchip.c) had been modified to work. Kernel 5.7.0-rc6 will need to be patched for PWM to function. I tried a quick patch but there is apparently more. Fan control and the GPIO PWM I believe are the only things affected, so probably not that big of a deal for many uses.

I used an Odroid-C4 to compile 5.7.0-rc6 from @tobetters git applying the kernel dts patch from @moon.linux.

Code: Select all

git clone --depth 1 https://github.com/tobetter/linux.git -b odroid-5.7.y
cd linux
make defconfig
make menuconfig or use config-5.7.0-rc6+
make -j4
sudo make modules_install
sudo make install
I started with the Odorid-C4 kernel config file because it was already setup for the Odroid-C4,C2 and N2. The following Rockchip entries were added to support the Odroid-N1.

Code: Select all

CONFIG_ARCH_ROCKCHIP=y
CONFIG_PCIE_ROCKCHIP=y
CONFIG_PCIE_ROCKCHIP_HOST=y
CONFIG_EMAC_ROCKCHIP=y
CONFIG_DWMAC_ROCKCHIP=y
CONFIG_ROCKCHIP_PHY=y
CONFIG_SPI_ROCKCHIP=y
CONFIG_PINCTRL_ROCKCHIP=y
CONFIG_ROCKCHIP_THERMAL=y
# CONFIG_VIDEO_ROCKCHIP_RGA is not set
CONFIG_DRM_ROCKCHIP=y
# CONFIG_ROCKCHIP_ANALOGIX_DP is not set
# CONFIG_ROCKCHIP_CDN_DP is not set
CONFIG_ROCKCHIP_DW_HDMI=y
# CONFIG_ROCKCHIP_DW_MIPI_DSI is not set
CONFIG_ROCKCHIP_INNO_HDMI=y
# CONFIG_ROCKCHIP_LVDS is not set
# CONFIG_ROCKCHIP_RGB is not set
# CONFIG_ROCKCHIP_RK3066_HDMI is not set
CONFIG_SND_SOC_ROCKCHIP=y
CONFIG_SND_SOC_ROCKCHIP_I2S=y
# CONFIG_SND_SOC_ROCKCHIP_PDM is not set
CONFIG_SND_SOC_ROCKCHIP_SPDIF=m
CONFIG_SND_SOC_ROCKCHIP_MAX98090=m
CONFIG_SND_SOC_ROCKCHIP_RT5645=m
CONFIG_MMC_DW_ROCKCHIP=y
# CONFIG_PHY_ROCKCHIP_DPHY_RX0 is not set
# CONFIG_VIDEO_ROCKCHIP_ISP1 is not set
CONFIG_ROCKCHIP_TIMER=y
# CONFIG_ROCKCHIP_MBOX is not set
CONFIG_ROCKCHIP_IOMMU=y
CONFIG_ROCKCHIP_GRF=y
CONFIG_ROCKCHIP_PM_DOMAINS=y
CONFIG_DEVFREQ_EVENT_ROCKCHIP_DFI=y
CONFIG_ROCKCHIP_SARADC=y
# CONFIG_PWM_ROCKCHIP is not set
# CONFIG_PHY_ROCKCHIP_DP is not set
CONFIG_PHY_ROCKCHIP_EMMC=y
CONFIG_PHY_ROCKCHIP_INNO_HDMI=y
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
# CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY is not set
CONFIG_PHY_ROCKCHIP_PCIE=y
CONFIG_PHY_ROCKCHIP_TYPEC=y
CONFIG_PHY_ROCKCHIP_USB=y
CONFIG_ROCKCHIP_EFUSE=y
CONFIG_ROCKCHIP_OTP=y
CONFIG_CRYPTO_DEV_ROCKCHIP=y
Kernel 5.7.0-RC6 Config FIle
20200525 - added PCIe and SATA
config-5.7.0-rc6+_20200525.txt
(206.08 KiB) Downloaded 37 times
I thought it might be easier to get the mainline kernel running and with fewer issues, on a more recent root file system. I decided to use Ubuntu 20.04 instead of trying to deploy on the original HK image. I hacked, or as some say, went barbarian on @tobetters Odroid-C4 Ubuntu 20.04 server image; partitions were resized and relocated to the Rockchip specs. http://opensource.rock-chips.com/wiki_Partitions. This created the space necessary to properly locate the Rockchip boot loader on this image.

NOTE: After the partition resizing, record the partition information using sfdisk and then flash @mad_ady’s Odroid-N1 uboot bootloader on the image. The partition table then needs to be (modified)/restored using sfdisk again.

The default boot.txt is used with a couple of additions, setenv fdtfile "rk3399-odroidn1.dtb" and setenv prefix "/". Don’t forget to update the UUID, fk_kvers and ethaddr as appropriate.

Code: Select all

#
# flash-kernel: bootscr.odroid-n1
#

# Bootscript using the new unified bootcmd handling
#
# Expects to be called with the following environment variables set:
#
#  devtype              e.g. mmc/scsi etc
#  devnum               The device number of the given type
#  bootpart             The partition containing the boot files
#  distro_bootpart      The partition containing the boot files
#                       (introduced in u-boot mainline 2016.01)
#  prefix               Prefix within the boot partiion to the boot files
#  kernel_addr_r        Address to load the kernel to
#  fdt_addr_r           Address to load the FDT to
#  ramdisk_addr_r       Address to load the initrd to.
#
# The uboot must support the booti and generic filesystem load commands.

setenv bootargs " ${bootargs} root=UUID=a977a8c4-0492-48d9-9876-8f53ac858a41 rootwait ro"
#setenv bootargs " ${bootargs} root=/dev/mmcblk1p2 rw rootwait ro"

# Default serial console
# setenv console "ttyAML0,115200n8"

# Default TTY console
setenv bootargs "${bootargs} console=ttyS2,115200"
setenv bootargs "${bootargs} cma=800M"
setenv bootargs "${bootargs} clk_ignore_unused"
setenv ethaddr "00:1e:06:aa:dd:ee"
setenv fk_kvers "5.7.0-rc6+"
setenv fdtfile "rk3399-odroidn1.dtb"
setenv prefix "/"
setenv fdt_addr_r "0x20000000"


if test -n "${console}"; then
  setenv bootargs "${bootargs} console=${console}"
fi

if test -z "${fk_kvers}"; then
   setenv fk_kvers "5.7.0-odroid-arm64"
fi

# Hack to set kernel load address for Linux kernel v3.16.56 only
if test "${fk_kvers}" = "3.16.56-odroid-arm64"; then
   setenv kernel_addr_r "0x10800000"
fi

# These two blocks should be the same apart from the use of
# ${fk_kvers} in the first, the syntax supported by u-boot does not
# lend itself to removing this duplication.

if test -n "${fdtfile}"; then
   setenv fdtpath dtbs/${fk_kvers}/${fdtfile}
else
   setenv fdtpath dtb-${fk_kvers}
fi

if test -z "${distro_bootpart}"; then
  setenv partition ${bootpart}
else
  setenv partition ${distro_bootpart}
fi

load ${devtype} ${devnum}:${partition} ${kernel_addr_r} ${prefix}vmlinuz-${fk_kvers} \
&& load ${devtype} ${devnum}:${partition} ${fdt_addr_r} ${prefix}${fdtpath} \
&& load ${devtype} ${devnum}:${partition} ${ramdisk_addr_r} ${prefix}initrd.img-${fk_kvers} \
&& echo "Booting Debian ${fk_kvers} from ${devtype} ${devnum}:${partition}..." \
&& booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}

load ${devtype} ${devnum}:${partition} ${kernel_addr_r} ${prefix}vmlinuz \
&& load ${devtype} ${devnum}:${partition} ${fdt_addr_r} ${prefix}dtb \
&& load ${devtype} ${devnum}:${partition} ${ramdisk_addr_r} ${prefix}initrd.img \
&& echo "Booting Debian from ${devtype} ${devnum}:${partition}..." \
&& booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}

If your a barbarian, copy over the kernel files and update the links in the /boot partition if necessary.
Screenshot_2020-05-23_17-29-05.png
Screenshot_2020-05-23_17-29-05.png (122.15 KiB) Viewed 1303 times
.
I have been exercising the system using a variety of tools to gauge stability. I started with a native kernel build(-j6) which was successful.
Screenshot_2020-05-22_11-39-20.png
Screenshot_2020-05-22_11-39-20.png (191.49 KiB) Viewed 1303 times
sbc-bench

Code: Select all

sbc-bench v0.7.2

Installing needed tools. This may take some time... Done.
Checking cpufreq OPP... Done.
Executing tinymembench. This will take a long time... Done.
Executing OpenSSL benchmark. This will take 3 minutes... Done.
Executing 7-zip benchmark. This will take a long time... Done.
Executing cpuminer. This will take 5 minutes... Done.
Checking cpufreq OPP... Done.

Memory performance (big.LITTLE cores measured individually):
memcpy: 1983.0 MB/s 
memset: 8132.0 MB/s (0.1%)
memcpy: 4135.7 MB/s 
memset: 8231.6 MB/s (0.7%)

Cpuminer total scores (5 minutes execution): 10.48,10.47,10.46,10.45,10.39 kH/s

7-zip total scores (3 consecutive runs): 7042,7022,7031

OpenSSL results (big.LITTLE cores measured individually):
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-128-cbc     117763.34k   354693.06k   697689.51k   947940.01k  1058870.61k  1066418.18k
aes-128-cbc     346673.06k   797056.64k  1156416.94k  1281619.29k  1346109.44k  1351652.69k
aes-192-cbc     112277.46k   316232.85k   571669.50k   732170.58k   797302.78k   801871.19k
aes-192-cbc     330752.59k   727870.59k   981649.66k  1136131.75k  1190778.20k  1192422.06k
aes-256-cbc     109257.29k   291003.39k   496343.38k   613040.47k   658131.63k   661143.55k
aes-256-cbc     319704.99k   665330.07k   904549.12k   983233.54k  1021747.20k  1024682.67k
Full results uploaded to http://ix.io/2n1D

Iozone on Orange 16GB eMMC

Code: Select all

hominoid@odroid-n1:~$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Iozone: Performance Test of File I/O
	        Version $Revision: 3.489 $
		Compiled for 64 bit mode.
		Build: linux 

	Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
	             Al Slater, Scott Rhine, Mike Wisner, Ken Goss
	             Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
	             Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
	             Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
	             Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
	             Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
	             Vangel Bojaxhi, Ben England, Vikentsi Lapa,
	             Alexey Skidanov, Sudhir Kumar.

	Run began: Fri May 22 14:35:38 2020

	Include fsync in write timing
	O_DIRECT feature enabled
	Auto Mode
	File size set to 102400 kB
	Record Size 4 kB
	Record Size 16 kB
	Record Size 512 kB
	Record Size 1024 kB
	Record Size 16384 kB
	Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Output is in kBytes/sec
	Time Resolution = 0.000001 seconds.
	Processor cache size set to 1024 kBytes.
	Processor cache line size set to 32 bytes.
	File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    17292    24125    19196    20350    22515    24599                                                                
          102400      16    49484    49748    56118    58482    47171    48334                                                                
          102400     512    49854    50053   140647   142065   141988    48917                                                                
          102400    1024    50110    50223   150983   149272   146406    49123                                                                
          102400   16384    49876    49927   162969   164499   163198    50067                                                                

iozone test complete.
The Odroid-N1 actively cooled was well behaved under load.
test1-odroidn1-ubuntu_20.04-5.7.0-rc6+.png
test1-odroidn1-ubuntu_20.04-5.7.0-rc6+.png (110.52 KiB) Viewed 1303 times
Screenshot_2020-05-22_20-00-16.png
Screenshot_2020-05-22_20-00-16.png (177.65 KiB) Viewed 1303 times
I have done some testing to check for basic sanity and stability but more specific device testing is needed. The issues I’m aware of so far are the dmesg errors and the pwm driver. Shutdown and reboot work, power and reset buttons, hdmi, usb2, usb3, sdcard, emmc have basic functionality but have not been throughly tested. The PCIe to SATA bridge is not working yet but I just started looking at it so it may be a simple configuration issue. I don’t have a 100MB device to test the network speed issue discussed earlier and the GPU,VPU, and GPIO have not been tried.
Last edited by hominoid on Tue May 26, 2020 11:43 am, edited 1 time in total.
These users thanked the author hominoid for the post (total 3):
rooted (Sun May 24, 2020 6:53 am) • brad (Sun May 24, 2020 11:45 am) • mad_ady (Sun May 24, 2020 1:21 pm)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Sun May 24, 2020 1:35 pm

Oh, great job, @hominid ! You're pushing my hand to do dangerous things to my beloved N1...

Regarding pwm - I'm using a noctua fan on my N1Q, so that would affect me. Regarding network - I take it you haven't tested GB ethernet stability yet?
Regarding gpio - I have a IR blaster hooked up to a gpio pin, but last time it worked with the unstable 5.3 kernel. I need to find out the gpio number...

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Sun May 24, 2020 10:59 pm

I'm also running a N1Q but with a 40mm USB fan, eventhough It seems to do well passively. I have not done any serious ethernet testing yet but antidotely, after working with it, I haven't noticed any performance issues either.

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Tue May 26, 2020 11:46 am

PCIe and SATA are working now. Updated kernel config-5.7.0-rc6+ in my original post.
These users thanked the author hominoid for the post (total 2):
rooted (Tue May 26, 2020 12:21 pm) • mad_ady (Tue May 26, 2020 12:27 pm)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Tue May 26, 2020 1:10 pm

I'm very pleased with the progress you're making! Keep up ghe good work! What are you going to try next?

User avatar
rooted
Posts: 7752
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 721 times
Been thanked: 209 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by rooted » Tue May 26, 2020 2:25 pm

Why are you calling it N1Q? Was there an actively cooled model?

*Edit*
Uhm yep

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Tue May 26, 2020 9:38 pm

I'm doing a deeper dive on the pwm issue and getting set to test the ethernet performance with iperf. I noticed the tx-delay is set to 28 in the dts so that probably needs to change to 100.

Code: Select all

&gmac {
	assigned-clocks = <&cru SCLK_RMII_SRC>;
	assigned-clock-parents = <&clkin_gmac>;
	clock_in_out = "input";
	phy-supply = <&vcc3v3_s3>;
	phy-mode = "rgmii";
	pinctrl-names = "default";
	pinctrl-0 = <&rgmii_pins>;
	snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
	snps,reset-delays-us = <0>, <10000>, <50000>;
	snps,reset-active-low;
	tx_delay = <0x28>;
	rx_delay = <0x11>;
These users thanked the author hominoid for the post:
mad_ady (Tue May 26, 2020 11:09 pm)

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Wed May 27, 2020 10:50 am

The iperf test went well with results you would expect.

Code: Select all

[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.10 GBytes   943 Mbits/sec
I also did a little testing on the SATA and USB3. The configuration is a 320GB 2.5" Western Digital 5400rpm on SATA and a Corsair Voyager GTX USB3 thumb drive. The Corsair has a SSD controller so it can push the speed capability of the USB3. Several hundred MB/s is the norm for this device and it had no problem accomplishing that performance. Both device test partitions were ext4.

Code: Select all

hominoid@odroid-n1:~$ lsblk -o UUID,NAME,FSTYPE,SIZE,LABEL,MODEL
UUID                                 NAME         FSTYPE   SIZE LABEL    MODEL
                                     sda                 298.1G          WDC_WD3200BEVT-00A0RT0
01b2f025-b681-4651-ab2d-561a364b9b1c └─sda1       ext4   298.1G          
                                     sdb                 119.2G          Corsair_Voyager_GTX
62B0D738B0D71201                     └─sdb1       ntfs   119.2G GTX128GB 
                                     mmcblk1              14.6G          
a9a7bb11-3323-426e-9e7b-1e9dd07800c1 ├─mmcblk1p1  ext2     112M BOOT     
a977a8c4-0492-48d9-9876-8f53ac858a41 └─mmcblk1p2  ext4    14.4G rootfs   
                                     mmcblk1boot0            4M          
                                     mmcblk1boot1            4M          
SATA Western Digital 320GB 2.5" HD 5400

Code: Select all

hominoid@odroid-n1:~/testmnt/tmp$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Iozone: Performance Test of File I/O
	        Version $Revision: 3.489 $
		Compiled for 64 bit mode.
		Build: linux 

	Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
	             Al Slater, Scott Rhine, Mike Wisner, Ken Goss
	             Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
	             Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
	             Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
	             Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
	             Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
	             Vangel Bojaxhi, Ben England, Vikentsi Lapa,
	             Alexey Skidanov, Sudhir Kumar.

	Run began: Mon May 25 22:10:42 2020

	Include fsync in write timing
	O_DIRECT feature enabled
	Auto Mode
	File size set to 102400 kB
	Record Size 4 kB
	Record Size 16 kB
	Record Size 512 kB
	Record Size 1024 kB
	Record Size 16384 kB
	Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Output is in kBytes/sec
	Time Resolution = 0.000001 seconds.
	Processor cache size set to 1024 kBytes.
	Processor cache line size set to 32 bytes.
	File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    10653    16517    20035    19104      499      990                                                                
          102400      16    32443    47035    55632    48993     1973     3880                                                                
          102400     512    53577    52393    66376    67341    31807    39029                                                                
          102400    1024    55519    53303    68129    70462    43260    40022                                                                
          102400   16384    54944    55920    67100    65099    62627    55581                                                                

iozone test complete.
USB3 Thumb Drive Corsair Voyager GTX

Code: Select all

hominoid@odroid-n1:~/testmnt$ sudo iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Iozone: Performance Test of File I/O
	        Version $Revision: 3.489 $
		Compiled for 64 bit mode.
		Build: linux 

	Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
	             Al Slater, Scott Rhine, Mike Wisner, Ken Goss
	             Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
	             Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
	             Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
	             Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
	             Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
	             Vangel Bojaxhi, Ben England, Vikentsi Lapa,
	             Alexey Skidanov, Sudhir Kumar.

	Run began: Tue May 26 19:45:23 2020

	Include fsync in write timing
	O_DIRECT feature enabled
	Auto Mode
	File size set to 102400 kB
	Record Size 4 kB
	Record Size 16 kB
	Record Size 512 kB
	Record Size 1024 kB
	Record Size 16384 kB
	Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Output is in kBytes/sec
	Time Resolution = 0.000001 seconds.
	Processor cache size set to 1024 kBytes.
	Processor cache line size set to 32 bytes.
	File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    20591    26963    15599    16708    16361    32672                                                                
          102400      16    66492    71525    48965    48908    46480    76955                                                                
          102400     512   123091   130567   292344   291470   204349   160951                                                                
          102400    1024   160929   165808   309200   311661   243926   147647                                                                
          102400   16384   178212    96603   400845   402683   395527   148371                                                                

iozone test complete.

This dmesg is with the above SATA and USB3 device attached including a monitor, keyboard and mouse. The SATA driver is compiled into the kernel and not a module. It's pretty clean and I have had no crashes, the system seems very stable imo. Time to take a look at Panfrost and the GPU.

Code: Select all

hominoid@odroid-n1:~$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.0-rc6+ (hominoid@odroid-n1) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2), GNU ld (GNU Binutils for Ubuntu) 2.34) #5 SMP PREEMPT Tue May 26 15:47:51 EDT 2020
[    0.000000] Machine model: Hardkernel ODROID-N1
[    0.000000] cma: Reserved 800 MiB at 0x00000000c3000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77ed100-0xf77eefff]
[    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] On node 0 totalpages: 1015296
[    0.000000]   DMA zone: 4088 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261632 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 11776 pages used for memmap
[    0.000000]   DMA32 zone: 753664 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 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 22 pages/cpu s53208 r8192 d28712 u90112
[    0.000000] pcpu-alloc: s53208 r8192 d28712 u90112 alloc=22*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: 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=a977a8c4-0492-48d9-9876-8f53ac858a41 rootwait ro console=ttyS2,115200 cma=800M clk_ignore_unused
[    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] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3055856K/4061184K available (16190K kernel code, 1450K rwdata, 6164K rodata, 3648K init, 608K bss, 186128K reserved, 819200K 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=256 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: 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 @f6c80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f6c40000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f6c50000
[    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+0x310/0x4d4 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001352] Console: colour dummy device 80x25
[    0.001478] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001494] pid_max: default: 32768 minimum: 301
[    0.001647] LSM: Security Framework initializing
[    0.001706] SELinux:  Initializing.
[    0.001865] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001898] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004432] rcu: Hierarchical SRCU implementation.
[    0.007159] Platform MSI: interrupt-controller@fee20000 domain created
[    0.007569] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.010109] smp: Bringing up secondary CPUs ...
[    0.010784] Detected VIPT I-cache on CPU1
[    0.010821] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.010837] GICv3: CPU1: using allocated LPI pending table @0x00000000f6c60000
[    0.010885] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.011667] Detected VIPT I-cache on CPU2
[    0.011697] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.011712] GICv3: CPU2: using allocated LPI pending table @0x00000000f6c70000
[    0.011746] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.012476] Detected VIPT I-cache on CPU3
[    0.012504] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.012517] GICv3: CPU3: using allocated LPI pending table @0x00000000f6d00000
[    0.012549] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013253] CPU features: detected: EL2 vector hardening
[    0.013262] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.013269] CPU features: detected: ARM erratum 1319367
[    0.013275] Detected PIPT I-cache on CPU4
[    0.013306] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.013320] GICv3: CPU4: using allocated LPI pending table @0x00000000f6d10000
[    0.013356] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.014111] Detected PIPT I-cache on CPU5
[    0.014136] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.014148] GICv3: CPU5: using allocated LPI pending table @0x00000000f6d20000
[    0.014176] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.014290] smp: Brought up 1 node, 6 CPUs
[    0.014368] SMP: Total of 6 processors activated.
[    0.014380] CPU features: detected: 32-bit EL0 Support
[    0.014390] CPU features: detected: CRC32 instructions
[    0.040108] CPU: All CPU(s) started at EL2
[    0.040165] alternatives: patching kernel code
[    0.043357] devtmpfs: initialized
[    0.054007] Registered cp15_barrier emulation handler
[    0.054028] Registered setend emulation handler
[    0.054041] KASLR disabled due to lack of seed
[    0.054463] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.054484] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.069977] xor: measuring software checksum speed
[    0.108061]    8regs     :  2345.000 MB/sec
[    0.148132]    32regs    :  2756.000 MB/sec
[    0.188209]    arm64_neon:  2432.000 MB/sec
[    0.188216] xor: using function: 32regs (2756.000 MB/sec)
[    0.188231] pinctrl core: initialized pinctrl subsystem
[    0.189686] thermal_sys: Registered thermal governor 'fair_share'
[    0.189690] thermal_sys: Registered thermal governor 'bang_bang'
[    0.189700] thermal_sys: Registered thermal governor 'step_wise'
[    0.189708] thermal_sys: Registered thermal governor 'user_space'
[    0.190876] NET: Registered protocol family 16
[    0.193105] DMA: preallocated 256 KiB pool for atomic allocations
[    0.193120] audit: initializing netlink subsys (disabled)
[    0.193304] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
[    0.195059] cpuidle: using governor menu
[    0.195513] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.195698] ASID allocator initialised with 65536 entries
[    0.196697] Serial: AMBA PL011 UART driver
[    0.240508] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.240526] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.240537] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.240548] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.246971] cryptd: max_cpu_qlen set to 1000
[    0.328641] raid6: neonx8   gen()  1696 MB/s
[    0.396764] raid6: neonx8   xor()  1268 MB/s
[    0.464899] raid6: neonx4   gen()  1723 MB/s
[    0.533018] raid6: neonx4   xor()  1307 MB/s
[    0.601149] raid6: neonx2   gen()  1531 MB/s
[    0.669271] raid6: neonx2   xor()  1207 MB/s
[    0.737386] raid6: neonx1   gen()  1197 MB/s
[    0.805520] raid6: neonx1   xor()   964 MB/s
[    0.873682] raid6: int64x8  gen()   991 MB/s
[    0.941778] raid6: int64x8  xor()   582 MB/s
[    1.009903] raid6: int64x4  gen()   987 MB/s
[    1.078031] raid6: int64x4  xor()   592 MB/s
[    1.146159] raid6: int64x2  gen()   924 MB/s
[    1.214262] raid6: int64x2  xor()   525 MB/s
[    1.282387] raid6: int64x1  gen()   719 MB/s
[    1.350524] raid6: int64x1  xor()   390 MB/s
[    1.350532] raid6: using algorithm neonx4 gen() 1723 MB/s
[    1.350539] raid6: .... xor() 1307 MB/s, rmw enabled
[    1.350546] raid6: using neon recovery algorithm
[    1.351854] vcc5v0_sys: supplied by vcc12v_dcin
[    1.352157] vcc3v3_sys: supplied by vcc12v_dcin
[    1.352571] vcc3v0_vdd: supplied by vcc3v3_sys
[    1.353169] vcca1v8_s3: supplied by vcc3v3_sys
[    1.353708] vcc_0v9: supplied by vcc3v3_sys
[    1.354186] vcc5v0_host: supplied by vcc5v0_sys
[    1.354600] vcc5v0_host31: supplied by vcc5v0_sys
[    1.355018] vcc5v0_host32: supplied by vcc5v0_sys
[    1.355883] iommu: Default domain type: Translated 
[    1.358278] vgaarb: loaded
[    1.358637] SCSI subsystem initialized
[    1.358853] libata version 3.00 loaded.
[    1.359207] usbcore: registered new interface driver usbfs
[    1.359263] usbcore: registered new interface driver hub
[    1.359362] usbcore: registered new device driver usb
[    1.360045] pps_core: LinuxPPS API ver. 1 registered
[    1.360054] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.360078] PTP clock support registered
[    1.360317] EDAC MC: Ver: 3.0.0
[    1.361336] Advanced Linux Sound Architecture Driver Initialized.
[    1.362278] clocksource: Switched to clocksource arch_sys_counter
[    1.362507] VFS: Disk quotas dquot_6.6.0
[    1.362581] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.372301] NET: Registered protocol family 2
[    1.372859] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.372942] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.373290] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.373956] TCP: Hash tables configured (established 32768 bind 32768)
[    1.374091] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.374228] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.374574] NET: Registered protocol family 1
[    1.375069] RPC: Registered named UNIX socket transport module.
[    1.375077] RPC: Registered udp transport module.
[    1.375084] RPC: Registered tcp transport module.
[    1.375091] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.375104] PCI: CLS 0 bytes, default 64
[    1.375282] Trying to unpack rootfs image as initramfs...
[    1.552239] Freeing initrd memory: 11532K
[    1.553177] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.553530] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.554105] kvm [1]: IPA Size Limit: 40bits
[    1.554897] kvm [1]: vgic-v2@fff20000
[    1.554931] kvm [1]: GIC system register CPU interface enabled
[    1.555125] kvm [1]: vgic interrupt IRQ10
[    1.555346] kvm [1]: Hyp mode initialized successfully
[    1.948361] Initialise system trusted keyrings
[    1.948552] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    1.956087] zbud: loaded
[    1.957798] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.958892] NFS: Registering the id_resolver key type
[    1.958920] Key type id_resolver registered
[    1.958927] Key type id_legacy registered
[    1.958943] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.958950] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.960019] ntfs: driver 2.1.32 [Flags: R/W].
[    1.960644] JFS: nTxBlock = 8192, nTxLock = 65536
[    1.965880] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    1.968030] ocfs2: Registered cluster interface o2cb
[    1.968292] OCFS2 User DLM kernel interface loaded
[    1.970510] gfs2: GFS2 installed
[    2.002874] Key type asymmetric registered
[    2.002886] Asymmetric key parser 'x509' registered
[    2.002943] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.003151] io scheduler mq-deadline registered
[    2.003160] io scheduler kyber registered
[    2.003322] io scheduler bfq registered
[    2.016018] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.016045] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    2.020809] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.020824] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    2.022424] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.022438] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.029445] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.031619] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[    2.032455] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    3.429998] printk: console [ttyS2] enabled
[    3.435798] Serial: AMBA driver
[    3.441128] rockchip-vop ff8f0000.vop: Adding to iommu group 3
[    3.448215] rockchip-vop ff900000.vop: Adding to iommu group 4
[    3.459099] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    3.469843] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    3.479672] panfrost ff9a0000.gpu: clock rate = 500000000
[    3.485758] panfrost ff9a0000.gpu: failed to get regulators: -517
[    3.492582] panfrost ff9a0000.gpu: regulator init failed -517
[    3.499450] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.510534] brd: module loaded
[    3.519319] loop: module loaded
[    3.525597] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    3.534871] libphy: Fixed MDIO Bus: probed
[    3.540171] tun: Universal TUN/TAP device driver, 1.6
[    3.547117] thunder_xcv, ver 1.0
[    3.550790] thunder_bgx, ver 1.0
[    3.554456] nicpf, ver 1.0
[    3.558335] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.564865] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.571544] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    3.579342] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.585625] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.594379] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.601237] sky2: driver version 1.30
[    3.606376] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.613788] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.620830] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.627591] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.638095] usbcore: registered new interface driver cdc_ether
[    3.644675] usbcore: registered new interface driver cdc_subset
[    3.651511] VFIO - User Level meta-driver version: 0.3
[    3.670885] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.678214] ehci-pci: EHCI PCI platform driver
[    3.683231] ehci-platform: EHCI generic platform driver
[    3.691292] ehci-platform fe380000.usb: EHCI Host Controller
[    3.697656] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    3.706534] ehci-platform fe380000.usb: irq 30, io mem 0xfe380000
[    3.726298] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    3.733421] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.742685] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.750773] usb usb1: Product: EHCI Host Controller
[    3.756234] usb usb1: Manufacturer: Linux 5.7.0-rc6+ ehci_hcd
[    3.762666] usb usb1: SerialNumber: fe380000.usb
[    3.768393] hub 1-0:1.0: USB hub found
[    3.772630] hub 1-0:1.0: 1 port detected
[    3.779615] ehci-platform fe3c0000.usb: EHCI Host Controller
[    3.785975] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    3.794848] ehci-platform fe3c0000.usb: irq 32, io mem 0xfe3c0000
[    3.814298] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    3.821396] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.830651] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.838734] usb usb2: Product: EHCI Host Controller
[    3.844195] usb usb2: Manufacturer: Linux 5.7.0-rc6+ ehci_hcd
[    3.850626] usb usb2: SerialNumber: fe3c0000.usb
[    3.856274] hub 2-0:1.0: USB hub found
[    3.860508] hub 2-0:1.0: 1 port detected
[    3.865509] ehci-exynos: EHCI Exynos driver
[    3.870398] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.877331] ohci-pci: OHCI PCI platform driver
[    3.882370] ohci-platform: OHCI generic platform driver
[    3.888380] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    3.895900] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    3.904782] ohci-platform fe3a0000.usb: irq 31, io mem 0xfe3a0000
[    3.974437] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    3.983691] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.991777] usb usb3: Product: Generic Platform OHCI controller
[    3.998404] usb usb3: Manufacturer: Linux 5.7.0-rc6+ ohci_hcd
[    4.004839] usb usb3: SerialNumber: fe3a0000.usb
[    4.010565] hub 3-0:1.0: USB hub found
[    4.014790] hub 3-0:1.0: 1 port detected
[    4.019687] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    4.027201] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    4.036068] ohci-platform fe3e0000.usb: irq 33, io mem 0xfe3e0000
[    4.106500] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.115758] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.123843] usb usb4: Product: Generic Platform OHCI controller
[    4.130470] usb usb4: Manufacturer: Linux 5.7.0-rc6+ ohci_hcd
[    4.136904] usb usb4: SerialNumber: fe3e0000.usb
[    4.142724] hub 4-0:1.0: USB hub found
[    4.146950] hub 4-0:1.0: 1 port detected
[    4.151920] ohci-exynos: OHCI Exynos driver
[    4.157392] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.163557] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    4.172255] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.182809] xhci-hcd xhci-hcd.0.auto: irq 229, io mem 0xfe800000
[    4.189864] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.199126] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.207220] usb usb5: Product: xHCI Host Controller
[    4.212681] usb usb5: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.219111] usb usb5: SerialNumber: xhci-hcd.0.auto
[    4.225073] hub 5-0:1.0: USB hub found
[    4.229319] hub 5-0:1.0: 1 port detected
[    4.234028] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.240186] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    4.248767] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.256132] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.265299] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.274552] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.282634] usb usb6: Product: xHCI Host Controller
[    4.288094] usb usb6: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.294525] usb usb6: SerialNumber: xhci-hcd.0.auto
[    4.300473] hub 6-0:1.0: USB hub found
[    4.304697] hub 6-0:1.0: 1 port detected
[    4.309571] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.315733] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    4.324451] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.335016] xhci-hcd xhci-hcd.1.auto: irq 230, io mem 0xfe900000
[    4.342054] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.351318] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.359404] usb usb7: Product: xHCI Host Controller
[    4.364867] usb usb7: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.371293] usb usb7: SerialNumber: xhci-hcd.1.auto
[    4.377286] hub 7-0:1.0: USB hub found
[    4.381524] hub 7-0:1.0: 1 port detected
[    4.386247] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.392404] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    4.400983] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.408335] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.417495] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.426741] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.434824] usb usb8: Product: xHCI Host Controller
[    4.440292] usb usb8: Manufacturer: Linux 5.7.0-rc6+ xhci-hcd
[    4.446726] usb usb8: SerialNumber: xhci-hcd.1.auto
[    4.452687] hub 8-0:1.0: USB hub found
[    4.456929] hub 8-0:1.0: 1 port detected
[    4.461861] usbcore: registered new interface driver usb-storage
[    4.471194] mousedev: PS/2 mouse device common for all mice
[    4.477689] usbcore: registered new interface driver dwav_usb_mt
[    4.485176] i2c /dev entries driver
[    4.492064] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    4.499796] fan53555-reg: supplied by vcc3v3_sys
[    4.507032] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    4.514760] fan53555-reg: supplied by vcc3v3_sys
[    4.521936] rk808 0-001b: chip id: 0x0
[    4.530283] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    4.537224] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    4.544197] DCDC_REG1: supplied by vcc3v3_sys
[    4.549949] DCDC_REG2: supplied by vcc3v3_sys
[    4.550333] usb 4-1: new full-speed USB device number 2 using ohci-platform
[    4.555399] DCDC_REG3: supplied by vcc3v3_sys
[    4.567789] DCDC_REG4: supplied by vcc3v3_sys
[    4.573218] LDO_REG1: supplied by vcc3v3_sys
[    4.579241] LDO_REG2: supplied by vcc3v3_sys
[    4.584972] LDO_REG3: supplied by vcc3v3_sys
[    4.590850] LDO_REG4: supplied by vcc3v3_sys
[    4.596862] LDO_REG5: supplied by vcc3v3_sys
[    4.602596] LDO_REG6: supplied by vcc3v3_sys
[    4.608478] LDO_REG7: supplied by vcc3v3_sys
[    4.614307] LDO_REG8: supplied by vcc3v3_sys
[    4.620203] SWITCH_REG1: supplied by vcc3v3_sys
[    4.625578] SWITCH_REG2: supplied by vcc3v3_sys
[    4.642059] sdhci: Secure Digital Host Controller Interface driver
[    4.648974] sdhci: Copyright(c) Pierre Ossman
[    4.653916] Synopsys Designware Multimedia Card Interface Driver
[    4.661282] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    4.669175] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    4.676570] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    4.682820] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.693666] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    4.710350] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.734299] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.741087] sdhci-arasan fe330000.sdhci: Got CD GPIO
[    4.746765] mmc1: CQHCI version 5.10
[    4.774971] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    4.784971] ledtrig-cpu: registered to indicate activity on CPUs
[    4.787326] random: fast init done
[    4.792243] hid: raw HID events driver (C) Jiri Kosina
[    4.801688] usbcore: registered new interface driver usbhid
[    4.802461] usb 4-1: New USB device found, idVendor=046d, idProduct=c534, bcdDevice=29.01
[    4.807918] usbhid: USB HID core driver
[    4.811191] NET: Registered protocol family 10
[    4.817134] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.821752] Segment Routing with IPv6
[    4.826380] usb 4-1: Product: USB Receiver
[    4.834369] NET: Registered protocol family 17
[    4.838433] usb 4-1: Manufacturer: Logitech
[    4.843015] NET: Registered protocol family 15
[    4.856078] input: Logitech USB Receiver as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.0/0003:046D:C534.0001/input/input0
[    4.857077] mmc1: mmc_select_hs400es failed, error -110
[    4.857082] mmc1: error -110 whilst initialising MMC card
[    4.857686] 8021q: 802.1Q VLAN Support v1.8
[    4.886682] Key type dns_resolver registered
[    4.891680] registered taskstats version 1
[    4.896259] Loading compiled-in X.509 certificates
[    4.901671] zswap: loaded using pool lzo/zbud
[    4.906954] Key type ._fscrypt registered
[    4.911442] Key type .fscrypt registered
[    4.915822] Key type fscrypt-provisioning registered
[    4.921804] Btrfs loaded, crc32c=crc32c-generic
[    4.931198] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-fe3e0000.usb-1/input0
[    4.939163] Key type encrypted registered
[    4.949599] input: Logitech USB Receiver Mouse as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.1/0003:046D:C534.0002/input/input1
[    4.958634] mmc1: mmc_select_hs400es failed, error -110
[    4.963380] input: Logitech USB Receiver Consumer Control as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.1/0003:046D:C534.0002/input/input2
[    4.968562] mmc1: error -110 whilst initialising MMC card
[    4.969720] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    4.996019] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    5.003181] vcca0v9_s3: supplied by vcc_1v8
[    5.042965] input: Logitech USB Receiver System Control as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.1/0003:046D:C534.0002/input/input3
[    5.057451] hid-generic 0003:046D:C534.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-fe3e0000.usb-1/input1
[    5.072582] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    5.080378] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    5.085401] mmc1: mmc_select_hs400es failed, error -110
[    5.089802] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    5.089984] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    5.095643] mmc1: error -110 whilst initialising MMC card
[    5.105085] pci_bus 0000:00: root bus resource [bus 00-1f]
[    5.124622] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    5.132305] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    5.143034] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    5.149833] pci 0000:00:00.0: supports D1
[    5.154310] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    5.162231] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.171286] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185
[    5.178059] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.185935] pci 0000:01:00.0: reg 0x10: [io  size 0x0008]
[    5.191988] pci 0000:01:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.199866] pci 0000:01:00.0: reg 0x14: [io  size 0x0004]
[    5.205919] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.213794] pci 0000:01:00.0: reg 0x18: [io  size 0x0008]
[    5.219847] pci 0000:01:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    5.227723] pci 0000:01:00.0: reg 0x1c: [io  size 0x0004]
[    5.233776] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.241653] pci 0000:01:00.0: reg 0x20: [io  size 0x0010]
[    5.247707] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    5.254726] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    5.262245] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 512)
[    5.274469] mmc1: Command Queue Engine enabled
[    5.279440] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    5.283755] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    5.286967] mmcblk1: mmc1:0001 AJNB4R 14.6 GiB 
[    5.293958] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
[    5.299070] mmcblk1boot0: mmc1:0001 AJNB4R partition 1 4.00 MiB
[    5.306587] pci 0000:01:00.0: BAR 6: assigned [mem 0xfa000000-0xfa00ffff pref]
[    5.313263] mmcblk1boot1: mmc1:0001 AJNB4R partition 2 4.00 MiB
[    5.321268] pci 0000:01:00.0: BAR 5: assigned [mem 0xfa010000-0xfa0101ff]
[    5.328146] mmcblk1rpmb: mmc1:0001 AJNB4R partition 3 4.00 MiB, chardev (241:0)
[    5.330451] usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    5.335474] pci 0000:01:00.0: BAR 4: no space for [io  size 0x0010]
[    5.344794]  mmcblk1: p1 p2
[    5.351501] pci 0000:01:00.0: BAR 4: failed to assign [io  size 0x0010]
[    5.351505] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0008]
[    5.355687] usb 6-1: New USB device found, idVendor=1b1c, idProduct=1a0e, bcdDevice= 1.00
[    5.355693] usb 6-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    5.355697] usb 6-1: Product: Voyager GTX
[    5.355700] usb 6-1: Manufacturer: Corsair
[    5.355703] usb 6-1: SerialNumber: 5111705051911C160058
[    5.407977] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0008]
[    5.415377] pci 0000:01:00.0: BAR 2: no space for [io  size 0x0008]
[    5.422382] pci 0000:01:00.0: BAR 2: failed to assign [io  size 0x0008]
[    5.429774] pci 0000:01:00.0: BAR 1: no space for [io  size 0x0004]
[    5.436775] pci 0000:01:00.0: BAR 1: failed to assign [io  size 0x0004]
[    5.444166] pci 0000:01:00.0: BAR 3: no space for [io  size 0x0004]
[    5.451168] pci 0000:01:00.0: BAR 3: failed to assign [io  size 0x0004]
[    5.458560] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.464109] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    5.471811] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    5.478776] pcieport 0000:00:00.0: PME: Signaling with IRQ 241
[    5.485841] pcieport 0000:00:00.0: AER: enabled with IRQ 241
[    5.492418] ahci 0000:01:00.0: version 3.0
[    5.492444] ahci 0000:01:00.0: enabling device (0000 -> 0002)
[    5.499372] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.506870] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[    5.515816] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs 
[    5.526171] scsi host0: ahci
[    5.529882] scsi host1: ahci
[    5.533315] ata1: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010100 irq 242
[    5.541648] ata2: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010180 irq 242
[    5.552359] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    5.562722] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    5.571665] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    5.583506] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    5.592755] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.691898] Console: switching to colour frame buffer device 240x67
[    5.748525] rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
[    5.757571] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    5.766696] panfrost ff9a0000.gpu: clock rate = 500000000
[    5.773339] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    5.782016] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    5.791157] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    5.804377] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    5.813726] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    5.822513] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    5.829909] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    5.836865] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    5.843635] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    5.851513] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    5.857834] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    5.864160] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    5.871083] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    5.878862] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    5.890706] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    5.897447] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    5.905449] rk_gmac-dwmac fe300000.ethernet: 	DWMAC1000
[    5.911288] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    5.919650] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    5.928011] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    5.933849] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    5.941727] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    5.948943] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    5.955559] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    5.962075] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    6.026556] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    6.070493] libphy: stmmac: probed
[    6.074296] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    6.081215] ata1.00: ATA-8: WDC WD3200BEVT-00A0RT0, 01.01A01, max UDMA/133
[    6.088306] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    6.089771] input: gpio-keys as /devices/platform/gpio-keys/input/input6
[    6.096025] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 32), AA
[    6.110636] clk: Not disabling unused clocks
[    6.120234] ata1.00: configured for UDMA/133
[    6.125118] ALSA device list:
[    6.125121]   No soundcards found.
[    6.142033] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    6.142291] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3200BEVT-0 1A01 PQ: 0 ANSI: 5
[    6.159477] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    6.167895] sd 0:0:0:0: [sda] Write Protect is off
[    6.173273] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    6.173318] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.192082]  sda: sda1
[    6.195535] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.470990] ata2: SATA link down (SStatus 0 SControl 300)
[    6.478735] Freeing unused kernel memory: 3648K
[    6.483880] Run /init as init process
[    6.487971]   with arguments:
[    6.487973]     /init
[    6.487975]   with environment:
[    6.487977]     HOME=/
[    6.487978]     TERM=linux
[    6.694984] input: adc-keys as /devices/platform/adc-keys/input/input7
[    6.752362] rk808-rtc rk808-rtc: registered as rtc0
[    6.766364] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:17 UTC (1358499017)
[    6.814081] scsi host2: uas
[    6.818730] scsi 2:0:0:0: Direct-Access     Corsair  Voyager GTX      0    PQ: 0 ANSI: 6
[    6.819393] usbcore: registered new interface driver uas
[    7.083153] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    7.323241] systemd[1]: System time before build time, advancing clock.
[    7.383561] systemd[1]: systemd 245.4-4ubuntu3 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)
[    7.409198] systemd[1]: Detected architecture arm64.
[    7.447312] systemd[1]: Set hostname to <odroid-n1>.
[    7.626352] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    7.693343] random: systemd: uninitialized urandom read (16 bytes read)
[    7.702245] systemd[1]: Created slice system-modprobe.slice.
[    7.722513] random: systemd: uninitialized urandom read (16 bytes read)
[    7.730539] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.754537] random: systemd: uninitialized urandom read (16 bytes read)
[    7.762511] systemd[1]: Created slice User and Session Slice.
[    7.786705] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.814706] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.839034] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    7.866633] systemd[1]: Reached target Local Encrypted Volumes.
[    7.890607] systemd[1]: Reached target Paths.
[    7.906580] systemd[1]: Reached target Remote File Systems.
[    7.930573] systemd[1]: Reached target Slices.
[    7.946585] systemd[1]: Reached target Swap.
[    7.962872] systemd[1]: Listening on Syslog Socket.
[    7.978738] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.003003] systemd[1]: Listening on Journal Audit Socket.
[    8.026844] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.050886] systemd[1]: Listening on Journal Socket.
[    8.066951] systemd[1]: Listening on Network Service Netlink Socket.
[    8.090886] systemd[1]: Listening on udev Control Socket.
[    8.114784] systemd[1]: Listening on udev Kernel Socket.
[    8.140808] systemd[1]: Mounting Huge Pages File System...
[    8.160617] systemd[1]: Mounting POSIX Message Queue File System...
[    8.184655] systemd[1]: Mounting Kernel Debug File System...
[    8.202784] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.215198] systemd[1]: Starting Journal Service...
[    8.233311] systemd[1]: Starting Set the console keyboard layout...
[    8.261954] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    8.286574] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    8.297083] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.312503] systemd[1]: Starting Load Kernel Modules...
[    8.333732] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.360538] systemd[1]: Starting udev Coldplug all Devices...
[    8.362074] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[    8.395875] systemd[1]: Mounted Huge Pages File System.
[    8.415111] systemd[1]: Mounted POSIX Message Queue File System.
[    8.439340] systemd[1]: Mounted Kernel Debug File System.
[    8.464687] systemd[1]: Finished Set the console keyboard layout.
[    8.488909] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    8.516683] systemd[1]: Finished Load Kernel Modules.
[    8.536679] systemd[1]: Finished Remount Root and Kernel File Systems.
[    8.561587] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    8.575466] systemd[1]: Mounting Kernel Configuration File System...
[    8.599691] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    8.609336] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    8.623213] systemd[1]: Starting Load/Save Random Seed...
[    8.648650] systemd[1]: Starting Apply Kernel Variables...
[    8.672651] systemd[1]: Starting Create System Users...
[    8.685347] systemd[1]: Started Journal Service.
[    8.774680] systemd-journald[2040]: Received client request to flush runtime journal.
[    8.776004] systemd-journald[2040]: File /var/log/journal/34a6e93c3587402da70b094d4bbf3af5/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    9.275319] EXT2-fs (mmcblk1p1): warning: mounting unchecked fs, running e2fsck is recommended
[    9.275451] ext2 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[    9.402695] asoc-simple-card hdmi-sound: i2s-hifi <-> ff8a0000.i2s mapping ok
[    9.420583] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[    9.421556] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[    9.421567] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[    9.421573] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   11.082294] random: crng init done
[   11.082299] random: 7 urandom warning(s) missed due to ratelimiting
[   13.511221] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.511486] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   37.862544] vcc_efuse: supplied by vcc3v3_s0
[   37.874555] sd 2:0:0:0: tag#27 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
[   37.874567] sd 2:0:0:0: tag#27 CDB: opcode=0x9e, sa=0x10 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
[   37.894759] scsi host2: uas_eh_device_reset_handler start
[   38.023357] usb 6-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[   38.044737] scsi host2: uas_eh_device_reset_handler success
[   38.054867] sd 2:0:0:0: [sdb] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[   38.054981] sd 2:0:0:0: [sdb] Write Protect is off
[   38.054989] sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
[   38.055198] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   38.055465] sd 2:0:0:0: [sdb] Optimal transfer size 33553920 bytes
[   38.101532]  sdb: sdb1
[   38.103359] sd 2:0:0:0: [sdb] Attached SCSI disk
These users thanked the author hominoid for the post (total 2):
mad_ady (Wed May 27, 2020 2:24 pm) • rooted (Thu May 28, 2020 1:29 am)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Wed May 27, 2020 2:26 pm

I hope to replicate your steps soon and give my N1 an upgrade next week.
Did you change the delay in the ethernet driver, or did you leave it as it is?
I'll need to reread the thread and will probably return with some questions (and will document my steps)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Wed May 27, 2020 7:01 pm

Ok, I gave it a preliminary try and tried to recompile uboot from git with the previous patch with these instructions:

Code: Select all

mkdir May2020
cd May2020
git clone https://github.com/ARM-software/arm-trusted-firmware.git
git clone https://github.com/rockchip-linux/rkbin.git
git clone https://github.com/u-boot/u-boot.git
ls -l
cp ../0001-u-boot-rockchip-rk3399-Add-Odroid-N1-support.patch u-boot/
cd u-boot/
patch -p1 < 0001-u-boot-rockchip-rk3399-Add-Odroid-N1-support.patch 
vi buildn1spltpl.sh 
./buildn1spltpl.sh # Note - it will try to flash it to /dev/mmcblk0p1 if it exists! Comment it out!
It finishes with this error:

Code: Select all

...
  LD      tpl/fs/built-in.o
  LDS     tpl/u-boot-spl.lds
In file included from include/configs/gru.h:14:0,
                 from ././include/config.h:5,
                 from <command-line>:0:
include/configs/rk3399_common.h:22:0: warning: "CONFIG_SYS_MEMTEST_START" redefined
 #define CONFIG_SYS_MEMTEST_START 0x00200000
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:54:0: note: this is the location of the previous definition
 #define CONFIG_SYS_MEMTEST_START 0x0
 
In file included from include/configs/gru.h:14:0,
                 from ././include/config.h:5,
                 from <command-line>:0:
include/configs/rk3399_common.h:23:0: warning: "CONFIG_SYS_MEMTEST_END" redefined
 #define CONFIG_SYS_MEMTEST_END  0x03ffffff
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:373:0: note: this is the location of the previous definition
 #define CONFIG_SYS_MEMTEST_END 0x1000
 
  LD      tpl/u-boot-tpl
arch/arm/mach-rockchip/built-in.o: In function `board_debug_uart_init':
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:149: undefined reference to `spl_gpio_output'
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:149:(.text.board_debug_uart_init+0x34): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `spl_gpio_output'
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:150: undefined reference to `spl_gpio_set_pull'
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:150:(.text.board_debug_uart_init+0x44): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `spl_gpio_set_pull'
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:152: undefined reference to `spl_gpio_output'
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:152:(.text.board_debug_uart_init+0x54): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `spl_gpio_output'
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:153: undefined reference to `spl_gpio_set_pull'
/home/adrianp/development/mainline-n1/May2020/u-boot/arch/arm/mach-rockchip/rk3399/rk3399.c:153:(.text.board_debug_uart_init+0x64): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `spl_gpio_set_pull'
scripts/Makefile.spl:422: recipe for target 'tpl/u-boot-tpl' failed
make[2]: *** [tpl/u-boot-tpl] Error 1
Makefile:1949: recipe for target 'tpl/u-boot-tpl.bin' failed
make[1]: *** [tpl/u-boot-tpl.bin] Error 2
Makefile:547: recipe for target '__build_one_by_one' failed
make: *** [__build_one_by_one] Error 2
out:trust.img
merge success(trust.img)
/home/adrianp/development/mainline-n1/May2020/u-boot
'../rkbin/trust.img' -> './trust.img'
I'll reuse the previously built uboot and focus on the kernel.

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Wed May 27, 2020 10:48 pm

mad_ady wrote:
Wed May 27, 2020 2:26 pm
I hope to replicate your steps soon and give my N1 an upgrade next week.
Did you change the delay in the ethernet driver, or did you leave it as it is?
I'll need to reread the thread and will probably return with some questions (and will document my steps)
The posted test has tx-delay=28. I have tried it both ways and haven't notice any difference. I actually ran the system both ways for awhile and didn't notice any difference either. FYI, I did all the prep for the N1 image on my C4 including building the new kernel. This allowed me to stage and test the kernel and system config on the actual N1 image before moving to the N1. When I was ready I simply resized and moved the partitions, installed the N1 boot-loader, re-flashed the partition table, updated boot.scr and fixed the links to point to the correct dtb, kernel etc.
These users thanked the author hominoid for the post:
mad_ady (Thu May 28, 2020 1:31 pm)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu May 28, 2020 1:31 pm

Wait a second.. I'm not sure I read this correctly. You're saying that since it's based on tobetter's branch the same binary kernel can boot with the C4 dtb on the C4 and with the N1 dtb on the N1? Sounds like magic, but I guess it's the magic/promise of mainline, after all...
Sweet! I'll try it on my C4 as well.

brad
Posts: 1120
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 46 times
Been thanked: 93 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by brad » Thu May 28, 2020 8:03 pm

mad_ady wrote:
Thu May 28, 2020 1:31 pm
Wait a second.. I'm not sure I read this correctly. You're saying that since it's based on tobetter's branch the same binary kernel can boot with the C4 dtb on the C4 and with the N1 dtb on the N1? Sounds like magic, but I guess it's the magic/promise of mainline, after all...
Sweet! I'll try it on my C4 as well.
I think you could add the C2 and N2 on the list as well ;)
These users thanked the author brad for the post:
mad_ady (Thu May 28, 2020 9:23 pm)

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Thu May 28, 2020 9:59 pm

brad wrote:
Thu May 28, 2020 8:03 pm
mad_ady wrote:
Thu May 28, 2020 1:31 pm
Wait a second.. I'm not sure I read this correctly. You're saying that since it's based on tobetter's branch the same binary kernel can boot with the C4 dtb on the C4 and with the N1 dtb on the N1? Sounds like magic, but I guess it's the magic/promise of mainline, after all...
Sweet! I'll try it on my C4 as well.
I think you could add the C2 and N2 on the list as well ;)
That is my understanding as well but I have only done it on the C4 and N1.

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Sat May 30, 2020 5:03 am

Update
I have run out of room on the /boot partition a couple of times so I wanted to know if it could be enlarger without a problem and it can. It looks like only the beginning location(sector 32768) is critical. So using gparted, I resized /boot to 256MB and moved the beginning of the rootfs to accommodate the increase in size.

At least one regression has crept in after the enabling of PCIe and SATA. The last couple of days the first cold boot appears to hang with a reset needed. After that it boots and continues to reboot fine. It has only happen three times, each time the very first boot of the day. I have tried to replicate it, by unplugging everything to let power bleed off, but have not been able to reproduce it. I have been switching between the console only and a monitor/keyboard when this happens so it may be related, I don't know. One other unrelated issue, there is a message(console only) at shutdown, No atomic I2C transfer handler for 'i2c-0'. It still shuts down ok as far as I can tell.

Code: Select all

[  OK  ] Reached target Shutdown.
[  OK  ] Reached target Final Step.
[  OK  ] Finished Power-Off.
[  OK  ] Reached target Power-Off.
[   39.446047] reboot: Power down
[   39.449545] ------------[ cut here ]------------
[   39.454700] No atomic I2C transfer handler for 'i2c-0'
[   39.460508] WARNING: CPU: 0 PID: 1 at drivers/i2c/i2c-core.h:40 i2c_transfer+0xec/0x128
[   39.469449] Modules linked in: fuse rfkill cpufreq_powersave cpufreq_conservative snd_soc_hdmi_codec snd_soc_simple_card snd_soc_simple_cark
[   39.492398] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.7.0-rc6+ #7
[   39.499980] Hardware name: Hardkernel ODROID-N1 (DT)
[   39.505517] pstate: 60000085 (nZCv daIf -PAN -UAO)
[   39.510867] pc : i2c_transfer+0xec/0x128
[   39.515246] lr : i2c_transfer+0xec/0x128
[   39.519623] sp : ffff80001004baf0
[   39.523311] x29: ffff80001004baf0 x28: ffff0000f6e18000 
[   39.529245] x27: 0000000000000000 x26: 0000000000000000 
[   39.535178] x25: 0000000000000008 x24: 0000000000000000 
[   39.541111] x23: ffff0000f6e18000 x22: ffff80001004bc64 
[   39.547044] x21: 0000000000000002 x20: ffff80001004bb48 
[   39.552978] x19: ffff0000f5b64880 x18: 0000000000000010 
[   39.558911] x17: 0000000000000000 x16: 0000000000000000 
[   39.564844] x15: ffff0000f6e18488 x14: ffffffffffffffff 
[   39.570778] x13: ffff80009004b847 x12: ffff80001004b84f 
[   39.576711] x11: ffff8000119bc000 x10: ffff800011af3830 
[   39.582644] x9 : 0000000000000000 x8 : ffff800011af4000 
[   39.588577] x7 : ffff8000109c92b8 x6 : 000000000000026b 
[   39.594509] x5 : 0000000000000000 x4 : 0000000000000000 
[   39.600442] x3 : 00000000ffffffff x2 : ffff8000119bc838 
[   39.606374] x1 : 7655cc0eace66400 x0 : 0000000000000000 
[   39.612308] Call trace:
[   39.615037]  i2c_transfer+0xec/0x128
[   39.619031]  regmap_i2c_read+0x60/0xa8
[   39.623217]  _regmap_raw_read+0xd4/0x148
[   39.627596]  _regmap_bus_read+0x40/0x78
[   39.631878]  _regmap_read+0x64/0xf0
[   39.635772]  _regmap_update_bits+0xd0/0x110
[   39.640443]  regmap_update_bits_base+0x64/0x98
[   39.645406]  rk808_pm_power_off+0x70/0x90
[   39.649885]  machine_power_off+0x28/0x38
[   39.654266]  kernel_power_off+0x68/0x78
[   39.658548]  __do_sys_reboot+0x168/0x250
[   39.662929]  __arm64_sys_reboot+0x24/0x30
[   39.667407]  el0_svc_common.constprop.0+0x6c/0x168
[   39.672758]  do_el0_svc+0x24/0x90
[   39.676457]  el0_sync_handler+0x114/0x180
[   39.680932]  el0_sync+0x158/0x180
[   39.684631] ---[ end trace 4ef925a273036973 ]---
The last OS configuration issue I’m aware of is the initrd.img installation fails at kernel build and apt upgrade. To solve this problem add the Odorid-N1 board into the database /usr/share/flash-kernel/db/all.db

Code: Select all

Machine: Hardkernel ODROID-N1
Kernel-Flavors: arm64
DTB-Id: rockchip/rk3399-odroidn1.dtb
Boot-Script-Path: /boot/boot.scr
U-Boot-Script-Name: bootscr.odroid-n1
Required-Packages: u-boot-tools
Bootloader-Sets-Incorrect-Root: yes
A copy of the dtb needs to be placed in the following directorys based on the kernels installed. Here are mine.

Code: Select all

cp rk3399-odroidn1.dtb /usr/lib/linux-image-5.7.0-rc6+/rockchip
cp rk3399-odroidn1.dtb /usr/lib/linux-image-5.7.0-rc6+.old/rockchip
cp rk3399-odroidn1.dtb /usr/lib/linux-image-5.7.0-odroid-arm64/rockchip
I have been using a custom boot.scr so to use the default system built file a uboot script needs to be added per the db entry above in /etc/flash-kernel/bootscript.
sudo cp /etc/flash-kernel/bootscript/bootscr.odroid-c4 /etc/flash-kernel/bootscript/bootscr.odroid-n1
So now the initrd.img update during apt upgrade and kernel builds should complete successfully with an automatically generated boot.scr as well. I have tested apt upgrade but not the kernel build yet. Make sure you have a backup of boot.scr. :?

I also have built mesa 20.1 (X11,drm) panfrost without errors but have some operational issues. It’ll require more time getting it working. Mesa does not tell you dependencies and expects one to figure it out while compiling so to save everyone some time, here is what I found based on the configuration I built.

Code: Select all

Message: Configuration summary:
        
        prefix:          /usr
        libdir:          lib/aarch64-linux-gnu
        includedir:      include
        
        OpenGL:          yes (ES1: yes ES2: yes)
        OSMesa:          no
        
        DRI platform:    drm
        DRI drivers:     no
        DRI driver dir:  /usr/lib/aarch64-linux-gnu/dri
        
        EGL:             yes
        EGL drivers:     builtin:egl_dri2 builtin:egl_dri3
        GBM:             yes
        EGL/Vulkan/VL platforms:   x11 drm
        
        Vulkan drivers:  no
        
        llvm:            yes
        llvm-version:    9.0.1
        
        Gallium drivers: panfrost kmsro
        Gallium st:      mesa clover
        HUD lmsensors:   no
        
        Shared-glapi:    yes

Code: Select all

sudo apt install ninja-build flex bison python3 python3-setuptools python3-mako meson pkg-config libclc-dev libdrm-dev llvm-9 libelf-dev libunwind-dev libx11-dev libxext-dev libxdamage-dev libxcb-glx0-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev libxshmfence-dev libxxf86vm-dev libxrandr-dev clang-9 libclang-9-dev libglx-dev
git clone https://gitlab.freedesktop.org/mesa/mesa.git/ -b 20.1
cd ~/mesa
mkdir build
meson  build/ -Dprefix=/usr -Dplatforms=x11,drm -Ddri-drivers=[] -Dvulkan-drivers=[] -Dgallium-drivers=panfrost,kmsro -Dtools=panfrost -Dglx=disabled -Dglx-direct=true -Dgbm=true -Dgles1=true -Dgles2=true -Dgallium-opencl=icd
ninja -C build/
sudo ninja -C build/ install
And for reference and saving time converting the C4 image, here are the sfdisk commands I used to save and restore the partition table when I converted the C4 image to an N1 image.

To record the partition table
sudo sfdisk -d /dev/mmcblk1 > ./partition-table.txt

Flash n1bootloader – here is mine(sector 0- 32767) already flashed with @mad_ady’s uboot. The partition table is bootloader 16MB, /boot 256MB, rootfs the remainder of 16gb emmc. If your using the same your all set, you shouldn't need to restore the partition table.

Code: Select all

hominoid@odroid-n1:~$ sudo sfdisk -d /dev/mmcblk1 > ./partition-table.txt
hominoid@odroid-n1:~$ cat ./partition-table.txt
label: dos
label-id: 0x630bb630
device: /dev/mmcblk1
unit: sectors

/dev/mmcblk1p1 : start=       32768, size=      524288, type=83, bootable
/dev/mmcblk1p2 : start=      557056, size=    29978624, type=83
n1bootloader.bin.zip
(3.24 MiB) Downloaded 10 times
To restore the partition table
sudo sfdisk /dev/mmcblk1 < ./partition-table.txt

Here are the dts and dtb(@moon.linux's) so you don’t need any kernel patching if you prefer(default tx_delay=28). Don't forget to add it to the Makefile in arch/arm64/boot/dts/rockchip
rk3399-odroidn1.dts.zip
(14.71 KiB) Downloaded 27 times
These users thanked the author hominoid for the post:
mad_ady (Sat May 30, 2020 1:33 pm)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Sat May 30, 2020 1:34 pm

I can live with a cold boot issue since my board runs 24x7.
Thanks a lot for your work!

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Sat May 30, 2020 2:38 pm

Hi hominoid

Thanks for testing and keeping this board alive. :D

Here are some update on u-boot and clean of kernel dts file changes.
I am attaching the new patch for u-boot and kernel .
odroid-n1.tar.gz
DTS changes Odroid n1 sync with mainline.
(9.65 KiB) Downloaded 10 times


u-boot changes are significant since it fix the memory needed for SPL/TPL.
Major changes is the name of the dts change from rk3399-odroidn1.dtb --> rk3399-odroid-n1.dtb

For u-boot to work correctly you need following patch.
https://patchwork.ozlabs.org/project/ub ... .com/mbox/

Also their is new way to build of u-boot images, if successful use the new approach.

Note: Since their are lots of changes related u-boot features and protocol
we need to keep in sync with latest u-boot and kernel.

Now I think so probably in 5.8.x we could have hardware acceleration for VPU on all rockchip platforms.
so we need to keep sync with the dts and core changes.

I only used this board to build server for but this will get working for all the major features up coming kernel updates.

Is normal as its help clean shutdown for RK3399 platform, on EMMc their is no issue of reboot. but on SDcard it get stuck.

Code: Select all

[  OK  ] Reached target Power-Off.
[   39.446047] reboot: Power down
[   39.449545] ------------[ cut here ]------------
[   39.454700] No atomic I2C transfer handler for 'i2c-0'
[   39.460508] WARNING: CPU: 0 PID: 1 at drivers/i2c/i2c-core.h:40 i2c_transfer+0xec/0x128
[   39.469449] Modules linked in: fuse rfkill cpufreq_powersave cpufreq_conservative snd_soc_hdmi_codec snd_soc_simple_card snd_soc_simple_cark
[   39.492398] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.7.0-rc6+ #7
On PCIe issue this will also get address. so I will keep updating on this.

Edited: Sound update.
You can enable audio via hdmi by enable i2s2 node in DTS.

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Xorg is working fine with "1920x1080" 60 Hz....no 4K at this moment ..... using basic youtube play back
These users thanked the author moon.linux for the post (total 3):
rooted (Sat May 30, 2020 3:03 pm) • hominoid (Sun May 31, 2020 3:24 am) • brad (Sun May 31, 2020 9:59 am)

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Sun May 31, 2020 3:26 am

@moon.linux Thank you for all the help and patches! I will try building uboot using the latest procedures and it would nice to have the vpu working in 5.8.x. I had xorg up at 1920x1080 as well but I had trouble running glxgear and glmark2. When I tried OpenCL, running clinfo seg faults but I haven’t had a chance to spend much time working on it yet. Any insight on why rockchip pwm is not working? I noticed you enabled it in the n1 defconfig.

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Sun May 31, 2020 9:55 pm

@hominoid
I am using Archlinux as my based for testing, so this might be different from your approach. WHY: ( rolling release model distro)

For Panfrost to work with Xorg you need to modify create configuration file /etc/X11/xorg.conf.d/02-xorg.conf as shown in below thread.
https://forum.armbian.com/topic/13773-panfrost-on-s912/
For my testing

Code: Select all

 
$ cat 02-xorg.conf
Section "Monitor"
        Identifier      "Monitor0"
        Option          "DPMS" "false"
EndSection
Section "Files"
        ModulePath      "/usr/lib/xorg/modules"
EndSection
Section "ServerFlags"
        Option          "BlankTime" "0"
        Option          "StandbyTime" "0"
        Option          "SuspendTime" "0"
        Option          "OffTime" "0"
EndSection
Section "Device"
        Identifier      "Default Device"
        Driver          "modesetting"
        Option          "AccelMethod"    "glamor"     ### "glamor" to enable 3D acceleration, "none" to disable.
EndSection

Section "ServerFlags"
        Option          "AutoAddGPU" "off"
        Option          "Debug" "dmabuf_capable"
EndSection

Section "OutputClass"
        Identifier "Meson"
        MatchDriver     "rockchip"      #sun4i-drm/meson/rockchip
        Driver          "modesetting"
        Option          "PrimaryGPU" "true"
EndSection
Note: for different SoC and GPU module we need to change the following in above conf file.
Edited: https://gitlab.freedesktop.org/lima/web ... /README.md

Code: Select all

# Rockchip SoC  --- RK3399/RK3328...
   Identifier "Meson"
   MatchDriver "rockchip"
# Amlogic SoC --- GXBB/GLX...
   Identifier "Lima"
   MatchDriver "meson"
It's again depend on the testing with identify the logs cat /var/log/Xorg.0.log

I have got this XFEC desktop to configure on my Odroid - N1 and Rock960 board.
so it's easy for me to migrate and test on both the platforms.

So If got glxinfo and glmark2-es to work on Odroid -N1 and Rrock960 board.

Code: Select all

cat gputest.sh
glxinfo > glxinfo.txt

glmark2-es2 --fullscreen > glmark-es2-fs.txt

glmark2-es2 --off-screen > glmark2-es2-os.txt

glmark2-es2 --off-screen --fullscreen > glmark2-es2-os-fs.txt
Below is the GPU testing result

Code: Select all

$ cat glmark-es2-fs.txt
=======================================================
    glmark2 2014.03
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali T860 (Panfrost)
    GL_VERSION:    OpenGL ES 2.0 Mesa 20.0.7
=======================================================
[build] use-vbo=false: FPS: 97 FrameTime: 10.309 ms
[build] use-vbo=true: FPS: 103 FrameTime: 9.709 ms
[texture] texture-filter=nearest: FPS: 146 FrameTime: 6.849 ms
[texture] texture-filter=linear: FPS: 146 FrameTime: 6.849 ms
[texture] texture-filter=mipmap: FPS: 147 FrameTime: 6.803 ms
[shading] shading=gouraud: FPS: 99 FrameTime: 10.101 ms
[shading] shading=blinn-phong-inf: FPS: 98 FrameTime: 10.204 ms
[shading] shading=phong: FPS: 131 FrameTime: 7.634 ms
[shading] shading=cel: FPS: 127 FrameTime: 7.874 ms
[bump] bump-render=high-poly: FPS: 83 FrameTime: 12.048 ms
[bump] bump-render=normals: FPS: 148 FrameTime: 6.757 ms
[bump] bump-render=height: FPS: 146 FrameTime: 6.849 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 118 FrameTime: 8.475 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 57 FrameTime: 17.544 ms
[pulsar] light=false:quads=5:texture=false: FPS: 161 FrameTime: 6.211 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 35 FrameTime: 28.571 ms
[desktop] effect=shadow:windows=4: FPS: 103 FrameTime: 9.709 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 77 FrameTime: 12.987 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 77 FrameTime: 12.987 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 85 FrameTime: 11.765 ms
[ideas] speed=duration: FPS: 102 FrameTime: 9.804 ms
[jellyfish] <default>: FPS: 101 FrameTime: 9.901 ms
[terrain] <default>: FPS: 11 FrameTime: 90.909 ms
[shadow] <default>: FPS: 54 FrameTime: 18.519 ms
[refract] <default>: FPS: 30 FrameTime: 33.333 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 159 FrameTime: 6.289 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 134 FrameTime: 7.463 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 159 FrameTime: 6.289 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 147 FrameTime: 6.803 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 127 FrameTime: 7.874 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 147 FrameTime: 6.803 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 147 FrameTime: 6.803 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 130 FrameTime: 7.692 ms
=======================================================
                                  glmark2 Score: 110
=======================================================
Attach are the more test results
odroid-n1-gpu.tar.gz
odroid n1 test results
(90 KiB) Downloaded 12 times
rock960-gpu.tar.gz
rock960 test results
(90 KiB) Downloaded 11 times
clinfo did not work for me sorry. :!:

Regarding PWM I guess it related to CPU Fan controller so I have enabled this but still some driver changes are required to make this work correctly.
These users thanked the author moon.linux for the post (total 2):
mad_ady (Sun May 31, 2020 10:35 pm) • hominoid (Mon Jun 01, 2020 1:28 am)

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Sun May 31, 2020 10:51 pm

FYI: u-boot now needs to flash with single file to eMMC or SDcard.
https://wiki.amarulasolutions.com/bsp/r ... pi_m4.html
Plz try this new approach.

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Sun May 31, 2020 11:16 pm

So, for u-boot are you compiling it with nanopi defconfig, or are you still applying the odroid n1 uboot patch we used to use previously?

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Sun May 31, 2020 11:41 pm

No you need to follow these steps to build u-boot for odroid n1 but using the u-boot patch for odroid n1.
'make odroid-n1_rk3399_defconfig'

This will build single u-boot u-boot-rockchip.bin image so that it's clean way to upgrade u-boot to eMMC or SDcard.

Code: Select all

cd /path/to/u-boot
sudo dd if=u-boot-rockchip.bin of=/dev/mmcblk0 seek=64
sync

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Mon Jun 01, 2020 1:39 am

Lots of good info @moon.linux, thanks again! I’ll revisit panfrost in the near future and by the way, I’m also running xfce. I compiled and installed mainline uboot successfully last night. I used the patches and had no problems. I tried it both ways and both worked. I’m currently booting on u-boot-rockchip.bin. For those running Ubuntu 20.04, I changed the dtb names in the /boot directory, in the board database /usr/share/flash-kernel/db/all.db and placed a copy of the dtb in the appropriate /usr/lib/linux-image-5.7.0-* directories and everything is up and running.

Code: Select all

U-Boot SPL 2020.07-rc3-00048-ga08e0a28eb-dirty (May 30 2020 - 21:42:06 -0400)
Trying to boot from MMC2
NOTICE:  BL31: v2.3(release):v2.3-107-gdd1eb34aa
NOTICE:  BL31: Built : 21:42:00, May 30 2020


U-Boot 2020.07-rc3-00048-ga08e0a28eb-dirty (May 30 2020 - 21:42:06 -0400)

Model: Hardkernel ODROID-N1
DRAM:  3.9 GiB
PMIC:  RK808 
MMC:   mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Hardkernel ODROID-N1
Net:   
Error: ethernet@fe300000 address not set.
No ethernet found.

Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2757 bytes read in 16 ms (168 KiB/s)
## Executing script at 00500000
28157960 bytes read in 727 ms (36.9 MiB/s)
56798 bytes read in 38 ms (1.4 MiB/s)
12144117 bytes read in 357 ms (32.4 MiB/s)
Booting Debian from mmc 0:1...
## Flattened Device Tree blob at 20000000
   Booting using the fdt blob at 0x20000000
   Loading Ramdisk to f196c000, end f2500df5 ... OK
   Loading Device Tree to 00000000f195b000, end 00000000f196bddd ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.0-rc7+ (hominoid@odroid-n1) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2), GNU ld (GNU Binutils for Ubuntu) 2.30
[    0.000000] Machine model: Hardkernel ODROID-N1
[    0.000000] cma: Reserved 800 MiB at 0x00000000bf800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77ec100-0xf77edfff]
[    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.1 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 22 pages/cpu s53208 r8192 d28712 u90112
[    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=a977a8c4-0492-48d9-9876-8f53ac858a41 rootwait ro cma=800M clk_ignore_unused
[    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] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3055532K/4061184K available (16190K kernel code, 1450K rwdata, 6164K rodata, 3648K init, 608K bss, 186452K reserved, 81)
[    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=256 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: 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 @f2c80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f2c40000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2c50000
[    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+0x310/0x4d4 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001357] Console: colour dummy device 80x25
[    0.002363] printk: console [tty0] enabled
[    0.002491] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002534] pid_max: default: 32768 minimum: 301
[    0.002694] LSM: Security Framework initializing
[    0.002767] SELinux:  Initializing.
[    0.002937] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002991] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.005549] rcu: Hierarchical SRCU implementation.
[    0.008374] Platform MSI: interrupt-controller@fee20000 domain created
[    0.008808] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.011327] smp: Bringing up secondary CPUs ...
[    0.012081] Detected VIPT I-cache on CPU1
[    0.012119] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.012135] GICv3: CPU1: using allocated LPI pending table @0x00000000f2c60000
[    0.012185] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012967] Detected VIPT I-cache on CPU2
[    0.012998] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.013012] GICv3: CPU2: using allocated LPI pending table @0x00000000f2c70000
[    0.013046] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013758] Detected VIPT I-cache on CPU3
[    0.013787] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.013800] GICv3: CPU3: using allocated LPI pending table @0x00000000f2d00000
[    0.013832] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.014540] CPU features: detected: EL2 vector hardening
[    0.014550] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.014556] CPU features: detected: ARM erratum 1319367
[    0.014563] Detected PIPT I-cache on CPU4
[    0.014594] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.014608] GICv3: CPU4: using allocated LPI pending table @0x00000000f2d10000
[    0.014644] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.015409] Detected PIPT I-cache on CPU5
[    0.015435] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.015447] GICv3: CPU5: using allocated LPI pending table @0x00000000f2d20000
[    0.015475] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.015589] smp: Brought up 1 node, 6 CPUs
[    0.016062] SMP: Total of 6 processors activated.
[    0.016084] CPU features: detected: 32-bit EL0 Support
[    0.016107] CPU features: detected: CRC32 instructions
[    0.041750] CPU: All CPU(s) started at EL2
[    0.041820] alternatives: patching kernel code
[    0.045047] devtmpfs: initialized
[    0.055755] Registered cp15_barrier emulation handler
[    0.055788] Registered setend emulation handler
[    0.055807] KASLR disabled due to lack of seed
[    0.056207] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.056241] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.071329] xor: measuring software checksum speed
[    0.107966]    8regs     :  2344.000 MB/sec
[    0.148036]    32regs    :  2756.000 MB/sec
[    0.188109]    arm64_neon:  2432.000 MB/sec
[    0.188123] xor: using function: 32regs (2756.000 MB/sec)
[    0.188145] pinctrl core: initialized pinctrl subsystem
[    0.189738] thermal_sys: Registered thermal governor 'fair_share'
[    0.189743] thermal_sys: Registered thermal governor 'bang_bang'
[    0.189767] thermal_sys: Registered thermal governor 'step_wise'
[    0.189781] thermal_sys: Registered thermal governor 'user_space'
[    0.191020] NET: Registered protocol family 16
[    0.193173] DMA: preallocated 256 KiB pool for atomic allocations
[    0.193199] audit: initializing netlink subsys (disabled)
[    0.193397] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
[    0.195122] cpuidle: using governor menu
[    0.195554] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.195767] ASID allocator initialised with 65536 entries
[    0.196790] Serial: AMBA PL011 UART driver
[    0.242787] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.242832] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.242860] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.242886] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.249752] cryptd: max_cpu_qlen set to 1000
[    0.328595] raid6: neonx8   gen()  1694 MB/s
[    0.396714] raid6: neonx8   xor()  1267 MB/s
[    0.464852] raid6: neonx4   gen()  1724 MB/s
[    0.532979] raid6: neonx4   xor()  1307 MB/s
[    0.601111] raid6: neonx2   gen()  1521 MB/s
[    0.669240] raid6: neonx2   xor()  1208 MB/s
[    0.737371] raid6: neonx1   gen()  1194 MB/s
[    0.805509] raid6: neonx1   xor()   964 MB/s
[    0.873655] raid6: int64x8  gen()   991 MB/s
[    0.941764] raid6: int64x8  xor()   582 MB/s
[    1.009876] raid6: int64x4  gen()   987 MB/s
[    1.078007] raid6: int64x4  xor()   592 MB/s
[    1.146109] raid6: int64x2  gen()   924 MB/s
[    1.214229] raid6: int64x2  xor()   525 MB/s
[    1.282360] raid6: int64x1  gen()   717 MB/s
[    1.350485] raid6: int64x1  xor()   390 MB/s
[    1.350499] raid6: using algorithm neonx4 gen() 1724 MB/s
[    1.350512] raid6: .... xor() 1307 MB/s, rmw enabled
[    1.350525] raid6: using neon recovery algorithm
[    1.351839] vcc5v0_sys: supplied by vcc12v_dcin
[    1.352169] vcc3v3_sys: supplied by vcc12v_dcin
[    1.352598] vcc3v0_vdd: supplied by vcc3v3_sys
[    1.353356] vcc3v3_pcie: supplied by vcc3v3_sys
[    1.353682] vcca1v8_s3: supplied by vcc3v3_sys
[    1.354274] vcc_0v9: supplied by vcc3v3_sys
[    1.354781] vcc5v0_host: supplied by vcc5v0_sys
[    1.355243] vcc5v0_host31: supplied by vcc5v0_sys
[    1.355702] vcc5v0_host32: supplied by vcc5v0_sys
[    1.356589] iommu: Default domain type: Translated 
[    1.358986] vgaarb: loaded
[    1.359593] SCSI subsystem initialized
[    1.360227] usbcore: registered new interface driver usbfs
[    1.360296] usbcore: registered new interface driver hub
[    1.360403] usbcore: registered new device driver usb
[    1.361073] pps_core: LinuxPPS API ver. 1 registered
[    1.361091] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.361130] PTP clock support registered
[    1.361382] EDAC MC: Ver: 3.0.0
[    1.362372] Advanced Linux Sound Architecture Driver Initialized.
[    1.363292] clocksource: Switched to clocksource arch_sys_counter
[    1.363530] VFS: Disk quotas dquot_6.6.0
[    1.363611] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.373791] NET: Registered protocol family 2
[    1.374319] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.374414] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.374773] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.375538] TCP: Hash tables configured (established 32768 bind 32768)
[    1.375695] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.375841] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.376163] NET: Registered protocol family 1
[    1.376693] RPC: Registered named UNIX socket transport module.
[    1.376710] RPC: Registered udp transport module.
[    1.376722] RPC: Registered tcp transport module.
[    1.376734] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.376754] PCI: CLS 0 bytes, default 64
[    1.376942] Trying to unpack rootfs image as initramfs...
[    1.556149] Freeing initrd memory: 11856K
[    1.557114] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.557484] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.558066] kvm [1]: IPA Size Limit: 40bits
[    1.558840] kvm [1]: vgic-v2@fff20000
[    1.558879] kvm [1]: GIC system register CPU interface enabled
[    1.559083] kvm [1]: vgic interrupt IRQ10
[    1.559350] kvm [1]: Hyp mode initialized successfully
[    1.982737] Initialise system trusted keyrings
[    1.982968] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    1.994488] zbud: loaded
[    1.997056] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.998574] NFS: Registering the id_resolver key type
[    1.998637] Key type id_resolver registered
[    1.998657] Key type id_legacy registered
[    1.998691] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.998716] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.000305] ntfs: driver 2.1.32 [Flags: R/W].
[    2.001190] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.007027] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    2.010047] ocfs2: Registered cluster interface o2cb
[    2.010388] OCFS2 User DLM kernel interface loaded
[    2.013029] gfs2: GFS2 installed
[    2.047351] Key type asymmetric registered
[    2.047374] Asymmetric key parser 'x509' registered
[    2.047437] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.047637] io scheduler mq-deadline registered
[    2.047654] io scheduler kyber registered
[    2.047820] io scheduler bfq registered
[    2.060987] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.066366] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.066400] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    2.068011] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.068041] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.075617] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.077744] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[    2.078621] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    3.476934] printk: console [ttyS2] enabled
[    3.482720] Serial: AMBA driver
[    3.488028] rockchip-vop ff8f0000.vop: Adding to iommu group 3
[    3.495098] rockchip-vop ff900000.vop: Adding to iommu group 4
[    3.505861] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    3.516661] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    3.526434] panfrost ff9a0000.gpu: clock rate = 500000000
[    3.532530] panfrost ff9a0000.gpu: failed to get regulators: -517
[    3.539362] panfrost ff9a0000.gpu: regulator init failed -517
[    3.546237] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.557372] brd: module loaded
[    3.566321] loop: module loaded
[    3.572567] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    3.581767] libphy: Fixed MDIO Bus: probed
[    3.586882] tun: Universal TUN/TAP device driver, 1.6
[    3.593799] thunder_xcv, ver 1.0
[    3.597477] thunder_bgx, ver 1.0
[    3.601144] nicpf, ver 1.0
[    3.604991] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.611528] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.618210] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    3.626010] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.632303] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.641083] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.647936] sky2: driver version 1.30
[    3.653134] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.660559] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.667600] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.674420] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    3.682324] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    3.688669] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    3.695009] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    3.701985] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    3.709790] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    3.721639] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    3.728084] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    3.736091] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
[    3.741949] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    3.750333] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    3.758717] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    3.764571] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    3.772473] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    3.779716] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    3.786350] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    3.792885] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.802313] libphy: stmmac: probed
[    3.821526] usbcore: registered new interface driver cdc_ether
[    3.828131] usbcore: registered new interface driver cdc_subset
[    3.835015] VFIO - User Level meta-driver version: 0.3
[    3.854181] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.861529] ehci-pci: EHCI PCI platform driver
[    3.866560] ehci-platform: EHCI generic platform driver
[    3.874696] ehci-platform fe380000.usb: EHCI Host Controller
[    3.881069] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    3.889956] ehci-platform fe380000.usb: irq 30, io mem 0xfe380000
[    3.911323] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    3.918451] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.927710] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.935805] usb usb1: Product: EHCI Host Controller
[    3.941273] usb usb1: Manufacturer: Linux 5.7.0-rc7+ ehci_hcd
[    3.947713] usb usb1: SerialNumber: fe380000.usb
[    3.953468] hub 1-0:1.0: USB hub found
[    3.957718] hub 1-0:1.0: 1 port detected
[    3.964688] ehci-platform fe3c0000.usb: EHCI Host Controller
[    3.971061] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    3.979942] ehci-platform fe3c0000.usb: irq 32, io mem 0xfe3c0000
[    3.999318] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    4.006438] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.015708] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.023803] usb usb2: Product: EHCI Host Controller
[    4.029271] usb usb2: Manufacturer: Linux 5.7.0-rc7+ ehci_hcd
[    4.035711] usb usb2: SerialNumber: fe3c0000.usb
[    4.041390] hub 2-0:1.0: USB hub found
[    4.045632] hub 2-0:1.0: 1 port detected
[    4.050669] ehci-exynos: EHCI Exynos driver
[    4.055572] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.062518] ohci-pci: OHCI PCI platform driver
[    4.067574] ohci-platform: OHCI generic platform driver
[    4.073625] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    4.081155] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    4.090037] ohci-platform fe3a0000.usb: irq 31, io mem 0xfe3a0000
[    4.159493] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.168762] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.176849] usb usb3: Product: Generic Platform OHCI controller
[    4.183484] usb usb3: Manufacturer: Linux 5.7.0-rc7+ ohci_hcd
[    4.189926] usb usb3: SerialNumber: fe3a0000.usb
[    4.195622] hub 3-0:1.0: USB hub found
[    4.199864] hub 3-0:1.0: 1 port detected
[    4.204754] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    4.212285] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    4.221174] ohci-platform fe3e0000.usb: irq 33, io mem 0xfe3e0000
[    4.291458] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.300725] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.308817] usb usb4: Product: Generic Platform OHCI controller
[    4.315454] usb usb4: Manufacturer: Linux 5.7.0-rc7+ ohci_hcd
[    4.321887] usb usb4: SerialNumber: fe3e0000.usb
[    4.327597] hub 4-0:1.0: USB hub found
[    4.331846] hub 4-0:1.0: 1 port detected
[    4.336827] ohci-exynos: OHCI Exynos driver
[    4.342299] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.348472] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    4.357199] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.367773] xhci-hcd xhci-hcd.0.auto: irq 227, io mem 0xfe800000
[    4.374829] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.384102] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.392199] usb usb5: Product: xHCI Host Controller
[    4.397666] usb usb5: Manufacturer: Linux 5.7.0-rc7+ xhci-hcd
[    4.404107] usb usb5: SerialNumber: xhci-hcd.0.auto
[    4.410102] hub 5-0:1.0: USB hub found
[    4.414353] hub 5-0:1.0: 1 port detected
[    4.419082] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.425248] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    4.433840] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.441214] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.450407] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.459673] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.467767] usb usb6: Product: xHCI Host Controller
[    4.473226] usb usb6: Manufacturer: Linux 5.7.0-rc7+ xhci-hcd
[    4.479664] usb usb6: SerialNumber: xhci-hcd.0.auto
[    4.485654] hub 6-0:1.0: USB hub found
[    4.489894] hub 6-0:1.0: 1 port detected
[    4.494765] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.500930] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    4.509646] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.520229] xhci-hcd xhci-hcd.1.auto: irq 228, io mem 0xfe900000
[    4.527312] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.536578] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.544678] usb usb7: Product: xHCI Host Controller
[    4.550147] usb usb7: Manufacturer: Linux 5.7.0-rc7+ xhci-hcd
[    4.556586] usb usb7: SerialNumber: xhci-hcd.1.auto
[    4.562573] hub 7-0:1.0: USB hub found
[    4.566819] hub 7-0:1.0: 1 port detected
[    4.571557] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.577723] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    4.586313] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.593683] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.602860] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.612125] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.620218] usb usb8: Product: xHCI Host Controller
[    4.625686] usb usb8: Manufacturer: Linux 5.7.0-rc7+ xhci-hcd
[    4.632126] usb usb8: SerialNumber: xhci-hcd.1.auto
[    4.638078] hub 8-0:1.0: USB hub found
[    4.642317] hub 8-0:1.0: 1 port detected
[    4.647239] usbcore: registered new interface driver usb-storage
[    4.656561] mousedev: PS/2 mouse device common for all mice
[    4.663051] usbcore: registered new interface driver dwav_usb_mt
[    4.670509] i2c /dev entries driver
[    4.677497] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    4.685249] fan53555-reg: supplied by vcc3v3_sys
[    4.692400] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    4.700136] fan53555-reg: supplied by vcc3v3_sys
[    4.707294] rk808 0-001b: chip id: 0x0
[    4.715668] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    4.722623] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    4.729597] DCDC_REG1: supplied by vcc3v3_sys
[    4.735361] DCDC_REG2: supplied by vcc3v3_sys
[    4.740806] DCDC_REG3: supplied by vcc3v3_sys
[    4.745951] DCDC_REG4: supplied by vcc3v3_sys
[    4.751430] LDO_REG1: supplied by vcc3v3_sys
[    4.757456] LDO_REG2: supplied by vcc3v3_sys
[    4.763206] LDO_REG3: supplied by vcc3v3_sys
[    4.769086] LDO_REG4: supplied by vcc3v3_sys
[    4.774472] LDO_REG5: supplied by vcc3v3_sys
[    4.780209] LDO_REG6: supplied by vcc3v3_sys
[    4.786099] LDO_REG7: supplied by vcc3v3_sys
[    4.791867] LDO_REG8: supplied by vcc3v3_sys
[    4.797758] SWITCH_REG1: supplied by vcc3v3_sys
[    4.803157] SWITCH_REG2: supplied by vcc3v3_sys
[    4.818565] sdhci: Secure Digital Host Controller Interface driver
[    4.825508] sdhci: Copyright(c) Pierre Ossman
[    4.830453] Synopsys Designware Multimedia Card Interface Driver
[    4.837791] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    4.845708] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    4.853107] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    4.859362] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.870203] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    4.888685] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.912364] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.919132] sdhci-arasan fe330000.sdhci: Got CD GPIO
[    4.924809] mmc1: CQHCI version 5.10
[    4.955172] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    4.964682] ledtrig-cpu: registered to indicate activity on CPUs
[    4.971910] hid: raw HID events driver (C) Jiri Kosina
[    4.978184] usbcore: registered new interface driver usbhid
[    4.984443] usbhid: USB HID core driver
[    4.991216] random: fast init done
[    4.991943] NET: Registered protocol family 10
[    5.000536] Segment Routing with IPv6
[    5.004677] NET: Registered protocol family 17
[    5.009650] NET: Registered protocol family 15
[    5.014787] 8021q: 802.1Q VLAN Support v1.8
[    5.019491] Key type dns_resolver registered
[    5.024586] registered taskstats version 1
[    5.029168] Loading compiled-in X.509 certificates
[    5.034582] zswap: loaded using pool lzo/zbud
[    5.039742] Key type ._fscrypt registered
[    5.044234] Key type .fscrypt registered
[    5.048617] Key type fscrypt-provisioning registered
[    5.054607] Btrfs loaded, crc32c=crc32c-generic
[    5.073990] Key type encrypted registered
[    5.094525] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    5.095878] mmc1: mmc_select_hs400es failed, error -110
[    5.101724] vcca0v9_s3: supplied by vcc_1v8
[    5.107488] mmc1: error -110 whilst initialising MMC card
[    5.177668] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    5.185473] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    5.194910] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    5.204540] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    5.211937] pci_bus 0000:00: root bus resource [bus 00-1f]
[    5.218062] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    5.225747] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    5.236461] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    5.243260] pci 0000:00:00.0: supports D1
[    5.247741] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    5.255692] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.264747] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185
[    5.271522] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.274168] mmc1: mmc_select_hs400es failed, error -110
[    5.279404] pci 0000:01:00.0: reg 0x10: [io  size 0x0008]
[    5.279429] pci 0000:01:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.285249] mmc1: error -110 whilst initialising MMC card
[    5.291280] pci 0000:01:00.0: reg 0x14: [io  size 0x0004]
[    5.291305] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.319101] pci 0000:01:00.0: reg 0x18: [io  size 0x0008]
[    5.325159] pci 0000:01:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    5.333037] pci 0000:01:00.0: reg 0x1c: [io  size 0x0004]
[    5.339091] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.346961] pci 0000:01:00.0: reg 0x20: [io  size 0x0010]
[    5.353016] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    5.360043] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    5.367560] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 512)
[    5.388668] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    5.396078] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
[    5.403669] pci 0000:01:00.0: BAR 6: assigned [mem 0xfa000000-0xfa00ffff pref]
[    5.411745] pci 0000:01:00.0: BAR 5: assigned [mem 0xfa010000-0xfa0101ff]
[    5.419344] pci 0000:01:00.0: BAR 4: no space for [io  size 0x0010]
[    5.426349] pci 0000:01:00.0: BAR 4: failed to assign [io  size 0x0010]
[    5.433742] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0008]
[    5.440746] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0008]
[    5.448139] pci 0000:01:00.0: BAR 2: no space for [io  size 0x0008]
[    5.454638] mmc1: mmc_select_hs400es failed, error -110
[    5.455143] pci 0000:01:00.0: BAR 2: failed to assign [io  size 0x0008]
[    5.460974] mmc1: error -110 whilst initialising MMC card
[    5.468362] pci 0000:01:00.0: BAR 1: no space for [io  size 0x0004]
[    5.481394] pci 0000:01:00.0: BAR 1: failed to assign [io  size 0x0004]
[    5.488788] pci 0000:01:00.0: BAR 3: no space for [io  size 0x0004]
[    5.495792] pci 0000:01:00.0: BAR 3: failed to assign [io  size 0x0004]
[    5.503185] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.508736] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    5.516428] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    5.523384] pcieport 0000:00:00.0: PME: Signaling with IRQ 239
[    5.530324] pcieport 0000:00:00.0: AER: enabled with IRQ 239
[    5.536910] ahci 0000:01:00.0: enabling device (0000 -> 0002)
[    5.543769] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.551261] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[    5.560212] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs 
[    5.570910] scsi host0: ahci
[    5.574497] scsi host1: ahci
[    5.577855] ata1: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010100 irq 240
[    5.586192] ata2: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010180 irq 240
[    5.596925] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    5.607312] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    5.616264] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    5.627816] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    5.637063] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.644486] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    5.652969] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    5.662041] panfrost ff9a0000.gpu: clock rate = 500000000
[    5.668564] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    5.672170] mmc1: unexpected status 0x800900 after switch
[    5.677236] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    5.677240] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    5.677243] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    5.678735] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    5.686708] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    5.693896] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.706125] mmcblk1: mmc1:0001 SDW32G 29.1 GiB 
[    5.713547] clk: Not disabling unused clocks
[    5.721301] mmcblk1boot0: mmc1:0001 SDW32G partition 1 4.00 MiB
[    5.728250] ALSA device list:
[    5.735869] mmcblk1boot1: mmc1:0001 SDW32G partition 2 4.00 MiB
[    5.740804]   No soundcards found.
[    5.745853] mmcblk1rpmb: mmc1:0001 SDW32G partition 3 4.00 MiB, chardev (241:0)
[    5.774299] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
�    5.776150]  mmcblk1: p1 p2
[    5.911690] ata1: SATA link down (SStatus 0 SControl 300)
[    6.233200] ata2: SATA link down (SStatus 0 SControl 300)
[    6.240888] Freeing unused kernel memory: 3648K
[    6.246059] Run /init as init process
Loading, please wait...
Starting version 245.4-4ubuntu3.1
[    6.471037] input: adc-keys as /devices/platform/adc-keys/input/input1
[    6.538036] rk808-rtc rk808-rtc: registered as rtc0
[    6.544569] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:16 UTC (1358499016)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    6.659466] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
Warning: fsck not present, so skipping root file system
[    6.675562] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
SELinux:  Could not open policy file <= /etc/selinux/targeted/po[    6.920832] systemd[1]: System time before build time, advancing clock.
licy/policy.32:  No such file or directory
[    6.987205] systemd[1]: systemd 245.4-4ubuntu3.1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCR)
[    7.013005] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 20.04 LTS!

[    7.052707] systemd[1]: Set hostname to <odroid-n1>.
[    7.321064] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/.
[    7.451814] random: systemd: uninitialized urandom read (16 bytes read)
[    7.460797] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    7.483564] random: systemd: uninitialized urandom read (16 bytes read)
[    7.491617] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    7.515569] random: systemd: uninitialized urandom read (16 bytes read)
[    7.523544] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.547738] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    7.572007] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[    7.599708] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.623587] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    7.639592] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    7.655897] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.671735] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.696003] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    7.719881] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.743916] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.759949] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    7.783872] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.807818] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.833885] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    7.853555] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.877571] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.895790] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.908209] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    7.926802] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    7.954967] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[    7.979584] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    7.990655] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.006490] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    8.026979] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.049110] EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered
[    8.058129] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    8.079738] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[    8.104227] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    8.128250] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    8.148846] systemd[1]: Finished Set the console keyboard layout.
[  OK  ] Finished Set the console keyboard layout.
[    8.172892] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[    8.200803] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[    8.218002] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[    8.245742] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    8.257883] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    8.285168] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    8.294783] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    8.307555] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    8.325545] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    8.345731] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[  OK  ] Started Journal Service.
[  OK  ] Finished udev Coldplug all Devices.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Apply Kernel Variables.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Network Service...
[  OK  ] Found device /dev/ttyS2.
[  OK  ] Started Network Service.
         Starting Wait for Network to be Configured...
[  OK  ] Finished Wait for Network to be Configured.
[  OK  ] Found device /dev/disk/by-…1-3323-426e-9e7b-1e9dd07800c1.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Enable support fo…l executable binary formats...
         Starting Set console font and keymap...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Create Volatile Files and Directories.
         Mounting Arbitrary Executable File Formats File System...
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Mounted Arbitrary Executable File Formats File System.
[  OK  ] Finished Enable support fo…nal executable binary formats.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Refresh fwupd metadata regularly.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Socket activation for snappy daemon.
[  OK  ] Started Network Name Resolution.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Run anacron jobs.
         Starting LSB: automatic crash report generation...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Bluetooth management mechanism...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting Initialize hardware monitoring sensors...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/reso… the ppp link was shut down...
         Starting System Logging Service...
         Starting Snap Daemon...
         Starting Resets System Activity Data Collector...
         Starting Login Service...
         Starting Ubuntu Advantage auto attach...
         Starting WPA supplicant...
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Restore /etc/reso…re the ppp link was shut down.
[  OK  ] Finished Resets System Activity Data Collector.
[  OK  ] Finished Initialize hardware monitoring sensors.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Network Manager.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Authorization Manager.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
         Starting Modem Manager...
         Starting Network Manager Wait Online...
[  OK  ] Started Make remote CUPS printers available locally.
         Starting OpenBSD Secure Shell server...
         Starting Hostname Service...
         Starting Permit User Sessions...
[  OK  ] Started Unattended Upgrades Shutdown.
[  OK  ] Started Snap Daemon.
[  OK  ] Finished Permit User Sessions.
         Starting Wait until snapd is fully seeded...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Bluetooth management mechanism.
[  OK  ] Finished Wait until snapd is fully seeded.
[  OK  ] Started Modem Manager.
[  OK  ] Started Hostname Service.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Finished Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: disk temperature monitoring daemon...
         Starting Tool to automatic…mit kernel crash signatures...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started crash report submission daemon.
[FAILED] Failed to start Ubuntu Advantage auto attach.
See 'systemctl status ua-auto-attach.service' for details.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Hold until boot process finishes up...
         Starting Terminate Plymouth Boot Screen...
[  OK  ] Finished Hold until boot process finishes up.
[  OK  ] Finished Terminate Plymouth Boot Screen.
[  OK  ] Started Serial Getty on ttyS2.
         Starting Set console scheme...
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Tool to automatica…ubmit kernel crash signatures.
[  OK  ] Finished Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

Ubuntu 20.04 LTS odroid-n1 ttyS2

odroid-n1 login: 
u-boot-rockchip-2020.07-rc3.bin.tar.gz
(510.96 KiB) Downloaded 30 times
updated dts and dtb
rk3399-odroid-n1.dts.tar.gz
(16.01 KiB) Downloaded 27 times
I notice when I moved to 5.7.0-rc7 yesterday before updating the dts and uboot, The system would fail on every cold boot. It definitely seemed worse then 5.7.0-rc6. After the patches and moving to mainline uboot I have had no failures on cold boots. For the half a dozen or more boots so far today I have completely unplugged everything, waited 5-10 minutes to boot and everyone of them were successful.

I have had time to test the OS initrd.img configuration issue and it is almost fixed. I still get one error message during a kernel installation so I’ll keep working on it. The results are a missing link for the new initrd.img and the new boot.scr is not generated. Obviously it’s not a show stopper but it would be nice if it worked 100% correctly.

Code: Select all

hominoid@odroid-n1:~/linux-5.7.0-rc7$ sudo make install
sh ./arch/arm64/boot/install.sh 5.7.0-rc7+ \
arch/arm64/boot/Image System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.7.0-rc7+ /boot/vmlinuz-5.7.0-rc7+
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.7.0-rc7+ /boot/vmlinuz-5.7.0-rc7+
update-initramfs: Generating /boot/initrd.img-5.7.0-rc7+
Using DTB: rockchip/rk3399-odroidn1.dtb
Installing /home/hominoid/linux-5.7.0-rc7/arch/arm64/boot/dts/rockchip/rk3399-odroidn1.dtb into /boot/dtbs/5.7.0-rc7+/rockchip/rk3399-odroidn1.dtb
Installing new rk3399-odroidn1.dtb.
Installing /home/hominoid/linux-5.7.0-rc7/arch/arm64/boot/dts/rockchip/rk3399-odroidn1.dtb into /boot/dtbs/5.7.0-rc7+/rockchip/rk3399-odroidn1.dtb
Taking backup of rk3399-odroidn1.dtb.
Installing new rk3399-odroidn1.dtb.
Kernel /boot/vmlinuz-5.7.0-rc7+ does not match any of the expected flavors (arm64), therefore not writing it to flash.
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 5.7.0-rc7+ /boot/vmlinuz-5.7.0-rc7+
run-parts: executing /etc/kernel/postinst.d/update-notifier 5.7.0-rc7+ /boot/vmlinuz-5.7.0-rc7+
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 5.7.0-rc7+ /boot/vmlinuz-5.7.0-rc7+
Using DTB: rockchip/rk3399-odroidn1.dtb
Installing /home/hominoid/linux-5.7.0-rc7/arch/arm64/boot/dts/rockchip/rk3399-odroidn1.dtb into /boot/dtbs/5.7.0-rc7+/rockchip/rk3399-odroidn1.dtb
Taking backup of rk3399-odroidn1.dtb.
Installing new rk3399-odroidn1.dtb.
Installing /home/hominoid/linux-5.7.0-rc7/arch/arm64/boot/dts/rockchip/rk3399-odroidn1.dtb into /boot/dtbs/5.7.0-rc7+/rockchip/rk3399-odroidn1.dtb
Taking backup of rk3399-odroidn1.dtb.
Installing new rk3399-odroidn1.dtb.
Kernel /boot/vmlinuz-5.7.0-rc7+ does not match any of the expected flavors (arm64), therefore not writing it to flash.
It looks like custom changes to the boot.scr file can be removed. Once I figure out the finale issue above we should be able to boot the default system generated boot.scr. Here is my current boot.txt file.

Code: Select all

#
# flash-kernel: bootscr.odroid-n1
#

# Bootscript using the new unified bootcmd handling
#
# Expects to be called with the following environment variables set:
#
#  devtype              e.g. mmc/scsi etc
#  devnum               The device number of the given type
#  bootpart             The partition containing the boot files
#  distro_bootpart      The partition containing the boot files
#                       (introduced in u-boot mainline 2016.01)
#  prefix               Prefix within the boot partiion to the boot files
#  kernel_addr_r        Address to load the kernel to
#  fdt_addr_r           Address to load the FDT to
#  ramdisk_addr_r       Address to load the initrd to.
#
# The uboot must support the booti and generic filesystem load commands.

setenv bootargs " ${bootargs} root=UUID=a977a8c4-0492-48d9-9876-8f53ac858a41 rootwait ro"

# Default serial console
# setenv console "ttyAML0,115200n8"

# Default TTY console
#setenv bootargs "${bootargs} console=ttyS2,115200"
setenv bootargs "${bootargs} cma=800M"
setenv bootargs "${bootargs} clk_ignore_unused"
setenv ethaddr "00:1e:aa:bb:cc:dd"
#setenv fk_kvers "5.7.0-rc7+"
setenv fdt_addr_r "0x20000000"

if test -n "${console}"; then
  setenv bootargs "${bootargs} console=${console}"
fi

if test -z "${fk_kvers}"; then
   setenv fk_kvers "5.7.0-odroid-arm64"
fi

# Hack to set kernel load address for Linux kernel v3.16.56 only
if test "${fk_kvers}" = "3.16.56-odroid-arm64"; then
   setenv kernel_addr_r "0x10800000"
fi

# These two blocks should be the same apart from the use of
# ${fk_kvers} in the first, the syntax supported by u-boot does not
# lend itself to removing this duplication.

if test -n "${fdtfile}"; then
   setenv fdtpath dtbs/${fk_kvers}/${fdtfile}
else
   setenv fdtpath dtb-${fk_kvers}
fi

if test -z "${distro_bootpart}"; then
  setenv partition ${bootpart}
else
  setenv partition ${distro_bootpart}
fi

load ${devtype} ${devnum}:${partition} ${kernel_addr_r} ${prefix}vmlinuz-${fk_kvers} \
&& load ${devtype} ${devnum}:${partition} ${fdt_addr_r} ${prefix}${fdtpath} \
&& load ${devtype} ${devnum}:${partition} ${ramdisk_addr_r} ${prefix}initrd.img-${fk_kvers} \
&& echo "Booting Debian ${fk_kvers} from ${devtype} ${devnum}:${partition}..." \
&& booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}

load ${devtype} ${devnum}:${partition} ${kernel_addr_r} ${prefix}vmlinuz \
&& load ${devtype} ${devnum}:${partition} ${fdt_addr_r} ${prefix}dtb \
&& load ${devtype} ${devnum}:${partition} ${ramdisk_addr_r} ${prefix}initrd.img \
&& echo "Booting Debian from ${devtype} ${devnum}:${partition}..." \
&& booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}

These users thanked the author hominoid for the post:
mad_ady (Mon Jun 01, 2020 3:52 am)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Wed Jun 03, 2020 9:37 pm

Ok, I took the plunge this morning and flashed hominid's latest u-boot build, with a slightly modified boot.scr based on his model using kernel 5.7.0+ (tobetter updated their branch), but based on hominid's config.
It booted correctly on first try (wow) and preliminary tests show it runs stable!

Code: Select all

U-Boot TPL 2020.07-rc3-00048-ga08e0a28eb-dirty (May 30 2020 - 21:42:06)
Channel 0: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: DDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.07-rc3-00048-ga08e0a28eb-dirty (May 30 2020 - 21:42:06 -0400)
Trying to boot from MMC2
NOTICE:  BL31: v2.3(release):v2.3-107-gdd1eb34aa
NOTICE:  BL31: Built : 21:42:00, May 30 2020


U-Boot 2020.07-rc3-00048-ga08e0a28eb-dirty (May 30 2020 - 21:42:06 -0400)

Model: Hardkernel ODROID-N1
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Hardkernel ODROID-N1
Net:
Error: ethernet@fe300000 address not set.
No ethernet found.

Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3576 bytes read in 23 ms (151.4 KiB/s)
## Executing script at 00500000
28551176 bytes read in 687 ms (39.6 MiB/s)
56798 bytes read in 24 ms (2.3 MiB/s)
12319934 bytes read in 313 ms (37.5 MiB/s)
Booting Linux 5.7.0+ from mmc 0:1...
## Flattened Device Tree blob at 20000000
   Booting using the fdt blob at 0x20000000
   Loading Ramdisk to f1941000, end f2500cbe ... OK
   Loading Device Tree to 00000000f1930000, end 00000000f1940ddd ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.0+ (adrianp@aldebaran64) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04), GNU ld (GNU Binutils for Ubuntu) 2.30) #1 SMP PREEMPT Tue Jun 2 09:42:34 EEST 2020
[    0.000000] Machine model: Hardkernel ODROID-N1
[    0.000000] cma: Reserved 800 MiB at 0x00000000bf800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77ec100-0xf77edfff]
[    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.1 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 22 pages/cpu s53208 r8192 d28712 u90112
[    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] CPU features: kernel page table isolation forced OFF by mitigations=off
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line:  earlyprintk root=/dev/mmcblk1p2 net.ifnames=0 biosdevname=0 fsck.mode=auto fsck.repair=yes mitigations=off rootwait ro usb-storage.quirks=0x174c:0x1153:u,0x152d:0x0578:u console=ttyS2,115200 cma=800M clk_ignore_unused
[    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] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3054936K/4061184K available (16574K kernel code, 1450K rwdata, 6152K rodata, 3648K init, 648K bss, 187048K reserved, 819200K 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=256 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: 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 @f2c80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f2c40000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2c50000
[    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+0x314/0x4e8 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001448] Console: colour dummy device 80x25
[    0.001575] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001592] pid_max: default: 32768 minimum: 301
[    0.001738] LSM: Security Framework initializing
[    0.001795] SELinux:  Initializing.
[    0.001947] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001980] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004501] rcu: Hierarchical SRCU implementation.
[    0.007263] Platform MSI: interrupt-controller@fee20000 domain created
[    0.007792] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.010442] smp: Bringing up secondary CPUs ...
[    0.011120] Detected VIPT I-cache on CPU1
[    0.011160] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.011176] GICv3: CPU1: using allocated LPI pending table @0x00000000f2c60000
[    0.011228] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012081] Detected VIPT I-cache on CPU2
[    0.012113] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.012127] GICv3: CPU2: using allocated LPI pending table @0x00000000f2c70000
[    0.012163] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.012881] Detected VIPT I-cache on CPU3
[    0.012911] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.012925] GICv3: CPU3: using allocated LPI pending table @0x00000000f2d00000
[    0.012959] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013665] CPU features: detected: EL2 vector hardening
[    0.013674] spectrev2 mitigation disabled by command line option
[    0.013682] CPU features: detected: ARM erratum 1319367
[    0.013688] Detected PIPT I-cache on CPU4
[    0.013722] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.013735] GICv3: CPU4: using allocated LPI pending table @0x00000000f2d10000
[    0.013772] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.014526] Detected PIPT I-cache on CPU5
[    0.014552] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.014564] GICv3: CPU5: using allocated LPI pending table @0x00000000f2d20000
[    0.014591] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.014707] smp: Brought up 1 node, 6 CPUs
[    0.014785] SMP: Total of 6 processors activated.
[    0.014797] CPU features: detected: 32-bit EL0 Support
[    0.014808] CPU features: detected: CRC32 instructions
[    0.039971] CPU: All CPU(s) started at EL2
[    0.040027] alternatives: patching kernel code
[    0.043263] devtmpfs: initialized
[    0.054725] Registered cp15_barrier emulation handler
[    0.054746] Registered setend emulation handler
[    0.054760] KASLR disabled due to lack of seed
[    0.055224] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.055246] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.073507] xor: measuring software checksum speed
[    0.111945]    8regs     :  2567.000 MB/sec
[    0.152014]    32regs    :  2741.000 MB/sec
[    0.192087]    arm64_neon:  2447.000 MB/sec
[    0.192095] xor: using function: 32regs (2741.000 MB/sec)
[    0.192110] pinctrl core: initialized pinctrl subsystem
[    0.193619] thermal_sys: Registered thermal governor 'fair_share'
[    0.193623] thermal_sys: Registered thermal governor 'bang_bang'
[    0.193633] thermal_sys: Registered thermal governor 'step_wise'
[    0.193641] thermal_sys: Registered thermal governor 'user_space'
[    0.194921] NET: Registered protocol family 16
[    0.197355] DMA: preallocated 256 KiB pool for atomic allocations
[    0.197373] audit: initializing netlink subsys (disabled)
[    0.197606] audit: type=2000 audit(0.196:1): state=initialized audit_enabled=0 res=1
[    0.199401] cpuidle: using governor menu
[    0.200146] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.200354] ASID allocator initialised with 65536 entries
[    0.201415] Serial: AMBA PL011 UART driver
[    0.245768] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.245783] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.245792] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.245802] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.252247] cryptd: max_cpu_qlen set to 1000
[    0.332597] raid6: neonx8   gen()  1776 MB/s
[    0.400728] raid6: neonx8   xor()  1224 MB/s
[    0.468861] raid6: neonx4   gen()  1731 MB/s
[    0.536990] raid6: neonx4   xor()  1252 MB/s
[    0.605120] raid6: neonx2   gen()  1522 MB/s
[    0.673247] raid6: neonx2   xor()  1194 MB/s
[    0.741379] raid6: neonx1   gen()  1173 MB/s
[    0.809518] raid6: neonx1   xor()   951 MB/s
[    0.877681] raid6: int64x8  gen()   894 MB/s
[    0.945840] raid6: int64x8  xor()   377 MB/s
[    1.013932] raid6: int64x4  gen()  1032 MB/s
[    1.082039] raid6: int64x4  xor()   578 MB/s
[    1.150161] raid6: int64x2  gen()   933 MB/s
[    1.218283] raid6: int64x2  xor()   505 MB/s
[    1.286378] raid6: int64x1  gen()   724 MB/s
[    1.354505] raid6: int64x1  xor()   382 MB/s
[    1.354512] raid6: using algorithm neonx8 gen() 1776 MB/s
[    1.354519] raid6: .... xor() 1224 MB/s, rmw enabled
[    1.354527] raid6: using neon recovery algorithm
[    1.355802] vcc5v0_sys: supplied by vcc12v_dcin
[    1.356101] vcc3v3_sys: supplied by vcc12v_dcin
[    1.356518] vcc3v0_vdd: supplied by vcc3v3_sys
[    1.357228] vcc3v3_pcie: supplied by vcc3v3_sys
[    1.357525] vcca1v8_s3: supplied by vcc3v3_sys
[    1.358097] vcc_0v9: supplied by vcc3v3_sys
[    1.358553] vcc5v0_host: supplied by vcc5v0_sys
[    1.358981] vcc5v0_host31: supplied by vcc5v0_sys
[    1.359436] vcc5v0_host32: supplied by vcc5v0_sys
[    1.360363] iommu: Default domain type: Translated
[    1.363179] vgaarb: loaded
[    1.363580] SCSI subsystem initialized
[    1.364188] usbcore: registered new interface driver usbfs
[    1.364245] usbcore: registered new interface driver hub
[    1.364337] usbcore: registered new device driver usb
[    1.365013] pps_core: LinuxPPS API ver. 1 registered
[    1.365021] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.365047] PTP clock support registered
[    1.365295] EDAC MC: Ver: 3.0.0
[    1.366334] Advanced Linux Sound Architecture Driver Initialized.
[    1.367429] clocksource: Switched to clocksource arch_sys_counter
[    1.367662] VFS: Disk quotas dquot_6.6.0
[    1.367796] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.377624] NET: Registered protocol family 2
[    1.378155] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.378238] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.378586] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.379253] TCP: Hash tables configured (established 32768 bind 32768)
[    1.379382] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.379548] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.379846] NET: Registered protocol family 1
[    1.380369] RPC: Registered named UNIX socket transport module.
[    1.380378] RPC: Registered udp transport module.
[    1.380385] RPC: Registered tcp transport module.
[    1.380392] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.380405] PCI: CLS 0 bytes, default 64
[    1.380583] Trying to unpack rootfs image as initramfs...
[    2.200360] Freeing initrd memory: 12028K
[    2.201474] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.201828] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    2.202446] kvm [1]: IPA Size Limit: 40bits
[    2.203279] kvm [1]: vgic-v2@fff20000
[    2.203313] kvm [1]: GIC system register CPU interface enabled
[    2.203528] kvm [1]: vgic interrupt IRQ10
[    2.203765] kvm [1]: Hyp mode initialized successfully
[    2.472854] Initialise system trusted keyrings
[    2.473025] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    2.480770] zbud: loaded
[    2.482500] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.483592] NFS: Registering the id_resolver key type
[    2.483620] Key type id_resolver registered
[    2.483628] Key type id_legacy registered
[    2.483643] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.483650] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.484707] ntfs: driver 2.1.32 [Flags: R/W].
[    2.485363] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.490636] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    2.492807] ocfs2: Registered cluster interface o2cb
[    2.493056] OCFS2 User DLM kernel interface loaded
[    2.495255] gfs2: GFS2 installed
[    2.525963] Key type asymmetric registered
[    2.525974] Asymmetric key parser 'x509' registered
[    2.526023] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.526225] io scheduler mq-deadline registered
[    2.526234] io scheduler kyber registered
[    2.526392] io scheduler bfq registered
[    2.539255] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.544148] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.544164] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    2.545708] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    2.545723] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.552825] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.554956] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[    2.555972] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    3.971902] printk: console [ttyS2] enabled
[    3.977802] Serial: AMBA driver
[    3.983276] rockchip-vop ff8f0000.vop: Adding to iommu group 3
[    3.990345] rockchip-vop ff900000.vop: Adding to iommu group 4
[    4.001304] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    4.012075] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    4.021877] panfrost ff9a0000.gpu: clock rate = 500000000
[    4.027964] panfrost ff9a0000.gpu: failed to get regulators: -517
[    4.034787] panfrost ff9a0000.gpu: regulator init failed -517
[    4.041664] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    4.052975] brd: module loaded
[    4.062102] loop: module loaded
[    4.068408] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    4.077644] libphy: Fixed MDIO Bus: probed
[    4.082877] tun: Universal TUN/TAP device driver, 1.6
[    4.089796] thunder_xcv, ver 1.0
[    4.093472] thunder_bgx, ver 1.0
[    4.097131] nicpf, ver 1.0
[    4.101019] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    4.107549] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    4.114215] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    4.122006] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.128283] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    4.137044] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    4.143896] sky2: driver version 1.30
[    4.149074] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    4.156489] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    4.163542] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    4.170359] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    4.178263] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    4.184600] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    4.190931] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    4.197900] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    4.205691] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    4.217521] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    4.223957] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.231963] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
[    4.237816] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    4.246190] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    4.254564] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    4.260412] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    4.268299] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    4.275538] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    4.282163] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    4.288692] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.298115] libphy: stmmac: probed
[    4.313650] usbcore: registered new interface driver cdc_ether
[    4.320236] usbcore: registered new interface driver cdc_subset
[    4.327070] VFIO - User Level meta-driver version: 0.3
[    4.346783] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.354125] ehci-pci: EHCI PCI platform driver
[    4.359147] ehci-platform: EHCI generic platform driver
[    4.367278] ehci-platform fe380000.usb: EHCI Host Controller
[    4.373642] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    4.382506] ehci-platform fe380000.usb: irq 30, io mem 0xfe380000
[    4.403461] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    4.410570] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.419827] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.427912] usb usb1: Product: EHCI Host Controller
[    4.433373] usb usb1: Manufacturer: Linux 5.7.0+ ehci_hcd
[    4.439421] usb usb1: SerialNumber: fe380000.usb
[    4.445111] hub 1-0:1.0: USB hub found
[    4.449345] hub 1-0:1.0: 1 port detected
[    4.456312] ehci-platform fe3c0000.usb: EHCI Host Controller
[    4.462674] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    4.471550] ehci-platform fe3c0000.usb: irq 32, io mem 0xfe3c0000
[    4.491454] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    4.498572] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.507836] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.515921] usb usb2: Product: EHCI Host Controller
[    4.521382] usb usb2: Manufacturer: Linux 5.7.0+ ehci_hcd
[    4.527425] usb usb2: SerialNumber: fe3c0000.usb
[    4.533136] hub 2-0:1.0: USB hub found
[    4.537375] hub 2-0:1.0: 1 port detected
[    4.542409] ehci-exynos: EHCI Exynos driver
[    4.547303] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.554238] ohci-pci: OHCI PCI platform driver
[    4.559282] ohci-platform: OHCI generic platform driver
[    4.565324] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    4.572843] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    4.581699] ohci-platform fe3a0000.usb: irq 31, io mem 0xfe3a0000
[    4.651630] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.660885] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.668971] usb usb3: Product: Generic Platform OHCI controller
[    4.675598] usb usb3: Manufacturer: Linux 5.7.0+ ohci_hcd
[    4.681644] usb usb3: SerialNumber: fe3a0000.usb
[    4.687323] hub 3-0:1.0: USB hub found
[    4.691567] hub 3-0:1.0: 1 port detected
[    4.696446] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    4.703968] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    4.712830] ohci-platform fe3e0000.usb: irq 33, io mem 0xfe3e0000
[    4.783596] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.792854] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.800971] usb usb4: Product: Generic Platform OHCI controller
[    4.807603] usb usb4: Manufacturer: Linux 5.7.0+ ohci_hcd
[    4.813647] usb usb4: SerialNumber: fe3e0000.usb
[    4.819330] hub 4-0:1.0: USB hub found
[    4.823554] hub 4-0:1.0: 1 port detected
[    4.828512] ohci-exynos: OHCI Exynos driver
[    4.833995] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.840157] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    4.848861] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.859412] xhci-hcd xhci-hcd.0.auto: irq 227, io mem 0xfe800000
[    4.866467] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.875731] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.883817] usb usb5: Product: xHCI Host Controller
[    4.889277] usb usb5: Manufacturer: Linux 5.7.0+ xhci-hcd
[    4.895319] usb usb5: SerialNumber: xhci-hcd.0.auto
[    4.901283] hub 5-0:1.0: USB hub found
[    4.905531] hub 5-0:1.0: 1 port detected
[    4.910262] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.916424] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    4.925002] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.932378] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.941539] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.950784] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.958866] usb usb6: Product: xHCI Host Controller
[    4.964325] usb usb6: Manufacturer: Linux 5.7.0+ xhci-hcd
[    4.970368] usb usb6: SerialNumber: xhci-hcd.0.auto
[    4.976333] hub 6-0:1.0: USB hub found
[    4.980557] hub 6-0:1.0: 1 port detected
[    4.985454] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.991619] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    5.000328] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    5.010893] xhci-hcd xhci-hcd.1.auto: irq 228, io mem 0xfe900000
[    5.017953] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    5.027217] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.035302] usb usb7: Product: xHCI Host Controller
[    5.040759] usb usb7: Manufacturer: Linux 5.7.0+ xhci-hcd
[    5.046802] usb usb7: SerialNumber: xhci-hcd.1.auto
[    5.052762] hub 7-0:1.0: USB hub found
[    5.056995] hub 7-0:1.0: 1 port detected
[    5.061694] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.067848] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    5.076424] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.083784] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.092958] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    5.102212] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.110295] usb usb8: Product: xHCI Host Controller
[    5.115761] usb usb8: Manufacturer: Linux 5.7.0+ xhci-hcd
[    5.121806] usb usb8: SerialNumber: xhci-hcd.1.auto
[    5.127796] hub 8-0:1.0: USB hub found
[    5.132029] hub 8-0:1.0: 1 port detected
[    5.136962] usbcore: registered new interface driver usb-storage
[    5.146422] mousedev: PS/2 mouse device common for all mice
[    5.152895] usbcore: registered new interface driver dwav_usb_mt
[    5.160376] i2c /dev entries driver
[    5.167305] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    5.175041] fan53555-reg: supplied by vcc3v3_sys
[    5.182211] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    5.189940] fan53555-reg: supplied by vcc3v3_sys
[    5.197117] rk808 0-001b: chip id: 0x0
[    5.205501] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    5.212464] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    5.219444] DCDC_REG1: supplied by vcc3v3_sys
[    5.225197] DCDC_REG2: supplied by vcc3v3_sys
[    5.230627] DCDC_REG3: supplied by vcc3v3_sys
[    5.235766] DCDC_REG4: supplied by vcc3v3_sys
[    5.241273] LDO_REG1: supplied by vcc3v3_sys
[    5.247332] LDO_REG2: supplied by vcc3v3_sys
[    5.253079] LDO_REG3: supplied by vcc3v3_sys
[    5.258966] LDO_REG4: supplied by vcc3v3_sys
[    5.264356] LDO_REG5: supplied by vcc3v3_sys
[    5.270114] LDO_REG6: supplied by vcc3v3_sys
[    5.276021] LDO_REG7: supplied by vcc3v3_sys
[    5.281788] LDO_REG8: supplied by vcc3v3_sys
[    5.287689] SWITCH_REG1: supplied by vcc3v3_sys
[    5.293082] SWITCH_REG2: supplied by vcc3v3_sys
[    5.308703] sdhci: Secure Digital Host Controller Interface driver
[    5.315607] sdhci: Copyright(c) Pierre Ossman
[    5.320545] Synopsys Designware Multimedia Card Interface Driver
[    5.327698] usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    5.328052] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    5.343516] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    5.350902] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    5.353070] usb 6-1: New USB device found, idVendor=0bc2, idProduct=ab05, bcdDevice= 1.00
[    5.357151] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    5.366284] usb 6-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    5.377153] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    5.384946] usb 6-1: Product: BUP Slim BK
[    5.395021] usb 6-1: Manufacturer: Seagate
[    5.399600] usb 6-1: SerialNumber: NA4TEVC6
[    5.403478] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.404774] random: fast init done
[    5.428467] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.435275] sdhci-arasan fe330000.sdhci: Got CD GPIO
[    5.440963] mmc1: CQHCI version 5.10
[    5.471476] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    5.479864] usb 8-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    5.488907] ledtrig-cpu: registered to indicate activity on CPUs
[    5.496113] hid: raw HID events driver (C) Jiri Kosina
[    5.502355] usbcore: registered new interface driver usbhid
[    5.508632] usbhid: USB HID core driver
[    5.513982] usb 8-1: New USB device found, idVendor=152d, idProduct=0578, bcdDevice=31.01
[    5.523144] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.525359] NET: Registered protocol family 10
[    5.531148] usb 8-1: Product: USB to ATA/ATAPI Bridge
[    5.536657] Segment Routing with IPv6
[    5.541744] usb 8-1: Manufacturer: JMicron
[    5.545845] NET: Registered protocol family 17
[    5.550409] usb 8-1: SerialNumber: 0123456789ABCDEF
[    5.551122] usb 8-1: UAS is blacklisted for this device, using usb-storage instead
[    5.555380] NET: Registered protocol family 15
[    5.560832] usb-storage 8-1:1.0: USB Mass Storage device detected
[    5.569557] 8021q: 802.1Q VLAN Support v1.8
[    5.574638] usb-storage 8-1:1.0: Quirks match for vid 152d pid 0578: 1800000
[    5.581090] Key type dns_resolver registered
[    5.586003] scsi host0: usb-storage 8-1:1.0
[    5.593922] registered taskstats version 1
[    5.607643] Loading compiled-in X.509 certificates
[    5.613068] zswap: loaded using pool lzo/zbud
[    5.618088] Key type ._fscrypt registered
[    5.622571] Key type .fscrypt registered
[    5.626961] Key type fscrypt-provisioning registered
[    5.632974] Btrfs loaded, crc32c=crc32c-generic
[    5.638116] mmc1: Command Queue Engine enabled
[    5.643090] mmc1: new HS400 Enhanced strobe MMC card at address 0001
[    5.647059] Key type encrypted registered
[    5.650498] mmcblk1: mmc1:0001 BJTD4R 29.1 GiB
[    5.659874] mmcblk1boot0: mmc1:0001 BJTD4R partition 1 4.00 MiB
[    5.666641] mmcblk1boot1: mmc1:0001 BJTD4R partition 2 4.00 MiB
[    5.671098] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    5.673475] mmcblk1rpmb: mmc1:0001 BJTD4R partition 3 4.00 MiB, chardev (241:0)
[    5.680447] vcca0v9_s3: supplied by vcc_1v8
[    5.689430]  mmcblk1: p1 p2
[    5.757705] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    5.765505] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    5.774939] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    5.784567] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    5.791960] pci_bus 0000:00: root bus resource [bus 00-1f]
[    5.798088] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    5.805771] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    5.816485] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    5.823280] pci 0000:00:00.0: supports D1
[    5.827757] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    5.835814] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.844856] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185
[    5.851639] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.859515] pci 0000:01:00.0: reg 0x10: [io  size 0x0008]
[    5.865569] pci 0000:01:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.873440] pci 0000:01:00.0: reg 0x14: [io  size 0x0004]
[    5.879492] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.887368] pci 0000:01:00.0: reg 0x18: [io  size 0x0008]
[    5.893420] pci 0000:01:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    5.901295] pci 0000:01:00.0: reg 0x1c: [io  size 0x0004]
[    5.907346] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.915222] pci 0000:01:00.0: reg 0x20: [io  size 0x0010]
[    5.921274] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    5.928297] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    5.928297] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    5.935812] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 512)
[    5.961100] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    5.968516] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
[    5.976106] pci 0000:01:00.0: BAR 6: assigned [mem 0xfa000000-0xfa00ffff pref]
[    5.984178] pci 0000:01:00.0: BAR 5: assigned [mem 0xfa010000-0xfa0101ff]
[    5.991773] pci 0000:01:00.0: BAR 4: no space for [io  size 0x0010]
[    5.998774] pci 0000:01:00.0: BAR 4: failed to assign [io  size 0x0010]
[    6.006164] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0008]
[    6.013167] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0008]
[    6.020556] pci 0000:01:00.0: BAR 2: no space for [io  size 0x0008]
[    6.027556] pci 0000:01:00.0: BAR 2: failed to assign [io  size 0x0008]
[    6.034946] pci 0000:01:00.0: BAR 1: no space for [io  size 0x0004]
[    6.041947] pci 0000:01:00.0: BAR 1: failed to assign [io  size 0x0004]
[    6.049337] pci 0000:01:00.0: BAR 3: no space for [io  size 0x0004]
[    6.056337] pci 0000:01:00.0: BAR 3: failed to assign [io  size 0x0004]
[    6.063728] pci 0000:00:00.0: PCI bridge to [bus 01]
[    6.069275] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    6.076983] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    6.083958] pcieport 0000:00:00.0: PME: Signaling with IRQ 239
[    6.090913] pcieport 0000:00:00.0: AER: enabled with IRQ 239
[    6.097511] ahci 0000:01:00.0: enabling device (0000 -> 0002)
[    6.104106] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    6.111541] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[    6.120487] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
[    6.130769] scsi host1: ahci
[    6.134289] scsi host2: ahci
[    6.137592] ata1: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010100 irq 240
[    6.145861] ata2: SATA max UDMA/133 abar m512@0xfa010000 port 0xfa010180 irq 240
[    6.156612] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    6.166964] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    6.175896] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    6.187530] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    6.196770] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.204186] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    6.212716] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    6.221789] panfrost ff9a0000.gpu: clock rate = 500000000
[    6.228690] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    6.237358] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    6.246498] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    6.259717] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    6.269280] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    6.278914] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    6.287092] clk: Not disabling unused clocks
[    6.291876] ALSA device list:
[    6.295185]   No soundcards found.
[    6.299118] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    6.624768] scsi 0:0:0:0: Direct-Access     JMicron  Generic          3101 PQ: 0 ANSI: 6
[    7.128323] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[    7.137854] sd 0:0:0:0: [sda] Write Protect is off
[    7.144443] sd 0:0:0:0: [sda] Disabling FUA
[    7.149128] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.165299]  sda: sda1
[    7.169677] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.235591] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    7.347706] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    7.385545] ata1.00: ATA-8: WDC WD30EZRX-00AZ6B0, 80.00A80, max UDMA/133
[    7.393080] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 32), AA
[    7.408166] ata1.00: configured for UDMA/133
[    7.413537] scsi 1:0:0:0: Direct-Access     ATA      WDC WD30EZRX-00A 0A80 PQ: 0 ANSI: 5
[    7.423334] sd 1:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[    7.432009] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    7.437885] sd 1:0:0:0: [sdb] Write Protect is off
[    7.443296] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.501106]  sdb: sdb1 sdb2 sdb3 sdb4
[    7.507032] sd 1:0:0:0: [sdb] Attached SCSI disk
[    7.895647] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    7.904094] ata2.00: ATA-10: WDC WD40EZRZ-00GXCB0, 80.00A80, max UDMA/133
[    7.911703] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    7.921395] ata2.00: configured for UDMA/133
[    7.926866] scsi 2:0:0:0: Direct-Access     ATA      WDC WD40EZRZ-00G 0A80 PQ: 0 ANSI: 5
[    7.936638] sd 2:0:0:0: [sdc] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    7.945342] sd 2:0:0:0: [sdc] 4096-byte physical blocks
[    7.951215] sd 2:0:0:0: [sdc] Write Protect is off
[    7.956620] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.013526]  sdc: sdc1
[    8.016997] sd 2:0:0:0: [sdc] Attached SCSI disk
[    8.024137] Freeing unused kernel memory: 3648K
[    8.063731] Run /init as init process
Loading, please wait...
starting version 237
[    8.334438] rk808-rtc rk808-rtc: registered as rtc0
[    8.340910] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:17 UTC (1358499017)
[    8.365369] scsi host3: uas
[    8.369926] scsi 3:0:0:0: Direct-Access     Seagate  BUP Slim BK      0304 PQ: 0 ANSI: 6
[    8.371491] usbcore: registered new interface driver uas
[    8.510670] md/raid1:md126: active with 1 out of 2 mirrors
[    8.510939] md/raid1:md127: active with 1 out of 2 mirrors
[    8.514836] md/raid1:md125: active with 1 out of 2 mirrors
[    8.514899] md125: detected capacity change from 0 to 263061504
[    8.516849] md126: detected capacity change from 0 to 2997278047232
[    8.525770] md/raid1:md124: active with 1 out of 2 mirrors
[    8.529289] md127: detected capacity change from 0 to 1011613696
[    8.535884] md124: detected capacity change from 0 to 2006908928
Begin: Loading essential drivers ... [   10.048350] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ...
[   37.855599] vcc_efuse: supplied by vcc3v3_s0
[   37.860443] vcc3v0_vdd: disabling
[   39.915687] sd 3:0:0:0: tag#5 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN
[   39.923956] sd 3:0:0:0: tag#5 CDB: opcode=0x9e, sa=0x10 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
[   39.947628] scsi host3: uas_eh_device_reset_handler start
[   40.080216] usb 6-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[   40.111040] scsi host3: uas_eh_device_reset_handler success
[   40.124031] sd 3:0:0:0: [sdd] 976773167 512-byte logical blocks: (500 GB/466 GiB)
[   40.132408] sd 3:0:0:0: [sdd] 2048-byte physical blocks
[   40.164015] random: crng init done
Begin: Waiting for suspend/resume device ... [   40.488898] sd 3:0:0:0: [sdd] Write Protect is off
[   40.495027] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   40.506060] sd 3:0:0:0: [sdd] Optimal transfer size 33553920 bytes not a multiple of physical block size (2048 bytes)
[   40.549890]  sdd: sdd1 sdd2
[   40.554649] sd 3:0:0:0: [sdd] Attached SCSI disk
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for suspend/resume device
done.
Begin: Will now check root file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p2] fsck.ext4 -y -C0 /dev/mmcblk1p2
e2fsck 1.44.1 (24-Mar-2018)
rootfs: clean, 552515/1900544 files, 4622972/7596800 blocks
done.
[   43.737604] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
SELinux:  Could not open policy file <= /etc/selinux/targeted/po[   43.996733] systemd[1]: System time before build time, advancing clock.
licy/policy.32:  No such file or directory
[   44.056923] systemd[1]: systemd 237 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)  
[   44.081119] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 18.04.4 LTS!

[   44.128145] systemd[1]: Set hostname to <aldebaran64>.
[   44.425405] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   44.451750] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   44.468737] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   44.487852] systemd[1]: Started ntp-systemd-netif.path.
[  OK  ] Started ntp-systemd-netif.path.
[   44.504081] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executabâ¦rmats File System Automount Point.
[   44.532541] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   44.547772] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-openvpn.slice.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Socket.
         Mounting Huge Pages File System...
         Mounting RPC Pipe File System...
         Mounting Kernel Debug File System...
         Starting Restore / save the current clock...
         Starting Nameserver information manager...
         Starting Set the console keyboard layout...
         Mounting POSIX Message Queue File System...
         Starting Create list of required stâ¦ce nodes for the current kernel...
         Mounting NFSD configuration filesystem...
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Listening on udev Control Socket.
[   44.902406] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
         Starting udev Coldplug all Devices...
[  OK  ] Reached target System Time Synchronized.
         Starting Load Kernel Modules...
         Starting Journal Service...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Create list of required staâ¦vice nodes for the current kernel.
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Started Journal Service.
[  OK  ] Started Remount Root and Kernel File Systems.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Nameserver information manager.
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting Create Static Device Nodes in /dev...
         Starting pNFS block layout mapping daemon...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS2.
[  OK  ] Found device /dev/disk/by-label/boot.
         Mounting /media/boot...
[  OK  ] Mounted /media/boot.
[  OK  ] Started MD array monitor.
[  OK  ] Reached target Local File Systems.
         Starting Preprocess NFS configuration...
         Starting netfilter persistent configuration...
         Starting Create Volatile Files and Directories...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Enable support for additional executable binary formats...
         Starting Set console font and keymap...
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started netfilter persistent configuration.
         Mounting Arbitrary Executable File Formats File System...
         Starting Network Time Synchronization...
         Starting Load Kernel Modules...
         Starting Tell Plymouth To Write Out Runtime Data...
[  OK  ] Reached target Network (Pre).
         Starting Network Service...
         Starting Update UTMP about System Boot/Shutdown...
         Starting RPC bind portmap service...
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
[  OK  ] Started Network Service.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Mounted Arbitrary Executable File Formats File System.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Enable support for additional executable binary formats.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started NFSv4 ID-name mapping service.
         Starting Raise network interfaces...
[  OK  ] Reached target RPC Port Mapper.
         Starting Wait for Network to be Configured...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
         Starting Docker Socket for the API.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Listening on mpd.socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Message of the Day.
[  OK  ] Listening on lircd.socket.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started Raise network interfaces.
[  OK  ] Listening on Docker Socket for the API.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting System Logging Service...
         Starting Restore /etc/resolv.conf iâ¦fore the ppp link was shut down...
         Starting Resets System Activity Data Collector...
         Starting LSB: LVM2 metadata daemon...
[  OK  ] Started Convert IR remotes button pâ¦ses to mouse movements and clicks.
[  OK  ] Started Handle events from IR remotes decoded by lircd(8).
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
[  OK  ] Started Run anacron jobs.
         Starting Login Service...
[  OK  ] Started Deferred execution scheduler.
[  OK  ] Started ntp-systemd-netif.service.
         Starting Hass.io AppArmor...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Keepass password backup.
[  OK  ] Started Busybox shell on port 9999.
         Starting hdidle to turn off WDC HDD on inactivity...
         Starting lircd(8) initialization helper tool...
[  OK  ] Started Regular background program processing daemon.
         Starting hdidle to turn off WDC HDD on inactivity...
         Starting LSB: LVM2 poll daemon...
         Starting Initializes zram swaping...
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore /etc/resolv.conf ifâ¦before the ppp link was shut down.
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started Hass.io AppArmor.
[  OK  ] Started hdidle to turn off WDC HDD on inactivity.
[  OK  ] Started hdidle to turn off WDC HDD on inactivity.
[  OK  ] Started lircd(8) initialization helper tool.
[  OK  ] Started LSB: LVM2 metadata daemon.
[  OK  ] Started LSB: LVM2 poll daemon.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Login Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Reached target Network.
         Starting Transmission BitTorrent Daemon...
         Starting NFS Mount Daemon...
         Starting OpenBSD Secure Shell server...
         Starting containerd container runtime...
[  OK  ] Started IR AC MQTT Agent.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Fail2Ban Service...
         Starting OpenBSD Secure Shell server running on Big Cores...
         Starting MySQL Community Server...
         Starting OpenVPN service...
         Starting Music Player Daemon...
[  OK  ] Started Flexible IR remote input/output application support.
[  OK  ] Started Forward LIRC button presses as uinput events.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started OpenBSD Secure Shell server running on Big Cores.
[  OK  ] Started Initializes zram swaping.
[  OK  ] Started NFS Mount Daemon.
[  OK  ] Started containerd container runtime.
[  OK  ] Started Fail2Ban Service.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started OpenVPN service.
         Starting NFS server and services...
[  OK  ] Stopped Wait for Network to be Configured.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting LSB: web-based administration interface for Unix systems...
         Starting Ubuntu FAN network setup...
         Starting Docker Application Container Engine...
         Starting Samba NMB Daemon...
         Starting Munin Node...
         Starting OpenVPN connection to server...
         Stopping Network Service...
[  OK  ] Started Transmission BitTorrent Daemon.
[   48.246177] rc.local[2773]: performance
[  OK  ] Stopped NFS server and services.
[   48.270957] rc.local[2773]: simple_ondemand
[  OK  ] Stopped Network Service.
[  OK  ] Started Ubuntu FAN network setup.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting The Apache HTTP Server...
         Starting Automounts filesystems on demand...
         Starting LSB: Start ntop daemon...
         Starting LSB: Tool to automatically⦠submit kernel crash signatures...
         Starting LSB: backup and restore program...
         Starting LSB: mosquitto MQTT v3.1 message broker...
         Starting LSB: Mount debugfs on /sys/kernel/debug...
         Starting LSB: Netplan calendar service....
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[   48.505663] rc.local[2773]: 4-5
         Stopping NFSv4 ID-name mapping service...
[   48.526053] rc.local[2773]: <13>Jun  3 09:35:33 /etc/rc.local: Force IP on eth0
         Stopping NFS Mount Daemon...
[  OK  ] Stopped NFSv4 ID-name mapping service.
[  OK  ] Stopped NFS Mount Daemon.
[  OK  ] Started OpenVPN connection to server.
[  OK  ] Started LSB: Start ntop daemon.
[  OK  ] Started LSB: Tool to automatically â¦nd submit kernel crash signatures.
[   48.698099] rc.local[2773]: CPU0: governor performance -> ondemand
[   48.712558] rc.local[2773]: CPU1: governor performance -> ondemand
[  OK  ] Started LSB: backup and restore program.
[   48.724665] rc.local[2773]: CPU2: governor performance -> ondemand
[   48.752497] rc.local[2773]: CPU3: governor performance -> ondemand
[  OK  ] Started /etc/rc.local Compatibility.
[   48.752742] rc.local[2773]: CPU4: governor performance -> ondemand
[  OK  ] Started Automounts filesystems on demand.
[   48.792705] rc.local[2773]: CPU5: governor performance -> ondemand
[   48.822549] rc.local[2773]: <13>Jun  3 09:35:33 /etc/rc.local: Applying ondemand tweaks
[   48.842801] rc.local[2773]: <13>Jun  3 09:35:33 /etc/rc.local: Set thermal trip points to 60C
[  OK  ] Started LSB: mosquitto MQTT v3.1 message broker.
[  OK  ] Started LSB: Mount debugfs on /sys/kernel/debug.
[  OK  ] Started LSB: Netplan calendar service..
         Starting Network Service...
         Starting LSB: Launch backuppc server...
         Starting Permit User Sessions...
[  OK  ] Started LSB: Launch backuppc server.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Network Service.
         Starting Terminate Plymouth Boot Screen...
         Starting Hold until boot process finishes up...
[  OK  ] Started Terminate Plymouth Boot Screen.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Hold until boot process finishes up.
         Starting Set console scheme...
[  OK  ] Started Serial Getty on ttyS2.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Samba NMB Daemon.
[  OK  ] Started Munin Node.
[  OK  ] Started The Apache HTTP Server.
         Starting Disk Cache Cleaning Daemon for Apache HTTP Server...
         Starting Samba SMB Daemon...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Disk Cache Cleaning Daemon for Apache HTTP Server.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Started MySQL Community Server.
[  OK  ] Started Music Player Daemon.
[   50.191195] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   50.200988] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   52.785163] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   52.802352] Bridge firewalling registered
[   53.216467] Initializing XFRM netlink socket

Ubuntu 18.04.4 LTS aldebaran64 ttyS2

aldebaran64 login:
The initrd took about 30s to start though, but it ran fsck on my root filesystem, so that is nice.
The system I'm running is 18.04, runs as a NAS (NFS/SMB) with Docker (Home Assistant Supervised), AdGuard, inflxudb, Grafana, MySQL, OpenVPN and a few other background processes. Everything started up fine, except for lirc (I'm using a GPIO as a IR blaster and the module is missing here), which I expected.

I ran some long-term (30m) iperf tests which ran fine:

Code: Select all

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-1800.00 sec   196 GBytes   934 Mbits/sec  4393             sender
[  5]   0.00-1800.00 sec   196 GBytes   934 Mbits/sec                  receiver

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-1800.00 sec   196 GBytes   933 Mbits/sec   81             sender
[  5]   0.00-1800.00 sec   196 GBytes   933 Mbits/sec                  receiver
On the older kernel I was moving the eth0 interrupt to the big cores, but since the interrupt number has changed, it remained only on the first core. CPU usage on the first core was about 30-50%, but otherwise it was fine. I don't think I need to move the IRQ anyway (it was done like this since XU4).

Code: Select all

 27:   22445201          0          0          0          0          0     GICv3  44 Level     eth0
Reading the disk over NFS was fine also:

Code: Select all

12265+1 records in
12265+1 records out
12861373111 bytes (13 GB, 12 GiB) copied, 123.543 s, 104 MB/s

real    2m3.551s
user    0m0.030s
sys     0m31.020s
Then I did a stress-ng test (stress-ng -c 6 --metrics-brief) and left it cooking for an hour and I noticed the big cores went quickly into thermal throttling, while the little cores did not. Temperature didn't go over 60C (no fan, about 50C when idle). Big core speed ramped up after stopping stress-ng.

Code: Select all

adrianp@aldebaran64:~$ sudo cpuctrl -l -t
TEMP: 60.625C
adrianp@aldebaran64:~$ sudo cpuctrl -l
CPU0: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz]
CPU1: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz]
CPU2: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz]
CPU3: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz]
CPU4: governor performance      current 408.00MHz       min 408.00MHz [408.00MHz]       max 408.00MHz [1.80GHz]
CPU5: governor performance      current 408.00MHz       min 408.00MHz [408.00MHz]       max 408.00MHz [1.80GHz]
adrianp@aldebaran64:~$ sudo cpuctrl -l
CPU0: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU1: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU2: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU3: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU4: governor performance      current 1.61GHz min 408.00MHz [408.00MHz]       max 1.61GHz [1.80GHz] 
CPU5: governor performance      current 1.61GHz min 408.00MHz [408.00MHz]       max 1.61GHz [1.80GHz] 
adrianp@aldebaran64:~$ sudo cpuctrl -l
CPU0: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU1: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU2: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU3: governor performance      current 1.42GHz min 408.00MHz [408.00MHz]       max 1.42GHz [1.42GHz] 
CPU4: governor performance      current 1.80GHz min 408.00MHz [408.00MHz]       max 1.80GHz [1.80GHz] 
CPU5: governor performance      current 1.80GHz min 408.00MHz [408.00MHz]       max 1.80GHz [1.80GHz] 

Previously I was setting these temperature trip points in order to start the fan:

Code: Select all

#thermal points
if [ -f /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp ]; then
    logger -s -t $0 "Set thermal trip points to 60C"
echo '60000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
echo '70000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
echo '80000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp
fi
Now I see that trip point 2 is marked critical:

Code: Select all

adrianp@aldebaran64:~$ cat /sys/devices/virtual/thermal/thermal_zone0/hwmon0/name
cpu
adrianp@aldebaran64:~$ cat /sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp1_crit 
80000
adrianp@aldebaran64:~$ cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_type 
critical
adrianp@aldebaran64:~$ cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp 
80000
Maybe I'm causing premature throttling? I'll reboot again to see next time what the defaults are.

Will keep an eye on stability, but so far, so good!
Thank you @hominid and @moon.linux for a breath of fresh air :)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Wed Jun 03, 2020 10:24 pm

Some more things:

1. CPU max frequency is lower than with 4.4. Little cores used to go up to 1.5GHz and Big cores up to 2GHz. Now we have 1.4 and 1.8:
Image

2. Strangely - the number of processes has decreased substantially since 4.4, though there were no userspace changes, and the high 420 count was consistent through various reboots with 4.4. Not sure what changed there. Maybe what counts as a process?
Image

hominoid
Posts: 420
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, C4, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 35 times
Been thanked: 115 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by hominoid » Thu Jun 04, 2020 10:13 am

Good to see you got up and running on mainline uboot and kernel 5.7.0. It's looking like a very nice release for the N1. I’m not surprised, that with passive cooling, the system was throttling on your stress-ng test. It’s a tough test for most actively cooled systems let alone passive ones imo. So just to push it a little further I added 1.5Ghz and 2Ghz to the dts. :)

Code: Select all

hominoid@odroid-n1:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
408000 600000 816000 1008000 1200000 1416000 1512000 
hominoid@odroid-n1:~$ cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies
408000 600000 816000 1008000 1200000 1416000 1608000 1800000 1992000 
dts and dtb
rk3399-odroid-n1_2ghz.dts.tar.gz
(16.2 KiB) Downloaded 24 times
These users thanked the author hominoid for the post:
mad_ady (Thu Jun 04, 2020 1:21 pm)

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Thu Jun 04, 2020 1:22 pm

Thanks, Cool lets get these changes integrated in some build image, so that we could test the proper image to flash.
just enable i2s2 for sound via HDMI in dts.

Code: Select all

@i2s2 {
         status="okay";
}
These users thanked the author moon.linux for the post:
mad_ady (Thu Jun 04, 2020 2:22 pm)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jun 04, 2020 6:06 pm

Thanks for the CPU boost. I'll give it a test tonight/tomorrow.

Regarding PWM - I have no idea where to look for a fix, so, as usual I'm looking for barbaric workarounds.
First assumption is - there's a GPIO that controls PWM. This means I should be able to turn it on (full throttle) when I need to, or use a software PWM. Not sure how I can tie it with the kernel trip points so that the kernel handles it without userspace intervention, but that's not that important.
My question is - how do I figure out the GPIO number for the fan PWM? In the 4.4 DTB I don't have it:

Code: Select all

    pwm-fan {
        compatible = "pwm-fan";
        status = "okay";
        pwms = <0x000000cb 0x00000000 0x00009c40 0x00000000>;
        cooling-min-state = <0x00000000>;
        cooling-max-state = <0x00000003>;
        #cooling-cells = <0x00000002>;
        cooling-levels = <0x00000000 0x00000096 0x000000c3 0x000000f0>;
        phandle = <0x00000057>;
    };
I was expecting a gpios array somewhere... Based on the schematics, I just get a PWM0: https://wiki.odroid.com/old_product/odroid-n1/odroid-n1

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Thu Jun 04, 2020 6:35 pm

Old dts binding are discarded and new sub module driver will take care of these.

GPIO4_C2 pin controls the PWM power enable/disable pwm0 node.

my guess pwm2 node is not used so it can be removed.

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Thu Jun 04, 2020 8:08 pm

How do I convert GPIO4_C2 to a number?
I'll also try to set up gpio 33 (or was it 35?) with the gpio-ir-tx module (and lirc) to control my AC. I will need to figure out to to configure its gpio (rpi uses dt overlay, but I suspect I can modify the dtb accordingly).

moon.linux
Posts: 1186
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 0
Been thanked: 13 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by moon.linux » Thu Jun 04, 2020 8:43 pm

You need to look into ./include/dt-bindings/pinctrl/rockchip.h for specific GPIO pin number.
But you cannot used this GPIO pin as this is hard wired on the board fan.

If you are looking for set up IR you need to look into other boards dts example to enable this node in dts.
For example rk3399-nanopc-t4 check the schematics for details.

Code: Select all

 ir-receiver {
            compatible = "gpio-ir-receiver";
             gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
             pinctrl-names = "default";
              pinctrl-0 = <&ir_rx>;
 };
        
 &pinctrl {
        ir {
                ir_rx: ir-rx {
                        /* external pullup to VCC3V3_SYS, despite being 1.8V :/ */
                        rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>;
                };
        };
};
These users thanked the author moon.linux for the post:
mad_ady (Thu Jun 04, 2020 9:28 pm)

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Fri Jun 05, 2020 3:21 am

Thanks!
I tested the 2GHz dtb and it seems to run fine. Haven't done a lot of stress testing since I get thermal throttled anyway...

Regarding my IR blaster - I identified the gpio number - it's on pin 11 and corresponds to GPIO 33. I can turn it on manually and I can see the IR led light up:

Code: Select all

root@aldebaran64:/sys/class/gpio/gpio33# cat direction 
in
root@aldebaran64:/sys/class/gpio/gpio33# echo out > direction
root@aldebaran64:/sys/class/gpio/gpio33# cat value
0
root@aldebaran64:/sys/class/gpio/gpio33# echo 1 > value
root@aldebaran64:/sys/class/gpio/gpio33# echo 0 > value
root@aldebaran64:/sys/class/gpio/gpio33# 

I'll keep looking into how to configure it to make it work (summer's almost here and I may need my AC).

User avatar
mad_ady
Posts: 8155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 568 times
Been thanked: 404 times
Contact:

Re: Trying to get mainline kernel working on N1

Post by mad_ady » Mon Jun 29, 2020 5:16 pm

Ok, I managed to get the IR blaster working, with help from Sean Young - the gpio-ir-tx.ko maintainer. I also learned some things about how DTBs work.

So, here's how to get gpio-ir-tx working with kernel 5.7 (may work the same way with 5.x kernels and also on other boards). The only changes needed are to the DTB. One needs to create a new node in the DTB (the name is not important - I had no idea), set "compatible" to "gpio-ir-tx" (this is what the driver uses to find the dtb node), and also set gpios. Here's an example:

Code: Select all

fdtput -v -c rk3399-odroid-n1.dtb  /ir-tx
fdtput -t s rk3399-odroid-n1.dtb  /ir-tx compatible "gpio-ir-tx"
fdtput -t x rk3399-odroid-n1.dtb  /ir-tx "gpios" 0x83 0x01 0x0
Setting the correct value for the gpios string was more tricky. I was using GPIO 33 for my IR blaster.
First see what gpio banks you have registered in your system:

Code: Select all

root@aldebaran64:/media/boot/boot# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-31, parent: platform/pinctrl, gpio0:
 gpio-1   (                    |vcc3v0-vdd          ) out lo 
 gpio-5   (                    |GPIO Key Power      ) in  hi ACTIVE LOW
 gpio-6   (                    |cd                  ) in  lo ACTIVE LOW
 gpio-7   (                    |cd                  ) in  hi ACTIVE LOW
 gpio-12  (                    |vcc5v0-host31       ) out hi 
 gpio-13  (                    |vcc5v0-host32       ) out hi 

gpiochip1: GPIOs 32-63, parent: platform/pinctrl, gpio1:

gpiochip2: GPIOs 64-95, parent: platform/pinctrl, gpio2:
 gpio-82  (                    |ep                  ) out hi 

gpiochip3: GPIOs 96-127, parent: platform/pinctrl, gpio3:

gpiochip4: GPIOs 128-159, parent: platform/pinctrl, gpio4:
 gpio-153 (                    |vcc5v0-host         ) out hi 
 gpio-154 (                    |blue:heartbeat      ) out lo 
 gpio-155 (                    |vcc-efuse           ) out hi 
I'm using gpio33, so that's part of gpiochip1. If you look inside the dtb you can find:

Code: Select all

    pinctrl {
        compatible = "rockchip,rk3399-pinctrl";
        rockchip,grf = <0x0000001e>;
        rockchip,pmu = <0x0000008c>;
        #address-cells = <0x00000002>;
        #size-cells = <0x00000002>;
        ranges;
        gpio0@ff720000 {
            compatible = "rockchip,gpio-bank";
            reg = <0x00000000 0xff720000 0x00000000 0x00000100>;
            clocks = <0x0000007a 0x00000017>;
            interrupts = <0x00000000 0x0000000e 0x00000004 0x00000000>;
            gpio-controller;
            #gpio-cells = <0x00000002>;
            interrupt-controller;
            #interrupt-cells = <0x00000002>;
            phandle = <0x00000026>;
        };
        gpio1@ff730000 {
            compatible = "rockchip,gpio-bank";
            reg = <0x00000000 0xff730000 0x00000000 0x00000100>;
            clocks = <0x0000007a 0x00000018>;
            interrupts = <0x00000000 0x0000000f 0x00000004 0x00000000>;
            gpio-controller;
            #gpio-cells = <0x00000002>;
            interrupt-controller;
            #interrupt-cells = <0x00000002>;
            phandle = <0x00000083>;
        };
        gpio2@ff780000 {
            compatible = "rockchip,gpio-bank";
            reg = <0x00000000 0xff780000 0x00000000 0x00000100>;
            clocks = <0x00000008 0x00000150>;
            interrupts = <0x00000000 0x00000010 0x00000004 0x00000000>;
            gpio-controller;
            #gpio-cells = <0x00000002>;
            interrupt-controller;
            #interrupt-cells = <0x00000002>;
            phandle = <0x00000016>;
        };
        gpio3@ff788000 {
            compatible = "rockchip,gpio-bank";
            reg = <0x00000000 0xff788000 0x00000000 0x00000100>;
            clocks = <0x00000008 0x00000151>;
            interrupts = <0x00000000 0x00000011 0x00000004 0x00000000>;
            gpio-controller;
            #gpio-cells = <0x00000002>;
            interrupt-controller;
            #interrupt-cells = <0x00000002>;
            phandle = <0x00000025>;
        };
        gpio4@ff790000 {
            compatible = "rockchip,gpio-bank";
            reg = <0x00000000 0xff790000 0x00000000 0x00000100>;
            clocks = <0x00000008 0x00000152>;
            interrupts = <0x00000000 0x00000012 0x00000004 0x00000000>;
            gpio-controller;
            #gpio-cells = <0x00000002>;
            interrupt-controller;
            #interrupt-cells = <0x00000002>;
            phandle = <0x000000b8>;
        };
So, gpio1 has phandle = 0x83. This allows you to find the first value in the gpios line (it selects the bank).
Next comes the question - what is the second parameter? That would be the gpio number. But it's not 33 in my case (0x21). It turns out the second parameter is an offset - it's the pin number starting from the gpiobank - so in my case gpio 33 is the second gpio of the gpio1 bank, and since we're counting from 0 (0 -> gpio 32), we need to set it to 0x1.
The third parameter - I have no idea what it represents, but it's more commonly 0x0 or 0x1.

After you reboot, if the parameters are correct, you should get the gpio-ir-tx module autoloaded, you should get a /dev/lirc0 device and also, you can check the dtb parameters via:

Code: Select all

# cat /proc/device-tree/ir-tx/gpios | xxd
00000000: 0000 0083 0000 0001 0000 0000            ............
# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-31, parent: platform/pinctrl, gpio0:
 gpio-1   (                    |vcc3v0-vdd          ) out lo 
 gpio-5   (                    |GPIO Key Power      ) in  hi ACTIVE LOW
 gpio-6   (                    |cd                  ) in  lo ACTIVE LOW
 gpio-7   (                    |cd                  ) in  hi ACTIVE LOW
 gpio-12  (                    |vcc5v0-host31       ) out hi 
 gpio-13  (                    |vcc5v0-host32       ) out hi 

gpiochip1: GPIOs 32-63, parent: platform/pinctrl, gpio1:
 gpio-33  (                    |ir-tx               ) out lo 

gpiochip2: GPIOs 64-95, parent: platform/pinctrl, gpio2:
 gpio-82  (                    |ep                  ) out hi 

gpiochip3: GPIOs 96-127, parent: platform/pinctrl, gpio3:

gpiochip4: GPIOs 128-159, parent: platform/pinctrl, gpio4:
 gpio-153 (                    |vcc5v0-host         ) out hi 
 gpio-154 (                    |blue:heartbeat      ) out lo 
 gpio-155 (                    |vcc-efuse           ) out hi 
Next will be - seeing whether tobetter's kernel branch has some fixes for the poor old PWM fan...
Time to turn on the AC unit :D
These users thanked the author mad_ady for the post (total 3):
joerg (Mon Jun 29, 2020 9:02 pm) • brad (Tue Jun 30, 2020 6:16 pm) • hominoid (Thu Jul 02, 2020 6:53 am)

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests