Mali driver was tested on OGA

Talking about OS and emulation core development
Post Reply
PaulF8080
Posts: 71
Joined: Fri Feb 14, 2020 9:40 am
languages_spoken: english
ODROIDs: go, go advance, xu4
Has thanked: 0
Been thanked: 9 times
Contact:

Mali driver was tested on OGA

Post by PaulF8080 »

These users thanked the author PaulF8080 for the post (total 3):
mad_ady (Wed Jun 10, 2020 4:22 am) • rooted (Wed Jun 10, 2020 6:06 am) • joy (Wed Jun 10, 2020 8:54 am)

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

Re: Mali driver was tested on OGA

Post by mad_ady »

That is great news! Perhaps a variant of the reference image (or something community built) could bundle these changes? Even if not targeting gaming. Also - note that the screenshots were portrait, maybe rotation kills performance?

PaulF8080
Posts: 71
Joined: Fri Feb 14, 2020 9:40 am
languages_spoken: english
ODROIDs: go, go advance, xu4
Has thanked: 0
Been thanked: 9 times
Contact:

Re: Mali driver was tested on OGA

Post by PaulF8080 »

If you mean the screen orientation, there is no penalty. When they convert from the 2d frame to 1d lcd serial you add two indexes per pixel no matter what the orientation. Just in diffent order.

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

Re: Mali driver was tested on OGA

Post by rooted »

It's interesting for sure, will be watching.

valadaa48
Posts: 205
Joined: Mon Feb 17, 2020 1:35 pm
languages_spoken: english
ODROIDs: odroid go advance
Has thanked: 10 times
Been thanked: 51 times
Contact:

Re: Mali driver was tested on OGA

Post by valadaa48 »

I have not been able to get that kernel to boot (but I also don't have a serial cable to debug). One of the project members claims that someone did boot an OGA with it but they weren't able to reproduce themselves. The kernel tree is Linux 5.6 and missing a lot of OGA drivers so I'm a bit suspect at this point until there is direct confirmation. Personally, I would love to use this kernel to be able to harness new kernel features.

crashoverride
Posts: 5183
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 389 times
Contact:

Re: Mali driver was tested on OGA

Post by crashoverride »

mad_ady wrote: โ†‘
Wed Jun 10, 2020 4:25 am
Perhaps a variant of the reference image (or something community built) could bundle these changes?
There is no benefit to it on GO-Advance only limitations such as the loss of GLES3.x and an incomplete GLES2.x. Therefore, I have no plans to use it.

[edit]
The PSP and N64 emulators currently use GLES3.x.

notime2d8
Posts: 198
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 57 times
Been thanked: 92 times
Contact:

Re: Mali driver was tested on OGA

Post by notime2d8 »

That's what I was thinking... Should only be useful if we no longer have official Mali libs/support from rockchip and the current libs no longer work. It should be useful for Android if someone can't get the official rockchip Mali drivers to work, or getting x11 support as arm dropped support for it...

I wish they shared that 5.2+ kernel though ๐Ÿ˜’
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

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

Re: Mali driver was tested on OGA

Post by mad_ady »

I'm running mainline 5.7.0 on my RK3399 Odroid N1 so I expect support for GoA to be pretty good. Check out the mainline thread in the N1 subforum.

notime2d8
Posts: 198
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 57 times
Been thanked: 92 times
Contact:

Re: Mali driver was tested on OGA

Post by notime2d8 »

mad_ady wrote: โ†‘
Thu Jun 11, 2020 12:14 pm
I'm running mainline 5.7.0 on my RK3399 Odroid N1 so I expect support for GoA to be pretty good. Check out the mainline thread in the N1 subforum.
So it was close, the 5.7.0 kernel booted but no video:

Code: Select all

[    3.257073] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    3.269465] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
Followed by a crash, but this may be my fault as I was in the OS when this happened. My need to limit the CPU speed?:

Code: Select all

[    5.949362] ------------[ cut here ]------------
[    5.954633] WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:954 clk_core_disable+0x174/0x280
[    5.964156] ---[ end trace f607929d509ac01c ]---
[    5.976449] reboot: Restarting system with command ''
But it is what I need. Looks like it's only missing sound and joy-pad? I'll circle back around to it later. Hope someone post up a working source before then...it has the Panfrost drivers as well. The 4.19 Rockchip kernel i found has all of the drivers needed and working except the joy-pad but i couldn't get the display to work even though the kernel logs said it was working? Think i didn't have the backlight settings right when i tried.
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

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

Re: Mali driver was tested on OGA

Post by mad_ady »

