[Buildroot] [PATCH] configs/rockpro64: new defconfig

Romain Naour romain.naour at gmail.com
Sun May 3 09:54:07 UTC 2020


Hi Suniel,

Le 03/05/2020 à 09:16, Suniel Mahesh a écrit :
> Hi Romain,
> 
> On Sun, May 3, 2020 at 2:44 AM Romain Naour <romain.naour at gmail.com
> <mailto:romain.naour at gmail.com>> wrote:
> 
>     Hi Suniel,
> 
>     Le 02/05/2020 à 00:34, sunil at amarulasolutions.com
>     <mailto:sunil at amarulasolutions.com> a écrit :
>     > From: Suniel Mahesh <sunil at amarulasolutions.com
>     <mailto:sunil at amarulasolutions.com>>
>     >
>     > A defconfig for the rockpro64 was added in
>     > 59e1077b4ebe79622a454b0a8a840e4349a0440d, but then removed
>     > in 10f49213b7e2837ae6ed63fc16fbdaa954ecd87f because an ARM32
>     > compiler was needed to build ATF, and this was not supported
>     > back then.
>     >
>     > Now, since package/arm-gnu-a-toolchain/ has been added, this
>     > defconfig can be re-introduced.
>     >
>     > Following new changes are introduced in comparision with the
>     > older changeset:
>     >
>     >     - renamed defconfig from pine64_rockpro64 to rockpro64
>     >     - updated readme
>     >     - using a GPT partition layout
>     >     - update defconfig to build ATF
>     >     - bump u-boot to 2020.04
>     >     - bump linux to 5.4.35
>     >
>     > Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com
>     <mailto:sunil at amarulasolutions.com>>
>     > ---
> 
>     [...]
> 
>     > +
>     > +# Firmware
>     > +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
>     > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
>     >
>     +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git"
>     >
>     +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="11a0a46a899fcc3b1fdb214b382f3d7495d88eca"
>     > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399"
>     > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
>     > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y
>     > +BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES=""
>     > +
>     > +# Bootloader
>     > +BR2_TARGET_UBOOT=y
>     > +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>     > +BR2_TARGET_UBOOT_CUSTOM_VERSION=y
>     > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04"
>     > +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rockpro64-rk3399"
> 
>     Not related to this patch but our rock64 defconfig is currently broken [1] since
>     a while due to incompatibility between uboot-2017.09-rockchip-ayufan fork and
>     pylibfdt. Even with the latest version [2], it doesn't build.
> 
>     Do you think we can update to rock64 uboot to 2020.04 and use
>     rock64-rk3328_defconfig ?
> 
>     [1] https://gitlab.com/buildroot.org/buildroot/-/jobs/535054620
>     [2]
>     https://github.com/ayufan-rock64/linux-u-boot/releases/tag/2017.09-rockchip-ayufan-1065-g95f6152134
> 
>     Thanks!
> 
> 
> Yes you can try that, also you can bump up kernel and ATF versions. Hope that works.

I changed those lines:

-BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/ayufan-rock64/linux-u-boot.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="2017.09-rockchip-ayufan-1035-gd646df03ac"
+BR2_TARGET_UBOOT_CUSTOM_VERSION=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04"

Indeed it build correctly but I can't do a runtime test, I don't have the board.

Michał: At some point the defconfig will be removed if nobody is able to test.

Best regards,
Romain


> 
> Suniel
>  
> 
> 
>     Best regards,
>     Romain
> 




More information about the buildroot mailing list