Failed to build u-boot.itb on RK3568

Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Jagan.

Hi Jagan,
On 1/26/23 17:27, Jagan Teki wrote:
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Can you revert f5315dd6290a588434e4f79bfd2886bb7df9210d and try again?
Cheers, Quentin

On Thu, 26 Jan 2023 at 22:05, Quentin Schulz quentin.schulz@theobroma-systems.com wrote:
Hi Jagan,
On 1/26/23 17:27, Jagan Teki wrote:
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Can you revert f5315dd6290a588434e4f79bfd2886bb7df9210d and try again?
Yeah, fixed. Look like binman changes are expecting every board to use TPL.
Jagan.

Hi Jagan,
On 2023-01-26 17:44, Jagan Teki wrote:
On Thu, 26 Jan 2023 at 22:05, Quentin Schulz quentin.schulz@theobroma-systems.com wrote:
Hi Jagan,
On 1/26/23 17:27, Jagan Teki wrote:
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Can you revert f5315dd6290a588434e4f79bfd2886bb7df9210d and try again?
Yeah, fixed. Look like binman changes are expecting every board to use TPL.
I am using [1] as a fix and small hack to bundle a ddr.bin when u-boot-tpl is not built. Not sure if this is something worth sending upstream?
[1] https://github.com/Kwiboo/u-boot-rockchip/commit/41f28948613716395dafad105af...
Regards, Jonas
Jagan.

Hi Jagan,
On 1/26/23 17:44, Jagan Teki wrote:
On Thu, 26 Jan 2023 at 22:05, Quentin Schulz quentin.schulz@theobroma-systems.com wrote:
Hi Jagan,
On 1/26/23 17:27, Jagan Teki wrote:
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Can you revert f5315dd6290a588434e4f79bfd2886bb7df9210d and try again?
Yeah, fixed. Look like binman changes are expecting every board to use TPL.
This patch was merged without review and explanation, so only Kever knows why this is needed. v2023.01 is impacted as well since it was merged during -rc3.
https://lore.kernel.org/u-boot/9dab61dc-c266-c799-12df-b83b192979ca@theobrom... feel free to complain here too that it breaks stuff, or send a revert?
With Chinese New Year currently happening, I would not expect Kever to answer quickly.
Cheers, Quentin

From: Jagan Teki jagan@edgeble.ai Date: Thu, 26 Jan 2023 21:57:57 +0530
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Well, here is my insight:
As long as the only board supported board in mainline is an evaluation board that nobody in the community has, it won't be tested. Can we somehow make progress in getting some of the more popular RK356x boards (like the quartz64, nanopi r5s, raxda rock 3) in the tree?

On Thu, 26 Jan 2023 at 22:14, Mark Kettenis mark.kettenis@xs4all.nl wrote:
From: Jagan Teki jagan@edgeble.ai Date: Thu, 26 Jan 2023 21:57:57 +0530
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Well, here is my insight:
As long as the only board supported board in mainline is an evaluation board that nobody in the community has, it won't be tested. Can we somehow make progress in getting some of the more popular RK356x boards (like the quartz64, nanopi r5s, raxda rock 3) in the tree?
fyi: radxa-cm3 is part of Mailing list.
Jagan.

Hi
On Thu, Jan 26, 2023 at 5:46 PM Jagan Teki jagan@edgeble.ai wrote:
On Thu, 26 Jan 2023 at 22:14, Mark Kettenis mark.kettenis@xs4all.nl wrote:
From: Jagan Teki jagan@edgeble.ai Date: Thu, 26 Jan 2023 21:57:57 +0530
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Well, here is my insight:
As long as the only board supported board in mainline is an evaluation board that nobody in the community has, it won't be tested. Can we somehow make progress in getting some of the more popular RK356x boards (like the quartz64, nanopi r5s, raxda rock 3) in the tree?
fyi: radxa-cm3 is part of Mailing list.
Maybe we should setup some embedded lab, with boards. We are working to create some new testing boards to be use remotely for CI and developers. Do we have a way to make this setup for u-boot?
Michael
Jagan.

