Commit Graph

1938 Commits

Author SHA1 Message Date
Jeffrey Townsend
90a3efca98 The x86_64_as7726_32x module was not generated using the newmodule script.
A new module will be generated and the appropriate code moved into it.
2018-04-18 15:02:47 +00:00
Jeffrey Townsend
e0933689da Merge pull request #364 from jostar-yang/as7726-32x
Add as7726-32x onlp code
2018-04-16 13:27:21 -07:00
Jeffrey Townsend
3cd997ffc3 Merge pull request #354 from mlxnataliyay/upstream_part3
3/4 - MSN2010 platform support
2018-04-16 13:15:45 -07:00
Jeffrey Townsend
4d8dc57458 Merge pull request #353 from mlxnataliyay/upstream_part2
2/4 - MSN2740 platform support
2018-04-16 13:14:48 -07:00
Jeffrey Townsend
d11d82f6e6 Merge pull request #346 from mshych/master
4 new kernel patches for Mellanox drivers.
2018-04-16 13:13:10 -07:00
Jeffrey Townsend
3d228cbccf Merge pull request #345 from mlxnataliyay/upstream
1/4 - Mellanox common code restructuring. MSN2100, MSN2410, MSN2700 platforms support
2018-04-16 13:12:02 -07:00
jostar-yang
d0473f4a15 Update ledi.c 2018-04-16 16:17:09 +08:00
Jostar Yang
463bfdd3b3 Add as7726-32x onlp code 2018-04-16 15:35:23 +08:00
Jeffrey Townsend
b0f4a6f209 Fix resolv.conf restoration. 2018-04-15 23:39:29 +00:00
Jeffrey Townsend
43d76e58f6 RFS Management Enhancements
This is a baby step in reorganizing the RFS tools to support arbitrary automation and modification after
the initial multistrap configuration has been performed.

- All RFS modifications are now done under the new OnlRfsContext object.
  - This object mounts/unmounts /dev and /proc
  - This object installs and removes the local resolv.conf so network operations
    can be performed in the chroot context.
2018-04-15 22:43:43 +00:00
Jeffrey Townsend
736eeadb4d Use onldebni to automatically run debian operations non-interactively under policy-rc.d protection.
This is useful for automated RFS modifications after first creation.
2018-04-15 22:41:28 +00:00
Jeffrey Townsend
fca1b92a9f The postinst script now checks /usr/sbin/policy-rc.d
Some complicated service dependencies will fail to configure
under normal circumstances because invoke-rc.d will kill service
start based on policy-rc.d but this is not taken into account when
configuring services that are dependent on that service.

The dependency check fails prior to the policy-rc.d check and as a result
some packages will remain unconfigured after we have finished constructing
the root filesystem. This is ok for most cases but precludes dynamic modification
of that filesystem post-creation and will even cause
those unconfigured services to be restarted the first time a new package is
installed.

