ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
mcoquelin has quit [Ping timeout: 255 seconds]
mcoquelin has joined #armlinux
apritzel_ has quit [Ping timeout: 246 seconds]
<broonie> mvaittin: FWIW BBB is covered in KernelCI so you can look there for boot/runtime tests from the trees that are covered (it's used a lot for runtime tests because I've got loads of them in my lab).
heat has quit [Ping timeout: 246 seconds]
iivanov has joined #armlinux
<mvaittin> broonie: Thanks for the tip. It seems to me your BBBs are booting up just successfully using for example a v6.2-rc7-* with both the omap2plus_defconfig and the multi_v7_defconfig.
apritzel_ has joined #armlinux
apritzel_ has quit [Ping timeout: 255 seconds]
cbeznea has joined #armlinux
monstr has joined #armlinux
amitk_ has joined #armlinux
viorel_suman has joined #armlinux
mcoquelin has quit [Ping timeout: 246 seconds]
headless has joined #armlinux
frieder has joined #armlinux
mcoquelin has joined #armlinux
sszy has joined #armlinux
jclsn has joined #armlinux
<arnd> mvaittin: is the machine broken for you with omap2plus_defconfig or with multi_v7_defconfig? If it's the former, maybe the bug has returned that we couldn't figure out last spring, where a CPU_V6+SMP kernel ran into issues running on single-core v7 machines
<mvaittin> arnd: Origins of the config I have used on these boards may be in a downstream bbb config (could be the Robert C Nelson bbb-tree)? I don't even remember any more as I have used these bones mostly for I2C / SPI device driver development - and they have mostly "just worked" with the olddefconfig. Hence I haven't changed config except when adding support for my new drivers or when enabling debug features / NFS rootfs. I guess I can try out the
<mvaittin> omap2plus_defconfig later today though :)
<mvaittin> I'll let you know how it works with that
<arnd> mvaittin: ok, got it. See if your config enables CPU_V6 then, and if it does, maybe try runing without it as the first step
<mvaittin> arnd: Thanks. The config seems to say:
<mvaittin> CONFIG_ARCH_MULTI_V7=y
<mvaittin> # CONFIG_ARCH_MULTI_V6 is not set
<mvaittin> CONFIG_ARCH_MULTI_V6_V7=y
<arnd> ok, then it's not that old but but something else
<arnd> s/but/bug/
sakman has quit [Read error: Connection reset by peer]
sakman has joined #armlinux
amitk_ has quit [Ping timeout: 260 seconds]
<linusw_> maz_: I lost patience in GPIO irq chips not getting converted to immutable so I made some 17 patches.
apritzel has joined #armlinux
iivanov has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iivanov has joined #armlinux
iivanov has quit [Client Quit]
iivanov has joined #armlinux
<tmlind> linusw_: nice, this will reduce some boot time warnings :) will test
<linusw_> tmlind: thanks, I am a bit unsure about the OMAP patch because it's a bit intrusive.
matthias_bgg has joined #armlinux
<tmlind> linusw_: ok
headless has quit [Quit: Konversation terminated!]
iivanov has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<maz_> linusw_: thanks for that, much appreciated.
<maz_> you probably only have another 200 to go... ;-)
iivanov has joined #armlinux
iivanov has quit [Client Quit]
iivanov has joined #armlinux
matthias_bgg has quit [Ping timeout: 245 seconds]
matthias_bgg has joined #armlinux
<mvaittin> For the record - multi_v7_defconfig boots as expected on my BBB. I guess this is a good thing as most upstream users do hopefully use either derivative of that or derivative of omap2plus_defconfig
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #armlinux
<broonie> linusw_: I need to finish off some conversions for atmel.
<linusw_> maz_: it was sufficiently painless, so I will take another sweep or two in the next merge cycle
<linusw_> broonie: at91 pinctrl?
<broonie> Yeah, IIRC. Whichever driver prints immutability warnings at boot anyway.
<broonie> Boot log says gpio-at91.
<milkylainen> hi. what are the current status around v4 and v5 in the kernel? some of it has been deprecated already right?
<arnd> milkylainen: ARMv4, ARMv4T and ARMv5 CPU support is still fully supported by the kernel, at least for DT-enabled platforms. Individual SoC platforms are getting removed as they fall out of use, and in 6.3 we will remove 80% of the boards that are not converted to DT
<arnd> gcc-9 dropped support for ARMv3, so mach-rpc will eventually get removed as the minimum compiler version gets raised, but at the moment gcc-5 is still supported with CONFIG_WERROR=n
<milkylainen> arnd: thanks for the summary. So no plan for complete arch obsolecense yet?
<arnd> no
<milkylainen> Ok. I'm finding it difficult to recommend new v5 designs though.
<Xogium> I gotta admit, I've no idea why picking armv5 over armv7 would be a good idea these days
<Xogium> so I'm not sure why they still produce armv5 chips ^^
torez has joined #armlinux
<Xogium> I'm sure people know better than me over here though :D
<arnd> ARCH_WPCM450, SOC_SAM9X60 and MACH_SUNIV are probably the only ones that anyone is using in new products, but of course they are all on the very low end
<milkylainen> Xogium: probably some existing products and existing production lines churning out stuff. Buyers exist and are buying still.
<milkylainen> Yeah. It was a SAM9X60.
<Xogium> yeah, sure. But I'm baffled why chinese think it's a good idea to make an armv5 board like the mangopi for example
<milkylainen> Warehouse leftovers? $0? :)
<arnd> SAM9X60 is a perfect upgrade for anyone that wants to replace an existing AT91 based design with cheaper and more readily available components but minimal software changes
<milkylainen> arnd: nah. This is a new design for network related equipment.
<milkylainen> I'd choose something beefier.
<arnd> also, I can understand users really liking microchip/atmel products in general. If you don't need more performance but like them as a supplier, it probably saves a little money for each one compared to a SAMA5
<broonie> There aren't that many vendors serving the catalog market.
<Xogium> oh yeah I wasn't thinking they were dumb for picking out armv5, merely wondered why that would be in 2023
<broonie> Also you'll often find that fancier SoCs have more dense pinouts and so on that require fancier assembly technologies, older and simpler silicon is often packaged in a form factor that lets you use cheaper assembly technologies.
<Xogium> that makes sense
<broonie> Especially with parts that have been around for a while, you'll often see some successful devices at a given assembly complexity stick around for a very long time since all the R&D is going into harder to assemble stuff.
<arnd> also power consumption, it's hard to compete with a 40nm ARM926
<milkylainen> Absolutely. But that isn't an issue here. Probably cost. But their products have a _very_ long life. Maintained life.
<Xogium> fair point about power draw
heat has joined #armlinux
<geertu> arnd: But e.g. an 28nm ARM926 would consume less power? Or would it leak more?
iivanov has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<arnd> geertu: I don't think anyone has ever created one, and I'm not sure it would make sense as the core design makes tradeoffs that are intended for a given process. I think ARM9 started out at 0.35µm (350nm), and at its height it was integrated into 65nm processors like the first Cortex-A8 or A9 cores.
<arnd> SAM9X60 is the only one I know below that
<milkylainen> geertu: leakage goes up, static current leakage goes up, process voltage goes down, total dynamic power for a similar design usually goes down.
<milkylainen> less efficient, but still using less power. :)
<geertu> arnd: I guess it's also time to ditch the Ingenient dm644x board I have lying around? While it boots some version of Linux, I never managed to find a tree with support for it.
* geertu wonders if the GPL applies when throwing away hardware, or when handing it over to a recycler...
<arnd> Cortex-A5 on 22nm FD-SOI might be the lowest power ARMv7-A if anyone builds that. Anything below 22nm likely uses FinFET
<arnd> geertu: dm64xx was removed last summer in 7dd33764486d ("ARM: davinci: Delete DM644x board files")
<milkylainen> Or variants of GAA-FET if you get bleeding edge. :)
<geertu> arnd: I know ;-)
<milkylainen> I don't think a v7a design will ever see a GAA-FET process though.
<milkylainen> Maybe a built in coprocessor of some kind.
<arnd> milkylainen: Qualcomm X65 is a 4nm Cortex-A7. It's still FinFET but it's almost the same generation as Samsung's GAA
iivanov has joined #armlinux
<milkylainen> I don't know who qualcomm uses as a foundry? I know Samsung are targeting GAA soon. Intel too? No clue about TSMC and others.
<milkylainen> hmm googling yields TSMC(?) and they're targeting GAA for 2nm?
<milkylainen> arnd: x65 btw. like a modem? so some sort of coprocessor to the modem?
<milkylainen> Or a standalone SoC with a7 access available to the world?
<arnd> milkylainen: it's both, depending on what you run on it. See arch/arm/boot/dts/qcom-sdx65.dtsi for what it looks like when you run Linux on the chip itself. Most users would have a high-performance SoC and communicate over PCIe with some firmware stack running on the X65 chip
iivanov has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
iivanov has joined #armlinux
macromorgan has quit [Quit: Leaving]
<milkylainen> arnd: interesting. tnx.
amitk_ has joined #armlinux
monstr has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 246 seconds]
hanetzer has quit [Ping timeout: 246 seconds]
amitk__ has joined #armlinux
amitk___ has joined #armlinux
hanetzer has joined #armlinux
amitk has quit [Ping timeout: 246 seconds]
amitk_ has quit [Ping timeout: 248 seconds]
viorel_suman has quit [Quit: WeeChat 3.6]
hanetzer has quit [Ping timeout: 255 seconds]
hanetzer has joined #armlinux
xvmt has quit [Remote host closed the connection]
xdarklight has quit [Ping timeout: 268 seconds]
xdarklight has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
headless has joined #armlinux
frieder has quit [Remote host closed the connection]
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #armlinux
apritzel has quit [Ping timeout: 246 seconds]
xvmt has joined #armlinux
amitk___ has quit [Ping timeout: 255 seconds]
headless has quit [Ping timeout: 255 seconds]
headless has joined #armlinux
apritzel_ has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
heat has quit [Remote host closed the connection]
heat has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
cbeznea has quit [Quit: Leaving.]
<linusw_> milkylainen: SoCs produced in a lower technology node has more longevity. Intel IXP4xx has a MTBF (Mean Time Before Failure) of 60 years.
<linusw_> milkylainen: another factor can be if certain archs contains technology engineered in certain countries, which are in trade war with certain other countries and cannot be exported, which lead to technology choices that appear not logical
<linusw_> mean time before failure matters a lot where it is easy to upgrade software but hard to replace hardware, such as in space.
headless has quit [Quit: Konversation terminated!]
elastic_dog has quit [Remote host closed the connection]
elastic_dog has joined #armlinux
torez has quit [Remote host closed the connection]
iivanov has quit [Ping timeout: 255 seconds]
prabhakarlad has joined #armlinux
<marex> I just found it rotting in my upstream queue
<dtor> I guess I simply missed it, sorry. Let me respond on email.
<marex> dtor: no worries, there's no rush
<marex> dtor: I also totally forgot about it ; thanks !
prabhakarlad has quit [Quit: Client closed]
jwerner has quit [Remote host closed the connection]
jwerner has joined #armlinux
jwerner has quit [Client Quit]
jwerner has joined #armlinux
jwerner has quit [Client Quit]