Try this dtb and also change it to pcie using uboot kbi steps.
There seems to be some problem when using NVME,
When NVME is being used the screen would keep flickering and glitching all the time. without the nvme it will not do this.
Thank you for great work!
I can check it tomorrow.
PCIE mode is switched on with Krescue in kbi settings.
Should I only add meson-g12b-a311d-khadas-vim3-pcie.dtb to dtbs and change it in
extlinux.conf?
Or do I also need to apply Add-pcie-vim3-makefile.patch?
Please also find here how this PCIE-USB3 switch is made in Khadas Ubuntu 4.9 and 5.7
I hope it will be useful. https://yadi.sk/d/5Cr8sSnemnxxAQ
Yes just paste meson-g12b-a311d-khadas-vim3-pcie.dtb in /boot/dtbs/amlogic/
replace meson-g12b-a311d-khadas-vim3.dtbto meson-g12b-a311d-khadas-vim3-pcie.dtb in extlinux.conf
Update: I have switched to Mainline Kernel and I cannot get the Fan to work @numbqq or @hyphop any advice on fan for mainline kernel ?
@numbqq any advice on this? I am using Kingston A2000 256gb nvme and I tried to use khadas official psu to Power up the vim3 I thought it was power draw issue but it is now I have tested the power draw and it’s not going above 0.7amp which makes me think that nvme is pulling alot of power and causing the screen to flicker constantly.
Are you using Khadas 10w or the 24w USB-C power supply? Your tester shows only 5 volts. You might be looking at a power starvation issue if only 5 volts is supplied to the VIM3.
As the Khadas 24W(USB-C) is a PD type power supply, I would assume it will let the VIM3 take what it needs. If I recall accurately (?), the VIM3 defaults to 12v for PD negotiation. I am curious why your tester only shows 5v.
I have an NVMe drive on the VIM3 using the original M2X expansion board. It is powered by the Khadas 24W PS, I have not checked it’s voltage output. I have not noticed flicker when writing to the drive. I will pay closer attention next time I write to it.
There seems to be some problem when using NVME,
When NVME is being used the screen would keep flickering and glitching all the time. without the nvme it will not do this.
I’m not sure that it will help but possibly it makes sense to look at this thread as they discuss nvme settings to decrease SSD power use.
And I checked my board with new meson-g12b-a311d-khadas-vim3-pcie.dtb but unfortunately no differences. My nvme ssd is still not visible in Manjaro.
And it works in Ubuntu with kernel 4.9 and works with errors with 5.7
And only if I put it directly into pcie slot.
It doesn’t work at all if connect it with M2X board (new cheaper version).
Here discussion is to reduce the draw as it is a mobile device, while in my situation it is about "Why it is not drawing more when the psu is capable to push more power maybe the board is not understanding that there is a need for more power?? IDK I am not an expert on this.
I can see it when using pcie dtb and also enabling pcie in kbi.
Did you make it enabled from within Manjaro? Or it doesnt matter and can be done separately, for example with KBI state switch in Krescue like in my case? I switched it to pcie by Krescue and it works in Ubuntu SD firmwares but doesnt work in Manjaro. Maybe the reason is that I load it from sd card while you start it form emmc?