Any plan for basic mainline linux support?

miskol
Posts: 231
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 7 times
Contact:

Any plan for basic mainline linux support?

Unread post by miskol » Tue Feb 26, 2019 5:02 pm

It will be nice to have basic mainline linux support.
Are there any plan for that?
These users thanked the author miskol for the post:
nurikodd (Sun Jul 21, 2019 8:15 pm)

miskol
Posts: 231
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 7 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Tue Feb 26, 2019 6:11 pm


User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Tue Feb 26, 2019 6:15 pm

Good.
I hope we can see Kernel 5.x booting log from the serial console(at least) a few months later. ;)

User avatar
memeka
Posts: 4354
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 37 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Tue Feb 26, 2019 6:59 pm

I can see there usb2, hdmi, emmc and network wow

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Wed Feb 27, 2019 9:59 am

memeka wrote:
Tue Feb 26, 2019 6:59 pm
I can see there usb2, hdmi, emmc and network wow
Nice, full steam ahead :)

ASword
Posts: 194
Joined: Fri Aug 04, 2017 12:48 pm
languages_spoken: english
ODROIDs: XU4, HC1, 2x N2
Has thanked: 5 times
Been thanked: 3 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by ASword » Wed Feb 27, 2019 1:23 pm

Well this sounds exciting!

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Fri Mar 01, 2019 6:05 am

miskol wrote:
Tue Feb 26, 2019 6:11 pm
from neal from baylibre
https://gitlab.com/superna9999/linux/co ... /v5.1/g12b
I did a compile and install but was unable to get uboot to boot it , I think is related to the way I produced the uInitrd and even maybe the dtb.

Uboot reported a segmentation fault trying to load the uInitrd if I used one (maybe the load address I used with mkimage is wrong) and if I tried with no ramdisk then issues with the fdt format header

Code: Select all

Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
reading boot.ini
3813 bytes read in 2 ms (1.8 MiB/s)
## Executing script at 01000000
reading Image.gz
8461493 bytes read in 236 ms (34.2 MiB/s)
reading meson-g12b-odroid-n2.dtb
23897 bytes read in 4 ms (5.7 MiB/s)
Uncompressed size: 19960320 = 0x1309200
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
Unknown command 'get_valid_slot' - try 'help'
active_slot is <NULL>
Unknown command 'store' - try 'help'
No dtbo patitions found
No dtbo partition provided?
Fail to load dtbo partition data?
load dtb from 0x1000000 ......
ERROR: Did not find a cmdline Flattened Device Tree
load dtb from 0x0 ......
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
I will try again, maybe petitboot can help also.

umiddelb
Posts: 451
Joined: Thu Jan 29, 2015 6:42 am
languages_spoken: English, German
ODROIDs: ODROID-C1, ODROID-XU4, ODROID-C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by umiddelb » Fri Mar 01, 2019 7:22 am

It is the usual mess with amlogic bsp firmware:

- you need to create and boot an uImage instead of an Image

Code: Select all

sudo mkimage -A ${arch} -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n ${kver} -d arch/${arch}/boot/${img} ${dest}/uImage
- you may want to set bootdelay to 50 instead of 5

I was able to boot the mainline kernel but experienced network and usb issues.

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Fri Mar 01, 2019 9:46 am

umiddelb wrote:
Fri Mar 01, 2019 7:22 am
It is the usual mess with amlogic bsp firmware:

- you need to create and boot an uImage instead of an Image

Code: Select all

sudo mkimage -A ${arch} -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n ${kver} -d arch/${arch}/boot/${img} ${dest}/uImage
- you may want to set bootdelay to 50 instead of 5

I was able to boot the mainline kernel but experienced network and usb issues.
@umiddelb thanks, I did produce the uImage but I got the entry points wrong. I will try again tonight. I aware of some fixes for Realtek PHY which impact perfromance in 5.0 which might be related. I will check. USB is only basic and only USB 2 mode it appears.

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Sun Mar 03, 2019 8:57 am

umiddelb wrote:
Fri Mar 01, 2019 7:22 am

I was able to boot the mainline kernel but experienced network and usb issues.
I now see the same...

Ethernet:

Code: Select all

Mar  2 23:04:55 odroid kernel: [    4.566059] meson8b-dwmac ff3f0000.ethernet eth0: Could not attach to PHY
Mar  2 23:04:55 odroid kernel: [    4.567213] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
USB seems to be partially fixed by forcing host only mode for DWC2 (only DWC2 is working not DWC3) and building the meson dwc driver into the kernel (have not triied with a initrd ramdisk as yet). It will not detect by usb storage but will detect the Odroid Realtek wireless dongle. I think it will not detect USB3 devices.

Edit: also seems a problem with sdcard detection but hdmi is working

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Mar 04, 2019 6:42 pm

umiddelb wrote:
Fri Mar 01, 2019 7:22 am

I was able to boot the mainline kernel but experienced network and usb issues.
I was able to get Ethernet working by adding CONFIG_MDIO_BUS_MUX_MESON_G12A to kernel config :)

miskol
Posts: 231
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 7 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by miskol » Tue Mar 05, 2019 2:24 am

@brad do you have some experience with armbian.com ??
maybe you can add support for Odroid N2 to armbian :)
It should be really easy
use mainline kernel + and add patch sets to support Odroid N2

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Tue Mar 05, 2019 9:45 am

miskol wrote:
Tue Mar 05, 2019 2:24 am
@brad do you have some experience with armbian.com ??
maybe you can add support for Odroid N2 to armbian :)
It should be really easy
use mainline kernel + and add patch sets to support Odroid N2
I do have some experience with armbian and the C2. I will try to add basic support for the N2 but unsure if I will need to make it work with mainline uboot as well for armbian?

Lots of changes for the g12a soc are being targeted for 5.1 but many work for the g12b as well. Looks like USB3 + Mali Bitfrost kernel drivers will hit 5.1 release.

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Mon Mar 18, 2019 12:54 pm


User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Mon Mar 18, 2019 1:10 pm

Looks very promising. :D
Is there anybody who can test the DRM function with HDMI output?
The DRM is a must condition to run the Wayland driver. Unfortunately, the basic DRM driver in Amlogic's Kernel 4.4 has too many bugs and missing controls.

phaseshifter
Posts: 3501
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 40 times
Been thanked: 42 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by phaseshifter » Mon Mar 18, 2019 4:44 pm

i will give it a try if i have time..perhaps somebody more skilled than me though...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3501
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 40 times
Been thanked: 42 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by phaseshifter » Mon Mar 18, 2019 6:32 pm

