Switching to 4.10
Rick Altherr
raltherr at google.com
Thu Apr 27 03:30:08 AEST 2017
I saw Joel started https://gerrit.openbmc-project.xyz/#/c/2846/ which has a
defconfig for ast2400. If you have one for ast2500, please upload a new
patch set to that change.
On Tue, Apr 25, 2017 at 5:30 PM, Xo Wang <xow at google.com> wrote:
> On Tue, Apr 25, 2017 at 4:57 PM, Xo Wang <xow at google.com> wrote:
> > Hi Joel,
> >
> > On Thu, Apr 20, 2017 at 7:30 PM, Joel Stanley <joel at jms.id.au> wrote:
> >> Hello team,
> >>
> >> I want to make the 4.10 change happen. We don't have the resource to
> >> be maintaining two trees, and the 4.10 tree has a whole heap of
> >> shinyness - faster network, faster flash access, improved I2C.
> >>
> >> To this end I will stop merging patches in to 4.7. Please target the
> >> 4.10 tree from here on.
> >>
> >> Use this thread to discuss concerns and coordinate the work that needs
> >> to be done. Bits that I'm aware of
> >>
> >> - Eddie is updating userspace to the new FSI APIs
> >> - I need to merge the upstream FSI patchset
> >> - Brednan needs to post the lastest version of the i2c patchset which
> >> I will merge
> >> - I need to merge benh's ftgmac100 improvements
> >
> > We'll need to update the defconfig in the build system. Currently if I
> > compile the kernel and generate a new defconfig (make savedefconfig),
> > I see the following changes in the 4.10 generated defconfig:
> >
> > @@ -73,7 +73,6 @@
> > CONFIG_MTD_BLOCK=y
> > CONFIG_MTD_PARTITIONED_MASTER=y
> > CONFIG_MTD_SPI_NOR=y
> > -CONFIG_ASPEED_FLASH_SPI=y
> > CONFIG_MTD_UBI=y
> > CONFIG_MTD_UBI_FASTMAP=y
> > CONFIG_MTD_UBI_BLOCK=y
> > @@ -116,7 +115,6 @@
> > # CONFIG_SERIO is not set
> > # CONFIG_VT is not set
> > CONFIG_LEGACY_PTY_COUNT=4
> > -# CONFIG_DEVKMEM is not set
> > CONFIG_SERIAL_8250=y
> > # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
> > CONFIG_SERIAL_8250_CONSOLE=y
> > @@ -131,10 +129,8 @@
> > CONFIG_I2C=y
> > CONFIG_I2C_CHARDEV=y
> > CONFIG_I2C_ASPEED=y
> > -CONFIG_SENSORS_MAX31785=y
> > CONFIG_SENSORS_LM75=y
> > CONFIG_SENSORS_NCT7904=y
> > -CONFIG_SENSORS_POWER8_OCC_I2C=y
> > CONFIG_PMBUS=y
> > CONFIG_SENSORS_ADM1275=y
> > CONFIG_SENSORS_UCD9000=y
> > @@ -143,21 +139,14 @@
> > # CONFIG_USB_SUPPORT is not set
> > CONFIG_NEW_LEDS=y
> > CONFIG_LEDS_CLASS=y
> > -CONFIG_LEDS_GPIO=y
> > CONFIG_LEDS_TRIGGERS=y
> > CONFIG_LEDS_TRIGGER_TIMER=y
> > CONFIG_LEDS_TRIGGER_HEARTBEAT=y
> > -CONFIG_LEDS_TRIGGER_GPIO=y
> > CONFIG_RTC_CLASS=y
> > CONFIG_RTC_DRV_DS1307=y
> > CONFIG_RTC_DRV_ASPEED=y
> > CONFIG_MAILBOX=y
> > -CONFIG_ASPEED_MBOX=y
> > # CONFIG_IOMMU_SUPPORT is not set
> > -CONFIG_FSI=y
> > -CONFIG_FSI_MASTER_GPIO=y
> > -CONFIG_FSI_SCOM=y
> > -CONFIG_FSI_I2C=y
> > CONFIG_FIRMWARE_MEMMAP=y
> > CONFIG_FANOTIFY=y
> > CONFIG_AUTOFS4_FS=y
> >
> >>
> >> Cheers,
> >>
> >> Joel
> >
> > I know that CONFIG_ASPEED_FLASH_SPI is now CONFIG_SPI_ASPEED_SMC, but
> > I've yet to look at each of the other differences.
> >
> > cheers
> > xo
>
> OK, I guess it's not that much work to look at those configs. This
> seems to work up to the limit of the missing FSI drivers as previously
> mentioned:
>
> --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-
> kernel/linux/linux-obmc/defconfig
> +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2500/recipes-
> kernel/linux/linux-obmc/defconfig
> @@ -73,7 +73,7 @@ CONFIG_MTD_CMDLINE_PARTS=y
> CONFIG_MTD_BLOCK=y
> CONFIG_MTD_PARTITIONED_MASTER=y
> CONFIG_MTD_SPI_NOR=y
> -CONFIG_ASPEED_FLASH_SPI=y
> +CONFIG_SPI_ASPEED_SMC=y
> CONFIG_MTD_UBI=y
> CONFIG_MTD_UBI_FASTMAP=y
> CONFIG_MTD_UBI_BLOCK=y
> @@ -116,7 +116,6 @@ CONFIG_INPUT_EVDEV=y
> # CONFIG_SERIO is not set
> # CONFIG_VT is not set
> CONFIG_LEGACY_PTY_COUNT=4
> -# CONFIG_DEVKMEM is not set
> CONFIG_SERIAL_8250=y
> # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
> CONFIG_SERIAL_8250_CONSOLE=y
> @@ -131,10 +130,11 @@ CONFIG_ASPEED_BT_IPMI_BMC=y
> CONFIG_I2C=y
> CONFIG_I2C_CHARDEV=y
> CONFIG_I2C_ASPEED=y
> -CONFIG_SENSORS_MAX31785=y
> +CONFIG_GPIOLIB=y
> +CONFIG_GPIO_SYSFS=y
> +CONFIG_GPIO_ASPEED=y
> CONFIG_SENSORS_LM75=y
> CONFIG_SENSORS_NCT7904=y
> -CONFIG_SENSORS_POWER8_OCC_I2C=y
> CONFIG_PMBUS=y
> CONFIG_SENSORS_ADM1275=y
> CONFIG_SENSORS_UCD9000=y
> @@ -152,12 +152,8 @@ CONFIG_RTC_CLASS=y
> CONFIG_RTC_DRV_DS1307=y
> CONFIG_RTC_DRV_ASPEED=y
> CONFIG_MAILBOX=y
> -CONFIG_ASPEED_MBOX=y
> +CONFIG_ASPEED_LPC_MBOX=y
> # CONFIG_IOMMU_SUPPORT is not set
> -CONFIG_FSI=y
> -CONFIG_FSI_MASTER_GPIO=y
> -CONFIG_FSI_SCOM=y
> -CONFIG_FSI_I2C=y
> CONFIG_FIRMWARE_MEMMAP=y
> CONFIG_FANOTIFY=y
> CONFIG_AUTOFS4_FS=y
>
> cheers
> xo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20170426/01180eb8/attachment.html>
More information about the openbmc
mailing list