mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
montjoie has quit [Ping timeout: 260 seconds]
montjoie has joined #linux-rockchip
stikonas has quit [Ping timeout: 246 seconds]
crabbedhaloablut has quit []
wens has quit [Ping timeout: 255 seconds]
wens has joined #linux-rockchip
vagrantc has joined #linux-rockchip
<naoki> Kwiboo: are you using sdmmc uhs104 mode on E25 with mainline spl/u-boot and mainline kernel?
<naoki> well, spl/u-boot/kernel are on microSD, and boot from microSD
<naoki> I got tuning error (no mmcblk1 -> initramfs console)
vagrantc has quit [Quit: leaving]
<naoki> oops, uhs-sdr104
camus has quit [Read error: Connection reset by peer]
camus1 has joined #linux-rockchip
camus1 is now known as camus
camus has quit [Ping timeout: 245 seconds]
camus has joined #linux-rockchip
sally has quit [Remote host closed the connection]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 245 seconds]
kevery1 is now known as kevery
crabbedhaloablut has joined #linux-rockchip
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #linux-rockchip
f476_ has joined #linux-rockchip
f476 has quit [Ping timeout: 240 seconds]
f476 has joined #linux-rockchip
f476_ has quit [Ping timeout: 244 seconds]
stikonas has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
Rathann has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 has joined #linux-rockchip
kevery1 has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
<Kwiboo> naoki: I am using whatever is in the linux tree, looks like sd-uhs-sdr104 at https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts#L189
<naoki> Kwiboo: can you boot spl/u-boot/kernel/userland from SD?
<Kwiboo> in u-boot defconfig uhs should be disabled, CONFIG_MMC_UHS_SUPPORT is not enabled
<Kwiboo> will test shortly
<Kwiboo> what I can remember it worked with my sandisk sd-card
<naoki> I'm using sandisk extreme. I think uhs104 mode was worked if SD is not boot media...
<naoki> I'll try CONFIG_MMC_UHS_SUPPORT
<Kwiboo> seem to be working on my setup using sandisk ultra sd-card, getting: mmc1: new ultra high speed SDR104 SDXC card at address aaaa
<naoki> hmm
<naoki> thanks anyway
<Kwiboo> that was booting of the sd-card, will try to boot off emmc
<Kwiboo> that was using top of my rk3568-2023.10 u-boot branch and linux v6.4.7
<naoki> I'm using v2023.07 and v6.1.y. I'll check other rk356x boards
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
<naoki> [ 3.706948] dwmmc_rockchip fe2b0000.mmc: All phases bad!
<naoki> [ 3.712926] mmc1: tuning execution failed: -5
<naoki> hmm...
<naoki> I cannot change mmc mode on u-boot...
<naoki> I'll use sdr50 for now :(
<naoki> (FYI, it runs sdr104 on rockchip 5.10 kernel with mainline u-boot + e25 patch)
<Kwiboo> u-boot needs CONFIG_MMC_SPEED_MODE_SET=y and you need to be explicit about what modes it support, just adding sd-uhs-sdr104 does not imply any other uhs mode
<Kwiboo> if you want to change modes, so adding sd-uhs-sdr50, sd-uhs-sdr25 and sd-uhs-sdr12 could possibly be an option
<Kwiboo> then at least u-boot should try multple modes
<naoki> oh thanks
<naoki> Kwiboo: btw I'm trying your patches from your e25 branch on rock-5a/5b. currently it works on 5b, but I got error on 5a
<naoki> Model: Radxa ROCK 5 Model A
<naoki> Net: "Error" handler, esr 0xbe000011
<Kwiboo> naoki: I do not have any ROCK 5 Model A to help test on, yet, one should arrive by end of next week :-)
<naoki> ah
<naoki> it seems "HACK: net: Add dummy PHY reset-gpios driver" is not good for 5a ;)
<Kwiboo> oh, interesting, check that you do not have CONFIG_ETH_DESIGNWARE=y or CONFIG_GMAC_ROCKCHIP=y in the defconfig
<naoki> CONFIG_ETH_DESIGNWARE=y
<naoki> CONFIG_GMAC_ROCKCHIP=y
<Kwiboo> will drop the "imply ETH_DUMMY if NET" for rk3588 in my next push, war not really runtime tested on any rk3588 board :-)
<naoki> :)
<naoki> I wonder why it doesn't work
<naoki> (gmac on 5a is working without hack)
<naoki> no problem
<Kwiboo> great, the hack is only needed in case the ethernet phy is hold in reset state at linux start and reset-gpios is used in phy node in device tree
Rathann has quit [Ping timeout: 246 seconds]
digetx has quit [Ping timeout: 244 seconds]
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
naoki has quit [Client Quit]
digetx has joined #linux-rockchip
Rathann has joined #linux-rockchip
vagrantc has joined #linux-rockchip
Rathann has quit [Ping timeout: 245 seconds]
ldevulder has quit [Quit: Leaving]
Stat_headcrabed has joined #linux-rockchip
Rathann has joined #linux-rockchip
Rathann has quit [Ping timeout: 250 seconds]
sL1pKn07 has quit [Quit: Client Excited...]
sL1pKn07 has joined #linux-rockchip
sally has joined #linux-rockchip