mvebu - switch to orion-timer
Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards prints deprecation warning that new timer is not being used. Could you look at it, if it is possible to do global switch for mach-mvebu and mach-kirkwood? I think it does not make sense to do per-board switching as it is de-facto platform related code.
Hi Stefan,
I would like to see this too. I was thinking of doing it per board, but it is more appropriate to enable it for Arch_Kirkwood and Arch_MVEBU.
Thanks,
Tony
Quoted 8 lines · Pali Rohár
Hello Stefan! Now when U-Boot contains new
orion-timer.cdriver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards prints deprecation warning that new timer is not being used. Could you look at it, if it is possible to do global switch for mach-mvebu and mach-kirkwood? I think it does not make sense to do per-board switching as it is de-facto platform related code.
Hi Pali,
Quoted 7 lines · Pali Rohár
Hello Stefan! Now when U-Boot contains new
orion-timer.cdriver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards prints deprecation warning that new timer is not being used. Could you look at it, if it is possible to do global switch for mach-mvebu and mach-kirkwood? I think it does not make sense to do per-board switching as it is de-facto platform related code.
Yes, I also though about this.
But...
In Linux we have 2 different timer clocksource drivers for Orion / Kirkwood and Armada XP / 370 etc:
drivers/clocksource/timer-orion.cdrivers/clocksource/timer-armada-370-xp.c
I did not check, if and why this is necessary to handle those chips via different drivers yet. Perhaps later this week. Or someone of you beats me with this. ;)
Thanks,
Stefan
Hi,
Quoted 16 lines · Pali Rohár
Quoted 7 lines
Hello Stefan! Now when U-Boot contains new
orion-timer.cdriver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards prints deprecation warning that new timer is not being used. Could you look at it, if it is possible to do global switch for mach-mvebu and mach-kirkwood? I think it does not make sense to do per-board switching as it is de-facto platform related code.Yes, I also though about this.
But...
In Linux we have 2 different timer clocksource drivers for Orion / Kirkwood and Armada XP / 370 etc:
Quoted 6 lines
drivers/clocksource/timer-orion.cdrivers/clocksource/timer-armada-370-xp.cI did not check, if and why this is necessary to handle those chips via different drivers yet. Perhaps later this week. Or someone of you beats me with this. ;)
One thing which is definitely missing is
https://elixir.bootlin.com/u-boot/v2022.10-rc3/source/arch/arm/mach-mvebu/timer.c#L33
I didn't bother to handle that one. And of course all the compatibles are missing.
-michael
Hi Michael, Pali, Tony & all,
Quoted 25 lines · Michael Walle
Hi,
Quoted 16 lines · Pali Rohár
Quoted 7 lines
Hello Stefan! Now when U-Boot contains new
orion-timer.cdriver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards prints deprecation warning that new timer is not being used. Could you look at it, if it is possible to do global switch for mach-mvebu and mach-kirkwood? I think it does not make sense to do per-board switching as it is de-facto platform related code.Yes, I also though about this.
But...
In Linux we have 2 different timer clocksource drivers for Orion / Kirkwood and Armada XP / 370 etc:
Quoted 6 lines
drivers/clocksource/timer-orion.cdrivers/clocksource/timer-armada-370-xp.cI did not check, if and why this is necessary to handle those chips via different drivers yet. Perhaps later this week. Or someone of you beats me with this. ;)
Quoted 5 lines
One thing which is definitely missing is
https://elixir.bootlin.com/u-boot/v2022.10-rc3/source/arch/arm/mach-mvebu/timer.c#L33I didn't bother to handle that one. And of course all the compatibles are missing.
Thanks. Just a short status update:
I'm currently busy with this CONFIG_TIMER migration for MVEBU / Kirkwood. Looks good so far - I can only test on Armada XP right now. So I need some extensive testing on all other kind of Marvell 32bit users / developers. I expect to send the first draft patchset in a few days.
Thanks,
Stefan
Quoted 36 lines · On Monday 29 August 2022 14:07:29 Stefan Roese wrote:
Hi Michael, Pali, Tony & all,
Quoted 25 lines · Michael Walle
Hi,
Quoted 16 lines · Pali Rohár
Quoted 7 lines
Hello Stefan! Now when U-Boot contains new
orion-timer.cdriver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards prints deprecation warning that new timer is not being used. Could you look at it, if it is possible to do global switch for mach-mvebu and mach-kirkwood? I think it does not make sense to do per-board switching as it is de-facto platform related code.Yes, I also though about this.
But...
In Linux we have 2 different timer clocksource drivers for Orion / Kirkwood and Armada XP / 370 etc:
Quoted 6 lines
drivers/clocksource/timer-orion.cdrivers/clocksource/timer-armada-370-xp.cI did not check, if and why this is necessary to handle those chips via different drivers yet. Perhaps later this week. Or someone of you beats me with this. ;)
Quoted 5 lines
One thing which is definitely missing is
https://elixir.bootlin.com/u-boot/v2022.10-rc3/source/arch/arm/mach-mvebu/timer.c#L33I didn't bother to handle that one. And of course all the compatibles are missing.
Thanks. Just a short status update:
Quoted 8 lines
I'm currently busy with this
CONFIG_TIMERmigration for MVEBU / Kirkwood. Looks good so far - I can only test on Armada XP right now. So I need some extensive testing on all other kind of Marvell 32bit users / developers. I expect to send the first draft patchset in a few days.Thanks,
Stefan
I will test it on Turris Omnia - A385.
Hi Stefan,
Quoted 44 lines · Pali Rohár
Quoted 42 lines · On Monday 29 August 2022 14:07:29 Stefan Roese wrote:
Hi Michael, Pali, Tony & all,
Quoted 25 lines · Michael Walle
Hi,
Quoted 16 lines · Pali Rohár
Quoted 7 lines
Hello Stefan! Now when U-Boot contains new
orion-timer.cdriver, which Michael wrote, I think that it mvebu platform should switch to use it. Because build process for armada boards prints deprecation warning that new timer is not being used. Could you look at it, if it is possible to do global switch for mach-mvebu and mach-kirkwood? I think it does not make sense to do per-board switching as it is de-facto platform related code.Yes, I also though about this.
But...
In Linux we have 2 different timer clocksource drivers for Orion / Kirkwood and Armada XP / 370 etc:
Quoted 6 lines
drivers/clocksource/timer-orion.cdrivers/clocksource/timer-armada-370-xp.cI did not check, if and why this is necessary to handle those chips via different drivers yet. Perhaps later this week. Or someone of you beats me with this. ;)
Quoted 5 lines
One thing which is definitely missing is
https://elixir.bootlin.com/u-boot/v2022.10-rc3/source/arch/arm/mach-mvebu/timer.c#L33I didn't bother to handle that one. And of course all the compatibles are missing.
Thanks. Just a short status update:
I'm currently busy with this
CONFIG_TIMERmigration for MVEBU / Kirkwood. Looks good so far - I can only test on Armada XP right now. So I need some extensive testing on all other kind of Marvell 32bit users / developers. I expect to send the first draft patchset in a few days.
Quoted 4 lines
Quoted 2 lines
Thanks,
StefanI will test it on Turris Omnia - A385.
I will test it on a few Kirkwood boards (88F6281, 88F6282, 88F6192). Please let us know if you have any particular suggestion for a good test.
Best,
Tony