Commit Graph

2582 Commits

Author SHA1 Message Date
Oleksandr Shamray
5e744cfaa9 Add kernel patches
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:27:30 +00:00
Oleksandr Shamray
1b61335a67 Fix PSU type for MSN3800 system
Fix LED for MSN3800 system
Fix LED for systems with single-FAN drawer systems
Add kernel patches

Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:27:30 +00:00
Mykola Kostenok
49dff57c94 remove outdated script call.
Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com>
2019-05-31 12:27:21 +00:00
Oleksandr Shamray
2f665c22c1 Fixed LED name, PSU type and kernel start arguments for MSN3800 (Tigris) system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:26:34 +00:00
Oleksandr Shamray
2bf4e604da Adding "0023-hwmon-pmbus-Fix-driver-info-initialization-in-probe-.patch" and "0024-mlxsw-thermal-disable-highest-zone-calculation.patch" patches
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:25:14 +00:00
Oleksandr Shamray
c301f5a348 Fixed sensor name for Tigris(MSN3800) system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:25:14 +00:00
Oleksandr Shamray
c5051955d5 fix CPU temp sensors count for MSN3800 (Tigris) system
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:25:13 +00:00
Oleksandr Shamray
7b844f2df1 add: MSN3800 (Tigris) system support
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-05-31 12:24:56 +00:00
Jeffrey Townsend
96aa9d850f Revert the no_build_missing change. 2019-05-29 10:47:10 -07:00
Jeffrey Townsend
caf8fb7fbf Automatically include local makefile. 2019-05-28 17:55:40 +00:00
Jeffrey Townsend
0c97f63d1d Merge pull request #561 from opencomputeproject/parallel
Build improvements.
2019-05-28 09:05:41 -07:00
Jeffrey Townsend
e3c67d6001 Package Build Fixes
- Fix the OnlPackageRepo lock.
  The lock for the package repo has always been broken for some requests due to the nested nature of some of the calls.
  This would cause the repo lock to be release prematurely in the middle of operations.
  This becomes obvious once large parallel package builds are enabled.

  The OnlPackageRepo class has been renamed to OnlPackageRepoLocked() and all locking has been removed.
  All operations performed by the OnlPackageRepoLocked() class are now assumed to be non-concurrent.

  The OnlPackageRepo class is now a wrapper around the OnlPackageRepoLocked class with acquires the lock
  prior to requesting any operations. This change is transparent to the callers but ensures
  that no nested locks (and premature unlocks) are performed.

- Improve the parallel makefile generation.
  - Set pipefail to that targets fail even with the log tee.
  - Allow packages with broken dependencies to set their stage explicitly.
  - Parallel package builds require that the package cache be treated as read-only.
  - Packages must specify their package prerequisites properly in their PKG file.
    - In order to detect and correct this situation packages will no longer
      be implicitly built as part of calls to onlpm find and link operations.
      We may be able to relax this restriction once the build is tight.

- Package Cache Corruption
  - If the package cache is corrupt (usually due to an aborted operation) then it we will
    automatically rebuild it instead of just whining about it.
2019-05-27 19:22:14 +00:00
Jeffrey Townsend
d7dc76c954 Call the onlpm_find_file template. 2019-05-27 19:18:11 +00:00
Jeffrey Townsend
1c834b7c0a Set to parallel stage 3 until the platform dependencies can be fixed. 2019-05-27 19:17:47 +00:00
Jeffrey Townsend
e9b45a5382 Set the parallel stage 3 until the platform dependencies can be fixed. 2019-05-27 19:16:42 +00:00
Jeffrey Townsend
cfb711ade9 Call the onlpm_find_file template. 2019-05-27 19:16:09 +00:00
Jeffrey Townsend
98649533a5 Call onlpm_find_file template. 2019-05-27 19:09:18 +00:00
Jeffrey Townsend
85f5711eae Add onlp package dependency. 2019-05-27 19:08:42 +00:00
Jeffrey Townsend
165009cd8d Add an error-checking template for Makefile shell calls onlpm --find-file.
Makefiles that call $(shell onlpm --find-file *) have always failed poorly
when the file cannot be found.

The onlp_find_file template can be called to both assign and check the
results. If an error occurred in getting the value then a Makefile error is raised.
2019-05-27 18:56:46 +00:00
Jeffrey Townsend
28a1802136 Enable lock debug. 2019-05-27 18:55:37 +00:00
Jeffrey Townsend
f0b66d8ec3 The 3.18 kernel for arm64 has been removed. 2019-05-27 18:39:59 +00:00
Jeffrey Townsend
0d874645da Add the ability to pause and continue the service process. 2019-05-21 22:10:45 +00:00
Jeffrey Townsend
16916d4f5b Updates for the latest hw-management packages. 2019-05-15 06:14:13 -07:00
Jeffrey Townsend
8b1dfdb4b8 Show the PKG_DEFAULT file generating an exception and allow dot versions. 2019-05-10 15:36:36 +00:00
Jeffrey Townsend
04c54acb14 Get the package defaults at initial yaml load time so the default dict can be used for all variables in the initial load. 2019-05-09 18:23:21 +00:00
Jeffrey Townsend
b00271f297 Improve Package Field Generation
Specifying useful package fields has been historically pretty lazy since most systems have been built as self-contained images without dynamic package updates.
This commit hopes to improve the situation.

