[U-Boot] [PATCH] sunxi: add support for Orange Pi R1 board

Icenowy Zheng icenowy at aosc.io
Mon Nov 13 12:42:34 UTC 2017


在 2017-11-13 20:38,Maxime Ripard 写道:
> Hi,
> 
> On Mon, Nov 13, 2017 at 07:34:46PM +0800, Icenowy Zheng wrote:
>> +++ b/configs/orangepi_r1_defconfig
>> @@ -0,0 +1,19 @@
>> +CONFIG_ARM=y
>> +CONFIG_ARCH_SUNXI=y
>> +CONFIG_MACH_SUN8I_H3=y
>> +CONFIG_DRAM_CLK=624
>> +CONFIG_DRAM_ZQ=3881979
>> +CONFIG_DRAM_ODT_EN=y
>> +# CONFIG_VIDEO_DE2 is not set
>> +CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-r1"
>> +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>> +CONFIG_CONSOLE_MUX=y
> 
> Why?

This option is also present on the original Orange Pi Zero
defconfig. If you like I will delete it.

> 
>> +CONFIG_SPL=y
>> +# CONFIG_CMD_FLASH is not set
>> +# CONFIG_CMD_FPGA is not set
>> +CONFIG_SPL_SPI_SUNXI=y
>> +CONFIG_SUN8I_EMAC=y
>> +CONFIG_USB_EHCI_HCD=y
>> +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
>> +CONFIG_USB_HOST_ETHER=y
>> +CONFIG_USB_ETHER_RTL8152=y
> 
> Shouldn't this one depend on USB_HOST_ETHER?

I think so, but `make savedefconfig` generates this; if the
CONFIG_USB_HOST_ETHER line is deleted, `make orangepi_r1_defconfig`
won't be able to enable CONFIG_USB_ETHER_RTL8152 properly.

> 
> Thanks!
> Maxime


More information about the U-Boot mailing list