Maybe some things were changed and non-standard and are not part of mainline. There will always be something broken, sadly :(

notime2d8
Posts: 198
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 57 times
Been thanked: 92 times
Contact:

Re: Mali driver was tested on OGA

Post by notime2d8 »

mad_ady wrote: โ†‘
Sat Jun 13, 2020 1:28 pm
Maybe some things were changed and non-standard and are not part of mainline. There will always be something broken, sadly :(
I stand corrected, I can get the mainline Kernels to boot with video. The error message that i got above was telling me that i didn't have Rockchip MIPI PHY enabled in my config. That fixed video and I can boot the 5.7 and 5.8-rc1 kernels.
These users thanked the author notime2d8 for the post (total 3):
mad_ady (Fri Jul 10, 2020 5:19 am) • joy (Fri Jul 10, 2020 9:13 am) • Luke.go (Fri Jul 10, 2020 9:34 am)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

User avatar
odroid
Site Admin
Posts: 35909
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1320 times
Been thanked: 913 times
Contact:

Re: Mali driver was tested on OGA

Post by odroid »

notime2d8 wrote: โ†‘
Fri Jul 10, 2020 4:35 am
That fixed video and I can boot the 5.7 and 5.8-rc1 kernels.
Very impressive news!

notime2d8
Posts: 198
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 57 times
Been thanked: 92 times
Contact:

Re: Mali driver was tested on OGA

Post by notime2d8 »

Here's my boot log for proof. If anyone sets up a public git for this i can help with some patches to add the rest of the hardware support. I'm holding out for a 5.8 kernel with android patches. No pic as I broke graphics on what i was booting.

Code: Select all

Starting kernel ...

Booting Linux on physical CPU 0x0000000000 [0x410fd042]
Linux version 5.8.0-rc1 (ken@ken-HP-EliteBook-2570p) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.0
Machine model: Hardkernel ODROID-GO2
cma: Reserved 16 MiB at 0x000000003f000000
Zone ranges:
  DMA      [mem 0x0000000000200000-0x000000003fffffff]
  DMA32    empty
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000200000-0x00000000083fffff]
  node   0: [mem 0x000000000a200000-0x000000003fffffff]
Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff]
psci: probing for conduit method from DT.
psci: PSCIv1.0 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: Trusted OS migration not required
psci: SMC Calling Convention v1.0
percpu: Embedded 31 pages/cpu s88144 r8192 d30640 u126976
Detected VIPT I-cache on CPU0
Built 1 zonelists, mobility grouping on.  Total pages: 249864
Kernel command line: root=/dev/mmcblk0p2 skip_initramfs rootfstype=ext4 rootwait init=/init fbcon=rotate:3 consoleblank=0 firmware_class.path=/f
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 952592K/1015808K available (15102K kernel code, 1550K rwdata, 5496K rodata, 4992K init, 827K bss, 46832K reserved, 16384K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
ftrace: allocating 43390 entries in 170 pages
ftrace: allocated 170 pages with 4 groups
rcu: Hierarchical RCU implementation.
        Rude variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
GIC: Using split EOI/Deactivate mode
random: get_random_bytes called from start_kernel+0x308/0x434 with crng_init=0
clk: couldn't set cpll clk rate to 17000000 (-22), current rate: 612000000
clk: couldn't set cpll clk rate to 17000000 (-22), current rate: 612000000
arch_timer: cp15 timer(s) running at 24.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
SELinux:  Initializing.
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
Detected VIPT I-cache on CPU1
CPU1: Booted secondary processor 0x0000000001 [0x410fd042]
Detected VIPT I-cache on CPU2
CPU2: Booted secondary processor 0x0000000002 [0x410fd042]
Detected VIPT I-cache on CPU3
CPU3: Booted secondary processor 0x0000000003 [0x410fd042]
smp: Brought up 1 node, 4 CPUs
SMP: Total of 4 processors activated.
CPU features: detected: 32-bit EL0 Support
CPU features: detected: CRC32 instructions
CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
CPU: All CPU(s) started at EL2
alternatives: patching kernel code
devtmpfs: initialized
Registered cp15_barrier emulation handler
Registered setend emulation handler
KASLR disabled due to lack of seed
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
pinctrl core: initialized pinctrl subsystem
thermal_sys: Registered thermal governor 'fair_share'
thermal_sys: Registered thermal governor 'step_wise'
thermal_sys: Registered thermal governor 'user_space'
thermal_sys: Registered thermal governor 'power_allocator'
thermal thermal_zone1: power_allocator: sustainable_power will be estimated
NET: Registered protocol family 16
DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.083:1): state=initialized audit_enabled=0 res=1
cpuidle: using governor ladder
cpuidle: using governor menu
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
ASID allocator initialised with 65536 entries
cryptd: max_cpu_qlen set to 1000
vcc_host: supplied by vcc3v8_sys
iommu: Default domain type: Translated 
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
mc: Linux media interface: v0.10
videodev: Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource arch_sys_counter
FS-Cache: Loaded
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered protocol family 1
hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counters available
Initialise system trusted keyrings
workingset: timestamp_bits=46 max_order=18 bucket_order=0
zbud: loaded
fuse: init (API version 7.31)
NET: Registered protocol family 38
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
io scheduler mq-deadline registered
io scheduler kyber registered
io scheduler bfq registered
dma-pl330 ff240000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 ff240000.dmac:        DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
ff158000.serial: ttyS1 at MMIO 0xff158000 (irq = 12, base_baud = 6250000) is a 16550A
ff160000.serial: ttyS2 at MMIO 0xff160000 (irq = 13, base_baud = 1500000) is a 16550A
printk: console [ttyS2] enabled
rockchip-vop ff460000.vop: Adding to iommu group 0
panfrost ff400000.gpu: clock rate = 200000000
panfrost ff400000.gpu: failed to get regulators: -517
panfrost ff400000.gpu: regulator init failed -517
cacheinfo: Unable to detect cache hierarchy for CPU 0
brd: module loaded
loop: module loaded
zram: Added device: zram0
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
usbcore: registered new interface driver rtl8150
usbcore: registered new interface driver r8152
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform: OHCI generic platform driver
usbcore: registered new interface driver cdc_wdm
usbcore: registered new interface driver uas
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver xpad
i2c /dev entries driver
rk808 0-0020: chip id: 0x8170
rk808-regulator rk808-regulator: there is no dvs0 gpio
rk808-regulator rk808-regulator: there is no dvs1 gpio
DCDC_REG1: supplied by vcc3v8_sys
DCDC_REG2: supplied by vcc3v8_sys
DCDC_REG3: supplied by vcc3v8_sys
DCDC_REG4: supplied by vcc3v8_sys
LDO_REG1: supplied by vcc3v8_sys
LDO_REG2: supplied by vcc3v8_sys
LDO_REG3: supplied by vcc3v8_sys
LDO_REG4: supplied by vcc3v8_sys
LDO_REG5: supplied by vcc3v8_sys
LDO_REG6: supplied by vcc3v8_sys
random: fast init done
LDO_REG7: supplied by vcc3v8_sys
LDO_REG8: supplied by vcc3v8_sys
LDO_REG9: supplied by vcc3v8_sys
BOOST: supplied by vcc3v8_sys
boost: Bringing 4700000uV into 5000000-5000000uV
OTG_SWITCH: supplied by boost
input: rk805 pwrkey as /devices/platform/ff180000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0
rk808-rtc rk808-rtc: registered as rtc0
rk808-rtc rk808-rtc: setting system clock to 2017-08-06T11:14:11 UTC (1502018051)
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
rockchip-thermal ff280000.tsadc: Missing tshut mode property, using default (cru)
rockchip-thermal ff280000.tsadc: Missing tshut-polarity property, using default (low)
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
usbcore: registered new interface driver btusb
Synopsys Designware Multimedia Card Interface Driver
dwmmc_rockchip ff370000.mmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip ff370000.mmc: Using internal DMA controller.
dwmmc_rockchip ff370000.mmc: Version ID is 270a
dwmmc_rockchip ff370000.mmc: DW MMC controller at irq 21,32 bit host data width,256 deep fifo
dwmmc_rockchip ff370000.mmc: Got CD GPIO
mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
dwmmc_rockchip ff380000.mmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip ff380000.mmc: Using internal DMA controller.
dwmmc_rockchip ff380000.mmc: Version ID is 270a
dwmmc_rockchip ff380000.mmc: DW MMC controller at irq 22,32 bit host data width,256 deep fifo
mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
ledtrig-cpu: registered to indicate activity on CPUs
hid: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ashmem: initialized
usbcore: registered new interface driver snd-usb-audio
mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
xt_time: kernel timezone is -0000
IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
IPVS: ipvs loaded.
mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
IPVS: [rr] scheduler registered.
mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
IPVS: [wrr] scheduler registered.
mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
IPVS: [lc] scheduler registered.
mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
IPVS: [wlc] scheduler registered.
mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
IPVS: [fo] scheduler registered.
IPVS: [ovf] scheduler registered.
IPVS: [lblc] scheduler registered.
mmc1: new high speed SDIO card at address 0001
IPVS: [lblcr] scheduler registered.
IPVS: [dh] scheduler registered.
IPVS: [sh] scheduler registered.
IPVS: [sed] scheduler registered.
IPVS: [nq] scheduler registered.
IPVS: ftp: loaded support on port[0] = 21
gre: GRE over IPv4 demultiplexor driver
ip_gre: GRE over IPv4 tunneling driver
IPv4 over IPsec tunneling driver
ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
Initializing XFRM netlink socket
NET: Registered protocol family 10
Segment Routing with IPv6
mip6: Mobile IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
ip6_gre: GRE over IPv6 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
l2tp_core: L2TP core driver, V2.0
l2tp_ip: L2TP IP encapsulation support (L2TPv3)
l2tp_netlink: L2TP netlink interface
l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
l2tp_debugfs: L2TP debugfs support
l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
8021q: 802.1Q VLAN Support v1.8
NET: Registered protocol family 21
Registered RDS/tcp transport
Key type dns_resolver registered
batman_adv: B.A.T.M.A.N. advanced 2020.2 (compatibility version 15) loaded
registered taskstats version 1
Loading compiled-in X.509 certificates
zswap: loaded using pool lzo/zbud
Key type ._fscrypt registered
Key type .fscrypt registered
Key type fscrypt-provisioning registered
Key type encrypted registered
rockchip-drm display-subsystem: bound ff460000.vop (ops vop_component_ops)
rockchip-drm display-subsystem: bound ff450000.dsi (ops dw_mipi_dsi_rockchip_ops)
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
dwmmc_rockchip ff370000.mmc: Successfully tuned phase to 204
mmc0: new ultra high speed SDR104 SDXC card at address aaaa
mmcblk0: mmc0:aaaa SR64G 59.5 GiB 
 mmcblk0: p1 p2 p3 p4
