[Buildroot] [PATCH 016/102] board/bananapi/bananapi-m64/genimage.cfg: beautify file

Arnout Vandecappelle arnout at mind.be
Mon Nov 8 22:06:18 UTC 2021



On 08/11/2021 23:05, Giulio Benetti wrote:
> On 11/8/21 11:02 PM, Arnout Vandecappelle wrote:
>>
>>
>> On 07/11/2021 03:03, Giulio Benetti wrote:
>>> Beatify this genimage .cfg file to have consistency with all genimage .cfg
>>> files in Buildroot.
>>>
>>> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
>>> ---
>>>    board/bananapi/bananapi-m64/genimage.cfg | 5 +++--
>>>    1 file changed, 3 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/board/bananapi/bananapi-m64/genimage.cfg 
>>> b/board/bananapi/bananapi-m64/genimage.cfg
>>> index 9730d8faac..52127167ce 100644
>>> --- a/board/bananapi/bananapi-m64/genimage.cfg
>>> +++ b/board/bananapi/bananapi-m64/genimage.cfg
>>> @@ -6,6 +6,7 @@ image boot.vfat {
>>>                "boot.scr"
>>>            }
>>>        }
>>> +
>>>        size = 64M
>>>    }
>>> @@ -16,14 +17,14 @@ image sdcard.img {
>>>        partition spl {
>>>            in-partition-table = "no"
>>>            image = "sunxi-spl.bin"
>>> -        offset = 8192
>>> +        offset = 8K
>>>        }
>>>        partition u-boot {
>>>            in-partition-table = "no"
>>>            image = "u-boot.itb"
>>>            offset = 40K
>>> -        size = 1M # 1MB - 40K
>>> +        size = 984K # 1MB - 40KB
>>
>>    Since there's no way you actually tested this on a board, and there's a slight
>> risk that one of these defconfigs actually needs the full 1MB rather than 984K,
>> I've reverted all of those to 1M.
>>
> 
> Ok, I was uncertain on those, there are 3/4 as I remember like that.

  There are 10 of them, actually :-)

  Regards,
  Arnout



More information about the buildroot mailing list