buildroot for arm kernel defconfig

2019-04-29 12:50发布

I am trying to build a buildroot with kernel image, and after doing make menuconfig and make, I am getting:

No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting

I can set a string to the defconfig, but I don't know what to put there.

My target system is an AT91SAM9RL board.

edit: I found out there are some pre-made config files to some devices, actually not exactly matching to my target.

1条回答
The star\"
2楼-- · 2019-04-29 13:40

You can issue the default configuration process by running make xxx_defconfig and that make target is a file in the folder arch/arm/configs/. These default configurations are not designed to exactly fit your target, but are rather meant to be a superset so you only have to modify them a bit.

The make xxx_defconfig creates your initial .config, which you can now edit through make menuconfig and make your changes. After that, you can run make which will then compile the kernel using your settings.

查看更多
登录 后发表回答