Console: switching to colour frame buffer device 60x20
rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
[drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
panfrost ff400000.gpu: clock rate = 200000000
panfrost ff400000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 status 0x0
panfrost ff400000.gpu: features: 00000000,3fde77ff, issues: 00000000,00000400
panfrost ff400000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
panfrost ff400000.gpu: shader_present=0x1 l2_present=0x1
[drm] Initialized panfrost 1.1.0 20180908 for ff400000.gpu on minor 1
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
ALSA device list:
cfg80211: failed to load regulatory.db
  No soundcards found.
dw-apb-uart ff160000.serial: forbid DMA for kernel console
EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 4992K
Run /init as init process
random: init: uninitialized urandom read (40 bytes read)
random: init: uninitialized urandom read (40 bytes read)
init: init first stage started!
init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
init: [libfs_mgr]Warning: unknown flag: inline_data
init: [libfs_mgr]Warning: unknown flag: inline_xattr
init: [libfs_mgr]Warning: unknown flag: discard
init: Using Android DT directory /proc/device-tree/firmware/android/
init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/mmcblk0p2
init: [libfs_mgr]__mount(source=/dev/block/mmcblk0p2,target=/system,type=ext4)=0: Success
init: Switching root to '/system'
init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/mmcblk0p3
EXT4-fs (mmcblk0p3): mounted filesystem without journal. Opts: barrier=1
printk: init: 2 output lines suppressed due to ratelimiting
random: init: uninitialized urandom read (40 bytes read)
init: Loading SELinux policy
SELinux:  Permission perfmon in class capability2 not defined in policy.
SELinux:  Permission bpf in class capability2 not defined in policy.
SELinux:  Permission perfmon in class cap2_userns not defined in policy.
SELinux:  Permission bpf in class cap2_userns not defined in policy.
SELinux:  Class perf_event not defined in policy.
SELinux:  Class lockdown not defined in policy.
SELinux: the above unknown classes and permissions will be denied
SELinux:  policy capability network_peer_controls=1
SELinux:  policy capability open_perms=1
SELinux:  policy capability extended_socket_class=1
SELinux:  policy capability always_check_network=0
SELinux:  policy capability cgroup_seclabel=0
SELinux:  policy capability nnp_nosuid_transition=1
SELinux:  policy capability genfs_seclabel_symlinks=0
audit: type=1403 audit(1502018053.456:2): auid=4294967295 ses=4294967295 lsm=selinux res=1
selinux: SELinux: Loaded policy from /vendor/etc/selinux/precompiled_sepolicy

selinux: SELinux: Loaded file_contexts

init: init second stage started!
init: Using Android DT directory /proc/device-tree/firmware/android/
selinux: SELinux: Loaded file_contexts

init: Running restorecon...
init: Overriding previous 'ro.' property 'pm.dexopt.shared':'speed' with new value 'quicken'
selinux: avc:  denied  { set } for property=pm.sleep_mode pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:pm_prop:s0 tclass=p1

init: Couldn't load property file '/product_services/build.prop': open() failed: No such file or directory: No such file or directory
init: Couldn't load property file '/factory/factory.prop': open() failed: No such file or directory: No such file or directory
init: Setting product property ro.product.brand to 'ODROID' (from ro.product.odm.brand)
init: Setting product property ro.product.device to 'odroidgoa' (from ro.product.odm.device)
urandom_read: 3 callbacks suppressed
random: init: uninitialized urandom read (40 bytes read)
random: init: uninitialized urandom read (40 bytes read)
random: init: uninitialized urandom read (40 bytes read)
cgroup: Unknown subsys name 'schedtune'
cgroup: init (1) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in th.
cgroup: "memory" requires setting use_hierarchy to 1 on the root
ueventd: ueventd started!
selinux: SELinux: Loaded file_contexts

ueventd: Parsing file /ueventd.rc...
ueventd: Parsing file /vendor/ueventd.rc...
ueventd: Unable to read config file '/vendor/ueventd.rc': open() failed: No such file or directory
ueventd: Parsing file /odm/ueventd.rc...
ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory
ueventd: Parsing file /ueventd.odroidgoa.rc...
apexd: Bootstrap subcommand detected
apexd: wait for '/dev/loop-control' took 166ms
apexd: Pre-allocated 9 loopback devices
apexd: Scanning /system/apex for embedded keys
apexd: Scanning /product/apex for embedded keys
apexd: ... does not exist. Skipping
apexd: Scanning /system/apex looking for APEX packages.
apexd: Found /system/apex/com.android.apex.cts.shim.apex
apexd: Skipped when bootstrapping
apexd: Found /system/apex/com.android.conscrypt.apex
ueventd: Coldboot took 0.332 seconds
EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)
printk: apexd: 13 output lines suppressed due to ratelimiting
audit: type=1400 audit(1502018054.590:3): avc:  denied  { create } for  pid=1 comm="init" name="sdcard" scontext=u:r:init:s0 tcontext=u:object_1
Registered swp emulation handler
audit: type=1400 audit(1502018054.713:4): avc:  denied  { write } for  pid=169 comm="init" name="swappiness" dev="proc" ino=1292 scontext=u:r:v1
audit: type=1400 audit(1502018054.740:5): avc:  denied  { write } for  pid=169 comm="init" name="sched_features" dev="debugfs" ino=10244 sconte1
audit: type=1400 audit(1502018054.740:6): avc:  denied  { integrity } for  pid=169 comm="init" lockdown_reason="debugfs access" scontext=u:r:ve1
cgroup: Unknown subsys name 'bfqio'
audit: type=1400 audit(1502018054.813:7): avc:  denied  { confidentiality } for  pid=1 comm="init" lockdown_reason="use of tracefs" scontext=u:1
logd.auditd: start
F2FS-fs (mmcblk0p4): Mounted with checkpoint version = 7eaafb38
type=1400 audit(1502018055.046:8): avc: denied { confidentiality } for comm="vold" lockdown_reason="use of tracefs" scontext=u:r:vold:s0 tconte1
type=1400 audit(1502018055.046:8): avc: denied { confidentiality } for comm="vold" lockdown_reason="use of tracefs" scontext=u:r:vold:s0 tconte1
type=1400 audit(1502018055.220:9): avc: denied { confidentiality } for comm="android.system." lockdown_reason="use of tracefs" scontext=u:r:sys1
type=1400 audit(1502018055.220:9): avc: denied { confidentiality } for comm="android.system." lockdown_reason="use of tracefs" scontext=u:r:sys1
type=1400 audit(1502018055.223:10): avc: denied { confidentiality } for comm="hwservicemanage" lockdown_reason="use of tracefs" scontext=u:r:hw1
type=1400 audit(1502018055.223:10): avc: denied { confidentiality } for comm="hwservicemanage" lockdown_reason="use of tracefs" scontext=u:r:hw1
type=1400 audit(1502018055.266:11): avc: denied { confidentiality } for comm="android.hardwar" lockdown_reason="use of tracefs" scontext=u:r:ha1
apexd: Marking APEXd as starting
apexd: Scanning /system/apex for embedded keys
apexd: Scanning /product/apex for embedded keys
EXT4-fs (loop2): mounted filesystem without journal. Opts: (null)
EXT4-fs (loop3): mounted filesystem without journal. Opts: (null)
EXT4-fs (loop4): mounted filesystem without journal. Opts: (null)
EXT4-fs (loop5): mounted filesystem without journal. Opts: (null)
EXT4-fs (loop6): mounted filesystem without journal. Opts: (null)
EXT4-fs (loop7): mounted filesystem without journal. Opts: (null)
EXT4-fs (loop8): mounted filesystem without journal. Opts: (null)
type=1400 audit(1502018055.266:11): avc: denied { confidentiality } for comm="android.hardwar" lockdown_reason="use of tracefs" scontext=u:r:ha1
dwmmc_rockchip ff370000.mmc: Unexpected interrupt latency
type=1400 audit(1502018056.446:12): avc: denied { setattr } for comm="init" name="media" dev="mmcblk0p4" ino=95 scontext=u:r:vendor_init:s0 tco1
esp8089: version magic '4.19.111 SMP mod_unload aarch64' should be '5.8.0-rc1 SMP mod_unload aarch64'
healthd: No battery devices found
healthd: battery none chg=
zram0: detected capacity change from 0 to 805306368
mkswap: Swapspace size: 786428k, UUID=4efeff0b-12ee-42fb-a454-f89d44056004
Adding 786428k swap on /dev/block/zram0.  Priority:-2 extents:1 across:786428k SSFS
init: Command 'swapon_all /fstab.odroidgoa' action=persist.sys.zram_enabled=1 && sys-boot-completed-set (/vendor/etc/init/hw/init.odroidgoa.rc:d
init: processing action (init.svc.adbd=stopped) from (/init.usb.configfs.rc:14)
init: Service 'usbd' (pid 319) exited with status 0
type=1400 audit(1502018059.793:70): avc: denied { confidentiality } for comm="android.hardwar" lockdown_reason="use of tracefs" scontext=u:r:me1
type=1400 audit(1502018060.303:71): avc: denied { confidentiality } for comm="cameraserver" lockdown_reason="use of tracefs" scontext=u:r:camer1
type=1400 audit(1502018060.303:71): avc: denied { confidentiality } for comm="cameraserver" lockdown_reason="use of tracefs" scontext=u:r:camer1
type=1400 audit(1502018060.376:72): avc: denied { confidentiality } for comm="crash_dump64" lockdown_reason="use of tracefs" scontext=u:r:crash1
type=1400 audit(1502018060.376:72): avc: denied { confidentiality } for comm="crash_dump64" lockdown_reason="use of tracefs" scontext=u:r:crash1
type=1400 audit(1502018060.470:73): avc: denied { confidentiality } for comm="mediaswcodec" lockdown_reason="use of tracefs" scontext=u:r:media1
type=1400 audit(1502018060.470:73): avc: denied { confidentiality } for comm="mediaswcodec" lockdown_reason="use of tracefs" scontext=u:r:media1
type=1400 audit(1502018060.696:74): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0"1
type=1400 audit(1502018060.696:74): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0"1
type=1400 audit(1502018060.696:75): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:1
init: Untracked pid 362 exited with status 0
These users thanked the author notime2d8 for the post (total 2):
odroid (Fri Jul 10, 2020 11:21 am) • joy (Fri Jul 10, 2020 12:43 pm)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

joy
Posts: 1464
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 160 times
Been thanked: 182 times
Contact:

Re: Mali driver was tested on OGA

Post by joy »

Great job, @notime2d8!
There are some progresses of ODROID-GO2 patch work based on 5.x kernel.

https://kernel.googlesource.com/pub/scm ... id-go2.dts
https://github.com/torvalds/linux/blob/ ... id-go2.dts

joy
Posts: 1464
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 160 times
Been thanked: 182 times
Contact:

Re: Mali driver was tested on OGA

Post by joy »

And I've confirmed it boots with kernel 5.8.0-rc3. ;) even though display, network should be fixed.

Code: Select all

## Executing script at 00800800
reading Image
20795400 bytes read in 915 ms (21.7 MiB/s)
reading uInitrd
14030350 bytes read in 617 ms (21.7 MiB/s)
reading rk3326-odroid-go2.dtb
41581 bytes read in 7 ms (5.7 MiB/s)
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    14030286 Bytes = 13.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 31052000, end 31db35ce ... OK
   Loading Device Tree to 0000000031044000, end 000000003105126c ... OK
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0x40000000 (size: 0x35e00000)
Total: 4301.308 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd042]
[    0.000000] Linux version 5.8.0-rc3-00156-g35e884f-dirty (joy@joy-desktop) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.201700
[    0.000000] Machine model: ODROID-GO Advance
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
[    0.000000]   node   0: [mem 0x000000000a200000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff]
[    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: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 30 pages/cpu s85160 r8192 d29528 u122880
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 249864
[    0.000000] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw fsck.repair=yes net.ifnames=0 fbcon=rotate:3 splash plymouth.ignore-serial-consoles0
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 960384K/1015808K available (10366K kernel code, 1812K rwdata, 3496K rodata, 4608K init, 728K bss, 55424K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 39973 entries in 157 pages
[    0.000000] ftrace: allocated 157 pages with 5 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Rude variant of 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=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x378/0x500 with crng_init=0
[    0.000000] clk: couldn't set cpll clk rate to 17000000 (-22), current rate: 612000000
[    0.000000] clk: couldn't set cpll clk rate to 17000000 (-22), current rate: 612000000
[    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.000011] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001358] Console: colour dummy device 80x25
[    0.002404] printk: console [tty0] enabled
[    0.002479] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002537] pid_max: default: 32768 minimum: 301
[    0.002902] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002959] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.006275] rcu: Hierarchical SRCU implementation.
[    0.010752] smp: Bringing up secondary CPUs ...
[    0.012103] Detected VIPT I-cache on CPU1
[    0.012230] CPU1: Booted secondary processor 0x0000000001 [0x410fd042]
[    0.013667] Detected VIPT I-cache on CPU2
[    0.013781] CPU2: Booted secondary processor 0x0000000002 [0x410fd042]
[    0.015099] Detected VIPT I-cache on CPU3
[    0.015208] CPU3: Booted secondary processor 0x0000000003 [0x410fd042]
[    0.015412] smp: Brought up 1 node, 4 CPUs
[    0.015592] SMP: Total of 4 processors activated.
[    0.015626] CPU features: detected: 32-bit EL0 Support
[    0.015661] CPU features: detected: CRC32 instructions
[    0.015692] CPU features: detected: 32-bit EL1 Support
[    0.015954] CPU: All CPU(s) started at EL2
[    0.016027] alternatives: patching kernel code
[    0.017971] devtmpfs: initialized
[    0.038219] Registered cp15_barrier emulation handler
[    0.038291] Registered setend emulation handler
[    0.039169] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.039250] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.039720] pinctrl core: initialized pinctrl subsystem
[    0.040967] thermal_sys: Registered thermal governor 'fair_share'
[    0.040975] thermal_sys: Registered thermal governor 'step_wise'
[    0.042661] NET: Registered protocol family 16
[    0.044055] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.044234] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.044336] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.047530] cpuidle: using governor ladder
[    0.047852] cpuidle: using governor menu
[    0.048667] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.048889] ASID allocator initialised with 65536 entries
[    0.101568] cryptd: max_cpu_qlen set to 1000
[    0.109053] vcc_host: supplied by vcc3v8_sys
[    0.110557] iommu: Default domain type: Translated 
[    0.112896] SCSI subsystem initialized
[    0.113352] usbcore: registered new interface driver usbfs
[    0.113475] usbcore: registered new interface driver hub
[    0.113726] usbcore: registered new device driver usb
[    0.113853] mc: Linux media interface: v0.10
[    0.113952] videodev: Linux video capture interface: v2.00
[    0.114098] pps_core: LinuxPPS API ver. 1 registered
[    0.114130] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114207] PTP clock support registered
[    0.115290] Advanced Linux Sound Architecture Driver Initialized.
[    0.116647] Bluetooth: Core ver 2.22
[    0.116759] NET: Registered protocol family 31
[    0.116791] Bluetooth: HCI device and connection manager initialized
[    0.116847] Bluetooth: HCI socket layer initialized
[    0.116887] Bluetooth: L2CAP socket layer initialized
[    0.116948] Bluetooth: SCO socket layer initialized
[    0.118696] clocksource: Switched to clocksource arch_sys_counter
[    1.399636] FS-Cache: Loaded
[    1.417691] NET: Registered protocol family 2
[    1.419071] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[    1.419195] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.419399] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    1.419932] TCP: Hash tables configured (established 8192 bind 8192)
[    1.420250] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[    1.420395] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[    1.421133] NET: Registered protocol family 1
[    1.422205] RPC: Registered named UNIX socket transport module.
[    1.422252] RPC: Registered udp transport module.
[    1.422281] RPC: Registered tcp transport module.
[    1.422310] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.423811] Trying to unpack rootfs image as initramfs...
[    1.788837] Freeing initrd memory: 13700K
[    1.791009] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counters available
[    1.792024] kvm [1]: IPA Size Limit: 40bits
[    1.793440] kvm [1]: vgic interrupt IRQ1
[    1.793716] kvm [1]: Hyp mode initialized successfully
[    1.804182] Initialise system trusted keyrings
[    1.804600] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    1.819835] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.821775] NFS: Registering the id_resolver key type
[    1.821865] Key type id_resolver registered
[    1.821895] Key type id_legacy registered
[    1.823182] FS-Cache: Netfs 'cifs' registered for caching
[    1.823922] Key type cifs.idmap registered
[    1.824359] fuse: init (API version 7.31)
[    1.825070] SGI XFS with security attributes, no debug enabled
[    1.920650] NET: Registered protocol family 38
[    1.920720] Key type asymmetric registered
[    1.920752] Asymmetric key parser 'x509' registered
[    1.920883] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.920928] io scheduler mq-deadline registered
[    1.920957] io scheduler kyber registered
[    1.932657] dma-pl330 ff240000.dmac: Loaded driver for PL330 DMAC-241330
[    1.932730] dma-pl330 ff240000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    1.934049] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.937844] ff158000.serial: ttyS1 at MMIO 0xff158000 (irq = 12, base_baud = 6250000) is a 16550A
[    1.939815] ff160000.serial: ttyS2 at MMIO 0xff160000 (irq = 13, base_baud = 1500000) is a 16550A
[    2.846534] printk: console [ttyS2] enabled
[    2.854303] rockchip-vop ff460000.vop: Adding to iommu group 0
[    2.862504] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    2.881541] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.890027] brd: module loaded
[    2.912772] loop: module loaded
[    2.917487] zram: Added device: zram0
[    2.922421] lkdtm: No crash points registered, enable through debugfs
[    2.931730] libphy: Fixed MDIO Bus: probed
[    2.937211] rockchip-usb2phy ff2c0000.syscon:usb2-phy@100: Requested PHY is disabled
[    2.946040] dwc2 ff300000.usb: supply vusb_d not found, using dummy regulator
[    2.954277] dwc2 ff300000.usb: supply vusb_a not found, using dummy regulator
[    2.962809] dwc2 ff300000.usb: Configuration mismatch. dr_mode forced to host
[    2.981537] rockchip-usb2phy ff2c0000.syscon:usb2-phy@100: Requested PHY is disabled
[    2.990303] dwc2 ff300000.usb: DWC OTG Controller
[    2.995664] dwc2 ff300000.usb: new USB bus registered, assigned bus number 1
[    3.003679] dwc2 ff300000.usb: irq 20, io mem 0xff300000
[    3.010089] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[    3.019405] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.027544] usb usb1: Product: DWC OTG Controller
[    3.032848] usb usb1: Manufacturer: Linux 5.8.0-rc3-00156-g35e884f-dirty dwc2_hsotg
[    3.041476] usb usb1: SerialNumber: ff300000.usb
[    3.047891] hub 1-0:1.0: USB hub found
[    3.052224] hub 1-0:1.0: 1 port detected
[    3.058227] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.065743] ehci-platform: EHCI generic platform driver
[    3.072184] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.079197] ohci-platform: OHCI generic platform driver
[    3.085563] usbcore: registered new interface driver cdc_acm
[    3.091952] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.101032] usbcore: registered new interface driver cdc_wdm
[    3.107600] usbcore: registered new interface driver usbserial_generic
[    3.115016] usbserial: USB Serial support registered for generic
[    3.122324] i2c /dev entries driver
[    3.130994] rk808 0-0020: chip id: 0x8170
[    3.141328] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    3.148518] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    3.155618] DCDC_REG1: supplied by vcc3v8_sys
[    3.162792] DCDC_REG2: supplied by vcc3v8_sys
[    3.169855] DCDC_REG3: supplied by vcc3v8_sys
[    3.176230] DCDC_REG4: supplied by vcc3v8_sys
[    3.183014] LDO_REG1: supplied by vcc3v8_sys
[    3.188790] LDO_REG2: supplied by vcc3v8_sys
[    3.195747] LDO_REG3: supplied by vcc3v8_sys
[    3.202809] LDO_REG4: supplied by vcc3v8_sys
[    3.209870] LDO_REG5: supplied by vcc3v8_sys
[    3.217100] LDO_REG6: supplied by vcc3v8_sys
[    3.224225] LDO_REG7: supplied by vcc3v8_sys
[    3.229534] random: fast init done
[    3.234249] LDO_REG8: supplied by vcc3v8_sys
[    3.240498] LDO_REG9: supplied by vcc3v8_sys
[    3.245670] vcc_cam: Bringing 3300000uV into 3000000-3000000uV
[    3.254215] BOOST: supplied by regulator-dummy
[    3.260190] OTG_SWITCH: supplied by regulator-dummy
[    3.271536] rk808-rtc rk808-rtc: registered as rtc0
[    3.278018] rk808-rtc rk808-rtc: setting system clock to 2017-08-05T09:00:08 UTC (1501923608)
[    3.289775] IR NEC protocol handler initialized
[    3.295621] usbcore: registered new interface driver uvcvideo
[    3.302125] USB Video Class driver (1.1.1)
[    3.314089] rockchip-thermal ff280000.tsadc: Missing tshut mode property, using default (cru)
[    3.323797] rockchip-thermal ff280000.tsadc: Missing tshut-polarity property, using default (low)
[    3.341033] Synopsys Designware Multimedia Card Interface Driver
[    3.348918] dwmmc_rockchip ff370000.mmc: IDMAC supports 32-bit address mode.
[    3.356896] dwmmc_rockchip ff370000.mmc: Using internal DMA controller.
[    3.364322] dwmmc_rockchip ff370000.mmc: Version ID is 270a
[    3.370645] dwmmc_rockchip ff370000.mmc: DW MMC controller at irq 21,32 bit host data width,256 deep fifo
[    3.381978] dwmmc_rockchip ff370000.mmc: Got CD GPIO
[    3.401908] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.427010] ledtrig-cpu: registered to indicate activity on CPUs
[    3.434141] hid: raw HID events driver (C) Jiri Kosina
[    3.440533] usbcore: registered new interface driver usbhid
[    3.446826] usbhid: USB HID core driver
[    3.454756] usbcore: registered new interface driver snd-usb-audio
[    3.464250] Initializing XFRM netlink socket
[    3.469126] NET: Registered protocol family 17
[    3.474270] Key type dns_resolver registered
[    3.479829] registered taskstats version 1
[    3.484453] Loading compiled-in X.509 certificates
[    3.519417] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    3.532002] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    3.537435] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    3.544988] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.579027] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.586610] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.591074] ALSA device list:
[    3.596306] cfg80211: failed to load regulatory.db
[    3.599620]   No soundcards found.
[    3.614594] Freeing unused kernel memory: 4608K
[    3.634807] Run /init as init process
[    3.951699] dwmmc_rockchip ff370000.mmc: Successfully tuned phase to 233
[    3.959422] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    3.968385] mmcblk0: mmc0:aaaa SA16G 14.8 GiB 
[    3.979713]  mmcblk0: p1 p2
[    3.985697] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    4.386588] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    4.792103] systemd[1]: System time before build time, advancing clock.
[    5.161408] NET: Registered protocol family 10
[    5.167882] Segment Routing with IPv6
[    5.223936] systemd[1]: systemd 245.4-4ubuntu3.1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +L)
[    5.250100] systemd[1]: Detected architecture arm64.
[    5.282220] systemd[1]: Set hostname to <goadvance>.
[    5.389902] dw-apb-uart ff160000.serial: forbid DMA for kernel console
[    5.759210] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket โ†’ /run/d .
[    5.918759] systemd[1]: /etc/systemd/system/firstboot.service:1: Assignment outside of section. Ignoring.
[    5.940351] systemd[1]: Configuration file /etc/systemd/system/audiopath.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    5.958323] systemd[1]: /etc/systemd/system/audiopath.service:1: Assignment outside of section. Ignoring.
[    5.969290] systemd[1]: /etc/systemd/system/audiopath.service:8: Failed to parse service restart specifier, ignoring: yes
[    6.077630] random: systemd: uninitialized urandom read (16 bytes read)
[    6.085459] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    6.099689] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    6.111514] systemd[1]: Created slice system-modprobe.slice.
[    6.118888] random: systemd: uninitialized urandom read (16 bytes read)
[    6.127582] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.135457] random: systemd: uninitialized urandom read (16 bytes read)
[    6.143865] systemd[1]: Created slice User and Session Slice.
[    6.151354] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.160647] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    6.174043] systemd[1]: Reached target Remote File Systems.
[    6.180857] systemd[1]: Reached target Slices.
[    6.186408] systemd[1]: Reached target Swap.
[    6.192529] systemd[1]: Listening on Syslog Socket.
[    6.204511] systemd[1]: Listening on fsck to fsckd communication Socket.
[    6.213134] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    6.234465] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    6.244645] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.252738] systemd[1]: Listening on Journal Socket.
[    6.259938] systemd[1]: Listening on udev Control Socket.
[    6.267256] systemd[1]: Listening on udev Kernel Socket.
[    6.274420] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    6.284233] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
[    6.299043] systemd[1]: Mounting Kernel Debug File System...
[    6.311736] systemd[1]: Mounting Kernel Trace File System...
[    6.326315] systemd[1]: Starting Journal Service...
[    6.338969] systemd[1]: Starting Set the console keyboard layout...
[    6.353953] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    6.364551] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    6.378168] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    6.388913] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    6.408275] systemd[1]: Starting Load Kernel Modules...
[    6.421389] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.451739] systemd[1]: Starting udev Coldplug all Devices...
[    6.483163] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.484557] systemd[1]: Mounted Kernel Debug File System.
[    6.500692] systemd[1]: Mounted Kernel Trace File System.
[    6.509924] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    6.532963] systemd[1]: Finished Load Kernel Modules.
[    6.541970] systemd[1]: Finished Remount Root and Kernel File Systems.
[    6.562182] systemd[1]: Mounting FUSE Control File System...
[    6.575870] systemd[1]: Mounting Kernel Configuration File System...
[    6.589872] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    6.600125] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    6.616442] systemd[1]: Starting Load/Save Random Seed...
[    6.628908] systemd[1]: Starting Apply Kernel Variables...
[    6.641748] systemd[1]: Starting Create System Users...
[    6.663238] systemd[1]: Mounted FUSE Control File System.
[    6.680728] systemd[1]: Mounted Kernel Configuration File System.
[    7.758334] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517

