All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: quentin.schulz@theobroma-systems.com,
	Quentin Schulz <foss+uboot@0leil.net>,
	sjg@chromium.org, philipp.tomsich@vrull.eu,
	klaus.goger@theobroma-systems.com, knaerzche@gmail.com,
	u-boot@lists.denx.de
Subject: Re: [PATCH v2 11/12] rockchip: lion-rk3368: migrate to u-boot-rockchip.bin
Date: Fri, 21 Oct 2022 09:14:45 +0800	[thread overview]
Message-ID: <60853090-42d6-02f3-b637-e3c6d3934486@rock-chips.com> (raw)
In-Reply-To: <224775e4-d2da-f5cf-087c-7570154f0bf0@theobroma-systems.com>


On 2022/10/19 22:10, quentin.schulz@theobroma-systems.com wrote:
> Hi Kever,
>
> On 10/19/22 2:47 PM, Kever Yang <kever.yang@rock-chips.com> wrote:
>> Hi Quentin,
>>
>>      This is report by the  denx ci system:
>>
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__source.denx.de_u-2Dboot_custodians_u-2Dboot-2Drockchip_-2D_jobs_515913&d=DwIDaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=jlsoDVbl-1nmumJr2buEbP1CHgfZWWOLR9Xh-ycxj-II1AQbLWozSLgCKBSYz-3o&s=dMfyQSyv3NY0elXedC3GxMELp8oSMp8hCy5WZniPV2U&e= 
>>
>
> I cannot see this page, probably a custodian account on that gitlab 
> instance is required?
>
>>      And I can reproduce it with buildman sheep-rk3568
>>
>
> I can reproduce by building for sheep-3368_defconfig indeed.
>
> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is not defined for this board 
> and it is used in the lion dts.
>
> Since the Lion dts is built for any RK3368-based board, it needs to be 
> defined for all boards based on RK3368 which is not the case for the 
> Sheep board.

The lion dts is only used for this board, the sheep board have its own 
dts, I didn't see any sheep dts include lion dts, but it's strange why 
the sheep-rk3368 fail with lion change.


>
> Was it a deliberate choice to build all DTS from a specific SoC, 
> whatever the board you're building for?
>
> I would have imagined that using CONFIG_TARGET_LION_RK3368 instead of 
> CONFIG_ROCKCHIP_RK3368 in arch/arm/dts/Makefile for deciding whether 
> to build a device tree would make more sense?
>
> For the time being, please just drop this patch, we don't really need 
> it at the moment so I'll have a look on how to do this properly when I 
> have time.

OK, you  can send the follow up patch if we figure out the reason.


Thanks,

- Kever

>
> Thanks!
> Quentin
>
>>
>> Thanks,
>>
>> - Kever
>>
>> On 2022/10/19 20:11, Quentin Schulz wrote:
>> > Hi Kever,
>> >
>> > On 10/19/22 13:28, Kever Yang wrote:
>> >> Hi Quentin,
>> >>
>> >>      I got below error when apply this patch, could you help to check
>> >>
>> >> +Error: arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi:44.16-17 
>> syntax >> error
>> >> +FATAL ERROR: Unable to parse input tree
>> >> +make[3]: *** [arch/arm/dts/rk3368-lion-haikou.dtb] Error 1
>> >> +make[2]: *** [arch-dtbs] Error 2
>> >>
>> >
>> > Did you run make lion-rk3368_defconfig before trying to compile the 
>> DTS?
>> >
>> > I ran:
>> > ```
>> > git checkout 3724ddf157
>> > b4 shazam --add-link --add-my-sob > 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lore.kernel.org_u-2Dboot_20220915091432.789294-2D1-2Dfoss-2Buboot-400leil.net_&d=DwIDaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=jlsoDVbl-1nmumJr2buEbP1CHgfZWWOLR9Xh-ycxj-II1AQbLWozSLgCKBSYz-3o&s=lpPi8rny7_X2xST4eJ40go_Uv41ZYqpuCeU46CpJCz4&e= 
>> make CROSS_COMPILE="ccache aarch64-linux-gnu-" lion-rk3368_defconfig
>> > make CROSS_COMPILE="ccache aarch64-linux-gnu-" j`nproc`
>> > ```
>> > and it compiled without any problem.
>> >
>> > Cheers,
>> > Quentin
>>

  reply	other threads:[~2022-10-21  1:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15  9:14 [PATCH v2 00/12] Puma RK3399 migration to TPL and numerous fixes Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 01/12] rockchip: puma-rk3399: fix boot_targets swap depending on U-Boot proper load medium Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 02/12] rockchip: puma-rk3399: use gpio-hog instead of fixed-regulator for enabling eMMC/SPI-NOR Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 03/12] rockchip: puma-rk3399: allow non-SD-Card-loaded SPL to load U-Boot proper from SD-Card Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 04/12] rockchip: puma-rk3399: remove unused default ENV_OFFSET for SPI flashes Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 05/12] rockchip: puma-rk3399: load environment from same MMC as used for loading U-Boot proper Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 06/12] rockchip: puma-rk3399: allow loading environment from SPI-NOR flash Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 07/12] rockchip: puma-rk3399: load environment from same medium as one used to load U-Boot proper Quentin Schulz
2022-10-17 13:12   ` Kever Yang
2022-09-15  9:14 ` [PATCH v2 08/12] rockchip: puma-rk3399: remove useless CONFIG_SYS_SPI_U_BOOT_OFFS Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 09/12] rockchip: puma-rk3399: migrate to TPL Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 10/12] rockchip: puma-rk3399: migrate to u-boot-rockchip.bin Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 11/12] rockchip: lion-rk3368: " Quentin Schulz
2022-09-28 11:57   ` Kever Yang
2022-10-19 11:28   ` Kever Yang
2022-10-19 12:11     ` Quentin Schulz
2022-10-19 12:47       ` Kever Yang
2022-10-19 14:10         ` quentin.schulz
2022-10-21  1:14           ` Kever Yang [this message]
2022-10-21  8:00             ` Quentin Schulz
2022-09-15  9:14 ` [PATCH v2 12/12] rockchip: puma-rk3399: migrate to u-boot-rockchip-spi.bin Quentin Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60853090-42d6-02f3-b637-e3c6d3934486@rock-chips.com \
    --to=kever.yang@rock-chips.com \
    --cc=foss+uboot@0leil.net \
    --cc=klaus.goger@theobroma-systems.com \
    --cc=knaerzche@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.