Hi Frank,
happy new year. Did you got time to check it out?
@hyphop
How to add more resolutions to Ubuntu focal with 4.9 kernel installed on emmc?
For me it only allows 1920x1080 and I want 1366x768 option.
I see that now, the ts050 doesnāt turn on before the plymouth boot splash,
its turned off, and when it turns on Iām presented to the tty console,
however when turning off the device, the bootsplash can be seen
is there a fix for this ?
Did you find a solution to this? I am having exactly the same issue
Did you have time to check it out? Same problem on my side. I switched to PCIe via Krescue and it canāt detect the TPU. Worked fine with the 4.9 kernel
@brunovollmer @ms_de We had check it last week. I work fine with mainline. But 4.9 kernel canāt be use
Any idea why it does not show up when I search for it? For 4.9 it shows up but then other problems stop it from working.
Could you post your steps you have taken?
Thanks
@brunovollmer Did you switch to PCIE?
https://docs.khadas.com/linux/vim3/PcieUsbPort.html
And did you follow this doc ?
So I used KRescue to switch to PCIe (not really sure how to test it without the file) and then I followed the tutorial.
My questions are:
- What would be the recommended way on the mainline kernel (5.16) to check if PCIe is really active?
- Is there any log output that could help find the problem?
Thanks a lot for the quick answer
You can read the port mode with Krescue.
root@Krescue:/# kbi portmode
pcie
Your settings will be saved by the MCU, changing firmware will keep this setting
Okay I checked with KRescue. port mode is PCIe but still no detection. Any other thing I can check?
@brunovollmer I think you can follow my steps.
- Check port mode is PCIe
- Follow the doc to setup
- If you still canāt be detect, run this command
lspci -vvv
00:00.0 PCI bridge: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: 0000f000-00000fff [disabled]
Memory behind bridge: fff00000-000fffff [disabled]
Prefetchable memory behind bridge: fff00000-000fffff [disabled]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at fc700000 [virtual] [disabled] [size=64K]
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
@brunovollmer Can you try with a SSD ? Iāve told you everything I can think of that could go wrong.
This is my lspci command
khadas@Khadas:~$ lspci -vvv
00:00.0 PCI bridge: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 71
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: 0000f000-00000fff [disabled]
Memory behind bridge: fff00000-000fffff [disabled]
Prefetchable memory behind bridge: fca00000-fcbfffff [size=2M]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at fcc00000 [virtual] [disabled] [size=64K]
BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport
lspci: Unable to load libkmod resources: error -12
01:00.0 System peripheral: Global Unichip Corp. Coral Edge TPU (prog-if ff)
Subsystem: Global Unichip Corp. Coral Edge TPU
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 104
Region 0: Memory at fcb00000 (64-bit, prefetchable) [size=16K]
Region 2: Memory at fca00000 (64-bit, prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: apex
And you are using the 5.16 kernel in the newest version?
Is there a way to upgrade from ubuntu 18.04 to this release? My 18.04 system has a lot customization and it would be a pain to reinstall everything.
I think it should be possible,
try backing up your current install with krescue and try this:
in case it fails to upgrade properly revert back to 18.04 and see an alternative method of upgrading, it might be possible by copying over a copy of all the dotfiles
cheers