Ubuntu 20.04 LTS goadvance ttyS2

goadvance login: 

These users thanked the author joy for the post (total 2):
notime2d8 (Fri Jul 10, 2020 3:24 pm) • odroid (Fri Jul 10, 2020 6:08 pm)

notime2d8
Posts: 198
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 57 times
Been thanked: 92 times
Contact:

Re: Mali driver was tested on OGA

Post by notime2d8 »

joy wrote: โ†‘
Fri Jul 10, 2020 3:17 pm
And I've confirmed it boots with kernel 5.8.0-rc3. ;) even though display, network should be fixed.

Code: Select all

## Executing script at 00800800
reading Image
20795400 bytes read in 915 ms (21.7 MiB/s)
reading uInitrd
14030350 bytes read in 617 ms (21.7 MiB/s)
reading rk3326-odroid-go2.dtb
41581 bytes read in 7 ms (5.7 MiB/s)
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    14030286 Bytes = 13.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 31052000, end 31db35ce ... OK
   Loading Device Tree to 0000000031044000, end 000000003105126c ... OK
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0x40000000 (size: 0x35e00000)
Total: 4301.308 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd042]
[    0.000000] Linux version 5.8.0-rc3-00156-g35e884f-dirty (joy@joy-desktop) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.201700
[    0.000000] Machine model: ODROID-GO Advance
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
[    0.000000]   node   0: [mem 0x000000000a200000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff]
[    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: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 30 pages/cpu s85160 r8192 d29528 u122880
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 249864
[    0.000000] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw fsck.repair=yes net.ifnames=0 fbcon=rotate:3 splash plymouth.ignore-serial-consoles0
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 960384K/1015808K available (10366K kernel code, 1812K rwdata, 3496K rodata, 4608K init, 728K bss, 55424K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 39973 entries in 157 pages
[    0.000000] ftrace: allocated 157 pages with 5 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Rude variant of 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=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x378/0x500 with crng_init=0
[    0.000000] clk: couldn't set cpll clk rate to 17000000 (-22), current rate: 612000000
[    0.000000] clk: couldn't set cpll clk rate to 17000000 (-22), current rate: 612000000
[    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.000011] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001358] Console: colour dummy device 80x25
[    0.002404] printk: console [tty0] enabled
[    0.002479] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002537] pid_max: default: 32768 minimum: 301
[    0.002902] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002959] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.006275] rcu: Hierarchical SRCU implementation.
[    0.010752] smp: Bringing up secondary CPUs ...
[    0.012103] Detected VIPT I-cache on CPU1
[    0.012230] CPU1: Booted secondary processor 0x0000000001 [0x410fd042]
[    0.013667] Detected VIPT I-cache on CPU2
[    0.013781] CPU2: Booted secondary processor 0x0000000002 [0x410fd042]
[    0.015099] Detected VIPT I-cache on CPU3
[    0.015208] CPU3: Booted secondary processor 0x0000000003 [0x410fd042]
[    0.015412] smp: Brought up 1 node, 4 CPUs
[    0.015592] SMP: Total of 4 processors activated.
[    0.015626] CPU features: detected: 32-bit EL0 Support
[    0.015661] CPU features: detected: CRC32 instructions
[    0.015692] CPU features: detected: 32-bit EL1 Support
[    0.015954] CPU: All CPU(s) started at EL2
[    0.016027] alternatives: patching kernel code
[    0.017971] devtmpfs: initialized
[    0.038219] Registered cp15_barrier emulation handler
[    0.038291] Registered setend emulation handler
[    0.039169] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.039250] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.039720] pinctrl core: initialized pinctrl subsystem
[    0.040967] thermal_sys: Registered thermal governor 'fair_share'
[    0.040975] thermal_sys: Registered thermal governor 'step_wise'
[    0.042661] NET: Registered protocol family 16
[    0.044055] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.044234] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.044336] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.047530] cpuidle: using governor ladder
[    0.047852] cpuidle: using governor menu
[    0.048667] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.048889] ASID allocator initialised with 65536 entries
[    0.101568] cryptd: max_cpu_qlen set to 1000
[    0.109053] vcc_host: supplied by vcc3v8_sys
[    0.110557] iommu: Default domain type: Translated 
[    0.112896] SCSI subsystem initialized
[    0.113352] usbcore: registered new interface driver usbfs
[    0.113475] usbcore: registered new interface driver hub
[    0.113726] usbcore: registered new device driver usb
[    0.113853] mc: Linux media interface: v0.10
[    0.113952] videodev: Linux video capture interface: v2.00
[    0.114098] pps_core: LinuxPPS API ver. 1 registered
[    0.114130] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114207] PTP clock support registered
[    0.115290] Advanced Linux Sound Architecture Driver Initialized.
[    0.116647] Bluetooth: Core ver 2.22
[    0.116759] NET: Registered protocol family 31
[    0.116791] Bluetooth: HCI device and connection manager initialized
[    0.116847] Bluetooth: HCI socket layer initialized
[    0.116887] Bluetooth: L2CAP socket layer initialized
[    0.116948] Bluetooth: SCO socket layer initialized
[    0.118696] clocksource: Switched to clocksource arch_sys_counter
[    1.399636] FS-Cache: Loaded
[    1.417691] NET: Registered protocol family 2
[    1.419071] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[    1.419195] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.419399] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    1.419932] TCP: Hash tables configured (established 8192 bind 8192)
[    1.420250] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[    1.420395] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[    1.421133] NET: Registered protocol family 1
[    1.422205] RPC: Registered named UNIX socket transport module.
[    1.422252] RPC: Registered udp transport module.
[    1.422281] RPC: Registered tcp transport module.
[    1.422310] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.423811] Trying to unpack rootfs image as initramfs...
[    1.788837] Freeing initrd memory: 13700K
[    1.791009] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counters available
[    1.792024] kvm [1]: IPA Size Limit: 40bits
[    1.793440] kvm [1]: vgic interrupt IRQ1
[    1.793716] kvm [1]: Hyp mode initialized successfully
[    1.804182] Initialise system trusted keyrings
[    1.804600] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    1.819835] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.821775] NFS: Registering the id_resolver key type
[    1.821865] Key type id_resolver registered
[    1.821895] Key type id_legacy registered
[    1.823182] FS-Cache: Netfs 'cifs' registered for caching
[    1.823922] Key type cifs.idmap registered
[    1.824359] fuse: init (API version 7.31)
[    1.825070] SGI XFS with security attributes, no debug enabled
[    1.920650] NET: Registered protocol family 38
[    1.920720] Key type asymmetric registered
[    1.920752] Asymmetric key parser 'x509' registered
[    1.920883] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.920928] io scheduler mq-deadline registered
[    1.920957] io scheduler kyber registered
[    1.932657] dma-pl330 ff240000.dmac: Loaded driver for PL330 DMAC-241330
[    1.932730] dma-pl330 ff240000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    1.934049] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.937844] ff158000.serial: ttyS1 at MMIO 0xff158000 (irq = 12, base_baud = 6250000) is a 16550A
[    1.939815] ff160000.serial: ttyS2 at MMIO 0xff160000 (irq = 13, base_baud = 1500000) is a 16550A
[    2.846534] printk: console [ttyS2] enabled
[    2.854303] rockchip-vop ff460000.vop: Adding to iommu group 0
[    2.862504] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    2.881541] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.890027] brd: module loaded
[    2.912772] loop: module loaded
[    2.917487] zram: Added device: zram0
[    2.922421] lkdtm: No crash points registered, enable through debugfs
[    2.931730] libphy: Fixed MDIO Bus: probed
[    2.937211] rockchip-usb2phy ff2c0000.syscon:usb2-phy@100: Requested PHY is disabled
[    2.946040] dwc2 ff300000.usb: supply vusb_d not found, using dummy regulator
[    2.954277] dwc2 ff300000.usb: supply vusb_a not found, using dummy regulator
[    2.962809] dwc2 ff300000.usb: Configuration mismatch. dr_mode forced to host
[    2.981537] rockchip-usb2phy ff2c0000.syscon:usb2-phy@100: Requested PHY is disabled
[    2.990303] dwc2 ff300000.usb: DWC OTG Controller
[    2.995664] dwc2 ff300000.usb: new USB bus registered, assigned bus number 1
[    3.003679] dwc2 ff300000.usb: irq 20, io mem 0xff300000
[    3.010089] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[    3.019405] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.027544] usb usb1: Product: DWC OTG Controller
[    3.032848] usb usb1: Manufacturer: Linux 5.8.0-rc3-00156-g35e884f-dirty dwc2_hsotg
[    3.041476] usb usb1: SerialNumber: ff300000.usb
[    3.047891] hub 1-0:1.0: USB hub found
[    3.052224] hub 1-0:1.0: 1 port detected
[    3.058227] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.065743] ehci-platform: EHCI generic platform driver
[    3.072184] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.079197] ohci-platform: OHCI generic platform driver
[    3.085563] usbcore: registered new interface driver cdc_acm
[    3.091952] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.101032] usbcore: registered new interface driver cdc_wdm
[    3.107600] usbcore: registered new interface driver usbserial_generic
[    3.115016] usbserial: USB Serial support registered for generic
[    3.122324] i2c /dev entries driver
[    3.130994] rk808 0-0020: chip id: 0x8170
[    3.141328] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    3.148518] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    3.155618] DCDC_REG1: supplied by vcc3v8_sys
[    3.162792] DCDC_REG2: supplied by vcc3v8_sys
[    3.169855] DCDC_REG3: supplied by vcc3v8_sys
[    3.176230] DCDC_REG4: supplied by vcc3v8_sys
[    3.183014] LDO_REG1: supplied by vcc3v8_sys
[    3.188790] LDO_REG2: supplied by vcc3v8_sys
[    3.195747] LDO_REG3: supplied by vcc3v8_sys
[    3.202809] LDO_REG4: supplied by vcc3v8_sys
[    3.209870] LDO_REG5: supplied by vcc3v8_sys
[    3.217100] LDO_REG6: supplied by vcc3v8_sys
[    3.224225] LDO_REG7: supplied by vcc3v8_sys
[    3.229534] random: fast init done
[    3.234249] LDO_REG8: supplied by vcc3v8_sys
[    3.240498] LDO_REG9: supplied by vcc3v8_sys
[    3.245670] vcc_cam: Bringing 3300000uV into 3000000-3000000uV
[    3.254215] BOOST: supplied by regulator-dummy
[    3.260190] OTG_SWITCH: supplied by regulator-dummy
[    3.271536] rk808-rtc rk808-rtc: registered as rtc0
[    3.278018] rk808-rtc rk808-rtc: setting system clock to 2017-08-05T09:00:08 UTC (1501923608)
[    3.289775] IR NEC protocol handler initialized
[    3.295621] usbcore: registered new interface driver uvcvideo
[    3.302125] USB Video Class driver (1.1.1)
[    3.314089] rockchip-thermal ff280000.tsadc: Missing tshut mode property, using default (cru)
[    3.323797] rockchip-thermal ff280000.tsadc: Missing tshut-polarity property, using default (low)
[    3.341033] Synopsys Designware Multimedia Card Interface Driver
[    3.348918] dwmmc_rockchip ff370000.mmc: IDMAC supports 32-bit address mode.
[    3.356896] dwmmc_rockchip ff370000.mmc: Using internal DMA controller.
[    3.364322] dwmmc_rockchip ff370000.mmc: Version ID is 270a
[    3.370645] dwmmc_rockchip ff370000.mmc: DW MMC controller at irq 21,32 bit host data width,256 deep fifo
[    3.381978] dwmmc_rockchip ff370000.mmc: Got CD GPIO
[    3.401908] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.427010] ledtrig-cpu: registered to indicate activity on CPUs
[    3.434141] hid: raw HID events driver (C) Jiri Kosina
[    3.440533] usbcore: registered new interface driver usbhid
[    3.446826] usbhid: USB HID core driver
[    3.454756] usbcore: registered new interface driver snd-usb-audio
[    3.464250] Initializing XFRM netlink socket
[    3.469126] NET: Registered protocol family 17
[    3.474270] Key type dns_resolver registered
[    3.479829] registered taskstats version 1
[    3.484453] Loading compiled-in X.509 certificates
[    3.519417] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    3.532002] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    3.537435] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    3.544988] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.579027] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.586610] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.591074] ALSA device list:
[    3.596306] cfg80211: failed to load regulatory.db
[    3.599620]   No soundcards found.
[    3.614594] Freeing unused kernel memory: 4608K
[    3.634807] Run /init as init process
[    3.951699] dwmmc_rockchip ff370000.mmc: Successfully tuned phase to 233
[    3.959422] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    3.968385] mmcblk0: mmc0:aaaa SA16G 14.8 GiB 
[    3.979713]  mmcblk0: p1 p2
[    3.985697] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517
[    4.386588] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    4.792103] systemd[1]: System time before build time, advancing clock.
[    5.161408] NET: Registered protocol family 10
[    5.167882] Segment Routing with IPv6
[    5.223936] systemd[1]: systemd 245.4-4ubuntu3.1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +L)
[    5.250100] systemd[1]: Detected architecture arm64.
[    5.282220] systemd[1]: Set hostname to <goadvance>.
[    5.389902] dw-apb-uart ff160000.serial: forbid DMA for kernel console
[    5.759210] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket โ†’ /run/d .
[    5.918759] systemd[1]: /etc/systemd/system/firstboot.service:1: Assignment outside of section. Ignoring.
[    5.940351] systemd[1]: Configuration file /etc/systemd/system/audiopath.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    5.958323] systemd[1]: /etc/systemd/system/audiopath.service:1: Assignment outside of section. Ignoring.
[    5.969290] systemd[1]: /etc/systemd/system/audiopath.service:8: Failed to parse service restart specifier, ignoring: yes
[    6.077630] random: systemd: uninitialized urandom read (16 bytes read)
[    6.085459] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    6.099689] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    6.111514] systemd[1]: Created slice system-modprobe.slice.
[    6.118888] random: systemd: uninitialized urandom read (16 bytes read)
[    6.127582] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.135457] random: systemd: uninitialized urandom read (16 bytes read)
[    6.143865] systemd[1]: Created slice User and Session Slice.
[    6.151354] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.160647] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    6.174043] systemd[1]: Reached target Remote File Systems.
[    6.180857] systemd[1]: Reached target Slices.
[    6.186408] systemd[1]: Reached target Swap.
[    6.192529] systemd[1]: Listening on Syslog Socket.
[    6.204511] systemd[1]: Listening on fsck to fsckd communication Socket.
[    6.213134] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    6.234465] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    6.244645] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.252738] systemd[1]: Listening on Journal Socket.
[    6.259938] systemd[1]: Listening on udev Control Socket.
[    6.267256] systemd[1]: Listening on udev Kernel Socket.
[    6.274420] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    6.284233] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
[    6.299043] systemd[1]: Mounting Kernel Debug File System...
[    6.311736] systemd[1]: Mounting Kernel Trace File System...
[    6.326315] systemd[1]: Starting Journal Service...
[    6.338969] systemd[1]: Starting Set the console keyboard layout...
[    6.353953] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    6.364551] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    6.378168] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    6.388913] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    6.408275] systemd[1]: Starting Load Kernel Modules...
[    6.421389] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.451739] systemd[1]: Starting udev Coldplug all Devices...
[    6.483163] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.484557] systemd[1]: Mounted Kernel Debug File System.
[    6.500692] systemd[1]: Mounted Kernel Trace File System.
[    6.509924] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    6.532963] systemd[1]: Finished Load Kernel Modules.
[    6.541970] systemd[1]: Finished Remount Root and Kernel File Systems.
[    6.562182] systemd[1]: Mounting FUSE Control File System...
[    6.575870] systemd[1]: Mounting Kernel Configuration File System...
[    6.589872] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    6.600125] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    6.616442] systemd[1]: Starting Load/Save Random Seed...
[    6.628908] systemd[1]: Starting Apply Kernel Variables...
[    6.641748] systemd[1]: Starting Create System Users...
[    6.663238] systemd[1]: Mounted FUSE Control File System.
[    6.680728] systemd[1]: Mounted Kernel Configuration File System.
[    7.758334] dw-mipi-dsi-rockchip ff450000.dsi: [drm:dw_mipi_dsi_rockchip_probe] *ERROR* failed to get mipi dphy: -517

