mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
Daanct12 has joined #linux-rockchip
Daanct12 has quit [Client Quit]
stikonas has quit [Quit: Konversation terminated!]
Daanct12 has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
Daanct12 has quit [Quit: WeeChat 4.3.6]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
ungeskriptet has quit [Read error: Connection reset by peer]
ungeskriptet has joined #linux-rockchip
ungeskriptet4 has joined #linux-rockchip
ungeskriptet has quit [Read error: Connection reset by peer]
ungeskriptet4 is now known as ungeskriptet
ungeskriptet6 has joined #linux-rockchip
ungeskriptet has quit [Ping timeout: 272 seconds]
ungeskriptet6 is now known as ungeskriptet
naoki has quit [Ping timeout: 260 seconds]
Stat_headcrabed has joined #linux-rockchip
<lvrp16> Kwiboo: I don't know what I would do without your ML descriptions...
<lvrp16> they're just so useful
warpme has joined #linux-rockchip
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
naoki has joined #linux-rockchip
ungeskriptet6 has joined #linux-rockchip
ungeskriptet6 has quit [Read error: Connection reset by peer]
ungeskriptet6 has joined #linux-rockchip
ungeskriptet69 has joined #linux-rockchip
ungeskriptet6 has quit [Ping timeout: 252 seconds]
ungeskriptet6 has joined #linux-rockchip
ungeskriptet69 has quit [Ping timeout: 252 seconds]
ungeskriptet65 has joined #linux-rockchip
ungeskriptet6 has quit [Read error: Connection reset by peer]
ungeskriptet6 has joined #linux-rockchip
ungeskriptet65 has quit [Ping timeout: 252 seconds]
ungeskriptet6 has quit [Client Quit]
ungeskriptet6 has joined #linux-rockchip
<warpme> mmind00 : fyi: re: missing disk-activity on mmc devices: added like this https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/files/0109-drivers-mmc-add-disk-activity-support.patch and it works nicely. thx for hint! (first hunk is not necessary. it is just to minimize "machine gun like" blinking style which is a bit irritating (for me))
stikonas has joined #linux-rockchip
naoki has quit [Quit: naoki]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
psydroid2 has joined #linux-rockchip
dsimic has quit [Ping timeout: 252 seconds]
psydroid has quit [Read error: Connection reset by peer]
dsimic has joined #linux-rockchip
psydroid has joined #linux-rockchip
tlwoerner_ has joined #linux-rockchip
tlwoerner has quit [Remote host closed the connection]
tlwoerner__ has joined #linux-rockchip
tlwoerner_ has quit [Ping timeout: 248 seconds]
sukrutb has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
psydroid has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #linux-rockchip
warpme has joined #linux-rockchip
naoki has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Client Quit]
<naoki> dsimic: there is u-boot/arch/arm/dts/rk3328-rock-pi-e-v3.dts, when I added it I thought Linux dts can be shared, but I noticed it was wrong
<dsimic> hmm, how was it added?
<dsimic> regarding OpenWrt, please see my last response on linux-rockchip... I'd appreciate if you'd explain what's the actual issue
<dsimic> however, "catering" to OpenWrt by adding unnecessary new board DTs isn't the right solution, at least because we already have different board variants supported in U-Boot with no separate upstream DTs
<dsimic> thus, a more general solution is required for whatever the issue is
<naoki> U-Boot source have no issue without separate upstream DTS
<naoki> but output binary is not compatible
<naoki> "A devicetree does describe actual hardware"
<naoki> actual hardware is different
<naoki> u-boot binary is different
<naoki> there must be something in running system to tell actual hardware
<naoki> if "compatible" strings is not general solution for it, what is general solution?
<dsimic> I referred to a solution that wouldn't cover just the ROCK Pi E variants, but the similar variants of other boards, such as the Nano Pi M4
<dsimic> basically, if we accept separate DTs for ROCK Pi E, then we need to introduce separate DTs for all other similar boards
<dsimic> whose variants with different DRAM are currently handled in U-Boot only
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
<naoki> we use same dts in linux, then how do we know what is actual hardware? can you automate building u-boot with proper configuration?
<naoki> for ROCK Pi E case, how can I know which I should use rock-pi-e-rk3328_defconfig or rock-pi-e-v3-rk3328_defconfig?
<dsimic> those are all good questions
<dsimic> currently, the end user "just knows" what to use
<dsimic> which actually isn't a good way
warpme has quit [Ping timeout: 245 seconds]
<dsimic> let me think a bit more about it, please
<naoki> I think it will not be good to have dts for all other smiliar boards
<naoki> but I have no good idea for now
<dsimic> basically, we'd have maybe even half a dozen new DTs that are all 99.9% the same
<dsimic> which isn't great, when you think about it, but I see no better solution RN
<dsimic> I'd like to think more about it, perhaps for the next couple of days
<naoki> there is rk3xxx-generic.dts ;)
<naoki> ^in u-boot
<dsimic> that's to be used while bringing up new boards
<dsimic> as some kind of a starting point
<naoki> yes
<naoki> then 99.9% same new dts as a result (I'm not blaming it)
<dsimic> I hope that you agree about the need for a general solution that covers all such board variants
<dsimic> IOW, it isn't just about the ROCK Pi E, but about all such boards
<naoki> I need to write new metadata format for OpenWrt :)
<naoki> well, it's ok if it's better than my dirty solution
<naoki> I have no idea
<dsimic> so far, having separate DTs with unique "compatible" values seems like the best possible option, but it needs to be applied retroactively
<dsimic> is the way OpenWrt performs board detection and firmware updates documented somewhere?
<dsimic> I really need to read more about that :)
<dsimic> to become more familiar
<naoki> historically, OpenWrt has their own DT files (or definition in .c before DT age) for mips based devices
<naoki> for rockchip devices, they demand upstreamed dts
<naoki> we can use only changes landed on master branch
<naoki> ^for both linux and u-boot
<dsimic> that's fine
<dsimic> hmm, let me think for the next couple of days
<dsimic> I need to sleep over it, to see is there better solution than introducing a whole bunch of new DTs :)
<dsimic> s/sleep over/sleep on/
<dsimic> oh, and please check does using --break-rewrites create a more readable patch
<dsimic> for your ROCK Pi E patch(es)
<dsimic> see also https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---break-rewritesltngtltmgt
<naoki> oh? I forgot --break-rewrite this time? sorry
<dsimic> no worries... let's see will the patch be nicer that way
<dsimic> thanks for the links
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
vagrantc has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 260 seconds]
warpme has joined #linux-rockchip
<dsimic> warpme: will you upstream your eMMC LED patch?
warpme has quit [Ping timeout: 248 seconds]
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 252 seconds]
warpme has joined #linux-rockchip
warpme has quit [Ping timeout: 248 seconds]