[PATCH 2/2] configs: rock5b-rk3588: add rtl8169 driver
Eugen Hristev
eugen.hristev at collabora.com
Mon May 15 14:57:14 CEST 2023
On 5/15/23 15:52, Tom Rini wrote:
> On Mon, May 15, 2023 at 03:36:24PM +0300, Eugen Hristev wrote:
>> On 5/6/23 01:03, Tom Rini wrote:
>>> On Tue, Apr 25, 2023 at 04:06:59PM +0300, Eugen Hristev wrote:
>>>> Add the rtl8169 driver, which supports the rtl8125b device, which is
>>>> connected on the pciE bus on this board.
>>>> Enable also CONFIG_SYS_HAS_NONCACHED_MEMORY to have the descriptors stored.
>>>>
>>>> Signed-off-by: Eugen Hristev <eugen.hristev at collabora.com>
>>>> ---
>>>> configs/rock5b-rk3588_defconfig | 2 ++
>>>> 1 file changed, 2 insertions(+)
>>>>
>>>> diff --git a/configs/rock5b-rk3588_defconfig b/configs/rock5b-rk3588_defconfig
>>>> index a14fcd2ee924..bfa48227aee2 100644
>>>> --- a/configs/rock5b-rk3588_defconfig
>>>> +++ b/configs/rock5b-rk3588_defconfig
>>>> @@ -1,5 +1,6 @@
>>>> CONFIG_ARM=y
>>>> CONFIG_SKIP_LOWLEVEL_INIT=y
>>>> +CONFIG_SYS_HAS_NONCACHED_MEMORY=y
>>>> CONFIG_COUNTER_FREQUENCY=24000000
>>>> CONFIG_ARCH_ROCKCHIP=y
>>>> CONFIG_TEXT_BASE=0x00a00000
>>>> @@ -71,6 +72,7 @@ CONFIG_MMC_SDHCI_SDMA=y
>>>> CONFIG_MMC_SDHCI_ROCKCHIP=y
>>>> CONFIG_SPI_FLASH_MACRONIX=y
>>>> CONFIG_ETH_DESIGNWARE=y
>>>> +CONFIG_RTL8169=y
>>>> CONFIG_GMAC_ROCKCHIP=y
>>>> CONFIG_PCI=y
>>>> CONFIG_PCIE_DW_ROCKCHIP=y
>>>
>>> Does this depend on some series I missed where PCI is enabled on this
>>> config?
>>>
>>
>> Hi Tom,
>>
>> the network device is connected on PCI express, that is right. I have a
>> separate series for that.
>> However, the network driver itself and the enabling of the network driver is
>> somewhat independent, so I sent it as a separate series (this one )
>> I think the config patch can go through rockchip custodian tree.
>
> With 1/2 now applied this results in failure to build due to DM_PCI not
> being enabled.
>
This is most strange. 1/2 are just changes in the driver. How does that
cause a build failure ?
The driver is not even selected for this config in 2/2, before the
actual patch.
Do you have the log of the failure so I can have a look ?
More information about the U-Boot
mailing list