Skip to contentSkip to conversation

ARM: omap1: remove unused board files

PATCH Guenter Roeck 2 participants 4 messages Feb 11, 2023

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 10 lines · Arnd Bergmann

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>

After this patch I can no longer boot the qemu sx1 emulation from mmc. Is this on purpose ?

Guenter

#1 lore raw
Quoted 6 lines · Guenter Roeck
Quoted 5 lines · Arnd Bergmann

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

Quoted 8 lines
Quoted 5 lines
Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>

After this patch I can no longer boot the qemu sx1 emulation from mmc. Is this on purpose ?

Thanks a lot for the report and for tracking it down to this commit!

This is not intentional and I don't see what is going on exactly. I had another look at the patch but don't see anything wrong with it, as it should only removed files that are dead code after the unused boards started depending on CONFIG_EXPERT.

I never managed to get sx1 to boot in qemu in the first place, so unfortunately I can't reproduce this here. Are you able to narrow it down a little further? My first guess was that something inadvertently changed in the output of 'make defconfig', but the only symbols I see there are CONFIG_ARCH_OMAP730 and CONFIG_ARCH_OMAP850, and I don't see any effect that they would have on an OMAP310/1510.

What happens if you disable those options manually on a working kernel?

Arnd

#2 lore raw
Quoted 31 lines · Arnd Bergmann
Quoted 6 lines · Guenter Roeck
Quoted 5 lines · Arnd Bergmann

All board support that was marked as 'unused' earlier can now be removed, leaving the five machines that that still had someone using them in 2022, or that are supported in qemu.

Quoted 8 lines
Quoted 5 lines
Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>

After this patch I can no longer boot the qemu sx1 emulation from mmc. Is this on purpose ?

Thanks a lot for the report and for tracking it down to this commit!

This is not intentional and I don't see what is going on exactly. I had another look at the patch but don't see anything wrong with it, as it should only removed files that are dead code after the unused boards started depending on CONFIG_EXPERT.

I never managed to get sx1 to boot in qemu in the first place, so unfortunately I can't reproduce this here. Are you able to narrow it down a little further? My first guess was that something inadvertently changed in the output of 'make defconfig', but the only symbols I see there are CONFIG_ARCH_OMAP730 and CONFIG_ARCH_OMAP850, and I don't see any effect that they would have on an OMAP310/1510.

Quoted 2 lines

What happens if you disable those options manually on a working kernel?

Those are not even listed as possible options. The key difference in defconfig is:

44a45

Quoted 1 line

CONFIG_IOSCHED_BFQ=y

79a81

Quoted 1 line

CONFIG_MMC_OMAP=y

and the latter is now disabled because

	depends on TPS65010 || !MACH_OMAP_H2

was changed to

	depends on TPS65010

and TPS65010 is not enabled in my configuration.

Removing the dependency of MMC_OMAP on TPS65010 fixes the problem.

Guenter

#3 lore raw
Quoted 14 lines · Guenter Roeck

On 2/11/23 12:06, Arnd Bergmann wrote:

Those are not even listed as possible options. The key difference in defconfig is:

44a45

Quoted 1 line

CONFIG_IOSCHED_BFQ=y

79a81

Quoted 1 line

CONFIG_MMC_OMAP=y

and the latter is now disabled because

	depends on TPS65010 || !MACH_OMAP_H2
Quoted 7 lines

was changed to

	depends on TPS65010

and TPS65010 is not enabled in my configuration.

Removing the dependency of MMC_OMAP on TPS65010 fixes the problem.

Ok, I see. I even fixed the same bug in USB_OMAP already and still didn't spot it at first. I'll add a fixup on top.

Arnd