Ubuntu 20.04 LTS goadvance ttyS2

goadvance login: 


So I had this same error " *ERROR* failed to get mipi dphy: -517" I was missing the kernel config for Rockchip MIPI phy

The actual config is "config PHY_ROCKCHIP_INNO_DSIDPHY" the display should work after that is enabled.
These users thanked the author notime2d8 for the post:
odroid (Fri Jul 10, 2020 6:08 pm)
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

joy
Posts: 1464
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 160 times
Been thanked: 182 times
Contact:

Re: Mali driver was tested on OGA

Post by joy »

notime2d8 wrote: โ†‘
Fri Jul 10, 2020 3:40 pm
So I had this same error " *ERROR* failed to get mipi dphy: -517" I was missing the kernel config for Rockchip MIPI phy

The actual config is "config PHY_ROCKCHIP_INNO_DSIDPHY" the display should work after that is enabled.
You're right! I missed your previous comment about it.
Now I can get Ubuntu booting logs and Ubuntu 20.04 text splash on the LCD display. ;)

valadaa48
Posts: 205
Joined: Mon Feb 17, 2020 1:35 pm
languages_spoken: english
ODROIDs: odroid go advance
Has thanked: 10 times
Been thanked: 51 times
Contact:

Re: Mali driver was tested on OGA

