[Buildroot] [PATCH v2 4/9] board: Add Sipeed MAIX-bit support

Arnout Vandecappelle arnout at mind.be
Sat Jul 24 14:56:29 UTC 2021



On 24/07/2021 00:43, Damien Le Moal wrote:
> On 2021/07/24 7:35, Thomas Petazzoni wrote:
>> Hello,
>>
>> On Sat, 24 Jul 2021 00:25:27 +0200
>> Arnout Vandecappelle <arnout at mind.be> wrote:
>>
>>>> +++ b/board/canaan/k210-common/busybox-tiny-initramfs.config  
>>>
>>>  Wouldn't it be better to start from busybox-minimal.config and just add a
>>> fragment that removes the unnecessary options?
>>
>> Also, we already have a package/busybox/busybox-minimal.config. I'm not
>> sure we want to add zillions of "minimal" Busybox configurations.
> 
> OK. In this case, this is all about saving memory and getting that busybox
> process as small as possible, given the super low amount of free memory
> available after boot.

 Yes indeed - in this case it's even more about RAM than about flash space, right?

 So that's why I proposed to make a config fragment that disables some things
from busybox-minimal.config. Note that you can use utils/diffconfig to generate
that fragment.

 Note to Thomas: the other configs do use busybox-minimal.config, so Damien was
aware of its existence.

 Regards,
 Arnout



More information about the buildroot mailing list