ok i cannot get tobetters program to install so i am downloding this image..from the look at github i may fail this too..but i`ll give it a try..what is drm sorry nothing comes to mind on that...phase..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Tue Mar 19, 2019 1:43 am

phaseshifter wrote:
Mon Mar 18, 2019 6:32 pm
...what is drm sorry nothing comes to mind on that...
https://en.wikipedia.org/wiki/Direct_Rendering_Manager

phaseshifter
Posts: 3501
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 40 times
Been thanked: 42 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by phaseshifter » Tue Mar 19, 2019 6:55 am

ok this is out of my depth..phase..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Tue Mar 19, 2019 10:10 am

I'm compiling it up at the moment but unsure if there is a working kernel mali driver as yet?

I will look at the amlogic 4.9 kernel to see how its implemented unless there is a mainline version? This is the mali.ko

User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Tue Mar 19, 2019 10:13 am

Mali Wayland driver is still under development.
Once the DRM driver works, we will share the Wayland user-land driver/library soon.

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Tue Mar 19, 2019 4:32 pm

I'm having an issue with it booting, only the red light remains on and console looks like

Code: Select all

Starting kernel ...

uboot time: 6813256 us
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.0.0-rc8-next-20190304 (odroid@odroid) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #1 SMP PREEMPT Tue Mar 19 01:17:18 UTC 2019
[    0.000000] Machine model: Hardkernel ODROID-N2
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000eb800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000] NUMA: NODE_DATA [mem 0xeb080840-0xeb081fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x00000000ed7fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x46c with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s56664 r8192 d29352 u94208
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 956832
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyAML0,115200 root=/dev/mmcblk0p2 rw
[    0.000000] Memory: 3759540K/3888128K available (11260K kernel code, 1712K rwdata, 5556K rodata, 1408K init, 448K bss, 95820K reserved, 32768K 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] GIC: Using split EOI/Deactivate mode
[    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.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000132] Console: colour dummy device 80x25
[    0.000211] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000221] pid_max: default: 32768 minimum: 301
[    0.000286] LSM: Security Framework initializing
[    0.001706] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.002406] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.002450] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002495] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002874] *** VALIDATE proc ***
[    0.003044] *** VALIDATE cgroup1 ***
[    0.003051] *** VALIDATE cgroup2 ***
[    0.024061] ASID allocator initialised with 32768 entries
[    0.032043] rcu: Hierarchical SRCU implementation.
[    0.040800] EFI services will not be available.
[    0.048083] smp: Bringing up secondary CPUs ...
[    0.080444] Detected VIPT I-cache on CPU1
[    0.080494] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.112941] CPU features: detected: ARM erratum 858921
[    0.112951] Detected VIPT I-cache on CPU2
[    0.112963] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU2: 0x00000000101122
[    0.112971] CPU features: Unsupported CPU feature variation detected.
[    0.112997] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.113011] arch_timer: CPU2: Trapping CNTVCT access
[    0.113018] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]
[    0.144479] Detected VIPT I-cache on CPU3
[    0.144486] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU3: 0x00000000101122
[    0.144498] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.144505] arch_timer: CPU3: Trapping CNTVCT access
[    0.144510] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]
[    0.176531] Detected VIPT I-cache on CPU4
[    0.176538] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122
[    0.176550] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.176556] arch_timer: CPU4: Trapping CNTVCT access
[    0.176561] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]
[    0.208588] Detected VIPT I-cache on CPU5
[    0.208595] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU5: 0x00000000101122
[    0.208607] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.208614] arch_timer: CPU5: Trapping CNTVCT access
[    0.208619] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]
[    0.208699] smp: Brought up 1 node, 6 CPUs
[    0.208744] SMP: Total of 6 processors activated.
[    0.208751] CPU features: detected: 32-bit EL0 Support
[    0.208758] CPU features: detected: CRC32 instructions
[    0.209242] CPU: All CPU(s) started at EL2
[    0.209276] alternatives: patching kernel code
[    0.210449] devtmpfs: initialized
[    0.212766] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.212807] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.213915] pinctrl core: initialized pinctrl subsystem
[    0.214933] DMI not present or invalid.
[    0.215358] NET: Registered protocol family 16
[    0.215710] audit: initializing netlink subsys (disabled)
[    0.215804] audit: type=2000 audit(0.212:1): state=initialized audit_enabled=0 res=1
[    0.216877] cpuidle: using governor menu
[    0.217146] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.217156] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.221405] DMA: preallocated 256 KiB pool for atomic allocations
[    0.222413] Serial: AMBA PL011 UART driver
[    0.236512] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.236524] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.236529] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.236534] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.236983] cryptd: max_cpu_qlen set to 1000
[    0.237781] ACPI: Interpreter disabled.
[    0.239385] VDDAO_3V3: supplied by 12V
[    0.240259] vgaarb: loaded
[    0.240589] SCSI subsystem initialized
[    0.241063] usbcore: registered new interface driver usbfs
[    0.241108] usbcore: registered new interface driver hub
[    0.241180] usbcore: registered new device driver usb
[    0.241823] pps_core: LinuxPPS API ver. 1 registered
[    0.241830] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.241854] PTP clock support registered
[    0.241962] EDAC MC: Ver: 3.0.0
[    0.243003] Advanced Linux Sound Architecture Driver Initialized.
[    0.243654] clocksource: Switched to clocksource arch_sys_counter
[    0.243825] VFS: Disk quotas dquot_6.6.0
[    0.243876] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.243919] *** VALIDATE hugetlbfs ***
[    0.244086] pnp: PnP ACPI: disabled
[    0.250494] NET: Registered protocol family 2
[    0.251079] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    0.251158] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.251441] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.251884] TCP: Hash tables configured (established 32768 bind 32768)
[    0.252036] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.252132] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.252343] NET: Registered protocol family 1
[    0.252715] RPC: Registered named UNIX socket transport module.
[    0.252722] RPC: Registered udp transport module.
[    0.252726] RPC: Registered tcp transport module.
[    0.252729] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.253457] kvm [1]: IPA Size Limit: 40bits
[    0.254104] kvm [1]: vgic interrupt IRQ1
[    0.254232] kvm [1]: Hyp mode initialized successfully
[    0.259791] Initialise system trusted keyrings
[    0.260172] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.266578] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.267236] NFS: Registering the id_resolver key type
[    0.267261] Key type id_resolver registered
[    0.267265] Key type id_legacy registered
[    0.267275] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.267465] 9p: Installing v9fs 9p2000 file system support
[    0.271578] Key type asymmetric registered
[    0.271588] Asymmetric key parser 'x509' registered
[    0.271786] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.271795] io scheduler mq-deadline registered
[    0.271800] io scheduler kyber registered
[    0.276335] GPIO line 447 (usb-hub-reset) hogged as output/high
[    0.280463] EINJ: ACPI disabled.
[    0.284939] meson_vid_pll_div_recalc_rate: Invalid config value for vid_pll_div
[    0.290749] soc soc0: Amlogic Meson G12B (S922X) Revision 29:a (40:2) Detected
[    0.295457] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.297574] SuperH (H)SCI(F) driver initialized
[    0.298060] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 6, base_baud = 1500000) is a meson_uart
[    1.181652] printk: console [ttyAML0] enabled
[    1.186477] msm_serial: driver initialized
[    1.195627] loop: module loaded
[    1.198314] libphy: Fixed MDIO Bus: probed
[    1.198671] tun: Universal TUN/TAP device driver, 1.6
[    1.202702] thunder_xcv, ver 1.0
[    1.205431] thunder_bgx, ver 1.0
[    1.208614] nicpf, ver 1.0
[    1.211605] hclge is initializing
[    1.214542] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.221697] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.226999] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.232738] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.238631] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    1.245503] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.251049] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.258785] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.264848] sky2: driver version 1.30
[    1.268710] VFIO - User Level meta-driver version: 0.3
[    1.274576] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.279840] ehci-pci: EHCI PCI platform driver
[    1.284260] ehci-platform: EHCI generic platform driver
[    1.289479] ehci-orion: EHCI orion driver
[    1.293433] ehci-exynos: EHCI EXYNOS driver
[    1.297569] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.303649] ohci-pci: OHCI PCI platform driver
[    1.308065] ohci-platform: OHCI generic platform driver
[    1.313276] ohci-exynos: OHCI EXYNOS driver
[    1.317641] usbcore: registered new interface driver usb-storage
[    1.325030] i2c /dev entries driver
[    1.329591] sdhci: Secure Digital Host Controller Interface driver
[    1.332879] sdhci: Copyright(c) Pierre Ossman
[    1.337454] Synopsys Designware Multimedia Card Interface Driver
[    1.343704] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.349876] ledtrig-cpu: registered to indicate activity on CPUs
[    1.355615] usbcore: registered new interface driver usbhid
[    1.360220] usbhid: USB HID core driver
[    1.366067] NET: Registered protocol family 17
[    1.368538] 9pnet: Installing 9P2000 support
[    1.372678] Key type dns_resolver registered
[    1.377251] registered taskstats version 1
[    1.380921] Loading compiled-in X.509 certificates
[    1.392448] HUB_5V: supplied by 5V
[    1.392624] VCC_3V3: supplied by VDDAO_3V3
[    1.394308] VCC_1V8: supplied by VCC_3V3
[    1.398193] VDDAO_1V8: supplied by VDDAO_3V3
[    1.402596] USB_PWR_EN: supplied by HUB_5V
[    1.408363] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2
[    1.411608] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1
[    1.419807] dwc2 ff400000.usb: ff400000.usb supply vusb_d not found, using dummy regulator
[    1.425048] dwc2 ff400000.usb: ff400000.usb supply vusb_a not found, using dummy regulator
[    1.433302] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    1.441686] dwc3 ff500000.usb: Failed to get clk 'ref': -2
[    1.446047] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.451045] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    1.458949] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010
[    1.467969] xhci-hcd xhci-hcd.0.auto: irq 12, io mem 0xff500000
[    1.474262] hub 1-0:1.0: USB hub found
[    1.477528] hub 1-0:1.0: 2 ports detected
[    1.481670] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.486918] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    1.494506] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    1.501086] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.509351] hub 2-0:1.0: USB hub found
[    1.512802] hub 2-0:1.0: 1 port detected
[    1.516906] dwc3-meson-g12a ffe09000.usb: switching to Device Mode
[    1.523227] hctosys: unable to open rtc device (rtc0)
Ill try to disable usb / rtc or try some debug and maybe a uinitrd

This is the quick way I am making / installing using the standard image

Code: Select all

make defconfig
make -j6
sudo make modules_install
sudo mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n 5.x -d arch/arm64/boot/Image /media/boot/uImage
sudo cp arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtb /media/boot/
For boot (its a bit messy in the logs) but can be a simple as adding this to the end of boot.ini (for emmc boot)

Code: Select all

setenv bootargs "console=ttyAML0,115200 root=/dev/mmcblk0p2 rw"
setenv dtb_mem_addr "0x1000000"
fatload mmc 1:1 $dtb_mem_addr meson-g12b-odroid-n2.dtb
fatload mmc 1:1 0x01080000 uimage
bootm 0x1080000 - $dtb_mem_addr

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Wed Mar 20, 2019 7:31 am

It may be the USB setup after RTC that breaks things, from 4.9;

Code: Select all

...
[    5.796375@5] dwc_otg: usb0: type: 2 speed: 0, config: 0, dma: 0, id: 0, phy: ffe09000, ctrl: 0
[    5.804625@4] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    5.911645@5] dwc_otg: Core Release: 3.30a
[    5.911663@5] dwc_otg: Setting default values for core params
[    5.915826@5] dwc_otg: curmode: 0, host_only: 0
[    5.932472@5] dwc_otg: Using Buffer DMA mode
[    5.932490@5] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[    5.936384@5] dwc_otg: Working on port type = SLAVE
[    5.941239@5] dwc_otg: Dedicated Tx FIFOs mode
...

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Wed Mar 20, 2019 5:13 pm

elatllat wrote:
Wed Mar 20, 2019 7:31 am
It may be the USB setup after RTC that breaks things, from 4.9;

Code: Select all

...
[    5.796375@5] dwc_otg: usb0: type: 2 speed: 0, config: 0, dma: 0, id: 0, phy: ffe09000, ctrl: 0
[    5.804625@4] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    5.911645@5] dwc_otg: Core Release: 3.30a
[    5.911663@5] dwc_otg: Setting default values for core params
[    5.915826@5] dwc_otg: curmode: 0, host_only: 0
[    5.932472@5] dwc_otg: Using Buffer DMA mode
[    5.932490@5] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[    5.936384@5] dwc_otg: Working on port type = SLAVE
[    5.941239@5] dwc_otg: Dedicated Tx FIFOs mode
...
I added more debug (also put both usb DWC drivers in host mode) but similar result after the rtc detection. Not so sure host mode was smart for DWC2 as its otg (I overlooked it)

Code: Select all

[    9.059245] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.067287] device: 'usb2': device_add
[    9.070988] bus: 'usb': add device usb2
[    9.074761] PM: Adding info for usb:usb2
[    9.078731] bus: 'usb': driver_probe_device: matched device usb2 with driver usb
[    9.085956] bus: 'usb': really_probe: probing driver usb with device usb2
[    9.092712] device: '2-0:1.0': device_add
[    9.096669] bus: 'usb': add device 2-0:1.0
[    9.100709] PM: Adding info for usb:2-0:1.0
[    9.104861] bus: 'usb': driver_probe_device: matched device 2-0:1.0 with driver hub
[    9.112431] bus: 'usb': really_probe: probing driver hub with device 2-0:1.0
[    9.119422] hub 2-0:1.0: USB hub found
[    9.123132] hub 2-0:1.0: 1 port detected
[    9.127039] device: 'usb2-port1': device_add
[    9.131251] PM: Adding info for No Bus:usb2-port1
[    9.135914] driver: 'hub': driver_bound: bound to device '2-0:1.0'
[    9.142039] bus: 'usb': really_probe: bound device 2-0:1.0 to driver hub
[    9.148660] device: 'ep_81': device_add
[    9.152474] PM: Adding info for No Bus:ep_81
[    9.156678] driver: 'usb': driver_bound: bound to device 'usb2'
[    9.162562] bus: 'usb': really_probe: bound device usb2 to driver usb
[    9.168932] device: 'ep_00': device_add
[    9.172737] PM: Adding info for No Bus:ep_00
[    9.176952] driver: 'xhci-hcd': driver_bound: bound to device 'xhci-hcd.0.auto'
[    9.184203] bus: 'platform': really_probe: bound device xhci-hcd.0.auto to driver xhci-hcd
[    9.192406] driver: 'dwc3': driver_bound: bound to device 'ff500000.usb'
[    9.199043] bus: 'platform': really_probe: bound device ff500000.usb to driver dwc3
[    9.206627] dwc3-meson-g12a ffe09000.usb: switching to Device Mode
[    9.212766] device: 'ffe09000.usb-role-switch': device_add
[    9.218199] PM: Adding info for No Bus:ffe09000.usb-role-switch
[    9.224052] driver: 'dwc3-meson-g12a': driver_bound: bound to device 'ffe09000.usb'
[    9.231646] bus: 'platform': really_probe: bound device ffe09000.usb to driver dwc3-meson-g12a
[    9.240369] bus: 'platform': add driver gpio-keys
[    9.245002] hctosys: unable to open rtc device (rtc0)
My hacked boot.ini now looks like this to boot mainline only..

Code: Select all

ODROIDN2-UBOOT-CONFIG

# Default Console Device Setting
setenv condev "console=ttyS0,115200n8"   # on both

# HDMI Mode
# Resolution Configuration
#    Symbol             | Resolution
# ----------------------+-------------
#    "480x320p60hz"     | 480x320 Progressive 60Hz
#    "480p60hz"         | 720x480 Progressive 60Hz
#    "576p50hz"         | 720x576 Progressive 50Hz
#    "720p60hz"         | 1280x720 Progressive 60Hz
#    "720p50hz"         | 1280x720 Progressive 50Hz
#    "1080p60hz"        | 1920x1080 Progressive 60Hz
#    "1080p50hz"        | 1920x1080 Progressive 50Hz
#    "1080p30hz"        | 1920x1080 Progressive 30Hz
#    "1080p24hz"        | 1920x1080 Progressive 24Hz
#    "1080i60hz"        | 1920x1080 Interlaced 60Hz
#    "1080i50hz"        | 1920x1080 Interlaced 50Hz
#    "2160p60hz"        | 3840x2160 Progressive 60Hz
#    "2160p50hz"        | 3840x2160 Progressive 50Hz
#    "2160p30hz"        | 3840x2160 Progressive 30Hz
#    "2160p25hz"        | 3840x2160 Progressive 25Hz
#    "2160p24hz"        | 3840x2160 Progressive 24Hz
#    "smpte24hz"        | 3840x2160 Progressive 24Hz SMPTE
#    "2160p60hz420"     | 3840x2160 Progressive 60Hz YCbCr 4:2:0
#    "2160p50hz420"     | 3840x2160 Progressive 50Hz YCbCr 4:2:0
#    "640x480p60hz"     | 640x480 Progressive 60Hz
#    "800x480p60hz"     | 800x480 Progressive 60Hz
#    "800x600p60hz"     | 800x600 Progressive 60Hz
#    "1024x600p60hz"    | 1024x600 Progressive 60Hz
#    "1024x768p60hz"    | 1024x768 Progressive 60Hz
#    "1280x800p60hz"    | 1280x800 Progressive 60Hz
#    "1280x1024p60hz"   | 1280x1024 Progressive 60Hz
#    "1360x768p60hz"    | 1360x768 Progressive 60Hz
#    "1440x900p60hz"    | 1440x900 Progressive 60Hz
#    "1600x900p60hz"    | 1600x900 Progressive 60Hz
#    "1600x1200p60hz"   | 1600x1200 Progressive 60Hz
#    "1680x1050p60hz"   | 1680x1050 Progressive 60Hz
#    "1920x1200p60hz"   | 1920x1200 Progressive 60Hz
#    "2560x1080p60hz"   | 2560x1080 Progressive 60Hz
#    "2560x1440p60hz"   | 2560x1440 Progressive 60Hz
#    "2560x1600p60hz"   | 2560x1600 Progressive 60Hz
#    "3440x1440p60hz"   | 3440x1440 Progressive 60Hz
setenv hdmimode "1080p60hz"

### voutmode : hdmi or dvi
setenv voutmode "hdmi"
# setenv voutmode "dvi"

# HPD enable/disable option
setenv disablehpd "false"

# max cpu frequency for big core, A73 in MHz unit
# setenv max_freq_a73 "1992"  # 1.992 GHz
# setenv max_freq_a73 "1908"  # 1.908 GHz
setenv max_freq_a73 "1800"  # 1.8 GHz, default value
# setenv max_freq_a73 "1704"  # 1.704 GHz

# max cpu frequency for little core, A53 in MHz unit
# setenv max_freq_a53 "1992"  # 1.992 GHz
setenv max_freq_a53 "1896"  # 1.896 GHz, default value
# setenv max_freq_a53 "1704"  # 1.704 GHz


# max cpu-cores
# Note:
# CPU's 0 and 1 are the A53 (small cores)
# CPU's 2 to 5 are the A73 (big cores)
# Lowering this value disables only the bigger cores (the last cores).
# setenv maxcpus "4"
# setenv maxcpus "5"
setenv maxcpus "6"

# Boot Args
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} disablehpd=${disablehpd}"

# Set load addresses
setenv dtb_loadaddr "0x1000000"
setenv k_addr "0x1100000"
setenv loadaddr "0x1B00000"
setenv initrd_loadaddr "0x3700000"

# Load kernel, dtb and initrd
#fatload mmc ${devno}:1 ${k_addr} Image.gz
#fatload mmc ${devno}:1 ${dtb_loadaddr} meson64_odroidn2.dtb
#fatload mmc ${devno}:1 ${initrd_loadaddr} uInitrd
#fdt addr ${dtb_loadaddr}
# unzip the kernel
#unzip ${k_addr} ${loadaddr}

# boot
#booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}

setenv bootargs "console=ttyAML0,115200 root=/dev/mmcblk0p2 rw debug"
setenv dtb_mem_addr "0x1000000"
fatload mmc 1:1 $dtb_mem_addr meson-g12b-odroid-n2.dtb
fatload mmc 1:1 0x01080000 uimage
bootm 0x1080000 - $dtb_mem_addr
And Uboot boot with above boot.ini looks like this now (kernel log not include as its large with debug :)

Code: Select all

G12B:BL:6e7c85:7898ac;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;0.4
                                                                      bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

L0:00000000
L1:00000703
L2:00008067
L3:04000000
B2:00002000
B1:e0f83180

TE: 123514

BL2 Built : 15:40:49, Dec 13 2018. g12b g74bc73c - jenkins@walle02-sh

Board ID = 3
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 000229ac
eMMC boot @ 0
sw8 s
DDR driver_vesion: LPDDR4_PHY_V_0_1_9 build time: Dec 13 2018 15:40:45
board id: 3
Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
Load ddrfw from eMMC, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0
Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0
PIEI prepare done
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
DDR4 probe
Set ddr clk to 1320MHz
Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of Write leveling coarse delay
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!

R0_RxClkDly_Margin==94 ps 8
R0_TxDqDly_Margi==106 ps 9


R1_RxClkDly_Margin==0 ps 0
R1_TxDqDly_Margi==0 ps 0

 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001

 ddr scramble enable
2D training succeed
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00600024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
 pre test  bdlr_100_average==456 bdlr_100_min==456 bdlr_100_max==461 bdlr_100_cur==461
 aft test  bdlr_100_average==456 bdlr_100_min==456 bdlr_100_max==461 bdlr_100_cur==461
100bdlr_step_size ps== 456
result report
Enable ddr reg access
00000000
emmc switch 3 ok
Authentication key not yet programmed
get rpmb counter error 0x00000007
00000000
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from eMMC, src: 0x0003c200, des: 0x0172c000, size: 0x00094000, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
E30HDR
[Image: g12b_v1.1.3370-952a0da 2018-12-12 16:17:37 jenkins@walle02-sh]
OPS=0x40
ring efuse init
chipver efuse init
29 0a 40 00 01 14 06 00 00 19 34 37 57 4e 4b 50
[0.016249 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE:  BL31: v1.3(release):704e60a
NOTICE:  BL31: Built : 15:39:45, Dec 13 2018
NOTICE:  BL31: G12A normal boot!
NOTICE:  BL31: BL33 decompress pass
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01-01984-g7ad2cd8 (Feb 13 2019 - 20:44:43)

DRAM:  3.5 GiB
Relocation Offset is: d6efd000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f897a0
MMC:   aml_priv->desc_buf = 0x00000000d3eed7c0
aml_priv->desc_buf = 0x00000000d3eefb00
SDIO Port B: 0, SDIO Port C: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
In:    serial
Out:   serial
Err:   serial
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
switch to partitions #0, OK
mmc1(part 0) is current device
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_clk_gate_init_off finish
vpp: vpp_init
vpp: g12a/b osd1 matrix rgb2yuv ..............
vpp: g12a/b osd2 matrix rgb2yuv..............
vpp: g12a/b osd3 matrix rgb2yuv..............
Net:   dwmac.ff3f0000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]set initrd_high: 0x3d800000
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760, height=2160
reading logo.bmp.gz
** Unable to read file logo.bmp.gz **
reading logo.bmp
** Unable to read file logo.bmp **
card out
** Bad device mmc 0 **
card out
** Bad device mmc 0 **
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1265]
rx version is 1.4 or below  div=10
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
reading boot.ini
3984 bytes read in 3 ms (1.3 MiB/s)
## Executing script at 01000000
reading meson-g12b-odroid-n2.dtb
10702 bytes read in 4 ms (2.6 MiB/s)
reading uimage
21404224 bytes read in 594 ms (34.4 MiB/s)
ee_gate_off ...
## Booting kernel from Legacy Image at 01080000 ...
   Image Name:   5.x
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    21404160 Bytes = 20.4 MiB
   Load Address: 01080000
   Entry Point:  01080000
   Verifying Checksum ... OK
Unknown command 'get_valid_slot' - try 'help'
active_slot is <NULL>
Unknown command 'store' - try 'help'
No dtbo patitions found
No dtbo partition provided?
Fail to load dtbo partition data?
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
No dtbo partition provided?
Fail to load dtbo partition data?
   Loading Kernel Image(COMP_NONE) ... OK
   kernel loaded at 0x01080000, end = 0x024e9a00
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
   Loading Device Tree to 000000001fffa000, end 000000001ffff9cd ... OK

Starting kernel ...

uboot time: 5671905 us
Edit: its not rtc (removed it) so looking at the more complex USB

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Fri Mar 22, 2019 9:53 am

Still working on this (so far with many failed boot attempts). Have triied

- Added further debug but nothing relevant presenting itself on console;
- Disabled USB (Entire subsystem)
- Dsiable Real time Clock
- Disable USB PHY interfaces
- Set Kernel to single CPU mode
- Added GPIO / pinctl debug

Code: Select all

[    8.611499] bus: 'platform': really_probe: probing driver snd-soc-dummy with device snd-soc-dummy
[    8.620277] snd-soc-dummy snd-soc-dummy: no of_node; not parsing pinctrl DT
[    8.627180] snd-soc-dummy snd-soc-dummy: no default pinctrl state
[    8.633235] driver: 'snd-soc-dummy': driver_bound: bound to device 'snd-soc-dummy'
[    8.640803] bus: 'platform': really_probe: bound device snd-soc-dummy to driver snd-soc-dummy
[    8.649400] bus: 'platform': add driver soc-audio
[    8.654203] NET: Registered protocol family 17
[    8.658555] 9pnet: Installing 9P2000 support
[    8.662550] bus: 'virtio': add driver 9pnet_virtio
[    8.667304] Key type dns_resolver registered
[    8.671616] device: 'cpu_dma_latency': device_add
[    8.676143] PM: Adding info for No Bus:cpu_dma_latency
[    8.681328] device: 'network_latency': device_add
[    8.685940] PM: Adding info for No Bus:network_latency
[    8.691040] device: 'network_throughput': device_add
[    8.695949] PM: Adding info for No Bus:network_throughput
[    8.701288] device: 'memory_bandwidth': device_add
[    8.706017] PM: Adding info for No Bus:memory_bandwidth
[    8.711305] registered taskstats version 1
[    8.715243] Loading compiled-in X.509 certificates
[    8.730394] devices_kset: Moving regulator-hub_5v to end of list
[    8.730761] PM: Moving platform:regulator-hub_5v to end of list
[    8.736713] platform regulator-hub_5v: Retrying from deferred list
[    8.742986] bus: 'platform': driver_probe_device: matched device regulator-hub_5v with driver reg-fixed-voltage
[    8.752768] bus: 'platform': really_probe: probing driver reg-fixed-voltage with device regulator-hub_5v
[    8.762180] reg-fixed-voltage regulator-hub_5v: no pinctrl handle
[    8.768271] reg-fixed-voltage regulator-hub_5v: GPIO lookup for consumer (null)
[    8.775446] reg-fixed-voltage regulator-hub_5v: using device tree for GPIO lookup
[    8.782873] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-hub_5v[0]'
[    8.791677] of_get_named_gpiod_flags: parsed 'gpio' property of node '/regulator-hub_5v[0]' - status (0)
[    8.801075] meson-g12a-pinctrl ff634400.bus:pinctrl@40: request pin 21 (GPIOH_5) for periphs-banks:448
[    8.810324] HUB_5V: supplied by 5V
[    8.813709] device: 'regulator.7': device_add
[    8.818031] PM: Adding info for No Bus:regulator.7
[    8.822880] VCC_3V3: supplied by VDDAO_3V3
[    8.826907] VCC_1V8: supplied by VCC_3V3
[    8.830718] VDDAO_1V8: supplied by VDDAO_3V3
[    8.834948] driver: 'reg-fixed-voltage': driver_bound: bound to device 'regulator-hub_5v'
[    8.843102] bus: 'platform': really_probe: bound device regulator-hub_5v to driver reg-fixed-voltage
[    8.852117] devices_kset: Moving regulator-usb_pwr_en to end of list
[    8.858345] PM: Moving platform:regulator-usb_pwr_en to end of list
[    8.864555] platform regulator-usb_pwr_en: Retrying from deferred list
[    8.871245] bus: 'platform': driver_probe_device: matched device regulator-usb_pwr_en with driver reg-fixed-voltage
[    8.881365] bus: 'platform': really_probe: probing driver reg-fixed-voltage with device regulator-usb_pwr_en
[    8.891121] reg-fixed-voltage regulator-usb_pwr_en: no pinctrl handle
[    8.897559] reg-fixed-voltage regulator-usb_pwr_en: GPIO lookup for consumer (null)
[    8.905080] reg-fixed-voltage regulator-usb_pwr_en: using device tree for GPIO lookup
[    8.912851] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-usb_pwr_en[0]'
[    8.922000] of_get_named_gpiod_flags: parsed 'gpio' property of node '/regulator-usb_pwr_en[0]' - status (0)
[    8.931744] meson-g12a-pinctrl ff634400.bus:pinctrl@40: request pin 22 (GPIOH_6) for periphs-banks:449
[    8.941004] USB_PWR_EN: supplied by HUB_5V
[    8.945064] device: 'regulator.8': device_add
[    8.949391] PM: Adding info for No Bus:regulator.8
[    8.954214] driver: 'reg-fixed-voltage': driver_bound: bound to device 'regulator-usb_pwr_en'
[    8.962685] bus: 'platform': really_probe: bound device regulator-usb_pwr_en to driver reg-fixed-voltage
[    8.972168] bus: 'platform': add driver gpio-keys
[    8.976813] hctosys: unable to open rtc device (rtc0)
I have a feeling it may be related to USB power regulator, appears something is signalling entire board to poweroff. Will now look at power regulators and pinctl assignments for USB and other systems. Particularly.....

meson-g12a-pinctrl ff634400.bus:pinctrl@40: request pin 22 (GPIOH_6) for periphs-banks:449

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Fri Mar 22, 2019 10:24 am

brad, it might be worth asking Neal.

There must be some way to trigger a memory dump / stack trace but I only know how to do that with higher level languages. (Maybe memeka/tobetter/etc know)

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Sat Mar 23, 2019 5:40 pm

elatllat wrote:
Mon Mar 18, 2019 12:54 pm
miskol wrote:
Tue Feb 26, 2019 6:11 pm
from neal from baylibre
https://gitlab.com/superna9999/linux/co ... /v5.1/g12b
Rebase:
https://gitlab.com/superna9999/linux/co ... -odroid-n2
This is still the needed branch for the moment - https://gitlab.com/superna9999/linux/co ... /v5.1/g12b

From a standard defconfig I needed to add "CONFIG_MDIO_BUS_MUX_MESON_G12A" to allow Ethernet to work.

I have only done some very basic tests but can confirm emmc, USB3, ethernet and HDMI are working.

I installed gnome and it runs (a little slow) without acceleration in both gnome on wayland and Xorg modes. "Terminal" would not start for some reason so I needed to install xterm. Firefox runs and I was watching youtube (no sound) on N2 with mainline.

DRM seems to work but now need some acceleration :)

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Sun Mar 24, 2019 12:18 am

For me that branch halts here;

Code: Select all

[    2.180048] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    2.220717] hub 2-1:1.0: USB hub found
[    2.221025] hub 2-1:1.0: 4 ports detected
[  127.875897] random: fast init done
[  337.795919] random: crng init done

User avatar
mad_ady
Posts: 6779
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mad_ady » Sun Mar 24, 2019 3:53 am

Try mounting storage by /dev/mmcblkX name instead of uuid. Seems to be waiting for rootfs.

lazlo
Posts: 143
Joined: Sun Oct 01, 2017 11:32 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Any plan for basic mainline linux support?

Unread post by lazlo » Sun Mar 24, 2019 6:34 am

I know things are in flux and this might turn into a bad idea in a week or less.

If the system will boot from the /dev/* entry but not from UUID then it seems to me that adding a delay of 1 to 5 seconds would give the processes in question time to catch up. Just a thought.

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Sun Mar 24, 2019 12:27 pm

mad_ady wrote:
Sun Mar 24, 2019 3:53 am
Try mounting storage by /dev/mmcblkX name instead of uuid. Seems to be waiting for rootfs.
Thanks, I forgot about that bug.

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Mon Mar 25, 2019 12:26 am

The attached config is a merge of odroid_4.9 with neal_5 which works for me.
I tested some crypto stuff and will likely try to rebase from 5.0.0-rc8 to 5.0.4 next
Attachments
.config.7z
(41.68 KiB) Downloaded 69 times

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Mar 25, 2019 3:27 pm

@elatlat nice work & glad to see it working for you as well. I was going to do some testing with Ubuntu of various functionality & try to basic a list of what might need some work. I have only completed minimal checks so far (been out fishing)

WORKING
========
- emmc in high speed mode (HS200 16Gb orange emmc)
- Ethernet (Gbit)
- USB3 hub (have not tested storage or a good range of devices as yet)
- Basic HDMI display (1920 x 1080) - console (text mode) and gnome display manager (I do notice it is not starting for me at boot yet - I see a blank screen)

ISSUES
======
- boot.ini updates needed to detect and boot different kernel versions (BSP vs mainline) - Maybe petitboot and the spi flash can help here instead.
- Reboot not working (suspect this to be high speed emmc being set in linux and causing amlogic ROM not to be able to detect emmc on boot)

I have some other emmc and sd cards which I will test so can add to the list and also a number of USB devices to test.

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Mon Mar 25, 2019 3:47 pm

Sdcard works, I noticed the reboot issue to, should test if shutdown has the same effect.

User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Mon Mar 25, 2019 4:12 pm

Very interesting.
Is the HDMI text console working with the (meson-)DRM driver? or just a simple framebuffer?
Can you please share a full booting log?

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Mon Mar 25, 2019 4:44 pm

Boot log attached. (edited out old attachments)
Last edited by elatllat on Tue Jun 04, 2019 12:01 pm, edited 1 time in total.

User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Mon Mar 25, 2019 5:02 pm

Thank you for the log. But I couldn't find any DRM/HDMI display stuff.
Did you connect a HDMI monitor while your N2 booted?

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Mon Mar 25, 2019 5:19 pm

Sorry HDMI is not working on the branch/config I'm using. I forget if it was with the default config. Maybe the other branch we could not get to boot is where Neal is working on DRM.

User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Mon Mar 25, 2019 5:21 pm

No problem. Thanks for the clarification. :)

I think the current 5.x kernel seems to be enough to run a basic headless server application if Gbit Ethernet and USB 3.0 performance are acceptable.

elatllat
Posts: 1567
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 24 times
Been thanked: 64 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by elatllat » Mon Mar 25, 2019 5:30 pm

iperf said 942 Mbits/sec, I don't have any spare SSDs to test USB3 speed at the moment.
Keep in mind that the debug options in the kernel are slowing it down so it should be faster without debug.... and my old router may be the limiting factor.
9.79 Gbits/sec is reported when talking to itself.

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Mar 25, 2019 5:58 pm

Here is an interesting gnome screenshot I made, basic features work well. (this post on the N2)
Screenshot from 2019-03-25 08-40-01.png
Screenshot from 2019-03-25 08-40-01.png (909.86 KiB) Viewed 13302 times
I am giving the N2 a hard time for CPU (most of it video). You can see I am running youtube (in small window), glmark (no acceleration) and trying to pull from my external samsung HDD USB3 disk (at 100Mb/s with a cpu load of 12 or so)

emmc, sd and usb storage seem to work well :) they are all connected in the screenshot. Ethernet is working fine but no performance tests as yet.

User avatar
mad_ady
Posts: 6779
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by mad_ady » Mon Mar 25, 2019 6:02 pm

@brad: all these on kernel 5.x?

User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Mon Mar 25, 2019 6:05 pm

Nice gnome desktop indeed. ... even fully software driven :o

Can you share your full Kernel 5.x boot log with a HDMI monitor?
I want to know whether the DRM driver works or not.

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Mar 25, 2019 6:37 pm

mad_ady wrote:
Mon Mar 25, 2019 6:02 pm
@brad: all these on kernel 5.x?
5.x + Neil Armstrongs g12b branch in his gitlab :)
odroid wrote:
Mon Mar 25, 2019 6:05 pm
Nice gnome desktop indeed. ... even fully software driven :o

Can you share your full Kernel 5.x boot log with a HDMI monitor?
I want to know whether the DRM driver works or not.
I can (I hope) but on another machine, brb.

User avatar
memeka
Posts: 4354
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 1 time
Been thanked: 37 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by memeka » Mon Mar 25, 2019 6:46 pm

If @odroid can provide sound drivers (for DAC) and mali drivers, we are left only with decoders from the “important features”.
@odroid - drm and canvas modules seem to be loaded.

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Mar 25, 2019 7:05 pm

Code: Select all

G12B:BL:6e7c85:7898ac;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;0.0
                                                                      bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

L0:00000000
L1:00000703
L2:00008067
L3:04000000
B2:00002000
B1:e0f83180

TE: 96777

BL2 Built : 15:40:49, Dec 13 2018. g12b g74bc73c - jenkins@walle02-sh

Board ID = 3
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 0001c0e5
eMMC boot @ 0
sw8 s
DDR driver_vesion: LPDDR4_PHY_V_0_1_9 build time: Dec 13 2018 15:40:45
board id: 3
Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
Load ddrfw from eMMC, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0
Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0
PIEI prepare done
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
DDR4 probe
Set ddr clk to 1320MHz
Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of Write leveling coarse delay
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!

R0_RxClkDly_Margin==106 ps 9
R0_TxDqDly_Margi==106 ps 9


R1_RxClkDly_Margin==0 ps 0
R1_TxDqDly_Margi==0 ps 0

 dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001

 ddr scramble enable
2D training succeed
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00600024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
 pre test  bdlr_100_average==450 bdlr_100_min==450 bdlr_100_max==461 bdlr_100_cur==461
 aft test  bdlr_100_average==450 bdlr_100_min==450 bdlr_100_max==461 bdlr_100_cur==461
100bdlr_step_size ps== 456
result report
Enable ddr reg access
00000000
emmc switch 3 ok
Authentication key not yet programmed
get rpmb counter error 0x00000007
00000000
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from eMMC, src: 0x0003c200, des: 0x0172c000, size: 0x00094000, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
E30HDR
[Image: g12b_v1.1.3370-952a0da 2018-12-12 16:17:37 jenkins@walle02-sh]
OPS=0x40
ring efuse init
chipver efuse init
29 0a 40 00 01 14 06 00 00 19 34 37 57 4e 4b 50
[0.016249 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE:  BL31: v1.3(release):704e60a
NOTICE:  BL31: Built : 15:39:45, Dec 13 2018
NOTICE:  BL31: G12A normal boot!
NOTICE:  BL31: BL33 decompress pass
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01-01984-g7ad2cd8 (Feb 13 2019 - 20:44:43)

DRAM:  3.5 GiB
Relocation Offset is: d6efd000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f897a0
MMC:   aml_priv->desc_buf = 0x00000000d3eed7c0
aml_priv->desc_buf = 0x00000000d3eefb00
SDIO Port B: 0, SDIO Port C: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
In:    serial
Out:   serial
Err:   serial
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x1, tx-dly 0, clock 40000000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x2000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
switch to partitions #0, OK
mmc1(part 0) is current device
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_clk_gate_init_off finish
vpp: vpp_init
vpp: g12a/b osd1 matrix rgb2yuv ..............
vpp: g12a/b osd2 matrix rgb2yuv..............
vpp: g12a/b osd3 matrix rgb2yuv..............
Net:   dwmac.ff3f0000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]set initrd_high: 0x3d800000
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760, height=2160
reading logo.bmp.gz
** Unable to read file logo.bmp.gz **
reading logo.bmp
** Unable to read file logo.bmp **
card out
** Bad device mmc 0 **
card out
** Bad device mmc 0 **
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6  vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1265]
rx version is 1.4 or below  div=10
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
reading boot.ini
383 bytes read in 2 ms (186.5 KiB/s)
## Executing script at 01000000
reading meson-g12b-odroid-n2.dtb
21451 bytes read in 4 ms (5.1 MiB/s)
reading uimage
20499008 bytes read in 563 ms (34.7 MiB/s)
ee_gate_off ...
## Booting kernel from Legacy Image at 01b00000 ...
   Image Name:   5.x
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    20498944 Bytes = 19.5 MiB
   Load Address: 01080000
   Entry Point:  01080000
   Verifying Checksum ... OK
Unknown command 'get_valid_slot' - try 'help'
active_slot is <NULL>
Unknown command 'store' - try 'help'
No dtbo patitions found
No dtbo partition provided?
Fail to load dtbo partition data?
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
No dtbo partition provided?
Fail to load dtbo partition data?
   Loading Kernel Image(COMP_NONE) ... OK
   kernel loaded at 0x01080000, end = 0x0240ca00
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
   Loading Device Tree to 000000001fff7000, end 000000001ffff3ca ... OK

Starting kernel ...

uboot time: 5738198 us
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.0.0-rc8-next-20190304 (odroid@odroid) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #4 SMP PREEMPT Sat Mar 23 05:34:35 UTC 2019
[    0.000000] Machine model: Hardkernel ODROID-N2
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000dd800000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000] NUMA: NODE_DATA [mem 0xdd070840-0xdd071fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x00000000ed7fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x46c with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s56664 r8192 d29352 u94208
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 956832
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyAML0,115200 root=/dev/mmcblk0p2 rw
[    0.000000] Memory: 3530024K/3888128K available (11260K kernel code, 1714K rwdata, 5556K rodata, 1408K init, 446K bss, 95960K reserved, 262144K 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] GIC: Using split EOI/Deactivate mode
[    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.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000155] Console: colour dummy device 80x25
[    0.000241] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000252] pid_max: default: 32768 minimum: 301
[    0.000320] LSM: Security Framework initializing
[    0.001721] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.002414] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.002457] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002497] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002872] *** VALIDATE proc ***
[    0.003042] *** VALIDATE cgroup1 ***
[    0.003050] *** VALIDATE cgroup2 ***
[    0.024028] ASID allocator initialised with 32768 entries
[    0.032009] rcu: Hierarchical SRCU implementation.
[    0.041507] EFI services will not be available.
[    0.048060] smp: Bringing up secondary CPUs ...
[    0.080416] Detected VIPT I-cache on CPU1
[    0.080467] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.112915] CPU features: detected: ARM erratum 858921
[    0.112925] Detected VIPT I-cache on CPU2
[    0.112935] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU2: 0x00000000101122
[    0.112944] CPU features: Unsupported CPU feature variation detected.
[    0.112972] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.112986] arch_timer: CPU2: Trapping CNTVCT access
[    0.112992] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]
[    0.144452] Detected VIPT I-cache on CPU3
[    0.144460] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU3: 0x00000000101122
[    0.144472] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.144479] arch_timer: CPU3: Trapping CNTVCT access
[    0.144484] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]
[    0.176506] Detected VIPT I-cache on CPU4
[    0.176514] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122
[    0.176526] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.176533] arch_timer: CPU4: Trapping CNTVCT access
[    0.176538] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]
[    0.208561] Detected VIPT I-cache on CPU5
[    0.208569] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU5: 0x00000000101122
[    0.208581] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.208588] arch_timer: CPU5: Trapping CNTVCT access
[    0.208593] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]
[    0.208669] smp: Brought up 1 node, 6 CPUs
[    0.208717] SMP: Total of 6 processors activated.
[    0.208725] CPU features: detected: 32-bit EL0 Support
[    0.208732] CPU features: detected: CRC32 instructions
[    0.209219] CPU: All CPU(s) started at EL2
[    0.209250] alternatives: patching kernel code
[    0.210413] devtmpfs: initialized
[    0.214270] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.214310] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.220797] pinctrl core: initialized pinctrl subsystem
[    0.222072] DMI not present or invalid.
[    0.222519] NET: Registered protocol family 16
[    0.222870] audit: initializing netlink subsys (disabled)
[    0.222965] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.224285] cpuidle: using governor menu
[    0.224629] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.224640] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.225723] DMA: preallocated 256 KiB pool for atomic allocations
[    0.226967] Serial: AMBA PL011 UART driver
[    0.245223] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.245235] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.245241] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.245247] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.245690] cryptd: max_cpu_qlen set to 1000
[    0.246554] ACPI: Interpreter disabled.
[    0.248563] VDDAO_3V3: supplied by 12V
[    0.249967] vgaarb: loaded
[    0.250255] SCSI subsystem initialized
[    0.250681] usbcore: registered new interface driver usbfs
[    0.250726] usbcore: registered new interface driver hub
[    0.250804] usbcore: registered new device driver usb
[    0.251602] pps_core: LinuxPPS API ver. 1 registered
[    0.251607] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.251630] PTP clock support registered
[    0.251754] EDAC MC: Ver: 3.0.0
[    0.252924] Advanced Linux Sound Architecture Driver Initialized.
[    0.253588] clocksource: Switched to clocksource arch_sys_counter
[    0.253764] VFS: Disk quotas dquot_6.6.0
[    0.253824] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.253866] *** VALIDATE hugetlbfs ***
[    0.254036] pnp: PnP ACPI: disabled
[    0.259459] NET: Registered protocol family 2
[    0.259964] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    0.260056] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.260341] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.260742] TCP: Hash tables configured (established 32768 bind 32768)
[    0.260893] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.260992] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.261198] NET: Registered protocol family 1
[    0.261758] RPC: Registered named UNIX socket transport module.
[    0.261767] RPC: Registered udp transport module.
[    0.261771] RPC: Registered tcp transport module.
[    0.261775] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.262511] kvm [1]: IPA Size Limit: 40bits
[    0.263161] kvm [1]: vgic interrupt IRQ1
[    0.263289] kvm [1]: Hyp mode initialized successfully
[    0.268261] Initialise system trusted keyrings
[    0.268404] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.274917] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.275586] NFS: Registering the id_resolver key type
[    0.275612] Key type id_resolver registered
[    0.275616] Key type id_legacy registered
[    0.275627] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.275788] 9p: Installing v9fs 9p2000 file system support
[    0.280046] Key type asymmetric registered
[    0.280058] Asymmetric key parser 'x509' registered
[    0.280130] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.280137] io scheduler mq-deadline registered
[    0.280142] io scheduler kyber registered
[    0.286088] GPIO line 447 (usb-hub-reset) hogged as output/high
[    0.291503] EINJ: ACPI disabled.
[    0.296386] meson_vid_pll_div_recalc_rate: Invalid config value for vid_pll_div
[    0.303215] soc soc0: Amlogic Meson G12B (S922X) Revision 29:a (40:2) Detected
[    0.309495] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.311885] SuperH (H)SCI(F) driver initialized
[    0.312487] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 12, base_baud = 1500000) is a meson_uart
[    1.207123] printk: console [ttyAML0] enabled
[    1.211979] msm_serial: driver initialized
[    1.221090] loop: module loaded
[    1.224571] libphy: Fixed MDIO Bus: probed
[    1.224914] tun: Universal TUN/TAP device driver, 1.6
[    1.228668] thunder_xcv, ver 1.0
[    1.231272] thunder_bgx, ver 1.0
[    1.234450] nicpf, ver 1.0
[    1.237542] hclge is initializing
[    1.240378] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.247533] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.252833] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.258574] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.264465] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    1.271338] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.276884] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.284621] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.290739] sky2: driver version 1.30
[    1.294632] VFIO - User Level meta-driver version: 0.3
[    1.300582] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.305676] ehci-pci: EHCI PCI platform driver
[    1.310093] ehci-platform: EHCI generic platform driver
[    1.315335] ehci-orion: EHCI orion driver
[    1.319285] ehci-exynos: EHCI EXYNOS driver
[    1.323414] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.329480] ohci-pci: OHCI PCI platform driver
[    1.333898] ohci-platform: OHCI generic platform driver
[    1.339128] ohci-exynos: OHCI EXYNOS driver
[    1.343549] usbcore: registered new interface driver usb-storage
[    1.351275] i2c /dev entries driver
[    1.356330] sdhci: Secure Digital Host Controller Interface driver
[    1.358718] sdhci: Copyright(c) Pierre Ossman
[    1.363361] Synopsys Designware Multimedia Card Interface Driver
[    1.369901] VCC_3V3: supplied by VDDAO_3V3
[    1.373086] FLASH_1V8: supplied by VCC_3V3
[    1.377184] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
[    1.409870] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.411428] ledtrig-cpu: registered to indicate activity on CPUs
[    1.416255] meson-sm: secure-monitor enabled
[    1.420886] usbcore: registered new interface driver usbhid
[    1.425633] usbhid: USB HID core driver
[    1.429696] platform-mhu ff63c404.mailbox: Platform MHU Mailbox registered
[    1.438514] NET: Registered protocol family 17
[    1.440704] 9pnet: Installing 9P2000 support
[    1.444870] Key type dns_resolver registered
[    1.449419] registered taskstats version 1
[    1.453110] Loading compiled-in X.509 certificates
[    1.464838] VCC_1V8: supplied by VCC_3V3
[    1.464895] VDDAO_1V8: supplied by VDDAO_3V3
[    1.467601] HUB_5V: supplied by 5V
[    1.470979] USB_PWR_EN: supplied by HUB_5V
[    1.478183] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2
[    1.479948] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1
[    1.488083] dwc2 ff400000.usb: ff400000.usb supply vusb_d not found, using dummy regulator
[    1.493367] dwc2 ff400000.usb: ff400000.usb supply vusb_a not found, using dummy regulator
[    1.501646] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    1.508491] mmc0: new HS200 MMC card at address 0001
[    1.514169] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    1.518411] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
[    1.524271] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
[    1.529768] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (237:0)
[    1.530875] dwc3 ff500000.usb: Failed to get clk 'ref': -2
[    1.537773]  mmcblk0: p1 p2
[    1.545650] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.550521] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    1.558542] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010
[    1.567452] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0xff500000
[    1.573720] hub 1-0:1.0: USB hub found
[    1.576993] hub 1-0:1.0: 2 ports detected
[    1.581155] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.586397] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    1.593982] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    1.600565] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.608827] hub 2-0:1.0: USB hub found
[    1.612278] hub 2-0:1.0: 1 port detected
[    1.616384] dwc3-meson-g12a ffe09000.usb: switching to Device Mode
[    1.623309] meson-gx-mmc ffe05000.sd: Got CD GPIO
[    1.655612] hctosys: unable to open rtc device (rtc0)
[    1.655817] g12a_ao_cec
[    1.658456] g12a_ao_cec_sel
[    1.661199] g12a_ao_cec_div
[    1.663974] g12a_ao_cec_pre
[    1.666727] g12a_ao_cts_rtc_oscin
[    1.670064] g12a_ao_32k_by_oscin
[    1.673192] g12a_ao_32k_by_oscin_sel
[    1.676734] g12a_ao_32k_by_oscin_div
[    1.680280] g12a_ao_32k_by_oscin_pre
[    1.683863] cts_oscin
[    1.686084] g12a_ao_saradc_gate
[    1.689149] g12a_ao_saradc_div
[    1.692226] g12a_ao_saradc_mux
[    1.695186] ao-in-xtal
[    1.697511] cpub_clk_dyn0
[    1.700104] cpub_clk_dyn0_div
[    1.703035] cpub_clk_dyn0_sel
[    1.705969] cpu_clk_trace
[    1.708605] cpu_clk_trace_div
[    1.711510] cpu_clk_axi
[    1.713904] cpu_clk_axi_div
[    1.716658] cpu_clk_atb
[    1.719078] cpu_clk_atb_div
[    1.721839] cpu_clk_apb
[    1.724306] cpu_clk_apb_div
[    1.727041] cpu_clk_div16
[    1.729609] cpu_clk_div16_en
[    1.732500] cpu_clk_dyn
[    1.734892] cpu_clk_dyn0
[    1.737358] cpu_clk_dyn0_div
[    1.740210] cpu_clk_dyn0_sel
[    1.743083] mali_1
[    1.745035] mali_1_div
[    1.747368] mali_1_sel
[    1.749740] mali
[    1.751503] mali_0
[    1.753490] mali_0_div
[    1.755885] mali_0_sel
[    1.758149] hdmi_div
[    1.760316] hdmi_sel
[    1.762464] vclk2_div12
[    1.764924] vclk2_div6
[    1.767205] vclk2_div4
[    1.769532] vclk2_div2
[    1.771928] vclk2_div
[    1.774146] vclk2_sel
[    1.776359] hdmi_tx_sel
[    1.778769] cts_vdac_sel
[    1.781308] cts_encp_sel
[    1.783767] cts_enci_sel
[    1.786266] vclk_div12
[    1.788647] vclk_div6
[    1.790872] vclk_div4
[    1.793084] vclk_div2
[    1.795324] vclk_div
[    1.797521] vclk_sel
[    1.799640] vid_pll_sel
[    1.802050] vid_pll_div
[    1.804519] hdmi_pll
[    1.806625] hdmi_pll_od2
[    1.809127] hdmi_pll_od
[    1.811538] hdmi_pll_dco
[    1.814085] hifi_pll
[    1.816190] hifi_pll_dco
[    1.818697] gp0_pll
[    1.820762] gp0_pll_dco
[    1.823184] sys_pll_div16
[    1.825769] sys_pll_div16_en
[    1.828611] sys_pll
[    1.830687] sys_pll_dco
[    1.833097] mpll_50m
[    1.835256] mpll_50m_div
[    1.837805] fclk_div7
[    1.840018] fclk_div7_div
[    1.842587] fclk_div5
[    1.844826] fclk_div5_div
[    1.847420] vapb_1_div
[    1.849750] vapb_1_sel
[    1.852136] g12a_ao_clk81
[    1.854721] cpu_clk_dyn1
[    1.857160] cpu_clk_dyn1_div
[    1.860011] cpu_clk_dyn1_sel
[    1.862893] vpu_1_div
[    1.865105] vpu_1_sel
[    1.867343] ffe07000.mmc#rx
[    1.870104] ffe07000.mmc#tx
[    1.872858] cpub_clk_dyn1_div
[    1.875863] mpll0
[    1.877742] mpll0_div
[    1.879954] mpll1
[    1.881837] mpll1_div
[    1.884069] mpll2
[    1.885977] mpll2_div
[    1.888209] mpll3
[    1.890115] mpll3_div
[    1.892412] mpll_prediv
[    1.894808] fclk_div2p5
[    1.897192] fclk_div2p5_div
[    1.899944] sd_emmc_c_clk0
[    1.902659] sd_emmc_c_clk0_div
[    1.905636] sd_emmc_c_clk0_sel
[    1.908651] ffe05000.sd#rx
[    1.911362] ffe05000.sd#tx
[    1.913593] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    1.914004] sd_emmc_a_clk0
[    1.923149] sd_emmc_a_clk0_div
[    1.926210] sd_emmc_a_clk0_sel
[    1.929215] TFLASH_VDD: disabling
[    1.931464] TF_IO: disabling
[    1.934309] ALSA device list:
[    1.937234]   No soundcards found.
[    1.951618] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.954086] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.962104] devtmpfs: mounted
[    1.963376] Freeing unused kernel memory: 1408K
[    1.973625] Run /sbin/init as init process
[    2.005683] random: fast init done
[    2.073282] systemd[1]: System time before build time, advancing clock.
[    2.112849] hub 1-1:1.0: USB hub found
[    2.113096] hub 1-1:1.0: 4 ports detected
[    2.205721] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    2.210990] NET: Registered protocol family 10
[    2.212079] Segment Routing with IPv6
[    2.235923] 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=)
[    2.251798] systemd[1]: Detected architecture arm64.
[    2.256820] hub 2-1:1.0: USB hub found
[    2.260404] hub 2-1:1.0: 4 ports detected

Welcome to Ubuntu 18.04.2 LTS!

[    2.282248] systemd[1]: Set hostname to <odroid>.
[    2.386247] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    2.397599] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    2.506515] random: systemd: uninitialized urandom read (16 bytes read)
[    2.507689] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.515031] usb 1-1.4: new full-speed USB device number 3 using xhci-hcd
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    2.541655] random: systemd: uninitialized urandom read (16 bytes read)
[    2.542639] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    2.561689] random: systemd: uninitialized urandom read (16 bytes read)
[    2.562671] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    2.585765] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    2.605640] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Created slice System Slice.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket.
         Starting Create list of required st▒.|ce nodes for the current kernel...
         Mounting Huge Pages File System...
         Mounting Kernel Debug File System...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
         Starting Load Kernel Modules...
[    2.755597] input: Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0 as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.0/0003:045E:0745.0001/input/input0
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Kernel Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    2.826043] hid-generic 0003:045E:0745.0001: input: USB HID v1.11 Keyboard [Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0] on usb-xhci-hcd.0.auto-1.4/input0
[    2.843099] input: Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0 Mouse as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:045E:0745.0002/input/input1
[    2.855041] input: Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:045E:0745.0002/input/input2
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
         Mounting POSIX Message Queue File System...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[    2.932588] hid-generic 0003:045E:0745.0002: input: USB HID v1.11 Mouse [Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0] on usb-xhci-hcd.0.auto-1.4/input1
[    2.948747] input: Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.2/0003:045E:0745.0003/input/input3
         Starting Set the console keyboard layout...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Started Journal Service.
[    3.017862] input: Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0 System Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.2/0003:045E:0745.0003/input/input5
[    3.031895] hid-generic 0003:045E:0745.0003: input: USB HID v1.11 Device [Microsoft Microsoft▒▒ 2.4GHz Transceiver v8.0] on usb-xhci-hcd.0.auto-1.4/input2
[  OK  ] Started Create list of required sta▒.|vice nodes for the current kernel.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted Kernel Debug File System.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[FAILED] Failed to start Remount Root and Kernel File Systems.
See 'systemctl status systemd-remount-fs.service' for details.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Set the console keyboard layout.
         Starting Load/Save Random Seed...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyAML0.
[  OK  ] Found device /dev/disk/by-label/BOOT.
         Starting File System Check on /dev/disk/by-label/BOOT...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started File System Check on /dev/disk/by-label/BOOT.
         Mounting /media/boot...
[  OK  ] Mounted /media/boot.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Set console font and keymap...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Message of the Day.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Socket activation for snappy daemon.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started Network Name Resolution.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: automatic crash report generation...
[  OK  ] Started Deferred execution scheduler.
         Starting Modem Manager...
         Starting Restore /etc/resolv.conf i▒.|fore the ppp link was shut down...
         Starting Login Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting Dispatcher daemon for systemd-networkd...
         Starting LSB: Speech Dispatcher...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Login Service.
         Starting Network Manager...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Run anacron jobs.
         Starting System Logging Service...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting WPA supplicant...
[  OK  ] Started Regular background program processing daemon.
         Starting Snappy daemon...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore /etc/resolv.conf if▒.|before the ppp link was shut down.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started WPA supplicant.
         Starting Authorization Manager...
         Starting Hostname Service...
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Authorization Manager.
[  OK  ] Started Hostname Service.
[  OK  ] Started Network Manager.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Reached target Network.
[    5.602270] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
         Starting Permit User Sessions...
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting OpenBSD Secure Shell server...
         Starting /etc/rc.local Compatibility...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Snappy daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Modem Manager.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Set console scheme...
[  OK  ] Started Serial Getty on ttyAML0.
         Starting Wait until snapd is fully seeded...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Set console scheme.
[  OK  ] Started Wait until snapd is fully seeded.
[  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  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 18.04.2 LTS odroid ttyAML0

[  114.936605] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
[  347.767209] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
[  354.031738] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
[  559.280317] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
[  836.458600] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
[ 4993.104105] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
[ 6094.022967] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Mar 25, 2019 7:37 pm

I basically installed gdm3 on hardkernel Ubuntu minimal image (the screenshot above) Neil's 5.x kernel kernel which works but not on normal startup foe me. Its only working for mainline if you boot to text mode HDMI (console) and then start gnome from console once you boot. ie:

Once booting to hdmi console, Install gnome (ensure you create and add your normal non root user to video group first)

Code: Select all

$ sudo apt-get install gdm3
Make sure it will not start display /graphic by default at next boot

Code: Select all

 $ sudo systemctl set-default multi-user.target
*reboot* (ie; need to unplug and plug power as reboot not working)

You can then start gnome from HDMI console on next boot with ....

Code: Select all

sudo systemctl start gdm3

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

Re: Any plan for basic mainline linux support?

Unread post by brad » Mon Mar 25, 2019 9:13 pm

Here is a dmesg (it shows some more drm related messages)

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.0.0-rc8-next-20190304 (odroid@odroid) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #4 SMP PREEMPT Sat Mar 23 05:34:35 UTC 2019
[    0.000000] Machine model: Hardkernel ODROID-N2
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000dd800000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000] NUMA: NODE_DATA [mem 0xdd070840-0xdd071fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x00000000ed7fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ed7fffff]
[    0.000000] On node 0 totalpages: 972032
[    0.000000]   DMA32 zone: 15200 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 972032 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x46c with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s56664 r8192 d29352 u94208
[    0.000000] pcpu-alloc: s56664 r8192 d29352 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 956832
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyAML0,115200 root=/dev/mmcblk0p2 rw
[    0.000000] Memory: 3530024K/3888128K available (11260K kernel code, 1714K rwdata, 5556K rodata, 1408K init, 446K bss, 95960K reserved, 262144K 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] GIC: Using split EOI/Deactivate mode
[    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.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000151] Console: colour dummy device 80x25
[    0.000238] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000247] pid_max: default: 32768 minimum: 301
[    0.000314] LSM: Security Framework initializing
[    0.001725] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.002427] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.002470] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002510] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002881] *** VALIDATE proc ***
[    0.003046] *** VALIDATE cgroup1 ***
[    0.003054] *** VALIDATE cgroup2 ***
[    0.024029] ASID allocator initialised with 32768 entries
[    0.032011] rcu: Hierarchical SRCU implementation.
[    0.041481] EFI services will not be available.
[    0.048061] smp: Bringing up secondary CPUs ...
[    0.080421] Detected VIPT I-cache on CPU1
[    0.080472] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.112917] CPU features: detected: ARM erratum 858921
[    0.112927] Detected VIPT I-cache on CPU2
[    0.112938] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU2: 0x00000000101122
[    0.112947] CPU features: Unsupported CPU feature variation detected.
[    0.112974] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.112987] arch_timer: CPU2: Trapping CNTVCT access
[    0.112994] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]
[    0.144455] Detected VIPT I-cache on CPU3
[    0.144462] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU3: 0x00000000101122
[    0.144474] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.144481] arch_timer: CPU3: Trapping CNTVCT access
[    0.144486] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]
[    0.176507] Detected VIPT I-cache on CPU4
[    0.176514] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122
[    0.176527] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.176533] arch_timer: CPU4: Trapping CNTVCT access
[    0.176538] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]
[    0.208562] Detected VIPT I-cache on CPU5
[    0.208570] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU5: 0x00000000101122
[    0.208582] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.208588] arch_timer: CPU5: Trapping CNTVCT access
[    0.208594] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]
[    0.208669] smp: Brought up 1 node, 6 CPUs
[    0.208717] SMP: Total of 6 processors activated.
[    0.208725] CPU features: detected: 32-bit EL0 Support
[    0.208732] CPU features: detected: CRC32 instructions
[    0.209212] CPU: All CPU(s) started at EL2
[    0.209243] alternatives: patching kernel code
[    0.210416] devtmpfs: initialized
[    0.214256] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.214297] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.220743] pinctrl core: initialized pinctrl subsystem
[    0.221976] DMI not present or invalid.
[    0.222423] NET: Registered protocol family 16
[    0.222778] audit: initializing netlink subsys (disabled)
[    0.222881] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.224152] cpuidle: using governor menu
[    0.224469] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.224481] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.225578] DMA: preallocated 256 KiB pool for atomic allocations
[    0.226837] Serial: AMBA PL011 UART driver
[    0.245144] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.245155] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.245161] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.245167] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.245588] cryptd: max_cpu_qlen set to 1000
[    0.246422] ACPI: Interpreter disabled.
[    0.248818] VDDAO_3V3: supplied by 12V
[    0.249929] vgaarb: loaded
[    0.250197] SCSI subsystem initialized
[    0.250349] libata version 3.00 loaded.
[    0.250581] usbcore: registered new interface driver usbfs
[    0.250625] usbcore: registered new interface driver hub
[    0.250696] usbcore: registered new device driver usb
[    0.251469] pps_core: LinuxPPS API ver. 1 registered
[    0.251474] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.251493] PTP clock support registered
[    0.251625] EDAC MC: Ver: 3.0.0
[    0.252838] Advanced Linux Sound Architecture Driver Initialized.
[    0.253500] clocksource: Switched to clocksource arch_sys_counter
[    0.253668] VFS: Disk quotas dquot_6.6.0
[    0.253722] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.253770] *** VALIDATE hugetlbfs ***
[    0.253922] pnp: PnP ACPI: disabled
[    0.259648] NET: Registered protocol family 2
[    0.260159] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    0.260247] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.260530] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.260927] TCP: Hash tables configured (established 32768 bind 32768)
[    0.261089] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.261177] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.261384] NET: Registered protocol family 1
[    0.261968] RPC: Registered named UNIX socket transport module.
[    0.261978] RPC: Registered udp transport module.
[    0.261982] RPC: Registered tcp transport module.
[    0.261986] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261999] PCI: CLS 0 bytes, default 64
[    0.262738] kvm [1]: IPA Size Limit: 40bits
[    0.263387] kvm [1]: vgic interrupt IRQ1
[    0.263515] kvm [1]: Hyp mode initialized successfully
[    0.269248] Initialise system trusted keyrings
[    0.269410] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.275811] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.276482] NFS: Registering the id_resolver key type
[    0.276507] Key type id_resolver registered
[    0.276511] Key type id_legacy registered
[    0.276522] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.276690] 9p: Installing v9fs 9p2000 file system support
[    0.281327] Key type asymmetric registered
[    0.281339] Asymmetric key parser 'x509' registered
[    0.281400] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.281407] io scheduler mq-deadline registered
[    0.281412] io scheduler kyber registered
[    0.287170] GPIO line 447 (usb-hub-reset) hogged as output/high
[    0.292473] EINJ: ACPI disabled.
[    0.297426] meson_vid_pll_div_recalc_rate: Invalid config value for vid_pll_div
[    0.304216] soc soc0: Amlogic Meson G12B (S922X) Revision 29:a (40:2) Detected
[    0.310266] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.312630] SuperH (H)SCI(F) driver initialized
[    0.313249] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 12, base_baud = 1500000) is a meson_uart
[    1.207885] printk: console [ttyAML0] enabled
[    1.212836] msm_serial: driver initialized
[    1.224765] loop: module loaded
[    1.229652] libphy: Fixed MDIO Bus: probed
[    1.230023] tun: Universal TUN/TAP device driver, 1.6
[    1.234128] thunder_xcv, ver 1.0
[    1.236347] thunder_bgx, ver 1.0
[    1.239546] nicpf, ver 1.0
[    1.242834] hclge is initializing
[    1.245453] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.252623] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.257943] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.263657] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.269561] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    1.276422] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.282032] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.289770] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.295932] sky2: driver version 1.30
[    1.299773] VFIO - User Level meta-driver version: 0.3
[    1.305704] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.310754] ehci-pci: EHCI PCI platform driver
[    1.315175] ehci-platform: EHCI generic platform driver
[    1.320419] ehci-orion: EHCI orion driver
[    1.324364] ehci-exynos: EHCI EXYNOS driver
[    1.328495] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.334564] ohci-pci: OHCI PCI platform driver
[    1.338988] ohci-platform: OHCI generic platform driver
[    1.344212] ohci-exynos: OHCI EXYNOS driver
[    1.348633] usbcore: registered new interface driver usb-storage
[    1.356323] i2c /dev entries driver
[    1.361392] sdhci: Secure Digital Host Controller Interface driver
[    1.363813] sdhci: Copyright(c) Pierre Ossman
[    1.368437] Synopsys Designware Multimedia Card Interface Driver
[    1.374978] VCC_3V3: supplied by VDDAO_3V3
[    1.378179] FLASH_1V8: supplied by VCC_3V3
[    1.382254] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
[    1.414913] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.416476] ledtrig-cpu: registered to indicate activity on CPUs
[    1.421317] meson-sm: secure-monitor enabled
[    1.426000] usbcore: registered new interface driver usbhid
[    1.430630] usbhid: USB HID core driver
[    1.434753] platform-mhu ff63c404.mailbox: Platform MHU Mailbox registered
[    1.443587] NET: Registered protocol family 17
[    1.445759] 9pnet: Installing 9P2000 support
[    1.449902] Key type dns_resolver registered
[    1.454489] registered taskstats version 1
[    1.458146] Loading compiled-in X.509 certificates
[    1.469860] VCC_1V8: supplied by VCC_3V3
[    1.469937] VDDAO_1V8: supplied by VDDAO_3V3
[    1.472616] HUB_5V: supplied by 5V
[    1.476013] USB_PWR_EN: supplied by HUB_5V
[    1.483233] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2
[    1.484994] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1
[    1.493140] dwc2 ff400000.usb: ff400000.usb supply vusb_d not found, using dummy regulator
[    1.498410] dwc2 ff400000.usb: ff400000.usb supply vusb_a not found, using dummy regulator
[    1.506673] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    1.512400] mmc0: new HS200 MMC card at address 0001
[    1.519292] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
[    1.519863] dwc3 ff500000.usb: Failed to get clk 'ref': -2
[    1.523432] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
[    1.529063] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.534730] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
[    1.539720] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    1.545677] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (237:0)
[    1.561239] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010
[    1.565386]  mmcblk0: p1 p2
[    1.569739] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0xff500000
[    1.578766] hub 1-0:1.0: USB hub found
[    1.582052] hub 1-0:1.0: 2 ports detected
[    1.586197] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.591444] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    1.599029] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    1.605606] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.613892] hub 2-0:1.0: USB hub found
[    1.617313] hub 2-0:1.0: 1 port detected
[    1.621441] dwc3-meson-g12a ffe09000.usb: switching to Device Mode
[    1.628349] meson-gx-mmc ffe05000.sd: Got CD GPIO
[    1.660658] hctosys: unable to open rtc device (rtc0)
[    1.660849] g12a_ao_cec
[    1.663506] g12a_ao_cec_sel
[    1.666302] g12a_ao_cec_div
[    1.669025] g12a_ao_cec_pre
[    1.671793] g12a_ao_cts_rtc_oscin
[    1.675074] g12a_ao_32k_by_oscin
[    1.678251] g12a_ao_32k_by_oscin_sel
[    1.681830] g12a_ao_32k_by_oscin_div
[    1.685307] g12a_ao_32k_by_oscin_pre
[    1.688849] cts_oscin
[    1.691092] g12a_ao_saradc_gate
[    1.694196] g12a_ao_saradc_div
[    1.697209] g12a_ao_saradc_mux
[    1.700262] ao-in-xtal
[    1.702562] cpub_clk_dyn0
[    1.705206] cpub_clk_dyn0_div
[    1.708113] cpub_clk_dyn0_sel
[    1.711015] cpu_clk_trace
[    1.713604] cpu_clk_trace_div
[    1.716529] cpu_clk_axi
[    1.718949] cpu_clk_axi_div
[    1.721766] cpu_clk_atb
[    1.724151] cpu_clk_atb_div
[    1.726886] cpu_clk_apb
[    1.729295] cpu_clk_apb_div
[    1.732059] cpu_clk_div16
[    1.734653] cpu_clk_div16_en
[    1.737496] cpu_clk_dyn
[    1.739903] cpu_clk_dyn0
[    1.742417] cpu_clk_dyn0_div
[    1.745313] cpu_clk_dyn0_sel
[    1.748102] mali_1
[    1.750097] mali_1_div
[    1.752409] mali_1_sel
[    1.754743] mali
[    1.756577] mali_0
[    1.758630] mali_0_div
[    1.760862] mali_0_sel
[    1.763238] hdmi_div
[    1.765347] hdmi_sel
[    1.767509] vclk2_div12
[    1.769959] vclk2_div6
[    1.772278] vclk2_div4
[    1.774584] vclk2_div2
[    1.776905] vclk2_div
[    1.779153] vclk2_sel
[    1.781390] hdmi_tx_sel
[    1.783810] cts_vdac_sel
[    1.786310] cts_encp_sel
[    1.788833] cts_enci_sel
[    1.791313] vclk_div12
[    1.793641] vclk_div6
[    1.795880] vclk_div4
[    1.798131] vclk_div2
[    1.800364] vclk_div
[    1.802526] vclk_sel
[    1.804705] vid_pll_sel
[    1.807100] vid_pll_div
[    1.809531] hdmi_pll
[    1.811702] hdmi_pll_od2
[    1.814169] hdmi_pll_od
[    1.816579] hdmi_pll_dco
[    1.819088] hifi_pll
[    1.821260] hifi_pll_dco
[    1.823762] gp0_pll
[    1.825876] gp0_pll_dco
[    1.828258] sys_pll_div16
[    1.830823] sys_pll_div16_en
[    1.833724] sys_pll
[    1.835766] sys_pll_dco
[    1.838162] mpll_50m
[    1.840298] mpll_50m_div
[    1.842805] fclk_div7
[    1.845043] fclk_div7_div
[    1.847635] fclk_div5
[    1.849938] fclk_div5_div
[    1.852492] vapb_1_div
[    1.854793] vapb_1_sel
[    1.857118] g12a_ao_clk81
[    1.859730] cpu_clk_dyn1
[    1.862224] cpu_clk_dyn1_div
[    1.865121] cpu_clk_dyn1_sel
[    1.867903] vpu_1_div
[    1.870145] vpu_1_sel
[    1.872385] ffe07000.mmc#rx
[    1.875196] ffe07000.mmc#tx
[    1.877944] cpub_clk_dyn1_div
[    1.880836] mpll0
[    1.882738] mpll0_div
[    1.884976] mpll1
[    1.886878] mpll1_div
[    1.889185] mpll2
[    1.891069] mpll2_div
[    1.893281] mpll3
[    1.895163] mpll3_div
[    1.897395] mpll_prediv
[    1.899815] fclk_div2p5
[    1.902231] fclk_div2p5_div
[    1.904986] sd_emmc_c_clk0
[    1.907664] sd_emmc_c_clk0_div
[    1.910693] sd_emmc_c_clk0_sel
[    1.913766] ffe05000.sd#rx
[    1.916370] ffe05000.sd#tx
[    1.919057] sd_emmc_a_clk0
[    1.921788] sd_emmc_a_clk0_div
[    1.924737] sd_emmc_a_clk0_sel
[    1.925502] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    1.927800] ALSA device list:
[    1.927870] mmc1: new high speed SDXC card at address e624
[    1.928664] mmcblk1: mmc1:e624 SR64G 59.5 GiB
[    1.930935]  mmcblk1: p1 p2
[    1.948772]   No soundcards found.
[    1.977442] random: fast init done
[    2.022314] EXT4-fs (mmcblk0p2): 14 orphan inodes deleted
[    2.022344] EXT4-fs (mmcblk0p2): recovery complete
[    2.034677] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.037170] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.045204] devtmpfs: mounted
[    2.046593] Freeing unused kernel memory: 1408K
[    2.077539] Run /sbin/init as init process
[    2.117828] hub 1-1:1.0: USB hub found
[    2.118109] hub 1-1:1.0: 4 ports detected
[    2.196709] systemd[1]: System time before build time, advancing clock.
[    2.209633] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    2.261808] hub 2-1:1.0: USB hub found
[    2.262123] hub 2-1:1.0: 4 ports detected
[    2.347296] NET: Registered protocol family 10
[    2.348067] Segment Routing with IPv6
[    2.374672] 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)
[    2.390696] systemd[1]: Detected architecture arm64.
[    2.409847] systemd[1]: Set hostname to <odroid>.
[    2.498852] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    2.510351] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    2.553568] usb 2-1.2: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
[    2.577343] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[    2.578293] scsi host0: usb-storage 2-1.2:1.0
[    2.621890] random: systemd: uninitialized urandom read (16 bytes read)
[    2.623063] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.649563] random: systemd: uninitialized urandom read (16 bytes read)
[    2.650545] systemd[1]: Reached target Swap.
[    2.669545] random: systemd: uninitialized urandom read (16 bytes read)
[    2.670603] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.697559] systemd[1]: Reached target Local Encrypted Volumes.
[    2.713564] systemd[1]: Reached target Remote File Systems.
[    3.341661] systemd-journald[1697]: Received request to flush runtime journal from PID 1
[    3.350349] systemd-journald[1697]: File /var/log/journal/e00bd6223a7245d0aa6e19e0ab12a024/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    3.882153] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock
[    3.882165] meson8b-dwmac ff3f0000.ethernet: no reset control found
[    3.882851] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    3.882862] meson8b-dwmac ff3f0000.ethernet:         DWMAC1000
[    3.882867] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register supported
[    3.882871] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine supported
[    3.882876] meson8b-dwmac ff3f0000.ethernet: COE Type 2
[    3.882880] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported
[    3.882884] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported
[    3.882919] meson8b-dwmac ff3f0000.ethernet: Normal descriptors
[    3.882923] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled
[    3.882927] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.883089] libphy: stmmac: probed
[    3.885387] libphy: mdio_mux: probed
[    3.916449] libphy: mdio_mux: probed
[    4.069479] meson-drm ff900000.vpu: Queued 2 outputs on vpu
[    4.076008] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.076013] [drm] No driver support for vblank timestamp query.
[    4.076075] meson-drm ff900000.vpu: CVBS Output connector not available
[    4.101568] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    4.102099] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    4.102869] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[    4.103292] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0
[    4.518956] Console: switching to colour frame buffer device 240x67
[    4.560165] meson-drm ff900000.vpu: fb0: DRM emulated frame buffer device
[    5.586096] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
[    5.754211] RTL8211F Gigabit Ethernet 0.0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=0.0:00, irq=POLL)
[    5.756719] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
[    5.756730] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
[    7.936437] scsi 0:0:0:0: Direct-Access     TOSHIBA  External USB 3.0 5438 PQ: 0 ANSI: 6
[    7.938379] sd 0:0:0:0: [sda] 3907029164 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    7.939456] sd 0:0:0:0: [sda] Write Protect is off
[    7.939463] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    7.939808] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.939819] sd 0:0:0:0: [sda] Optimal transfer size 0 bytes < PAGE_SIZE (4096 bytes)
[    7.978987]  sda: sda1 sda2 sda3 sda4 < sda5 >
[    7.982929] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.809513] usb 1-1.4: new full-speed USB device number 3 using xhci-hcd
[   10.057081] input: Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0 as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.0/0003:045E:0745.0001/input/input0
[   10.114165] hid-generic 0003:045E:0745.0001: input: USB HID v1.11 Keyboard [Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0] on usb-xhci-hcd.0.auto-1.4/input0
[   10.123127] input: Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0 Mouse as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:045E:0745.0002/input/input1
[   10.123480] input: Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.1/0003:045E:0745.0002/input/input2
[   10.181702] hid-generic 0003:045E:0745.0002: input: USB HID v1.11 Mouse [Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0] on usb-xhci-hcd.0.auto-1.4/input1
[   10.189887] input: Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.2/0003:045E:0745.0003/input/input3
[   10.249836] input: Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0 System Control as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.2/0003:045E:0745.0003/input/input5
[   10.249954] hid-generic 0003:045E:0745.0003: input: USB HID v1.11 Device [Microsoft Microsoft\xc2\xae 2.4GHz Transceiver v8.0] on usb-xhci-hcd.0.auto-1.4/input2
[   10.877955] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.877982] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.978260] EXT4-fs (sda1): recovery complete
[   38.988260] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[  326.503477] random: crng init done
[  326.503485] random: 7 urandom warning(s) missed due to ratelimiting
[ 1999.830609] systemd-journald[1697]: File /var/log/journal/e00bd6223a7245d0aa6e19e0ab1
I will have to add more debug again for more info for DRM if you need it.

User avatar
odroid
Site Admin
Posts: 32484
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 177 times
Been thanked: 344 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by odroid » Mon Mar 25, 2019 9:34 pm

Thank you for the dmesg output.
The meson-DRM driver seems to be loaded well. :D We will check what's the next step to share the Wayland user-land driver r16p0.

Code: Select all

[    4.069479] meson-drm ff900000.vpu: Queued 2 outputs on vpu
[    4.076008] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.076013] [drm] No driver support for vblank timestamp query.
[    4.076075] meson-drm ff900000.vpu: CVBS Output connector not available
[    4.101568] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    4.102099] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    4.102869] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[    4.103292] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0
[    4.518956] Console: switching to colour frame buffer device 240x67
[    4.560165] meson-drm ff900000.vpu: fb0: DRM emulated frame buffer device

User avatar
AreaScout
Posts: 1079
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 18 times
Been thanked: 51 times
Contact:

Re: Any plan for basic mainline linux support?

Unread post by AreaScout » Tue Mar 26, 2019 2:45 am

brad wrote:
Mon Mar 25, 2019 7:37 pm
I basically installed gdm3 on hardkernel Ubuntu minimal image (the screenshot above) Neil's 5.x kernel kernel which works but not on normal startup foe me. Its only working for mainline if you boot to text mode HDMI (console) and then start gnome from console once you boot. ie:

Once booting to hdmi console, Install gnome (ensure you create and add your normal non root user to video group first)

Code: Select all

$ sudo apt-get install gdm3
Make sure it will not start display /graphic by default at next boot

Code: Select all

 $ sudo systemctl set-default multi-user.target
*reboot* (ie; need to unplug and plug power as reboot not working)

You can then start gnome from HDMI console on next boot with ....

Code: Select all

sudo systemctl start gdm3
Cool, do you have a /dev/dri/card0 device ?

RG

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 3 guests