Post by valadaa48 »

Are you using the 4.4.189 kernel config for this? If I can get it to boot I'll fork the repo so we can get some PR/patches.

notime2d8
Posts: 198
Joined: Thu Dec 11, 2014 4:40 am
languages_spoken: english
Has thanked: 57 times
Been thanked: 92 times
Contact:

Re: Mali driver was tested on OGA

Post by notime2d8 »

joy wrote: โ†‘
Fri Jul 10, 2020 5:47 pm
notime2d8 wrote: โ†‘
Fri Jul 10, 2020 3:40 pm
So I had this same error " *ERROR* failed to get mipi dphy: -517" I was missing the kernel config for Rockchip MIPI phy

The actual config is "config PHY_ROCKCHIP_INNO_DSIDPHY" the display should work after that is enabled.
You're right! I missed your previous comment about it.
Now I can get Ubuntu booting logs and Ubuntu 20.04 text splash on the LCD display. ;)
Can you share your config? Mines broke ubuntu?


Edit: I figured out how i broke USB. You need to have "CONFIG_EXTCON" enabled then you have the option for "CONFIG_PHY_ROCKCHIP_INNO_USB2" to enable
If I say something that sounds smart or like i know what i'm talking about....i'm faking it.

joy
Posts: 1464
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 160 times
Been thanked: 182 times
Contact:

