summaryrefslogtreecommitdiff
path: root/meta-qualcomm
AgeCommit message (Collapse)AuthorFilesLines
2023-10-11treewide: clean up webui selectionPatrick Williams1-1/+0
The webui-vue package is now enabled by default. Clean up all the meta layers to clean up the explicit enablement. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4895be56c70d2c8666dd96cec18d2c097f0c05a3
2023-09-26linux-aspeed: Move to Linux v6.5Joel Stanley1-1/+1
This moves the OpenBMC kernel to a v6.5 base for ASPEED. The 6.5 kernel moved all 32-bit ARM device trees, so our BMC device tress are now under an 'aspeed' subdirectory. This change means systems must describe the KERNEL_DEVICETREE with the aspeed directory prefix. There are 78 patches in the tree, with 40 of those patches not yet queued for merging in v6.6. The remaining out of tree patches include: Andrew Jeffery (6): 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 (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface Cédric Le Goater (1): /dev/mem: add a devmem kernel parameter to activate the device Eddie James (16): ARM: dts: aspeed: bonnell: Add reserved memory for TPM event log dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl soc: aspeed: xdma: Add trace events i2c: core: Add mux root adapter operations iio: si7020: Lock root adapter to wait for reset eeprom: ee1004: Enable devices on multiple busses dt-bindings: trivial-devices: Add Atmel AT30TSE004A serial eeprom eeprom: ee1004: Add OF matching support leds: pca955x: Refactor with helper functions and renaming leds: pca955x: Use pointers to driver data rather than I2C client leds: pca955x: Optimize probe led selection leds: pca955x: Add HW blink support leds: Ensure hardware blinking turns off when requested Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (14): net: ftgmac100: Ensure tx descriptor updates are visible ARM: aspeed: Add debugfs directory ARM: soc: aspeed: Add secure boot controller support dt-bindings: trivial-devices: Remove Infineon SLB9673 TPM ARM: dts: nuvoton: npmc750-evb: Add default console tpm: tis-i2c: Add more compatible strings leds: pca955x: Revert "Remove the unused function pca95xx_num_led_regs()" arm64: configs: Add Nuvoton NPCM defconfig ARM: configs: aspeed: Add new FSI drivers ARM: config: aspeed_g5: Enable SSIF BMC driver ARM: config: aspeed: Remove FIRMWARE_MEMMAP ARM: config: aspeed: Add Ampere SMPro drivers ARM: config: Add openbmc defconfig ARM: config: openbmc: Add HPE GPX and Nuvoton 7xx Johannes Holland (1): dt-bindings: tpm: Add schema for TIS I2C devices Potin Lai (1): mtd: spi-nor: winbond: Add support for w25q01jvq Change-Id: Ib97af192391af6e71c96fe14e12cfc88c23d7a7d Signed-off-by: Joel Stanley <joel@jms.id.au>
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-10-14treewide: more obmc-host-ctl cleanupsPatrick Williams1-1/+0
obmc-host-ctl is defined as a MACHINE, DISTRO, and IMAGE feature. The IMAGE feature pulls in a virtual provider only if the COMBINED feature (MACHINE + DISTRO) is enabled. This is only done on openpower machines. There are a lot of other places where machines are half-way disabling this feature and/or changing variables which have zero effect anyhow. Clean up almost all references to `obmc-host-ctl`. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I090d782bb6a34dc4e3c43df97e8ccf6e1812fed5
2022-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams1-0/+0
We also need to move the conf-notes.txt files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
2022-09-09treewide: handle upstream TEMPLATECONF movePatrick Williams2-0/+0
The latest poky commit is requiring us to have all of our template configs in a subdirectory instead of directly in the `conf` directory. Without this we end up with errors during setup like: ``` Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name ``` Fix this by moving all of our template files into the 'default' template subdirectory (following the pattern of poky) and modifying `setup` as necessary to follow. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
2022-08-18meta-qualcomm: linux-aspeed: enable Qualcomm specific kernel configsJae Hyun Yoo3-0/+23
Enable USB virtual HUB, HID and Mass Storage gadget configs. Disable USB host feature configs. Enable Micrel PHY support. Tested: Above Kernel features were enabled as expected. Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com> Signed-off-by: Graeme Gregory <quic_ggregory@quicinc.com> Change-Id: Icefe69542d82666d1df3c198b3c1e00d32392842
2022-08-18meta-qualcomm: os-release: prepend the qualcomm build versionGraeme Gregory1-0/+2
Prepend the qualcomm build version to OpenBMC version. Tested: Target image showed 'qcom-xxx...' version number pattern. Signed-off-by: Graeme Gregory <quic_ggregory@quicinc.com> Change-Id: I88b2eb910ef16de580c1d4bed46807b7c32e57aa
2022-08-18meta-qualcomm: packagegroups: add essential packages to default imageGraeme Gregory2-0/+9
Add webui-vue, openocd, ethtool, i2c-tools and libgpiod-tools to default image target. Tested: Target image got these additional packages added. Signed-off-by: Graeme Gregory <quic_ggregory@quicinc.com> Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com> Change-Id: Ifa0eb0ba42452a46597c1ed7cda5b6d1339a92d1
2022-08-11meta-qualcomm: phosphor-ipmi-config: add ssif channelGraeme Gregory3-0/+180
Add SSIF channel to IPMI config. Signed-off-by: Graeme Gregory <quic_ggregory@quicinc.com> Change-Id: I32192b95ea5c52e1df8ba58d5eb23f1da70c8a9f
2022-08-10meta-qualcomm: u-boot: add Qualcomm specific configsJae Hyun Yoo3-0/+13
Add Qualcomm specific configs to override ast2600-openbmc-spl-defconfig. Tested: qcom-dc-scm-v1 was bootable to u-boot with the additional u-boot configs. Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com> Change-Id: I6fe7d4720504dd56921ba71034dda9b9a0b03cea
2022-08-10meta-qualcomm: add Qualcomm DC-SCM V1 machineGraeme Gregory1-0/+26
Add initial Qualcomm DC-SCM V1 machine with minimal configuration. Tested: qcom-dc-scm-v1 target was buildable. Signed-off-by: Graeme Gregory <quic_ggregory@quicinc.com> Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com> Change-Id: Ia3b9af76fd0d9a0823d78ae71dcb4716ef256004
2022-08-10meta-qualcomm/conf: Update BB_DISKMON_DIRS useJae Hyun Yoo1-4/+4
ABORT is deprecated and it needs to be replaced with HALT in BB_DISKMON_DIRS action entries. Tested: This warning message was removed. WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com> Change-Id: Id548b0132981ee9c9e338c3d63cec82cd9496925
2022-05-27meta-qualcomm: add initial layer config of QualcommGraeme Gregory6-0/+305
Add layer configuration, license and owner files for meta-qualcomm. Change-Id: Iaddfe3c38051d689bae175d3b578c83de57a0430 Signed-off-by: Graeme Gregory <quic_ggregory@quicinc.com> Signed-off-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
2021-10-22meta-qualcomm: remove unusable centriq2400-req machinePatrick Williams53-1144/+0
This machine is unbuildable and has not been updated in the requisite 2 months per https://lore.kernel.org/openbmc/YRUW7cazmCjW8VpP@heinlein/, so it is being deleted. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic3a32cda8420de728760fe3a5b73480cdd1eddda
2021-09-16bitbake: Use IPK packaging for rootfs assemblyAndrew Jeffery1-1/+1
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the choice is functionally arbitrary for image generation but control over the package format becomes important if we want to: 1. Include runtime package management functionality in the firmware image 2. Mess about with the packages on the build system With respect to 1 the IPK format and opkg (an ipk package manager) are designed for embedded systems[1] - by contrast to RPMs have heavier dependencies and a greater impact on the size and complexity of the firmware image. Regarding 2, the embedded nature and the need for opkg to work without much fuss leads to a lower configuration barrier by comparison to RPMs. With ipk it becomes possible to reuse the packages built during image preparation for core analysis without needing to generate an SDK: ``` $ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib $ MY_DEBUG_ROOT=tmp/rootfs-debug $ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \ -o $MY_DEBUG_ROOT \ update $ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \ -o $MY_DEBUG_ROOT \ install dbus-sensors dbus-sensors-dbg $ gdb-multiarch (gdb) set solib-absolute-prefix .../tmp/rootfs-debug (gdb) add-auto-load-safe-path .../tmp/rootfs-debug (gdb) file tmp/rootfs-debug/usr/bin/nvmesensor (gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000 Core was generated by `/usr/bin/nvmesensor'. Program terminated with signal SIGABRT, Aborted. pthread_kill.c:45 45 pthread_kill.c: No such file or directory. (gdb) bt pthread_kill.c:45 ../sysdeps/posix/raise.c:26 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 "xyz.openbmc_project.NVMeSensor", this=0x488f04) at /usr/include/sdbusplus/bus.hpp:234 ../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159 (gdb) ``` This approach documented in the Poky Reference Manual: https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins Switch all machines to IPK to align the debugging experience with upstream's documentation and to facilitate efficient use of packaged software at runtime. [1] https://openwrt.org/docs/guide-user/additional-software/opkg Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams2-3/+3
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-1/+1
This is apparently not actually working anymore and is removed in the next poky update. Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-03-22openbmc: add meta-security layerAnton D. Kachalov1-0/+2
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2020-11-12meta-qualcomm: update Yocto compat for gatesgarthPatrick Williams1-0/+2
The next release of Yocto is soon and most of the upstream layers have switched support strings for it. Support layer compat for gatesgarth (current) and dunsfell (previous). (From meta-qualcomm rev: 975a7515eb7898718f9b883b4fc6e6a632640ab2) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib572286f5ec36da446deea21bb70c21298d71137 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-18meta-qualcomm: Remove references to QUALCOMMBASEBrad Bishop6-8/+5
QUALCOMMBASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-qualcomm rev: b6305a99ca1f9c5f5ba88f1aeaf3e01a61c2f3fa) Change-Id: Ia1a8e95f4a09743538f427055294fd84dd3169c4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-qualcomm: centriq2400-rep: move all services to multi-user.targetPatrick Venture1-1/+1
Hard-code multi-user.target instead of SYSTEMD_DEFAULT_TARGET. (From meta-qualcomm rev: 2e9af8db4508967629aed1d039071ae4062c442e) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I4f65d5f0829d5561a1a524be17a37c23df0fc11c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-qualcomm: centriq2400-rep: Update I2C hwmon paths for the 5.0 kernelPatrick Venture24-22/+22
In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 (From meta-qualcomm rev: a820d5f8b12deabcabfe88e70270ea8da58d2f39) Tested: Verified paths visually, but not tested on hardware. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I2ce0bb3533f9aee6ea1687a39bde070b05d7c349 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08meta-qualcomm: master refresh 2d5d845e7d..7272549020Brad Bishop6-5/+13
Update meta-qualcomm to master HEAD. Patrick Venture (6): meta-qualcomm: add QUALCOMMBASE meta-qualcomm: centriq2400-rep: ir38163-workaround: set LICENSE field meta-qualcomm: centriq2400-rep: console-client: set LICENSE field meta-qualcomm: centriq2400-rep: led-manager-config-native: set LICENSE field meta-qualcomm: centriq2400-rep: socupdate: set LICENSE field meta-qualcomm: centriq2400-rep: rep-config: set LICENSE field Change-Id: I818424bf2e7e8af8aaf97fa4fcfd1b0476e5748e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-06meta-qualcomm: centriq2400-rep: phosphor-hwmon to _%Patrick Venture26-0/+0
Renamed phosphor-hwmon%.bbappend to phosphor-hwmon_%.bbappend for this platform. Tested: Built centriq2400-rep and found conf in rootfs. (From meta-qualcomm rev: 2d5d845e7d80463e327bf0f2732b7b1da8e34395) Change-Id: I2ca665fbb5efd1718ee74893d0f5603f7329d67a Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-01qualcomm: Add a layer licenseBrad Bishop3-0/+204
meta-qualcomm did not have licensing information documented. Add it. (From meta-qualcomm rev: 493aee1af30c864658691df47a61f47d063a3ff6) Change-Id: I4bed8e96699e6f5c1c6841a7509277d9d45502e3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-05Spelling fixesGunnar Mills2-2/+2
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. (From meta-qualcomm rev: b52915eccb117275d468e6de784a6c561e30055b) Change-Id: Icc97612db517518e779994860ed11e90c9b916a5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley50-0/+931
The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>