Checking policy-rc.d first in the postinst script allows the configuration
step to complete for all services and their dependents to fix these problems.
2018-04-15 22:32:34 +00:00
Jeffrey Townsend
15520e4dd6 Remove accidental changes. 2018-04-12 15:04:08 -07:00
Jeffrey Townsend
0012b203db If the first blkid lookup fails we can't take an exception if the following ubi lookup also fails. 2018-04-12 17:49:57 +00:00
Jeffrey Townsend
3fd4730434 Merge pull request #347 from roylee123/Add_new_platform_accton_as7326_56x
Add new platform accton as7326 56x
2018-04-11 14:16:21 -07:00
Jeffrey Townsend
1c1f89fe43 Merge pull request #362 from opencomputeproject/revert-339-as6812_32x
Revert "[as6812-32x] Add support for OOM"
2018-04-11 14:07:07 -07:00
Jeffrey Townsend
53002164da Revert "[as6812-32x] Add support for OOM" 2018-04-11 14:06:55 -07:00
Jeffrey Townsend
3e3681a01e Merge pull request #361 from opencomputeproject/revert-340-as5812_54x
Revert "[as5812-54x] Add support for OOM"
2018-04-11 14:05:43 -07:00
Jeffrey Townsend
fab46a8ee2 Revert "[as5812-54x] Add support for OOM" 2018-04-11 14:05:28 -07:00
Jeffrey Townsend
3db7ca579a Merge pull request #358 from opencomputeproject/revert-301-as5812_54t
Revert "[as5812-54t] Add support for OOM driver"
2018-04-10 11:38:30 -07:00
Jeffrey Townsend
a5358e0e9c Revert "[as5812-54t] Add support for OOM driver" 2018-04-10 11:36:55 -07:00
Jeffrey Townsend
03294e7da0 Merge pull request #357 from opencomputeproject/revert-294-as5712_54x
Revert "[as5712-54x] Add support for OOM driver"
2018-04-10 11:35:06 -07:00
Jeffrey Townsend
82a51e3a16 Revert "[as5712-54x] Add support for OOM driver" 2018-04-10 11:32:32 -07:00
Michael Shych
f2c5f9e273 Merge remote-tracking branch 'upstream/master' 2018-04-08 10:18:56 +00:00
Jeffrey Townsend
7faad73b4a Enable ASR generation. 2018-04-05 17:32:31 +00:00
Jeffrey Townsend
fde45aafd7 Disable ASR generation by default. Packages using ASR must be updated explicitly. 2018-04-05 17:27:21 +00:00
Jeffrey Townsend
fdc641a6f0 Merge pull request #355 from brandonchuang/as5916_54x
[as5916-54x] Add support for OOM
2018-04-04 11:00:57 -07:00
Jeffrey Townsend
cc5b55d15c Merge pull request #352 from brandonchuang/as7816_64x
[as7816-64x] Replace psu driver with at24
2018-04-04 11:00:28 -07:00
Jeffrey Townsend
cc87037e57 Merge pull request #350 from brandonchuang/as7512_32x
[as7512-32x] Add support for OOM
2018-04-04 10:59:15 -07:00
Jeffrey Townsend
7177906c42 Merge pull request #349 from brandonchuang/as5916_54xm
[as5916-54xm] Add support for OOM
2018-04-04 10:58:26 -07:00
Jeffrey Townsend
ad133b39db Merge pull request #348 from brandonchuang/as5822_54x
[as5822-54x] Add support for OOM
2018-04-04 10:58:00 -07:00
Jeffrey Townsend
94a721c405 Merge pull request #342 from sonoble/update_hcl
Updating SupportedHardware.md to match new HCL
2018-04-04 09:54:10 -07:00
Jeffrey Townsend
75f80d8113 Merge pull request #341 from cytsai0409/master
[ingrasys s9100] platform driver update
2018-04-04 09:18:40 -07:00
Jeffrey Townsend
2790cbef0c Merge pull request #340 from brandonchuang/as5812_54x
[as5812-54x] Add support for OOM
2018-04-04 09:17:45 -07:00
Jeffrey Townsend
f4ed6c44b2 Merge pull request #339 from brandonchuang/as6812_32x
[as6812-32x] Add support for OOM
2018-04-04 09:17:01 -07:00
Jeffrey Townsend
8d1bed14da Merge pull request #334 from brandonchuang/as5912_54xk
[as5912-54xk] Add support for OOM driver
2018-04-04 09:16:16 -07:00
Jeffrey Townsend
c205dc4a2b Merge pull request #328 from roylee123/new_platform_as5916_54xk
Add new platform as5916-54xk
2018-04-04 09:15:03 -07:00
Jeffrey Townsend
0d96386d95 Merge pull request #315 from DeltaProducts/ag6248-feb-12
add platform support for ag6248c and ag6248c_poe
2018-04-04 08:35:14 -07:00
Jeffrey Townsend
3b45ae6813 UDS Error Handling
- Don't allow UDS connects() to block.
- Add a 1 second timeout for all UDS read/write operations.
2018-04-03 21:37:22 +00:00
Jeffrey Townsend
41bf6970e5 Add option for local script execution during autoboot. 2018-04-02 18:54:54 +00:00
Jeffrey Townsend
bc949a5afb Latest 2018-04-02 18:53:22 +00:00
Brandon Chuang
c6d880505f [as5916-54x] Add support for OOM 2018-03-30 10:51:30 +08:00
Jeffrey Townsend
be9cdca9d5 Manufecturer field missing from JSON output. 2018-03-29 18:18:27 +00:00
Brandon Chuang
9a11cd0281 [as7816-64x] Replace psu driver with at24 2018-03-29 11:41:07 +08:00
Brandon Chuang
c0423e08ed [as7512-32x] Add support for OOM 2018-03-28 16:57:10 +08:00
Brandon Chuang
721c3827c8 [as5916-54xm] Add support for OOM 2018-03-28 16:53:47 +08:00
Brandon Chuang
7a55f96744 [as5822-54x] Add support for OOM 2018-03-28 16:01:17 +08:00
roy_lee
a27f118fcc Valiadate the SFP bitmaps, present and rx_los.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-03-28 11:32:17 +08:00
Michael Shych
15d3c14c92 4 new kernel patches for Mellanox drivers.
1. Patch 0009... introduces new module mlxreg-io, which exposes the registers of the
   programmable devices, equipped on Melanox systems to sysfs. These are the
   registers, which are used for system resets operation, system reset causes
   monitoring, select operation and version info.
 2. Patch 0010... adds verification for low aggregation register mask offset. Only
   non-zero offset is considered as valid.
 3. Patch 0011... adds new OEM system types to mlx-platform; fix for interrupt burst;
   support for dynamic base i2c bus number allocation.
 4. Patch 0012... adds support for extended length of read and write transactions
    with new CPLD logic; adds support for extended length of read and write transactions.

Signed-off-by: Michael Shych <michaelsh@mellanox.com>
2018-03-27 20:22:45 +00:00
roy_lee
2ce2ba37cc 1. change i2c bus index for 4 SFP+'s eeprom.
2. Correct IDEEPROM and PSU sysfs path.
3. change to OnlPlatformPortConfig_48x25_8x100.
4. fix port 57&58's present bit.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-03-27 14:29:23 +08:00