<epoll>
it gets to the kernel but it won't start (same symptoms as u-boot 2022.10 with v1.28)
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 260 seconds]
<epoll>
i've also tried a more strict reordering of the atf entries in u-boot.its (by copying it from the bsp) and the symptoms for 2023.01-rc4 swap (between the bl31 version), while with 2022.10 both bl31 versions hang at starting the kernel
<epoll>
what combination of 1) bl31 and 2) u-boot were people able to get this working on? are there any pointers to trees?
<epoll>
does the kernel version matter too?
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 264 seconds]
macromorgan is now known as Guest3789
Guest3789 has quit [Killed (cadmium.libera.chat (Nickname regained by services))]
macromorgan has joined #linux-rockchip
ldevulder__ is now known as ldevulder
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
<epoll>
fwiw the bsp u-boot can't boot the kernel either with the atf from that gerrit
<epoll>
although it does get past the "Starting kernel ..." line
<CounterPillow>
I don't think mainline proper works for RK3568 at the moment, macromorgan was working on that I believe
<pinchartl>
CounterPillow: thank you
<pinchartl>
epoll: ^^
<pinchartl>
can you test that ?
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
<pinchartl>
does anyone have gmac1 ethernet working in mainline (or mainline-ish, with extra patches) u-boot ? the compatible string used in rk356x.dtsi is not listed in the driver, I assume it requires custom ops/data
<CounterPillow>
I know mine does not support it, unfortunately
<naoki>
ah, kernel 6.1.6 is running... just uSD card is not detected...
<macromorgan>
You either need to use the BL31 version 1.28 or prior, OR re-order the A-TF modules and rebuild your u-boot.itb if you use a BL31 greater than 1.28.
<macromorgan>
I was slowly in the process of getting these patches mainlined, I started with the first 5 or so but still have more to go.
<macromorgan>
note that I have been using that branch for roughly 3 months now and in that time have had 0 issues detecting an SD card at all whether it be via cold boot or warm boot in U-Boot
<macromorgan>
OHH, also make sure you set your clock speed for the MMC card... look at what I have for the "assigned-clocks" and "assigned-clock-rates". If the rates aren't set detection is intermittant too.
<macromorgan>
so in summary for SD detection 1) set your drive strength (might be optional), 2) drop the fifo mode, and 3) set your clocks
<macromorgan>
to be clear, the "assigned-clocks" and "assigned-clock-rates" I have set on the &cru node
<macromorgan>
but yes... mainline U-Boot and mainline Linux work perfect for me now on the Anbernic RG353 devices, and all that's missing on the RG503 is the panel (and all of them are still missing wifi and bluetooth and suspend, but I'm working on that). U-Boot itself for me works perfectly fine.