mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
sukrutb has quit [Quit: Leaving]
naoki has quit [Ping timeout: 260 seconds]
naoki has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
naoki has quit [Quit: naoki]
naoki1 has joined #linux-rockchip
naoki1 is now known as naoki
naoki has quit [Quit: naoki]
naoki1 has joined #linux-rockchip
naoki1 is now known as naoki
naoki has quit [Ping timeout: 245 seconds]
naoki has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 260 seconds]
hexdump0815 has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
chewitt has joined #linux-rockchip
System_Error has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
naoki has quit [Quit: naoki]
System_Error has quit [Remote host closed the connection]
naoki has joined #linux-rockchip
System_Error has joined #linux-rockchip
Stat_headcrabbed has joined #linux-rockchip
naoki has quit [Ping timeout: 248 seconds]
naoki has joined #linux-rockchip
naoki has quit [Ping timeout: 260 seconds]
naoki has joined #linux-rockchip
naoki has quit [Read error: Connection reset by peer]
naoki has joined #linux-rockchip
ldevulder has joined #linux-rockchip
naoki has quit [Client Quit]
naoki1 has joined #linux-rockchip
ldevulder has quit [Client Quit]
naoki1 is now known as naoki
ldevulder has joined #linux-rockchip
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #linux-rockchip
<qschulz> CounterPillow: if it's not there, nobody cares about warnings and they don't get fixed :)
chewitt_ has joined #linux-rockchip
chewitt has quit [Ping timeout: 272 seconds]
chewitt_ is now known as chewitt
raster has joined #linux-rockchip
<CounterPillow> more like if it's there distributors will patch it out because it'll always be broken because upstream only tests with ancient toolchains and their patch submission workflow is horrible and also I'm not going to fix warnings in code that I don't know when I'm just trying to compile the damn thing
<dsimic> qschulz: I had a look at your overlay patch series, but I still need to re-read everything carefully, including the discussion in v2
<dsimic> I'll do that for sure, alas I've got some "IRL stuff" to take care of today
<qschulz> dsimic: AFAIU, the plan is to merge this early next week :)
<dsimic> let's also ping mmind00 and Kwiboo about this ^^^
<qschulz> well, mmind00 would be the one merging them so I'm sure he knows :)
<dsimic> there are still a few days before the next week, so it should be fine from the timing standpoint :)
<qschulz> dsimic: there's also FOSDEM this week-end, so that may make some people's week-end very busy :)
<dsimic> sure... I referred to myself :)
<dsimic> oh, BTW, as a nitpick for the patch descriptions... using "in order to..." is generally discouraged, and saying simply "to ..." instead is preferred
<qschulz> dsimic: discouraged by whom?
<dsimic> by the English style police, so to speak :)
<dsimic> to clarify, I spent about a couple of years contributing to English Wikipedia, which made me quite familiar with various style rules and guidelines
<qschulz> dsimic: what one website decides would be the best doesn't necessarily means it's what's preferred in the language (also American English/British English, etc...) :)
<dsimic> indeed, there are many differences between the language variants
<dsimic> however, to my knowledge, what I suggested above applies to (all) major regional variants, FWIW
<qschulz> dsimic: I also tend to be conservative when advice comes from non-native speakers which my brain believes is the case without knowing you :)
<qschulz> If you had some link(s) about this, it would have been nice to send with it, but a bit of googling seems to go in your direction
<qschulz> so thanks!
<dsimic> yes, I'm not a native speaker
<qschulz> not sure my muscle memory is going to forget it soon enough but being aware of it will maybe help in the long run!
<dsimic> but I've spent many years trying to reach near-native level, so I even dare to provide suggestions :)
* qschulz gasps
<qschulz> hehe
<qschulz> (i'm not complaining about the suggestion, i'm "complaining" about the source-less suggestion :) )
<qschulz> I do actually appreciate being corrected
<dsimic> ah, I spent a few months learning the Wikipedia's Manual of Style (MoS), which is mainly derived from the Chicago Manual of Style, so the best I can provide, when it comes to references/links, is a link to the MoS :)
<dsimic> because I no longer remember where was something mentioned in the MoS, which is also quite large and split between different pages
<dsimic> I'm glad that you're fine with the corrections... being corrected is one of the ways to learn, and I used to be corrected a lot on English Wikipedia in my early days of contributing there
<dsimic> which I highly appreciated, of course
<qschulz> dsimic: hihi, there's one "in order to" in the Manual Of Style
<dsimic> dang! :D
<dsimic> oh, and it's "Manual of Style", with the lowercase "o", BTW
<qschulz> like System of a Down, noted
<dsimic> capitalizing minor words in titles is a common "modern" mistake, which perhaps originates from the careless use of the PHP's ucwords() function on the web :)
<qschulz> dsimic: everything's PHP's fault
<qschulz> or JavaScript nowadays
<dsimic> yeah, PHP did a lot of good stuff, but also degraded some other stuff
System_Error has quit [Remote host closed the connection]
<dsimic> beeble: ha, that's a good example
<dsimic> saying "to use Device Tree overlays, specify fdtoverlay_addr_r" would be better
<dsimic> also note lowercase "o"
<dsimic> or maybe "fdtoverlay_addr_r must be specified to use Device Tree overlays"
<dsimic> passive voice is good there, because it puts emphasis on fdtoverlay_addr_r
<qschulz> It's actually Devicetree Overlay
<dsimic> hmm
<qschulz> ah, maybe a case of capitalization again
<qschulz> later it's said Devicetree's overlay
<dsimic> I don't think it should be capitalized
<qschulz> this DT stuff is a bit of a mess
<qschulz> U-Boot uses different terms too
<qschulz> FDT and FDTO for example
<qschulz> (Flattened ...)
<dsimic> yeah, it could use some copyediting :)
<qschulz> some peeople use DTBO or DTO
<qschulz> in the kernel
<qschulz> Devicetree/Device Tree, I never know
<dsimic> it should be "Device Tree"
<dsimic> because if it's "Devicetree", then "DT" isn't an obvious abbreviation
<dsimic> using "DTBO" technically isn't correct, because it's actually "dtbo"
<dsimic> i.e. it isn't an abbreviation, but a file "extension"
<dsimic> s/file/filename/
<qschulz> DTO would though
<qschulz> DTO is a dtso I guess?
<robmur01> dsimic: style manuals are for journalism and formal publications, they are not absolute rules to be applied to less formal, conversational, writing, as commit messages often are ;)
<dsimic> yes, DTO is a rather fine abbreviation, although a bit hard to grasp, frankly :)
<dsimic> robmur01: true, but why not make commit messages better? they're our publication :)
<CounterPillow> focus on real work instead
<dsimic> real work and suboptimal commit messages don't go together, IMHO
<robmur01> I would certainly use "X and Y in order to Z" over "X and Y to Z" to emphasize an implied dependency unless it was blindingly obvious that X and Y are the only possible things leading to Z
<dsimic> qschulz: I'd say that DTO should mean Device Tree overlay, actually
<dsimic> robmur01: indeed, it isn't that "in order to" is prohibited, it actually fits very well in some places
<dsimic> qschulz: FWIW, I'd also say that "DT" is an umbrella quasi-term that may refer to the concept, the dts files or dtb files, while "DTO" is another umbrella "term" that may refers to the concept, dtso and dtbo files
<dsimic> s/may refers/may refer/
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has quit [Quit: naoki]
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
System_Error has quit [Remote host closed the connection]
valpackett has quit [Read error: Connection reset by peer]
valpackett has joined #linux-rockchip
System_Error has joined #linux-rockchip
valpackett has quit [Ping timeout: 265 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<CounterPillow> Kwiboo: out of morbid curiosity, how'd you figure out the writel(0x3ffff800, 0x3ff803b0) rk3576 thing?
franoosh has joined #linux-rockchip
valpackett has joined #linux-rockchip
<chewitt> some people just think in code :)
chewitt has quit [Quit: Zzz..]
MyNetAz has quit [Read error: Connection reset by peer]
MyNetAz has joined #linux-rockchip
stikonas has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<Kwiboo> CounterPillow: https://github.com/rockchip-linux/rkbin/commit/9b6f7661267cee51210e7850f83bbb695841594a hint at an issue in BootROM "BootROM load ddr.bin fail in SD card", the 3ff80000-3fffffff range is sram, a quick peek and it looked like only uart0 regs and sram was modified
<Kwiboo> 0x3ff803b0 is probably in the BootROM stack, TPL start at 0x3ff81000, and 0x3ffff800 is possible an end address or something, so issue is probably how many 4k blocks is read into sram before executing
<CounterPillow> interesting, thank you
<Kwiboo> applying the workaround seem to work for both sd-card and emmc, however emmc is not affected only sd-card boot, only have an armsom sige5 so have not been able to test with spi flash boot
<CounterPillow> just received an armsom sige5 today as well, actually used your u-boot wip branch for it which worked beautifully, still fighting with some networking gremlins though. Ultimate goal is to just have a small mainline-based u-boot with network support on the eMMC that automatically fetches a kernel and initramfs over HTTP or whatever to make development a lot easier
<Kwiboo> cool and great, I may not have tested ethernet enough, only synced with the code in mainline Linux compared to mmind00's series, mostly tested my board booted into U-Boot CLI
<Kwiboo> also suggest you avoid using the BOOT1_PARAM WORD_2=0x100 from https://github.com/rockchip-linux/rkbin/commit/cbbc6868221fb416d4f0d86a10e493dbbbc1f117 they are used to enable the 1GHz hp timer, possible done in BootROM or params is passed to TPL
<Kwiboo> using the 1ghz rate for hp timer seem to require changes to u-boot timer handling
<CounterPillow> kk, thanks for the heads up
<CounterPillow> I did manage to get the PHY to respond with some additional config fiddling and then do pings, but u-boot's wget wasn't too happy. I'm about 50:50 on whether that's due to firewalld being obtuse nonsense or whether the rx timeout I got in u-boot was due to something more sinister
<Kwiboo> one issue could be that u-boot will always set phy delay enabled, but use 0 as delay value with it should be disabled, should possible be changed both in linux and u-boot
<Kwiboo> without having access to a TRM it is hard to verify what is being configured in hw :-)
<CounterPillow> I'll check on Monday whether I do have access to the TRM and can look at whether the GMAC is included in that
naoki has joined #linux-rockchip