Re: Mali driver was tested on OGA

Post by joy »

Hi!
Here is the information of defconfig and base/workspace github for kernel 5.8.0 test.

Please refer to this github.
- workspace github
https://github.com/JeonghwaCho/linux/tr ... -5.8.0-rc3

You can confirm Display via OGA LCD and USB works normally.
I'm using a USB-type Ethernet adapter to connect network and a USB-type keyboard without any issue.

- defconfig
https://github.com/JeonghwaCho/linux/co ... bd4cf216da
https://github.com/JeonghwaCho/linux/co ... dfef5df0aa

- base github
I did fork the following github.
https://github.com/torvalds/linux

And start point of HEAD is "35e884f".
https://github.com/torvalds/linux/commi ... d058d04263
( Commits on Jul 4, 2020, I started this work on Jul 5. )

(updated)
As I tested, there are some issues of system level like reboot/poweroff.
But booting is working well.
First of all, I'm planning to check system level issues and check/add OGA-BE basic features like keys, sound, internal WIFI function and so on.
Last edited by joy on Mon Jul 13, 2020 2:43 pm, edited 1 time in total.

crashoverride
Posts: 5183
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 389 times
Contact:

Re: Mali driver was tested on OGA

Post by crashoverride »

joy wrote: โ†‘
Mon Jul 13, 2020 8:30 am
As I tested, emulationstation and other apps don't work normally currently,
The Reference Image can not support the mainline kernel. It depends on hardware drivers that are not available such as RGA2. Future release will utilize additional hardware that is not accessible in mainline. Therefore, I currently have no plans to transition to a mainline kernel.

