Closed 7Ji closed 10 months ago
I don't know if there is more patches need, since I see so many files commited in other repos. v6.7 , especially the device tree and hdmi&drm.
boot sucessfully, but with neither display output nor network.
ivan@rockchip3588:~> ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ivan@rockchip3588:~>
6.1 is kernel message, which I use now.
Let's get this through with a few factors to dig:
Let's get this through with a few factors to dig:
1. Can any MMC device be recognised on -7ji 6.7? By MMC I mean either eMMC or SD. It seems -panthor 6.1 was using the vendor MMC driver. 2. If you're on 5 Plus, were the ethernet controller PCIE devices recognised? A lspci -vvv output would be helpful. 3. Are there any RCU error if you keep the board powered on for long enough (>30min)? This seems like the case on my 5. 4. Can you properly shutdown/reboot? If you can't, what's your combination of rkloader and kernel? Mainline kernel + uboot seems to have poweroff problem on my 5.
for 4. reboot and poeroff is ok, others I will test now.
lspci for now:
ivan@rockchip3588:~> lspci -vvvv
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 97
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: f000-0fff [disabled] [16-bit]
Memory behind bridge: f0200000-f02fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f0300000 [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
0000:01:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602 (rev 01) (prog-if 02 [NVM Express])
Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602
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 96
Region 0: Memory at f0200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: nvme
0003:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 77
Bus: primary=30, secondary=31, subordinate=31, sec-latency=0
I/O behind bridge: 1000-1fff [size=4K] [16-bit]
Memory behind bridge: f3200000-f32fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f3300000 [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
0003:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 76
Region 0: I/O ports at 1000 [size=256]
Region 2: Memory at f3200000 (64-bit, non-prefetchable) [size=64K]
Region 4: Memory at f3210000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 87
Bus: primary=40, secondary=41, subordinate=41, sec-latency=0
I/O behind bridge: 100000-100fff [size=4K] [16-bit]
Memory behind bridge: f4200000-f42fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f4300000 [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
0004:41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
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, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 86
Region 0: I/O ports at 100000 [size=256]
Region 2: Memory at f4200000 (64-bit, non-prefetchable) [size=64K]
Region 4: Memory at f4210000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
lspci for 6.7
ivan@rockchip3588:~> sudo lspci -vvv
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 74
Region 0: Memory at 900000000 (32-bit, non-prefetchable) [size=1G]
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: f000-0fff [disabled] [16-bit]
Memory behind bridge: f0200000-f02fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f0300000 [virtual] [disabled] [size=64K]
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=16/32 Maskable+ 64bit+
Address: 00000000fe670040 Data: 0000
Masking: fffffeff Pending: 00000000
Capabilities: [70] Express (v2) Root Port (Slot-), MSI 08
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <16us
ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 8GT/s, Width x4
TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
RootCap: CRSVisible-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP+ LTR+
10BitTagComp- 10BitTagReq- OBFF Via message/WAKE#, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd+
AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled, ARIFwd+
AtomicOpsCtl: ReqEn- EgressBlck-
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+ EqualizationPhase1+
EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [b0] MSI-X: Enable- Count=128 Masked-
Vector table: BAR=4 offset=00020000
PBA: BAR=4 offset=00028000
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
RootCmd: CERptEn- NFERptEn- FERptEn-
RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
FirstFatal- NonFatalMsg- FatalMsg- IntMsg 9
ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
Capabilities: [148 v1] Secondary PCI Express
LnkCtl3: LnkEquIntrruptEn- PerformEqu-
LaneErrStat: 0
Capabilities: [190 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=10us PortTPowerOnTime=10us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Capabilities: [1d0 v1] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Capabilities: [2d0 v1] Vendor Specific Information: ID=0006 Rev=0 Len=018 <?>
Kernel driver in use: pcieport
0000:01:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602 (rev 01) (prog-if 02 [NVM Express])
Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602
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 73
Region 0: Memory at f0200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit+
Address: 0000000000000000 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [70] Express (v2) Endpoint, MSI 1f
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 16GT/s, Width x4, ASPM not supported
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 8GT/s (downgraded), Width x4
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp+ 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
LnkCtl2: Target Link Speed: 16GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+ EqualizationPhase1+
EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: Upstream Port
Capabilities: [b0] MSI-X: Enable+ Count=9 Masked-
Vector table: BAR=0 offset=00003000
PBA: BAR=0 offset=00002000
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [148 v1] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [158 v1] Power Burr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x1
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Via message/WAKE#, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp+ ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5-5GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [b0] MSI-X: Enable- Count=32 Masked-
Vector table: BAR=4 offset=00000000
PBA: BAR=4 offset=00000800
Capabilities: [d0] Vital Product Data
pcilib: sysfs_read_vpd: read failed: No such device
Not readable
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [148 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [168 v1] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [178 v1] Transaction Processing Hints
No steering table available
Capabilities: [204 v1] Latency Tolerance Reporting
Max snoop latency: 0ns
Max no snoop latency: 0ns
Capabilities: [20c v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=306176ns
L1SubCtl2: T_PwrOn=150us
Capabilities: [21c v1] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 63
Bus: primary=40, secondary=41, subordinate=41, sec-latency=0
I/O behind bridge: 100000-100fff [size=4K] [16-bit]
Memory behind bridge: f4200000-f42fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
ivan@rockchip3588:~> lspci -vvv
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 74
Region 0: Memory at 900000000 (32-bit, non-prefetchable) [size=1G]
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: f000-0fff [disabled] [16-bit]
Memory behind bridge: f0200000-f02fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f0300000 [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
0000:01:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602 (rev 01) (prog-if 02 [NVM Express])
Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602
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 73
Region 0: Memory at f0200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: nvme
Kernel modules: nvme
0002:20:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 85
Bus: primary=20, secondary=21, subordinate=21, sec-latency=0
I/O behind bridge: f000-0fff [disabled] [16-bit]
Memory behind bridge: fff00000-000fffff [disabled] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f2200000 [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
0003:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 52
Bus: primary=30, secondary=31, subordinate=31, sec-latency=0
I/O behind bridge: 1000-1fff [size=4K] [16-bit]
Memory behind bridge: f3200000-f32fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f3300000 [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
0003:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
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-
Interrupt: pin A routed to IRQ 255
Region 0: I/O ports at 1000 [disabled] [size=256]
Region 2: Memory at f3200000 (64-bit, non-prefetchable) [disabled] [size=64K]
Region 4: Memory at f3210000 (64-bit, non-prefetchable) [disabled] [size=16K]
Capabilities: <access denied>
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (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 63
Bus: primary=40, secondary=41, subordinate=41, sec-latency=0
I/O behind bridge: 100000-100fff [size=4K] [16-bit]
Memory behind bridge: f4200000-f42fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
Expansion ROM at f4300000 [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
0004:41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
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-
Interrupt: pin A routed to IRQ 255
Region 0: I/O ports at 100000 [disabled] [size=256]
Region 2: Memory at f4200000 (64-bit, non-prefetchable) [disabled] [size=64K]
Region 4: Memory at f4210000 (64-bit, non-prefetchable) [disabled] [size=16K]
Capabilities: <access denied>
emmc and sdcard can not be listed.
ivan@rockchip3588:~> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 1.9T 0 disk
├─nvme0n1p1 259:1 0 480K 0 part
├─nvme0n1p2 259:2 0 3M 0 part
├─nvme0n1p3 259:3 0 256M 0 part /boot
└─nvme0n1p4 259:4 0 1.9T 0 part /
Oops, I didn't enable the r8169 driver and a lot of other PCI-E based NICs... https://github.com/7Ji-PKGBUILDs/linux-aarch64-7ji/blob/2e14d41d44ae2ece219ea5c108993577a15c7e2e/config#L2916
Let's get this through with a few factors to dig:
1. Can any MMC device be recognised on -7ji 6.7? By MMC I mean either eMMC or SD. It seems -panthor 6.1 was using the vendor MMC driver. 2. If you're on 5 Plus, were the ethernet controller PCIE devices recognised? A lspci -vvv output would be helpful. 3. Are there any RCU error if you keep the board powered on for long enough (>30min)? This seems like the case on my 5. 4. Can you properly shutdown/reboot? If you can't, what's your combination of rkloader and kernel? Mainline kernel + uboot seems to have poweroff problem on my 5.
for 3, no, nothing error outputs in terminal or kernel log.
Oops, I didn't enable the r8169 driver and a lot of other PCI-E based NICs... https://githubfast.com/7Ji-PKGBUILDs/linux-aarch64-7ji/blob/2e14d41d44ae2ece219ea5c108993577a15c7e2e/config#L2916
I will set config and build for another chance.
I've tested vanilla v6.7 + Joshua's config and MMC cards are still not recognized, and with the DTB from Ubuntu image still not. I'll do another test with Joshua's patches. If that works then I'll probably just "steal" those patches....
I've tested vanilla v6.7 + Joshua's config and MMC cards are still not recognized, and with the DTB from Ubuntu image still not. I'll do another test with Joshua's patches. If that works then I'll probably just "steal" those patches....
rencently I test a lot patches. With Joshua's and other 6.7 release candidates, I can not start kernel, most of them can not find uuid path when booting. With nyanmisaka's v6.7-rc1 or v6.7-rc3(with panthor added) . kernel starts successfully, but only one screen can be lighted, and can not display with mesa-panfork-git driver. I also decompress the armbian rk3588 edge version, which can not boot, too. So I use v6.1 now, but this version also can not use mesa-panfork as well.
FYI https://megous.com/git/linux/log/?h=opi5-6.7 i will have a try tommorw.
most of them can not find uuid path when booting.
When jumping between different kernel releases with huge structure differences, you should always stick to the fallback (mkinitcpio) or universal (booster) image, as the initramfs would only contain the modules the current kernel loads. Especially for vendor <-> mainline. The uuid problem is mostly caused by missing driver for the block device your root partition resides on and the fs for the partition.
I've found the problem, it's caused by not setting MFD chip drivers as built-in, now the mmcblks are recognized:
Arch Linux 6.7.0-1-aarch64-7ji (ttyS2)
opi login: root
Password:
Last login: Tue Dec 26 05:45:53 on ttyS2
[root@opi ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 119.3G 0 disk
├─mmcblk0p1 179:1 0 16M 0 part
├─mmcblk0p2 179:2 0 256M 0 part /boot
└─mmcblk0p3 179:3 0 119G 0 part /home/.snapshots
/var/tmp
/var/spool
/var/log
/swap
/var/cache
/home
/.snapshots
/
I'll do another round of tests and bump the pkg to -2 after I ironed out all the noticable problems.
Does your display output works?
No it doesn't. It would've if I added the vop patches. But I decided not to add these patches as that would add up too much to the headache, especially troublesome when they're merged in the future. And the mainline kernel really misses too much and does not perform very well. E.g. without cpufreq, a single-thread sysbench cpu run on RK3588S only scores 970, even less than S905X3's 990, far less than vendor kernel's 2.6K.
Edit: I think I'll create another pacakge -joshua-git
to track his patched branch afterwards
yes, missing a lot things, with this patch added, still no output and something else like USB2.0 still does not work.
[ 4.925922] usb 2-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 4.926493] fbcon: Taking over console
[ 5.777801] usb 2-1-port2: Cannot enable. Maybe the USB cable is bad?
[ 9.815635] OF: graph: no port node found in /i2c@fec80000/usb-typec@22
[ 9.817460] OF: graph: no port node found in /i2c@fec80000/usb-typec@22
[ 9.889804] r8169 0003:31:00.0 enP3p49s0: renamed from eth0
[ 9.890198] OF: graph: no port node found in /i2c@fec80000/usb-typec@22
[ 9.915982] r8169 0004:41:00.0 enP4p65s0: renamed from eth1
[ 9.960737] simple-amplifier headphones-audio-amplifier: supply VCC not found, using dummy regulator
[ 9.960953] simple-amplifier speaker-audio-amplifier: supply VCC not found, using dummy regulator
[ 9.961232] r8169 0003:31:00.0: Direct firmware load for rtl_nic/rtl8125b-2.fw failed with error -2
[ 9.961239] r8169 0003:31:00.0: Unable to load firmware rtl_nic/rtl8125b-2.fw (-2)
[ 9.992756] RTL8226B_RTL8221B 2.5Gbps PHY r8169-3-3100:00: attached PHY driver (mii_bus:phy_addr=r8169-3-3100:00, irq=MAC)
[ 10.074836] input: Analog Headphones as /devices/platform/sound/sound/card0/input12
[ 10.076093] OF: graph: no port node found in /i2c@fec80000/usb-typec@22
it seems like only the typec dp output can be recognised.
I can not use with out display, so I add it myslef. Now it works.
You could upload your PKGBUILD and I could add that to the repo build list. If you don't mind I could invite you to this org so you can push to here.
Edit: I think I'll create another pacakge
-joshua-git
to track his patched branch afterwards
some may be conflicted with your amlogic configuration
If -joshua-git
would really be added, it would use the configuration in the kernel tree. That config does not have anything Amlogic related. But that does not work properly with booster as the initramfs generator due to CONFIG_MFD_RK8XX=m
, not =y
, I didn't test mkinitcpio though.
Just one screen can be lighted, I changed to joshua's branch and the secondary screen still can not work. anyway, I will upload the PKGBUILD first.
Members of your 7Ji-PKGBUILDs organization want Copilot Business 1 member of your 7Ji-PKGBUILDs organization has requested access to Copilot Business since you last reviewed requests from members. Learn more about Copilot Business
Off-topic, but was this requested by you? Bro, that would need $19 a month and how would copilot be useful to PKGBUILDs ?
Off-topic, but was this requested by you? Bro, that would need $19 a month and how would copilot be useful to PKGBUILDs ?
no. I know nothing about copilot
I will upload the PKGBUILD first.
Hi @wyf9661, Just a suggestion. Could rockchip 6.1 kernel also be include where most of the hardware functions are supported?
I will upload the PKGBUILD first.
Hi @wyf9661, Just a suggestion. Could rockchip 6.1 kernel also be include where most of the hardware functions are supported?
I will upload the PKGBUILD first.
Hi @wyf9661, Just a suggestion. Could rockchip 6.1 kernel also be include where most of the hardware functions are supported?
I did not move this branch to 7Ji-PKGBUILDs
as there is a lot of changes submit by nyanmisaka, also with panthor
added, this aur branch is an experiment git trunk of me to record the historic kernels that I used to try.
I will upload the PKGBUILD first.
Hi @wyf9661, Just a suggestion. Could rockchip 6.1 kernel also be include where most of the hardware functions are supported?
Wait you uploaded that to AUR? FYI there was someone on AUR going rampage filing deletion requests to all ARM-only packages. After some discussion in https://lists.archlinux.org/hyperkitty/list/aur-general@lists.archlinux.org/thread/6RZZZATDUJMNTPXUP5FBZD7QB32MJ3JB/ and in https://github.com/7Ji/archrepo/issues/11 and things not favoring us ARM maintainers, we decided to move our PKGBUILDs to this org. The spammer only stops his action around a month ago: https://lists.archlinux.org/hyperkitty/search?q=arm&page=1&mlist=aur-requests%40lists.archlinux.org&sort=date-desc , but I would not recommend you to upload anything ARM-only to AUR...
I will upload the PKGBUILD first.
Hi @wyf9661, Just a suggestion. Could rockchip 6.1 kernel also be include where most of the hardware functions are supported?
Wait you uploaded that to AUR? FYI there was someone on AUR going rampage filing deletion requests to all ARM-only packages. After some discussion in https://lists.archlinux.org/hyperkitty/list/aur-general@lists.archlinux.org/thread/6RZZZATDUJMNTPXUP5FBZD7QB32MJ3JB/ and in 7Ji/archrepo#11 and things not favoring us ARM maintainers, we decided to move our PKGBUILDs to this org. The spammer only stops his action around a month ago: https://lists.archlinux.org/hyperkitty/search?q=arm&page=1&mlist=aur-requests%40lists.archlinux.org&sort=date-desc , but I would not recommend you to upload anything ARM-only to AUR...
thanks for your advice, I will not update that repo anymore.
if you'd like to have a try
Thanks. Not family with installing packages from AUR but will try to install it with
yay -S linux-opi-headers linux-opi
Is this the correct command to use? After more 30 minutes it is still building or installing.
All the Opi5-Plus big cores are 100% and the small cores also close to 90-98%
if you'd like to have a try
Thanks. Not family with installing packages from AUR but will try to install it with
yay -S linux-opi-headers linux-opi
Is this the correct command to use? After more 30 minutes it is still building or installing.
All the Opi5-Plus big cores are 100% and the small cores also close to 90-98%
when you set up this package, you'll start to build kernel about 2~3 hours with highly using of each core, If you mind this, you can just stop the build.
when you set up this package, you'll start to build kernel about 2~3 hours with highly using of each core, If you mind this, you can just stop the build.
Learning. After 1 hr it give this warning, not sure whether it is successful yet.
=> Sources are ready.
-> linux-opi-6.1.43-1 already made -- skipping build
==> Making package: linux-opi 6.1.43-1 (Fri 12 Jan 2024 05:50:58 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
[sudo] password for jfl:
loading packages...
resolving dependencies...
warning: cannot resolve "mali-valhall-g610-firmware", a dependency of "linux-opi"
:: The following package cannot be upgraded due to unresolvable dependencies:
linux-opi
:: Do you want to skip the above package for this upgrade? [y/N]
Suggestions. To enter "y" or "N"?
Edit: Did not have "mali-valhall-g610-firmware" on BredOS just "mali-G610-firmware" in BredOS.
Enter: "N" and the installation is unsuccessful.
Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'mali-valhall-g610-firmware' required by linux-opi
-> error installing: [/home/jfl/.cache/yay/linux-opi/linux-opi-headers-6.1.43-1-aarch64.pkg.tar.zst /home/jfl/.cache/yay/linux-opi/linux-opi-6.1.43-1-aarch64.pkg.tar.zst] - exit status 1
[jfl@jfl-opi5plus ~]$
when you set up this package, you'll start to build kernel about 2~3 hours with highly using of each core, If you mind this, you can just stop the build.
Learning. After 1 hr it give this warning, not sure whether it is successful yet.
=> Sources are ready. -> linux-opi-6.1.43-1 already made -- skipping build ==> Making package: linux-opi 6.1.43-1 (Fri 12 Jan 2024 05:50:58 PM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Sources are ready. [sudo] password for jfl: loading packages... resolving dependencies... warning: cannot resolve "mali-valhall-g610-firmware", a dependency of "linux-opi" :: The following package cannot be upgraded due to unresolvable dependencies: linux-opi :: Do you want to skip the above package for this upgrade? [y/N]
Suggestions. To enter "y" or "N"?
maybe you should install the dependency mali-valhall-g610-firmware
first for 7ji repo.
maybe you should install the dependency
mali-valhall-g610-firmware
first for 7ji repo.
Yes. Thanks.
After bumping to 6.7 the kernel could be booted successfully on RK3588 (namely Orange Pi 5), but the SD Card could not be recognized.
Users who wants to try it out could install the kernel package, but due to that limitation you should have a non-SD card drive to host your root partition.
I'm still digging why, but gave up for now as it's too late (2 A.M. now).
@wyf9661 FYI.