summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-bsp
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Move Romulus to ColdFire FSI driverJoel Stanley2018-08-221-1/+1
| | | | | | | | | | | | | | | This bumps the kernel to incldue a commit that switches to the ColdFire FSI driver. Benjamin Herrenschmidt (1): arm: dts: aspeed: Romulus can use coprocessor for FSI A note to developers: from here on you must use an initrd that includes the ast-cf-fsi.bin firmware, or FSI will not function. See commit 'openpower: Add ColdFire firmware to initrd'. Change-Id: I701381de714b5f200fc796a09a055ff4f0d14633 Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: Use new FSI chardev systemJoel Stanley2018-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel has changed how the character devices are allocated by the fsi driver. All of the in-tree users of fsi have been updated to use this new system. The changes include an optional feature improve the layout of userspace API. This is controlled by the CONFIG_FSI_NEW_DEV_NODE option, which we do not set yet. Benjamin Herrenschmidt (14): fsi: sbefifo: Fix inconsistent use of ffdc mutex fsi: Add support for device-tree provided chip IDs fsi: master-ast-cf: Fix build warnings on 64-bit platforms fsi: master-ast-cf: Mask unused bits in RTAG/RCRC fsi: master-ast-cf: Rename dump_trace() to avoid name collision fsi: Add new central chardev support fsi: sbefifo: Convert to use the new chardev fsi: scom: Convert to use the new chardev fsi: Add cfam char devices fsi: Prevent multiple concurrent rescans fsi: scom: Fix NULL dereference fsi: sbefifo: Bump max command length fsi: occ: Convert to use the new chardev arm: dts: aspeed: Change how power9 chips are represented on OpenPower Gustavo A. R. Silva (1): fsi: master-ast-cf: Fix memory leak Joel Stanley (1): fsi: sbefifo: Remove unnecessary mutex unlock Change-Id: I1201a7e6317776ab6bb4f4307b95d388defd66ee Signed-off-by: Joel Stanley <joel@jms.id.au>
* linux-nuvoton: move to v4.17.14Benjamin Fair2018-08-211-2/+2
| | | | | | | | | | Bump the Nuvoton Linux kernel version to 4.17.14. This includes a fix for the security vulnerability in #3359. Tested: Built and ran on the NPCM750 EVB. Change-Id: Ied49e5486ea84408de16e5b081238acfa3d00ae6 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* meta-nuvoton: evb-npcm750: disable MTD image generationBenjamin Fair2018-08-211-0/+4
| | | | | | | | | | | | | | | The OpenBMC build system doesn't currently generate a flash image usable by NPCM7XX BMCs, and the OpenBMC Nuvoton kernel doesn't have an MTD SPI-NOR driver. The MTD image generation build step is failing for the NPCM750 eval board, so disable it and instead generate a rootfs cpio suitable for loading from u-boot. Tested: Built for evb-npcm750 and was able to netboot the board Change-Id: I8b6275979d78b7d5657e77d25bd74f933c740ea8 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* kernel: ast2400 MTD, FSI ColdFireJoel Stanley2018-08-211-1/+1
| | | | | | | | | | | | | Alexander Amelkin (2): mtd: spi-nor: fix options for mx66l51235f mtd: spi-nor: fix spi register address for AST2400 Joel Stanley (1): fsi: master-ast-cf: Don't set FLAG_SWCLOCK on ast2400 Resolves: openbmc/openbmc#3358 Change-Id: Id2e7b9ba04f891c2a56bde1a6037e4c87ebf624c Signed-off-by: Joel Stanley <joel@jms.id.au>
* Fix inconsistent indentationAlexander Hedges2018-08-211-7/+7
| | | | | Change-Id: I8473b4c93915d57a513384c38137186353c052bd Signed-off-by: Alexander Hedges <ahedges@ethz.ch>
* kernel: Move to v4.17.14 stable releaseJoel Stanley2018-08-161-2/+2
| | | | | | | | | | This includes changes up to and including the 4.17.14 stable release. Notably for OpenBMC there are a number of fixes for handling malformed squashfs partitions. Resolves: openbmc/openbmc#3359 Change-Id: Ifda0efa9ad4f701777d789dcc68f9dad34d121d3 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Use ColdFire FSI interface on Palmetto (P8)Joel Stanley2018-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Moves Palmetto to use the kernel API, and the ColdFire master driver. This change bumps the kernel (with device tree changes) and the skeleton repository for a corresponding op-hostctl (host_control.exe) change. Palmetto is the only system in the tree using this code. Any out of tree systems (such as other P8s) must switch to using the kernel interface as well. Skeleton changes: Joel Stanley (1): hostctl: Move to kernel FSI interface Linux changes: Benjamin Herrenschmidt (2): ARM: dts: aspeed: Add Power8 CFAM description for use by Palmetto ARM: dts: aspeed: Palmetto system can use coprocessor for FSI Change-Id: I43aada22c9d7b21dc24bd5aae3c4dcb77bdaaa8f Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: Move to 4.17.11 stable releaseJoel Stanley2018-08-031-2/+2
| | | | | | | | This merges in the latest 4.17 stable tree, which includes fixes for USB gadget as well as security and other bug fixes. Change-Id: Ia2cd9ab232a0cb2ef7271fd1c643d4376fccfb3a Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: GCC8 fixes, FSI I2C update, ASPEED USB gadget fixJoel Stanley2018-08-031-1/+1
| | | | | | | | | | | | | | | | | | Arnd Bergmann (2): kbuild: add macro for controlling warnings to linux/compiler.h disable -Wattribute-alias warning for SYSCALL_DEFINEx() Benjamin Herrenschmidt (1): usb: gadget: aspeed: Workaround memory ordering issue Joel Stanley (1): i2c: fsi: Sync with v12 upstream submission Rasmus Villemoes (1): compiler.h: enable builtin overflow checkers and add fallback code Change-Id: I363f1000764544dc34c0daec6a7bfc17057a4088 Signed-off-by: Joel Stanley <joel@jms.id.au>
* u-boot-aspeed: Minor fixes and platform.S updatesJoel Stanley2018-08-021-1/+1
| | | | | | | | | | | | | | | Andrew Jeffery (3): checkpatch: Fix unescaped brace warning ast-g4: Fix typo in board_init() comment arch-aspeed: Make AHBC and SDMC header guards unique Joel Stanley (3): platform_g4: Update to v0.62 platform_g5: Update to v18 platform_g5: Disable CONFIG_DDR4_SUPPORT_HYNIX Change-Id: Ib3f78310356219391c72d803e9bb267b8573440c Signed-off-by: Joel Stanley <joel@jms.id.au>
* aspeed: Add ASPEEDBASEBrad Bishop2018-07-251-0/+2
| | | | | | | | | Define a variable that recipes can use for finding the root of the aspeed layer. Typically this is used to refer to the layer LICENSE for recipes that don't have any source repository. Change-Id: I22c1af313f65dee85eccfbc82cddc51dc731876a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed-kernel: ast2400: Remove DRM and unused FSI driversJoel Stanley2018-07-251-6/+1
| | | | | | | | | | | | | Disable the SBE FIFO and related drivers, as they are Power9 only. Disable the DRM framework and the ASPEED_GFX driver, as this driver has not been tested on the ast2400. Both of these changes are to reduce the size of the kernel binary, which is currently 56136 bytes (55kB) over size. Change-Id: Ice88b7ca9062c2dc4578a96ee5431c265fe75495 Signed-off-by: Joel Stanley <joel@jms.id.au>
* nuvoton: Set LAYERSERIES_COMPATBenjamin Fair2018-07-191-0/+1
| | | | | | | | Bitbake warns when this variable is not set for a layer. Set it in the Nuvoton BSP and EVB layers to indicate sumo branch compatiblity. Change-Id: If2dd63954ca88d0dc4e0427eb6c3ccf035681585 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* nuvoton: move npcm7xx support into meta-nuvoton layerBenjamin Fair2018-07-1913-19/+13
| | | | | | | | Move support for the npcm7xx SOCs directly into the meta-nuvoton BSP layer. This matches the layout for other chip vendors' BSPs. Change-Id: I47ac7a5b02cf87f6dd60d0f6fba2463c18e9fdf1 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* kernel: Move to 4.17.7 stable releaseJoel Stanley2018-07-181-2/+2
| | | | | | | This bumps the openbmc kernel to the latest stable release. Change-Id: I32b8c55c8a0759cc2b732dd7803171423a7e5b3c Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: FSI fixes, FSI ColdFire master, AST2400 scratch regsJoel Stanley2018-07-183-1/+3
| | | | | | | | | | | | | | | | | | | | | Benjamin Herrenschmidt (4): fsi: sbefifo: Fix checker warning about late NULL check fsi: Don't use device_unregister() in fsi_master_register() dt-bindings: fsi: Document binding for the fsi-master-ast-cf "device" fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire Guenter Roeck (1): fsi/sbefifo: Add dependency on OF_ADDRESS Joel Stanley (2): fsi: master-gpio: Sync with 'Add missing release function' ARM: dts: aspeed-g4: Expose SuperIO scratch registers Wei Yongjun (1): fsi: sbefifo: Fix missing unlock on error in sbefifo_dump_ffdc() Change-Id: I7b14830959e9e3ed4c1e38cf1a8106370f53b62a Signed-off-by: Joel Stanley <joel@jms.id.au>
* npcm7xx: kernel: replace linux-obmc with linux-nuvotonBenjamin Fair2018-07-165-4/+29
| | | | | | | | | The linux-obmc recipe has been removed and BSPs are expected to provide their own Linux recipes now. This updates the Nuvoton BSP to include its own Linux recipe so it can build successfully again. Change-Id: I61e0cf0745be6ae4e282b32abf36aad4c5f4b860 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* linux-aspeed: Fix defconfig SRC_URILei YU2018-07-163-2/+4
| | | | | | | | | | | | | | | | | | The defconfig in SRC_URI contains ast2400/2500 directory, when working with devtool, it causes the defconfig to be copied into unexpected subdirectory in working dir. Fix it by specifying FILESEXTRAPATHS_prepend and remove the directory from SRC_URI. Resolves: openbmc/openbmc#3294 Tested: Build linux-apseed on both Palmetto and Romulus and verify the defconfig is correctly used. Build, clean, and rebuild linux-aspeed with devtool and verify the defconfig is correctly used. Change-Id: I3ec9ab71f39f26e434f2eb593b27fbb34b69bd54 Signed-off-by: Lei YU <mine260309@gmail.com>
* aspeed: Set LAYERSERIES_COMPATBrad Bishop2018-07-121-0/+1
| | | | | | | | Starting with sumo, bitbake emits a warning if this variable is not set. Indicate sumo branch compatibility. Change-Id: I99921e6d710135b3eed4d23363a2b924af4906f6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* kernel: 4.17.4 stable releaseJoel Stanley2018-07-091-2/+2
| | | | | Change-Id: I0b513d04722b0709494d6f4768cc309784d46bfa Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: SBE, ASPEED USB VHUB, ASPEED clk, GPIOJoel Stanley2018-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Benjamin Herrenschmidt (12): usb/gadget: Constify usb_gadget_get_string "table" argument usb/gadget: Add driver for Aspeed SoC virtual hub usb: gadget: aspeed-vhub: Fix SETUP packets with OUT data phase ARM: dts: Add Aspeed SoC USB controllers to device-tree ARM: dts: Aspeed: Enable USB ports on eval board. clk: aspeed: Treat a gate in reset as disabled ARM: dts: aspeed: Add aspeed G4 USB pinmux arm: dts: aspeed: Add aspeed G5 USB host pinmux ARM: dts: aspeed: Add Aspeed G4 USB Virtual Hub ARM: dts: aspeed: Add Aspeed G5 USB Virtual Hub ARM: configs: Add USB gadget to Aspeed defconfigs ARM: dts: aspeed: Enable vhub on port A of AST2500 EVB Eddie James (1): fsi: sbefifo: Add missing mutex_unlock Joel Stanley (2): ARM: dts: aspeed: Enable VHUB on Romulus gpio: aspeed: Add gpio register data to copro request Change-Id: If6582b708faabf9a367566f4aae8d778cf4557f8 Signed-off-by: Joel Stanley <joel@jms.id.au>
* kernel: FSI, ASPEED SPI NOR, ASPEED GFXJoel Stanley2018-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Benjamin Herrenschmidt (11): drm: aspeed: Enable/disable vblank in pipe enable/disable devres: Add devm_of_iomap() fsi: Move code around to avoid forward declaration fsi: Add mechanism to set the tSendDelay and tEchoDelay values fsi: master-gpio: Rename and adjust send delay fsi: master-gpio: Add support for link_config fsi: master-gpio: Add more tracepoints fsi: master-gpio: Remove unused definitions fsi: master-gpio: Remove "GPIO" prefix on some definitions fsi: master-gpio: Add missing release function fsi: Move various master definitions to a common header Cédric Le Goater (2): ARM: dts: aspeed: Add "spi-max-frequency" property mtd: spi-nor: aspeed: limit the maximum SPI frequency Joel Stanley (2): ARM: config: aspeed: Enable SHA256 and HMAC ARM: config: aspeed: Re-enable DEVMEM Resolves: openbmc/openbmc#3164 Change-Id: I7f1970a8123b6d335e6dd2bda525c02cc393ede4 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
* kernel: Move to 4.17.3, aspeed clk fixJoel Stanley2018-06-271-2/+2
| | | | | | | | | | Joel Stanley (2): clk: aspeed: Support HPLL strapping on ast2400 ARM: configs: aspeed: Enable BLK_DEV_LOOP Merge tag 'v4.17.3' into dev-4.17 Change-Id: I884b96487028b38bcab33d1740aa36dee7969b1d Signed-off-by: Joel Stanley <joel@jms.id.au>
* Add meta-aspeed subtree maintainers fileBrad Bishop2018-06-261-0/+48
| | | | | Change-Id: I1adc3b6af76cdc37017652f52fa8bbe0d10ac839 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Linux-aspeed: Restore kernel crypto related items needed by systemdYong Li2018-06-252-0/+6
| | | | | | | | | | | During kernel version upgrade, these default config items in blow commit are missing: https://gerrit.openbmc-project.xyz/#/c/8323/ systemd 233+ needs these items for some apis: https://lists.freedesktop.org/archives/systemd-devel/2017-March/038419.html Change-Id: I9eff59683d37d4922fa32b2bc32374f4c88862c4 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
* kernel: GPIO features, device tree fixes, quieten NCSIJoel Stanley2018-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | Benjamin Herrenschmidt (8): gpio: aspeed: Rework register type accessors gpio: aspeed: Add "Read Data" register to read the write latch gpio: aspeed: Add command source registers gpio: aspeed: Add interfaces for co-processor to grab GPIOs dt-bindings: misc: ASPEED coprocessor interrupt controller arm: dts: aspeed: Add coprocessor interrupt controller arm: dts: aspeed: Fix Romulus frame buffer address i2c: fsi: Fix use after free Joel Stanley (4): net/ncsi: Silence debug messages net/ncsi: Drop no more channels message net/ncsi: Use netdev_dbg for debug messages MAINTAINERS: Add Sam as the maintainer for NCSI Change-Id: I8627b5ef78b51ea3ba0ee7ac233cfee0ce467d57 Signed-off-by: Joel Stanley <joel@jms.id.au>
* linux: Merge 4.17.2 stable releaseJoel Stanley2018-06-211-2/+2
| | | | | | | | This merges the 4.17.2 upstream stable tree into the dev-4.17 openbmc tree. Change-Id: Ide27501337065cfa6c28e168fb18c02447d407ba Signed-off-by: Joel Stanley <joel@jms.id.au>
* linux-aspeed: Add loop device support in defconfigLei YU2018-06-212-0/+2
| | | | | | | | | | CONFIG_BLK_DEV_LOOP is needed for legacy code update, and it is removed accidently in linux 4.17 kernel's change. Tested: Successfully run legacy code update on Romulus. Change-Id: Ifb5c3829dd0bbd83813f696dc88b092128e65026 Signed-off-by: Lei YU <mine260309@gmail.com>
* kernel: Move to 4.17Joel Stanley2018-06-204-33/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the dev-4.13 development cycle to a close. By the end of the cycle the 4.13 tree contained 236 patches. This moves all of the 4.13 based functionality on top of a 4.17 base. We currently have 97 patches in the tree. The reduction of 139 is mostly due to code landing in Linus' tree, with a handful of fixes being merged into the base patch. The configuration is updated with newly landed drivers. In addition new upstream security features are enabled, and legacy ATAG DTB support and /dev/mem are removed. Amithash Prasad (1): ARM: dts: aspeed: Add Portwell Neptune machine Andrew Jeffery (11): ARM: dts: aspeed: witherspoon: Update max31785 node dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers soc: aspeed: Miscellaneous control interfaces dts: aspeed-g5: Expose VGA scratch registers dts: aspeed-g5: Expose SuperIO scratch registers fsi: gpio: Trace busy count fsi: gpio: Remove unused 'id' variable Avi Fishman (1): ipmi: NPCM7xx KCS BMC: enable interrupt to the host Benjamin Herrenschmidt (15): gpio/aspeed: Set output latch before changing direction gpio/aspeed: Use a cache of output data registers fsi/fsi-master-gpio: Sample input data on different clock phase fsi/fsi-master-gpio: Add "no-gpio-delays" option fsi/fsi-master-gpio: Reduce turnaround clocks fsi/fsi-master-gpio: Reduce dpoll clocks fsi/fsi-master-gpio: Delay sampling of FSI data input fsi/fsi-master-gpio: Implement CRC error recovery fsi/fsi-master-gpio: More error handling cleanup fsi/sbefifo: Add driver for the SBE FIFO fsi/scom: Add mutex around FSI2PIB accesses fsi/scom: Whitespace fixes fsi/scom: Fixup endian annotations fsi/scom: Add register definitions fsi/scom: Major overhaul Brad Bishop (1): ARM: dts: witherspoon: Enable checkstop and cooling gpio keys Brian Yang (1): ARM: dts: aspeed: Add Inventec Lanyang BMC Christopher Bostic (3): ARM: dts: witherspoon: Add gpio keys for power supply presence ARM: dts: fsi: Add optional master property no-scan-on-init iio: dps310: Temperature measurement errata Cyril Bur (1): misc: Add ASPEED mbox driver Cédric Le Goater (4): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode Dan Carpenter (2): net/ncsi: prevent a couple array underflows serial/aspeed-vuart: fix a couple mod_timer() calls Eddie James (9): ARM: dts: aspeed: witherspoon: set alternate boot fsi: scom: Remove PIB reset during probe dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation i2c: Add FSI-attached I2C master algorithm i2c: fsi: Add port structures i2c: fsi: Add abort and hardware reset procedures i2c: fsi: Add transfer implementation i2c: fsi: Add I2C master locking i2c: fsi: Add bus recovery Edward A. James (3): ARM: dts: fsi: Add I2C master and ports to FSI CFAMs drivers/fsi: Add On-Chip Controller (OCC) driver hwmon: Add On-Chip Controller (OCC) hwmon driver Haiyue Wang (1): ipmi: add an NPCM7xx KCS BMC driver Jae Hyun Yoo (1): clk: aspeed: Fix reset bits for PCI/VGA and PECI James Feist (1): ARM: dts: Add S2600WF BMC Machine Jeremy Kerr (8): serial: Introduce UPSTAT_SYNC_FIFO for synchronised FIFOs serial/8250: export serial8250_read_char serial/aspeed-vuart: Implement rx throttling serial/aspeed-vuart: Implement quick throttle mechanism fsi: gpio: Use a mutex to protect transfers fsi/gpio: Include command build in locked section fsi/gpio: Use relative-addressing commands fsi/master-gpio: Replace bit_bit lock with IRQ disable/enable Joel Stanley (22): clk: aspeed: Support second reset register clk: aspeed: Mark bclk (PCIe) and dclk (VGA) as critical ARM: dts: aspeed-romulus: Enable VUART ARM: dts: aspeed-ast2500: Update flash layout ARM: dts: aspeed: Add LPC mailbox node ARM: dts: aspeed: Enable mbox ARM: dts: aspeed: Add devices under FSI CFAM ARM: dts: palmetto: Enable mbox and occ-hwmon nodes iio: Add driver for Infineon DPS310 ARM: dts: aspeed-g5: Add DAC MUX userspace control ARM: dts: aspeed-g5: Clean up sio registers ARM: dts: aspeed: Describe random number device ARM: dts: aspeed: Fix hwrng register address fsi: master-hub: Fix sparse warnings fsi: core: Fix sparse warnings drm: Add ASPEED GFX driver drm: aspeed: Debugfs interface for GFX registers ARM: dts: aspeed-g5: Add resets and clocks to GFX node ARM: dts: ast2500-evb: Enable the GFX IP ARM: dts: witherspoon: Enable the GFX IP ARM: dts: romulus: Enable the GFX IP ARM: config: aspeed: Update defconfig Lei YU (5): clk: aspeed: Add 24MHz fixed clock ARM: dts: aspeed: romulus: Add w83773g temp sensor ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key ARM: dts: aspeed: romulus: Add id-button gpio key ARM: dts: aspeed: Use 24MHz fixed clock for pwm Samuel Mendoza-Jonas (2): net/ncsi: Refactor MAC, VLAN filters net/ncsi: Avoid GFP_KERNEL in response handler Tali Perry (2): dt-binding: clk: npcm750: add binding clk: npcm7xx: add clock controller Tomer Maimon (2): dt-binding: pinctrl: document NPCM7xx pin controller DT bindings pinctrl: npcm: add NPCM7xx pin control driver Wei Yongjun (1): clk: npcm7xx: fix return value check in npcm7xx_clk_init() YueHaibing (1): net: remove unnecessary genlmsg_cancel() calls Tested: Booted Romulus, Palmetto hosts. Booted ASPEED platforms in QEMU Change-Id: Ib6f7e68267cd66e98c0ace1132fd2d664a0fc623 Signed-off-by: Joel Stanley <joel@jms.id.au>
* aspeed: remove common directoryBrad Bishop2018-06-1515-2/+2
| | | | | | | | | Move recipes from the common dir to the layer base dir to match typical layer layouts. Change-Id: Idcd48dd346ab51b0a16fffe31319f13fad76111e Tested: Built and verified witherspoon and palmetto images Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed: Remove SOC specific layersBrad Bishop2018-06-154-16/+0
| | | | | | | | They are unused and no longer have any content. Remove. Change-Id: I300f71ade8de4a9f3dc306743b16f951dc962cfd Tested: No functional impact Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed: Move README.md to common base layerBrad Bishop2018-06-153-16/+9
| | | | | | | | | Consolidate the 24xx/25xx layer READMEs into a single Aspeed BSP README. Change-Id: I7446f5241343d304d9f083c4baf2baa0ddff6234 Tested: Documentation only, no functional impact Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed: Move remaining config to common base layerBrad Bishop2018-06-153-0/+0
| | | | | | | | | Move the remaining bitbake base configuration data to the common aspeed layer. Tested: Built and verified palmetto and witherspoon images Change-Id: I1ff2b3dc611b7e2f1b13a4b1e4d6d3dd923a1ff6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename and move kernel recipeBrad Bishop2018-06-159-15/+38
| | | | | | | | | | | | | | | | | Rename linux-obmc to linux-aspeed and move to the Aspeed layer. Like recipes for u-boot forks, recipes for kernel forks in support of different SOCs are typically provided in the BSP supporting the SOC. Moved a number of phosphor-isms out of the kernel recipe and put those in a bbappend in aspeed-layer/bbappend. Removed COMPATIBLE_MACHINE setting. We simply use PREFERRED_PROVIDER in machine configuration files to set the default kernel recipe. Tested: Booted spoon/palmetto images using QEMU Change-Id: I7dc73629cad4789dcd5aeb0f7b6214fe064c6adc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add CONFIG_WATCHDOG_SYSFS to kernel configEddie James2018-06-122-0/+2
| | | | | | | | | This option adds sysfs entries for watchdog devices. We need this so that we can access the bootstatus sysfs file to indicate whether or not the BMC has switched chips. Change-Id: I898b346f7de8b3b276e354b4d737e447db0d8add Signed-off-by: Eddie James <eajames@us.ibm.com>
* aspeed: Rename u-boot recipesBrad Bishop2018-06-114-8/+8
| | | | | | | | | | Append an -aspeed suffix to Aspeed u-boot and u-boot-fw-utils recipes to match convention of other upstream BSP layers like meta-fsl-arm. Tested: Built palmetto/spoon images and booted in QEMU Change-Id: I88ce2062876674ea9c104a97cc0bf2c83f2b1fcd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed: cleanup u-boot-fw-utils configBrad Bishop2018-06-119-88/+6
| | | | | | | | | | Move files with identical content to the base aspeed layer. Remove unnecessary u-boot bbappends as the u-boot binary does not depend on fw_env.config content. Tested: Built u-boot and fw-utils recipes, validated packages Change-Id: Iee3d3f76b93ff5f6d59ebeb18f08ad42cb6d187b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* npcm750-evb: added support for npcm750-evbBrendan Higgins2018-05-241-0/+9
| | | | | | | | | Added machine layer support for the NPCM750 EVB. Tested: Built and ran on NPCM750 EVB. Change-Id: I4e23e514846725f4078996579b878adf07484bce Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
* Add Nuvoton NPCM7XX BSP supportTomer Maimon2018-05-1513-1/+274
| | | | | | | | | | Add as follow : 1. NPCM7XX Kernel Linux 2. NPCM7XX U-boot Change-Id: I84ae09c16725fcf9d23f8daf3c9eadac09cb605f Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
* add kernel-uimage class for fsp2Ivan Mikhaylov2018-05-021-0/+1
| | | | | | | | | | | | | linux kernel needs u-boot tools for vmlinux post processing in other case there will be error about: | BOOTAR arch/powerpc/boot/wrapper.a | WRAP arch/powerpc/boot/uImage | INFO: Uncompressed kernel (size 0x8b7e54) overlaps the address of the wrapper(0x400000) | INFO: Fixing the link_address of wrapper to (0x900000) | "mkimage" command not found - U-Boot images will not be built Change-Id: I86f4eab65c30352a1589e9e4537963f9b4a3d5fc Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com>
* kernel: Add ASPEED AST2500 DRM driverJoel Stanley2018-04-241-1/+2
| | | | | | | | | | | | | | | | | | This updates the kernel to include the ASPEED DRM driver. Note that the defconfig update has no affect on the I2C support; it drops out only due to being selected by other dependencies. Joel Stanley (6): drm: Add ASPEED GFX driver drm: aspeed: Debugfs interface for GFX registers ARM: dts: aspeed-g5: Add resets and clocks to GFX node ARM: dts: ast2500-evb: Enable the GFX IP ARM: dts: witherspoon: Enable the GFX IP ARM: dts: aspeed-g5: Add DAC MUX userspace control Change-Id: I084c4df8b7d4bcc183a865c9eabb0154570e0342 Signed-off-by: Joel Stanley <joel@jms.id.au>
* aspeed: move MTD partition rulesBrad Bishop2018-04-183-0/+18
| | | | | | | | | | | Move the MTD partition rules to their own recipe under udev rather than appending u-boot-fw-utils. Additionally the rules are an artifact of the aspeed u-boot-fw-utils configuration, so place the new recipe in the aspeed layer. Tested: Built a witherspoon image Change-Id: I1fec995dd75543b2630db29d78bfb29a1a5949d5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed: Move vuart rules to udevBrad Bishop2018-04-102-0/+0
| | | | | | | | | The convention seems to be that udev rule generating recipes go in recipes-core/udev. Tested: No functional change Change-Id: I947a5f060e33b696cfa5528c09e164d047f78cae Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* AST2500: Add loop device support in defconfigLei YU2018-04-051-0/+1
| | | | | | | | | | | | Without this kernel is unable to mount loop device, and cause the init script failing to copy rofs into ram in legacy code update. Resolves openbmc/openbmc#3064. Tested: Successfully run legacy code update on Romulus. Change-Id: I22cdff51ac24a8ca00e1ed2b5d1d06d827b9eb74 Signed-off-by: Lei YU <mine260309@gmail.com>
* aspeed: Append -layer to bbfile collection nameBrad Bishop2018-03-293-9/+9
| | | | | | | This seems to be the upstream convention. Update to match. Change-Id: I51557baebee8890d983d878779a5dd76ffa309be Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* fsp2: Append -layer to bb file collection nameBrad Bishop2018-03-291-2/+2
| | | | | | | This seems to be the upstream convention. Update to match. Change-Id: Ie56cfd4cce1d1d49a3edeaf734fcfbbc665a55c8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* aspeed: Remove duplicate kernel providerBrad Bishop2018-03-291-1/+0
| | | | | | | virtual/kernel was specified twice in the common Aspeed configuration. Change-Id: I808d5359fbfb8986c6b194dc5c0a8dc1e5268999 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* kernel: Move to 4.13 kernelJoel Stanley2018-03-232-38/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have 236 commits, 127 files changed, 17766 insertions(+), 2128 deletions(-). Some of these are backports from upstream. This list does not include patches from the 4.13 stable releases, but we do include those in the dev-4.13 branch. 1 Alexey Khoroshilov 34 Andrew Jeffery 1 Arnd Bergmann 1 Benjamin Herrenschmidt 1 Bhumika Goyal 1 Brad Bishop 1 Brendan Higgins 11 Christopher Bostic 1 Cyril Bur 14 Cédric Le Goater 49 Edward A. James 3 Gavin Shan 1 Guenter Roeck 8 Ivan Mikhaylov 1 Jacek Anaszewski 1 James Feist 7 Jeremy Kerr 72 Joel Stanley 2 Julia Lawall 1 Ken Chen 6 Lei YU 3 Milton Miller 1 Mykola Kostenok 1 Patrick Venture 2 Philipp Zabel 1 Rick Altherr 11 Samuel Mendoza-Jonas 2 Wei Yongjun 1 Xo Wang 1 Yong Li Note that the 4.13 branch is EOL'd by the Linux community, and as such should not be used for any products beyond development. React to removal of occ hwmon instances from device trees with a new startup/shutdown mechanism for phosphor-hwmon. To fix this, a helper script will be used to start the service that will pass the service the device tree name if it is present, or the udev device path if it isn't. This script will still run from the udev rule as before, but it will stop and start the service itself without using the SYSTEMD_WANTS attribute. As the path to the hwmon environment file matches the service template argument, the paths for the OCC .conf files need to change to match the device path instead of the previous device tree path. Note that the pure device path would have the hwmon instance number in it, but since that can't be known ahead of time it is stripped off by the script that starts the service. In addition, the pure device path for the OCCs contain several ':'s, meaning the associated environment files would also need to. However, Yocto/Bitbake cannot handle a ':' in a file path, so they are converted to '--'s by the script that starts the service and phosphor-hwmon will convert them back internally when it starts. The service file also needed some changes now that the service lifetime is no longer controlled by systemd via SYSTEMD_WANTS. This script will be called by a udev rule to start and stop phosphor-hwmon when the hwmon device driver is started and stopped. It is passed both the device path and the OF_FULLNAME device tree attribute. If OF_FULLNAME is present, it will start the service with that as its template argument, otherwise it will use the device path. This is to handle devices that aren't in the device tree so they won't have OF_FULLNAME. If a '/hwmon/hwmonN' is in the path it is removed, as this path is also used as a path to an environment file and so must be known ahead of time, which the hwmon instance N is not. If there is a ':' in the path name, it is converted to a '--'. Yocto/Bitbake cannot handle a ':' in file paths. Resolves openbmc/openbmc#2953 Change-Id: I815be4d6d9e1cbea8428bb1bb8c332776ee71ece Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Matt Spinler <spinler@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Yocto 2.3Brad Bishop2018-03-124-4/+45
| | | | | | | | | Move OpenBMC to Yocto 2.3(pyro). Tested: Built and verified Witherspoon and Palmetto images Change-Id: I50744030e771f4850afc2a93a10d3507e76d36bc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Resolves: openbmc/openbmc#2461
OpenPOWER on IntegriCloud