2

In linux kernel 5.4.21, there are many xxx_defconfig files under arch/arm/configs.
But under arch/arm64/configs, there is only one file named "defconfig". Why is it so?

Chan Kim
  • 5,177
  • 12
  • 57
  • 112

1 Answers1

1

The original ARM was developed some years ago whereas ARM64 is more current. The desire would be to have only a single defconfig. However, some ARM32 systems have a limited boot loader instead of a modern u-boot capable of sending a device tree. Some of the 32 bit ARM systems may boot with 'ATAGS'. This is not supported with ARM64. These cases require specific configuration files.

For the ARM64 you are free to make your own .config, but the kernel developers only need to support one and it should work on all systems (but be slightly bigger and includes modules).

artless noise
  • 21,212
  • 6
  • 68
  • 105
  • I see.. thanks. A question. I see no "defconfig" under arch/arm/configs. If I were to build a kernel for a new arm32 machine, I just have to select closest xxx_defconfig from under arch/arm/configs and not arch/arm64/configs/defconfig. Is this correct? – Chan Kim Nov 19 '20 at 04:24