Commit Graph

2562 Commits

Author SHA1 Message Date
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
Jeffrey Townsend
674d7a384a Merge pull request #542 from brandonchuang/as5916_54xks
[as5916-54xks] Remove setting loc/diag led as off while onlp_ledi_init()
2019-04-24 13:08:57 -07:00
Jeffrey Townsend
5379293b20 Merge pull request #539 from brandonchuang/as7816_64x
[as7816-64x] Update onlp/drivers for different CPLD firmware
2019-04-24 13:06:49 -07:00
Jeffrey Townsend
cc4159c6b2 Merge pull request #553 from zhouzi88/swl-5235
onlp_sfp_dev_read/write API
2019-04-24 13:05:33 -07:00
Jeffrey Townsend
f2c23181b4 Remove target directory prior to extraction. 2019-04-24 17:25:42 +00:00
Zi Zhou
80344fd566 onlp_sfp_dev_read/write API 2019-04-22 20:55:11 -07:00
Jostar Yang
59d05b8a24 Add onlp to support 3y power(yesm1300am). Fix LED. 2019-04-19 18:15:41 +08:00
Jostar Yang
151c6dcef2 Add to support asgvolt64 onlp 2019-04-19 10:26:16 +08:00
Jeffrey Townsend
d81705fbab Latest 2019-04-18 14:56:03 +00:00
fengkm
c74516b838 update ingrasys platform driver with bmc module 2019-04-11 14:45:52 +08:00
roy_lee
ba58653713 Remove debug messaging.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-04-10 10:54:29 +08:00
Jeffrey Townsend
dc8505cdac Enable bonding. 2019-04-09 17:57:12 -07:00
roy_lee
d5fa35b862 Update thermal policy.
Enable onlp_ledi_set() to turn on LED.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-04-09 16:09:59 +08:00
Jeffrey Townsend
c066f2f2d3 Initial. 2019-04-02 02:06:28 +00:00
Jeffrey Townsend
42e3a19464 Update 3.16 LTS to 3.16.64. 2019-04-01 18:46:24 +00:00
Jeffrey Townsend
b75d2ad355 Update 4.14 LTS to 4.14.109. 2019-04-01 18:42:59 +00:00
Jeffrey Townsend
3bda70c64c Add armhf to the onlfit script. 2019-04-01 18:40:23 +00:00
robertyu
08f0202377 Support C2x0 for Inventec d6254qs 2019-03-29 01:39:14 +00:00
Jeffrey Townsend
05a8ab52a6 Latest 2019-03-27 18:36:08 -07:00
johnson
7fae3a8d30 Improve CPU load by reduce IPMITOOL usage
Fix psu & led bug in I2C mode

Signed-off-by: johnson <JOHNSON.LU@deltaww.com>
2019-03-27 03:30:47 +00:00
johnson
ef36713233 fix psu bug in I2C mode
Signed-off-by: johnson <JOHNSON.LU@deltaww.com>
2019-03-26 14:10:05 +08:00