1020 Commits

Author SHA1 Message Date
Carl D. Roth
6d1aaa134c Handle unformatted/corrupted partition tables, see SWL-3246
- handle more pyparted exceptions
- properly clobber the disk signature
2016-11-03 13:58:40 -07:00
Jeffrey Townsend
ac87756cda Patch CVE-2016-5195 (Dirty Cow). 2016-11-03 19:59:56 +00:00
Zi Zhou
b8669dc209 support SMBus block read 2016-11-01 15:22:20 -07:00
Carl D. Roth
515a881bb5 Oops, botched merge 2016-10-26 17:33:29 -07:00
Carl D. Roth
9be51dc6a7 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	packages/base/all/vendor-config-onl/src/etc/onl/sysconfig/00-defaults.yml
	packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py
2016-10-26 13:30:23 -07:00
Carl D. Roth
12b7eb52df Move upgrade scripts to make room 2016-10-26 12:39:49 -07:00
Carl D. Roth
ac3475f215 Added upgrade-system step 2016-10-26 12:39:49 -07:00
Jeffrey Townsend
820cc3d973 - DHCP Timeout support in the Loader environment
When $NETAUTO=dhcp the transaction will now timeout after $NETRETRIES attempts.
  If the system has a local install or SWI then booting can continue.

  For systems which require DHCP to be functional before booting can continue
  (for example SWIs downloaded via URL rather than locally) then NETRETRIES=infinite should be set in the boot-config.

  NETRETRIES can be set to any number of attempts, or infinite. The default value is 5 attempts.

- Wait for ma1 linkup in the loader
  A short wait has been introduced to allow ma1 to linkup prior to continuing.
2016-10-26 12:39:26 -07:00
Jeffrey Townsend
1d52f43a0b Upgrade separation and cleanup. 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
222ffd2504 Fix uninstallation. 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
b077ed028b Enable ONIE and Firmware Upgrade Package Support 2016-10-26 12:39:24 -07:00
Jeffrey Townsend
4a5732241c Add platform and firmware keys. 2016-10-26 12:38:34 -07:00
Jeffrey Townsend
b7879951f0 Commit the sysctl settings prior to first mount. 2016-10-26 12:38:34 -07:00
Jeffrey Townsend
03bb6b718d Add default ONIE upgrade package settings. 2016-10-26 12:38:32 -07:00
Jeffrey Townsend
df146fd122 Onie and Loader infrastructure improvements
- Loader and ONIE moved to importable classes for tool usage
- OnieUpgradeBase updated.
2016-10-26 12:37:24 -07:00
Carl D. Roth
06ad896fd4 Added system upgrade key 2016-10-26 12:37:24 -07:00
Carl D. Roth
c10374ddc6 Fixed cpR implementation 2016-10-26 12:37:24 -07:00
Carl D. Roth
b6ce6eb566 Added devtmpfs workaround 2016-10-26 12:37:24 -07:00
Carl D. Roth
5e0ea4516e Update comment 2016-10-26 12:37:24 -07:00
Carl D. Roth
8d9bedd92e Added cp-R, added support for devtmpfs 2016-10-26 12:37:24 -07:00
Carl D. Roth
ead42bc860 Added upgrade-shell 2016-10-26 12:37:24 -07:00
Carl D. Roth
1c12aa5189 Added serialization function 2016-10-26 12:37:24 -07:00
Jeffrey Townsend
c875832718 Generalize to all exceptions. 2016-10-26 12:37:20 -07:00
Steven Noble
ac03653c5f Kernel configuration options and updated at24 patch for kernel 3.16 2016-10-26 12:35:12 -07:00
Zi Zhou
bc4d2e6f97 Do not show CRC under System Information for "show version" 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
86cedd5bab - Improve retry and timeout performance for the isch driver
- adm1021 device detection option
2016-10-26 12:35:12 -07:00
Jeffrey Townsend
43c30cf187 The onl-pki script has moved. 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
a24beac4fd - DHCP Timeout support in the Loader environment
When $NETAUTO=dhcp the transaction will now timeout after $NETRETRIES attempts.
  If the system has a local install or SWI then booting can continue.

  For systems which require DHCP to be functional before booting can continue
  (for example SWIs downloaded via URL rather than locally) then NETRETRIES=infinite should be set in the boot-config.

  NETRETRIES can be set to any number of attempts, or infinite. The default value is 5 attempts.

- Wait for ma1 linkup in the loader
  A short wait has been introduced to allow ma1 to linkup prior to continuing.
2016-10-25 18:02:00 +00:00
Jeffrey Townsend
6b051c4533 Upgrade separation and cleanup. 2016-10-21 18:12:33 +00:00
Jeffrey Townsend
b3e2757b31 Fix uninstallation. 2016-10-21 16:02:32 +00:00
Jeffrey Townsend
09cb160ca6 Enable ONIE and Firmware Upgrade Package Support 2016-10-20 21:18:24 +00:00
Jeffrey Townsend
c227d90e85 Add platform and firmware keys. 2016-10-20 14:16:01 -07:00
Jeffrey Townsend
f61b2436f1 Commit the sysctl settings prior to first mount. 2016-10-20 21:15:05 +00:00
Carl D. Roth
08e6bddfbb WIP parted API updates -- DO NO MERGE 2016-10-20 12:03:35 -07:00
Carl D. Roth
d129388145 Refactor to use OnieHelper 2016-10-20 12:00:48 -07:00
Carl D. Roth
759b002e4d Added attach/detach support 2016-10-20 11:59:45 -07:00
Carl D. Roth
b9ddd22e82 Added UMOUNT tag to suspend cleanup 2016-10-20 11:59:26 -07:00
Jeffrey Townsend
23e6922e71 Add default ONIE upgrade package settings. 2016-10-19 21:36:00 +00:00
Jeffrey Townsend
6a97f85532 Onie and Loader infrastructure improvements
- Loader and ONIE moved to importable classes for tool usage
- OnieUpgradeBase updated.
2016-10-19 21:34:54 +00:00
Jeffrey Townsend
a6aba0a15f Generalize to all exceptions. 2016-10-19 14:54:11 +00:00
Jeffrey Townsend
a44ab1f897 Merge pull request #111 from sonoble/mnlx_patch
Updated configuration options and at24 patch for 3.16 kernel adds Mellanox support
2016-10-14 09:44:29 -07:00
Steven Noble
da8ff83e0e Kernel configuration options and updated at24 patch for kernel 3.16 2016-10-13 20:44:31 -07:00
Zi Zhou
d47fa3a5a1 Do not show CRC under System Information for "show version" 2016-10-13 17:19:31 -07:00
Jeffrey Townsend
ee0a5caea1 - Improve retry and timeout performance for the isch driver
- adm1021 device detection option
2016-10-13 18:03:31 +00:00
Jeffrey Townsend
02df906749 The onl-pki script has moved. 2016-10-11 20:30:35 +00:00
Jeffrey Townsend
75bef2b248 Fix indexing bug. 2016-10-04 23:48:22 +00:00
Jeffrey Townsend
13d06bab43 Add sysconfig SWI upgrade mode. 2016-09-23 14:48:18 +00:00
Jeffrey Townsend
80c90ac3a4 Support optional API profiling. 2016-09-19 20:12:44 +00:00
Jeffrey Townsend
6b5c4c1c33 The ONLP_I2C_F_USE_BLOCK_READ flag can be used to request block reads from onlp_i2c_dev_read(). 2016-09-19 20:12:01 +00:00
Jeffrey Townsend
1f4877b4a3 Option to enter debug handler directly. 2016-09-19 16:20:35 +00:00