Hi Michael,
On 1/26/23 17:47, Michael Nazzareno Trimarchi wrote:
Hi
On Thu, Jan 26, 2023 at 5:46 PM Jagan Teki jagan@edgeble.ai wrote:
On Thu, 26 Jan 2023 at 22:14, Mark Kettenis mark.kettenis@xs4all.nl wrote:
From: Jagan Teki jagan@edgeble.ai Date: Thu, 26 Jan 2023 21:57:57 +0530
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Well, here is my insight:
As long as the only board supported board in mainline is an evaluation board that nobody in the community has, it won't be tested. Can we somehow make progress in getting some of the more popular RK356x boards (like the quartz64, nanopi r5s, raxda rock 3) in the tree?
fyi: radxa-cm3 is part of Mailing list.
Maybe we should setup some embedded lab, with boards. We are working to create some new testing boards to be use remotely for CI and developers. Do we have a way to make this setup for u-boot?
FWIW, we're interested too. We already have a LAVA lab for KernelCI so *our* solution will likely involve this. I know Mark Brown has interest in reusing LAVA too. I'm unfortunately lacking time to look at this properly at the moment. If you work out something, please present something at some conference or write a blog article :)
Tom shared the following information when I shared my interest in automated testing: https://u-boot.readthedocs.io/en/latest/develop/py_testing.html#testing-real... https://source.denx.de/u-boot/u-boot-test-hooks https://labgrid.com/ (seems to be down now)
Cheers, Quentin

On Thu, Jan 26, 2023 at 05:47:27PM +0100, Michael Nazzareno Trimarchi wrote:
Hi
On Thu, Jan 26, 2023 at 5:46 PM Jagan Teki jagan@edgeble.ai wrote:
On Thu, 26 Jan 2023 at 22:14, Mark Kettenis mark.kettenis@xs4all.nl wrote:
From: Jagan Teki jagan@edgeble.ai Date: Thu, 26 Jan 2023 21:57:57 +0530
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Well, here is my insight:
As long as the only board supported board in mainline is an evaluation board that nobody in the community has, it won't be tested. Can we somehow make progress in getting some of the more popular RK356x boards (like the quartz64, nanopi r5s, raxda rock 3) in the tree?
fyi: radxa-cm3 is part of Mailing list.
Maybe we should setup some embedded lab, with boards. We are working to create some new testing boards to be use remotely for CI and developers. Do we have a way to make this setup for u-boot?
I would really like to see someone leverage the lab management used by kernelci and then monitor U-Boot trees and leverage https://source.denx.de/u-boot/u-boot-test-hooks for the flash / etc portion required to run our current test suite. Currently we just have some ad-hoc labs that do this.

On Thu, Jan 26, 2023 at 05:44:17PM +0100, Mark Kettenis wrote:
From: Jagan Teki jagan@edgeble.ai Date: Thu, 26 Jan 2023 21:57:57 +0530
Hi,
The master branch seems broken with recent changes on binman, I found that u-boot.itb is not creating for evb-rk3568 boards.
HEAD commit 17e8e58fe62c019b2cc26af221b6defc3368229f Merge: 4e1ab2065e cd108f2795 Author: Tom Rini trini@konsulko.com Date: Tue Jan 24 21:07:01 2023 -0500
Any insight?
Well, here is my insight:
As long as the only board supported board in mainline is an evaluation board that nobody in the community has, it won't be tested. Can we somehow make progress in getting some of the more popular RK356x boards (like the quartz64, nanopi r5s, raxda rock 3) in the tree?
It sounds like CONFIG_BUILD_TARGET needs to be set for some more platforms as well, so that u-boot.itb would be trying to be built by default.
participants (6)
-
Jagan Teki
-
Jonas Karlman
-
Mark Kettenis
-
Michael Nazzareno Trimarchi
-
Quentin Schulz
-
Tom Rini