Nanopi M4v2 support request

Suggestions for features and software you would like to see in DietPi, goes here.
purist
Posts: 5
Joined: Mon Feb 12, 2018 4:26 am

Nanopi M4v2 support request

Post by purist »

The Nanopi M4v2 is out with DDR4 support, the NanoPC T4 image does not work on this board due to the DDR4. A supported DietPi image for this board would be greatly appreciated.

Thank you! :D
User avatar
MichaIng
Site Admin
Posts: 2323
Joined: Sat Nov 18, 2017 6:21 pm

Re: Nanopi M4v2 support request

Post by MichaIng »

@purist
I linked your request to our general NanoPi M4 image request: https://github.com/MichaIng/DietPi/issues/2399
Hmm AFAIK then two images are required due to different RAM :?. Does the T4 image work well on M4 otherwise? It should in theory but not all users reported success.
purist
Posts: 5
Joined: Mon Feb 12, 2018 4:26 am

Re: Nanopi M4v2 support request

Post by purist »

The T4 imager works for the most part, but not the M4v2.
rothchild
Posts: 74
Joined: Sat Jun 27, 2015 10:39 am

Re: Nanopi M4v2 support request

Post by rothchild »

Hey there, are there any tips for making this board (m4v2) work with Kodi (it seems to work in Armbian)?
User avatar
MichaIng
Site Admin
Posts: 2323
Joined: Sat Nov 18, 2017 6:21 pm

Re: Nanopi M4v2 support request

Post by MichaIng »

Actually it should work, does it not?
rothchild
Posts: 74
Joined: Sat Jun 27, 2015 10:39 am

Re: Nanopi M4v2 support request

Post by rothchild »

Alas no (notwithstanding that I might be doing something dumb!)

This is a freshly flashed and installed image

Code: Select all

root@DietPi:~# startkodi

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
Current Operating System: Linux DietPi 5.4.49-rockchip64 #20.05.7 SMP PREEMPT Sun Jun 28 18:17:52 UTC 2020 aarch64
Kernel command line: root=UUID=de090c8b-a8e7-471d-a04e-0d7c5d74aa66 rootwait rootfstype=ext4  consoleblank=0 loglevel=4 ubootpart=f0548abe-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u  
Build Date: 05 March 2019  08:11:12PM
xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
Current version of pixman: 0.36.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 13 20:23:36 2020
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x860 r2p0 status range [0..15], but none of the GPUs matched:
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Code: Select all

dietpi@DietPi:~$ startkodi


X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
Current Operating System: Linux DietPi 5.4.49-rockchip64 #20.05.7 SMP PREEMPT Sun Jun 28 18:17:52 UTC 2020 aarch64
Kernel command line: root=UUID=de090c8b-a8e7-471d-a04e-0d7c5d74aa66 rootwait rootfstype=ext4  consoleblank=0 loglevel=4 ubootpart=f0548abe-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u  
Build Date: 05 March 2019  08:11:12PM
xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
Current version of pixman: 0.36.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/dietpi/.local/share/xorg/Xorg.0.log", Time: Thu Aug 13 20:26:19 2020
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/dietpi/.local/share/xorg/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Code: Select all

dietpi@DietPi:~$ sudo startkodi


X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
Current Operating System: Linux DietPi 5.4.49-rockchip64 #20.05.7 SMP PREEMPT Sun Jun 28 18:17:52 UTC 2020 aarch64
Kernel command line: root=UUID=de090c8b-a8e7-471d-a04e-0d7c5d74aa66 rootwait rootfstype=ext4  consoleblank=0 loglevel=4 ubootpart=f0548abe-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u  
Build Date: 05 March 2019  08:11:12PM
xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
Current version of pixman: 0.36.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 13 20:27:15 2020
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x860 r2p0 status range [0..15], but none of the GPUs matched:
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
User avatar
Joulinar
Posts: 2271
Joined: Sat Nov 16, 2019 12:49 am

Re: Nanopi M4v2 support request

Post by Joulinar »

yes starting as non-root user is actually not possible. I guess you would need to add user group tty, video and audio to user dietpi. Anyway the original issues still persist

Code: Select all

ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x860 r2p0 status range [0..15], but none of the GPUs matched
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2323
Joined: Sat Nov 18, 2017 6:21 pm

Re: Nanopi M4v2 support request

Post by MichaIng »

Can you please paste the output of this:

Code: Select all

dmesg | grep -i mali
Ah is of original thread, you used the new M4V2 image from the download page, not the T4 one, right?
rothchild
Posts: 74
Joined: Sat Jun 27, 2015 10:39 am

Re: Nanopi M4v2 support request

Post by rothchild »

Code: Select all

root@DietPi:~# dmesg | grep -i mali
[   28.186654] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
Its the pukka M4v2 image: DietPi_NanoPiM4v2-ARMv8-Buster.img
rothchild
Posts: 74
Joined: Sat Jun 27, 2015 10:39 am

Re: Nanopi M4v2 support request

Post by rothchild »

Any thoughts on how I can get it working?
Post Reply