enabled fiq debug & fix wifi/bt issue & fix gmac issue & enabled CONFIG_CPU_RK3308#578
Open
chenxmqqqq wants to merge 4 commits into
Open
enabled fiq debug & fix wifi/bt issue & fix gmac issue & enabled CONFIG_CPU_RK3308#578chenxmqqqq wants to merge 4 commits into
chenxmqqqq wants to merge 4 commits into
Conversation
Switch from stdout-path to bootargs with root=UUID. Enable fiq_debugger on serial0 and disable uart0. Signed-off-by: Xinming Chen <chenxinming@radxa.com>
Update rk3308-rock-pi-s DTS to fix WiFi and Bluetooth support: - Add io_domains configuration - Update sdio node: increase max-frequency to 150MHz, add bus-width, change to sd-uhs-sdr104 mode Fix 8250 serial DMA RX handling for Rockchip that caused frame errors and break interrupts on Bluetooth UART (ttyS4): - handle_rx_dma() now properly handles UART_IIR_RDI and UART_IIR_RLSI interrupts instead of only UART_IIR_RX_TIMEOUT, preventing RX FIFO data loss and subsequent frame/break errors during high-speed BT Signed-off-by: Xinming Chen <chenxinming@radxa.com>
Changes were ported from linux-6.1-stan-rkr7. stmmac_main.c: Save DMA TX buffer address to the last descriptor instead of the first, preventing premature DMA buffer unmapping that corrupts GMAC state and causes PHY link loss. stmmac_platform.c: Refactor stmmac_dt_phy() into stmmac_of_get_mdio(). stmmac_mdio.c: Use IS_ERR_OR_NULL()/PTR_ERR_OR_ZERO() in stmmac_mdio_idle() and stmmac_mdio_reset() to safely handle a missing snps,reset-gpios property. Signed-off-by: Xinming Chen <chenxinming@radxa.com>
Signed-off-by: Xinming Chen <chenxinming@radxa.com>
|
|
||
| chosen { | ||
| stdout-path = "serial0:1500000n8"; | ||
| bootargs = "root=UUID=bbc884d7-bf5a-4713-9301-03dbb8cacab0 earlycon=uart8250,mmio32,0xff0a0000 swiotlb=1 kpti=0 console=ttyFIQ0 rw rootwait coherent_pool=1m"; |
Member
There was a problem hiding this comment.
这个改动应该会导致启动问题,我们的bootargs都是uboot读取启动配置再传入的
| reg = <1>; | ||
| interrupt-parent = <&gpio0>; | ||
| interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>; | ||
| interrupts = <RK_PA0 GPIO_ACTIVE_HIGH>; |
| GPIOD_OUT_HIGH); | ||
| if (IS_ERR(reset_gpio)) | ||
| return PTR_ERR(reset_gpio); | ||
| if (IS_ERR_OR_NULL(reset_gpio)) |
Author
There was a problem hiding this comment.
@RadxaYuntian 天哥,明天重新整理下所有提交,stephen 说让我找找linux-6.1-stan-rkr7的提交,最好 cherry-pick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.