I then copied the resulting image to an sdcard, and the boot went fine (Linux vim3 5.9.0-rc2 #0.9.5 SMP Sun Oct 11 11:11:08 CEST 2020 aarch64 GNU/Linux). However, my USB keyboard and mouse are not recognized, whether I use the USB2 or USB3 port. dmesg says:
[ 33.757643] USB_PWR: disabling
My problem looked similar to VIM3 Firmware upgrading - no mouse and keyboard, although on a much more recent kernel, so I did clobber the eMMC with dd if=/dev/zero count=666 > /dev/mmcblk2 and power-cycled, to no avail.
As a side note, I notice I do not have a /sys/class/mcu, so I can’t even try to change the usb3/pcie setting:
$ ls /sys/class/mcu
ls: cannot access '/sys/class/mcu/': No such file or directory
thanks a lot for taking the time to help me out, I really appreciate it.
I was under the impression that my dd command would have cleaned the eMMC, is that not the case? If not, how do I go about manually cleaning it? I’d like to keep using the sd-card as my / partition.
It does not boot without the SD-card, the screen stays black. I’d assume because of my earlier dd if=/dev/zero count=666 > /dev/mmcblk2? Is there no way to erase the eMMC from my linux install?
Trying to boot krescue from an sdcard, I end up with the flashing white led and then a solid red one after a couple of seconds; nothing is ever displayed on my monitor. So the only media I seem to be able to boot is my existing Debian sd-card. What do you recommend I try at this point?
So for some reason I don’t get anything through HDMI, but I have the krescue prompt on the serial interface. What tool can I use from there to erase the eMMC?
Still no /sys/class/mcu directory from my linux install, however I was able to use kbi portmode w 1 from uboot via serial, and my SSD does show up as /dev/nvme0n1.
Is the documentation about /sys/class/mcu incorrect on your help page? I’m mostly asking to understand the real nature of that problem, in case that may help others down that same road.
thanks for the hints. As I was able to access krescue via the serial console, I’m all good on that front.
My only remaning question was therefore about the lack of /sys/class/mcu on my linux system: was there really no way for me to switch between pcie and usb3 modes from that, instead of having to use kbi in uboot in the serial console as I described above?
My only remaning question was therefore about the lack of /sys/class/mcu on my linux system: was there really no way for me to switch between pcie and usb3 modes from that, instead of having to use kbi in uboot in the serial console as I described above?
try next script from krescue which used for works with MCU just via userspace - without kernel support