The recommended package organization for ONL and for systems built with ONL as the base follow the pattern of $project/packages/base/$arch/* and $project/packages/platforms/$vendor/$arch/
The heirarchy of directories in which the packages reside also provide a natural inheritence heirarchy for debian package fields.

This property is now exploited to allow default package keys to be specified base on their location in the filesystem heirarchy as follows:

Before a PKG.yml file is evaluated its parent directory heirarchy is traversed looking for either or both of these files:

PKG_DEFAULTS.yml -- This is an onlyaml file which can specify the values of package keys.
PKG_DEFAULTS     -- If this file is executable it is expected to output valid yaml containing package keys.

All of these values are then combined in reverse order to provide a default dict for the package.

Example usages:
- Fields global to all packages in the project (like Vendor, Maintainer, Version [for coherent builds], maintainer, etc) can be specified in the top-most PKG_DEFAULTS.
- Archicture can be specified in the $arch/PKG_DEFAULTS.
- Platform Vendors can specify their information at the top of their platform directory.

By specifying your own PKG_DEFAULTS you can coexist the ONL versions and your own version without ineheriting any of the defaults from ONL itself.

These are only the defaults for keys not specified in the PKG file. You can still obviously override every field in each package declaration.

The ONL package files will be updated in a separate commit to use this new hierarchical approach.

Package version numbers, copyrights, and general information fields have all
2019-05-09 16:47:59 +00:00
Jeffrey Townsend
4810a3be14 Add --timestamp and --sha1 to specify these explicitly.
Useful for setting up a build tree populated by packages from a previous build.
2019-05-09 12:58:08 +00:00
Jeffrey Townsend
b21dc7dd9b Update 4.9 config. 2019-05-06 20:01:34 +00:00
Jeffrey Townsend
7583162a33 Fix misleading indentation error. 2019-05-06 20:01:20 +00:00
Jeffrey Townsend
37cf5b32e7 Run depmod -a at early boot time. 2019-05-02 22:16:31 +00:00
Jeffrey Townsend
071c4d5b2e Packages that fail the distcheck() should not be loaded. 2019-05-02 16:00:40 +00:00
Jeffrey Townsend
7a483cfa68 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2019-05-01 17:59:31 +00:00
Jeffrey Townsend
9d2df41bef Builder9 is now at version 1.4. 2019-05-01 17:59:03 +00:00
Jeffrey Townsend
bd6d4e49b5 Initial. 2019-05-01 17:58:51 +00:00
Jeffrey Townsend
d3e497acdd 1.4 update 2019-05-01 10:47:48 -07:00
Jeffrey Townsend
71de409d9f Merge pull request #555 from akenliu/wedge100bf_32x_change_psu_sysfs
we change the method to get PSU's EEPROM data.
2019-05-01 09:33:23 -07:00
Aken Liu
e05e81f8e4 we change the method to get PSU's EEPROM data. (for wedge100bf_65x)
old method: use i2c raw command to access PSU
new method: use OpenBMC's sysfs to access PSU
2019-04-30 14:13:11 +08:00
Aken Liu
d592ff8e86 we change the method to get PSU's EEPROM data.
old method: use i2c raw command to access PSU
new method: use OpenBMC's sysfs to access PSU
2019-04-30 11:59:50 +08:00
Jeffrey Townsend
035f169110 Latest 2019-04-29 21:49:53 +00:00
Jeffrey Townsend
f79e852158 Merge pull request #549 from fengkm/master
[platform]update ingrasys platform
2019-04-24 13:38:48 -07:00
Jeffrey Townsend
10c32324e9 Merge branch 'hwmon' of github.com:brandonchuang/OpenNetworkLinux
Conflicts:
	packages/base/any/kernels/modules/ym2651y.c
2019-04-24 20:36:20 +00:00
Jeffrey Townsend
11ffd939fe Update config after previous merge. 2019-04-24 20:33:38 +00:00
Jeffrey Townsend
00a201fc0d Revert "Remove target directory prior to extraction."
This reverts commit f2c23181b4.
2019-04-24 20:30:10 +00:00
Jeffrey Townsend
afd2ce2d64 Merge pull request #540 from rick-yhchen1013/master
Add new platform support for MiTAC ly1200.
2019-04-24 13:22:25 -07:00
Jeffrey Townsend
9888206e6e Merge pull request #543 from roylee123/add_platform_accton_minipack
Add platform accton-minipack.
2019-04-24 13:19:10 -07:00
Jeffrey Townsend
dc0e00739a Merge pull request #550 from jostar-yang/asgvolt64_0419
Add to support asgvolt64 onlp
2019-04-24 13:17:12 -07:00
Jeffrey Townsend
6ee46aec90 Merge pull request #551 from jostar-yang/as9716_0419
Add onlp to support 3y power(yesm1300am). Fix LED.
2019-04-24 13:12:40 -07:00
Jeffrey Townsend
eab14e63f6 Merge pull request #548 from roylee123/as5916_54xm_update_thermal_policy
[platform]As5916_54xm: update thermal policy
2019-04-24 13:11:41 -07:00
Jeffrey Townsend
4c242e763b Merge pull request #545 from robertxyu/master
Support C2x0 for Inventec d6254qs
2019-04-24 13:10:50 -07:00
Jeffrey Townsend
a50313f8dd Merge pull request #544 from JohnsonYJLu/agc7648sv1
Modify agc7648sv1
2019-04-24 13:09:36 -07:00