joy
Posts: 1464
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 160 times
Been thanked: 182 times
Contact:

Re: Mali driver was tested on OGA

Post by joy »

crashoverride wrote: โ†‘
Mon Jul 13, 2020 9:12 am
joy wrote: โ†‘
Mon Jul 13, 2020 8:30 am
As I tested, emulationstation and other apps don't work normally currently,
The Reference Image can not support the mainline kernel. It depends on hardware drivers that are not available such as RGA2. Future release will utilize additional hardware that is not accessible in mainline. Therefore, I currently have no plans to transition to a mainline kernel.
Thanks for your confirmation.

I've removed the sentence that I mentioned emulationstation because it can make a confusion.
I didn't mean we should support HK reference image with the mainline kernel.

On current step, I'm checking functional blocks of RK3326 and OGA using general Linux utilities on a ubuntu minimal image of 20.04,
and this, https://www.collabora.com/news-and-blog ... ics-blobs/.
panfrost - https://gitlab.freedesktop.org/tomeu/li ... go-advance

macromorgan
Posts: 59
Joined: Mon Dec 30, 2019 10:35 am
languages_spoken: english
ODROIDs: Odroid-GO
Has thanked: 4 times
Been thanked: 24 times
Contact:

Re: Mali driver was tested on OGA

Post by macromorgan »

Has anyone successfully got Panfrost to accelerate the X server? I assumed I needed to route the display through the VOP, but so far that hasn't yielded anything.

PaulF8080
Posts: 71
Joined: Fri Feb 14, 2020 9:40 am
languages_spoken: english
ODROIDs: go, go advance, xu4
Has thanked: 0
Been thanked: 9 times
Contact:

Re: Mali driver was tested on OGA

Post by PaulF8080 »


Post Reply

Return to โ€œPlatform developmentโ€

Who is online

Users browsing this forum: No registered users and 0 guests