[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#852132: linux-latest: Add support for Hardkernel Odroid-C2



On 01/24/2017 05:47 PM, Ben Hutchings wrote:
> On Sat, 21 Jan 2017 21:00:18 +0100 Heinrich Schuchardt
> <xypron.glpk@gmx.de> wrote:
>> Package: linux-latest
>> Severity: wishlist
>>  
>> Dear Maintainer,
>>  
>> please, add support for the Hardkernel Odroid C2 to the kernel configuration.
>>  
>> For 4.9 kernels this involves:
>>  
>> CONFIG_ARCH_MESON=y
>> CONFIG_SERIAL_MESON=y
>> CONFIG_SERIAL_MESON_CONSOLE=y
>> CONFIG_HW_RANDOM_MESON=m
>> CONFIG_I2C_MESON=m
>> CONFIG_SPI_MESON_SPIFC=m
>> CONFIG_PINCTRL_MESON=y
>> CONFIG_MESON_GXBB_WATCHDOG=y
>> CONFIG_PWM_MESON=m
>> CONFIG_RESET_MESON=y
>> CONFIG_MESON_SM=y
>> CONFIG_COMMON_CLK_AMLOGIC=y
> 
> I can do all this, except I think the watchdog driver can and should be
> a module.
> 
>> For 4.10 kernels this involves
>>  
>> CONFIG_ARCH_MESON=y
>> CONFIG_DWMAC_MESON=y
>> CONFIG_MESON_GXL_PHY=y
>> CONFIG_SERIAL_MESON=y
>> CONFIG_SERIAL_MESON_CONSOLE=y
>> CONFIG_HW_RANDOM_MESON=m
>> CONFIG_I2C_MESON=m
>> CONFIG_SPI_MESON_SPIFC=m
>> CONFIG_PINCTRL_MESON=y
>> CONFIG_MESON_GXBB_WATCHDOG=y
>> CONFIG_MESON_WATCHDOG=y
>> CONFIG_DRM_MESON=m
>> CONFIG_MMC_MESON_GX=y
>> CONFIG_PWM_MESON=m
>> CONFIG_RESET_MESON=y
>> CONFIG_PHY_MESON8B_USB2=m
>> CONFIG_MESON_SM=y
>> CONFIG_COMMON_CLK_AMLOGIC=y
> 
> Given that we're going to be using 4.9 in Debian 9 'stretch', are you
> interested in getting the Meson changes in 4.10 backported?

USB is not yet really usable in 4.10. So what would deserve backporting
is MMC and some networking patches.

I append the patch series that should provide MMC. This week I am
without access to my Odroid C2 so I was only able to test that the
patches are applicable to v4.9 but not if they alone provide the
necessary functionality.

0903-0955 I only included to avoid any reworking of the other patches.
But maybe that is not your preferred way of backporting.

> 
>> The following patch is essential. It is queued for 4.10-rc6:
>>  
>> ARM64: dts: meson-gx: Add firmware reserved memory zones
>> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=ecb88f3001ed9ee8c53450d971de8c18bcbf7925
> 
> This is queued up for the next upload.  For 4.9 I had to change the
> filename to arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi

Probably that is due to missing appended patch
0903-ARM64-dts-amlogic-Add-Meson-GX-dtsi-from-GXBB.patch

Could you, please, indicate on which git repository/branch I should base
any testing?

Best regards

Heinrich

Attachment: odroid-c2-mmc.tar.gz
Description: GNU Zip compressed data


Reply to: