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

Tian Yuanhao tianyuanhao at aliyun.com
Mon Jul 6 12:21:12 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.
> Hi again Yuanhao,
> If any user wants to flash images via fastboot, then will it be 
> possible if we use the idea of u-boot-rockchip.bin ?
> Suniel
I think that's okay, but I have never done it. You better ask Jagan too.

Regards,
Yuanhao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200706/4074b63a/attachment.html>


More information about the buildroot mailing list