[Buildroot] [PATCH v3 2/2] configs/rock_pi_4: new defconfig

Tian Yuanhao tianyuanhao at aliyun.com
Mon Jul 6 08:13:46 UTC 2020


I deleted some content for easy reading.
>> Hi Suniel,
>>> Add initial support for RK3399 based rockpi-4 targets (model A, B, C)
>>> with below features:
>>>     - Custom U-Boot 2020.07-rc4
>>>       https://github.com/amarula/u-boot-amarula.git
>>>       branch rock-pi
>>>     - Linux 5.4.46
>>>     - GPT partition layout is being used
>>>     - Default packages from buildroot
>>> ...
>>> +    partition loader1 {
>>> +        image = "idbloader.img"
>>> +        offset = 32K
>>> +    }
>>> +
>>> +    partition loader2 {
>>> +        image = "u-boot.itb"
>>> +        offset = 8M
>>> +    }
>> I think using u-boot-rockchip.bin is simpler.
>>     partition u-boot {
>>         offset = "32K"
>>         image = "u-boot-rockchip.bin"
>>         in-partition-table = false
>>     } 
> Hi Tian,
> Rockchip uses unified GPT as its main partition table. We are just
> following that.
> doc/README.rockchip (GPT partition layout)
> http://rockchip.wikidot.com/partitions
See https://patchwork.kernel.org/patch/11326313/
u-boot-rockchip.bin consists of idbloader.img and u-boot.itb,
and contains a gap of 8355840 bytes.
The result is the same as yours, and more simple.

Regards,
Yuanhao


More information about the buildroot mailing list