Commit Graph

590 Commits

Author SHA1 Message Date
Jeffrey Townsend
711b822dff Latest 2016-11-22 07:29:04 -08:00
Jeffrey Townsend
5c34495096 [SWL-3475] Fix Firmware upgrade after initial ONIE upgrade.
The ONIE firware upgrade staging area is not initialized properly if we don't first boot into ONIE after
the initial upgrade. This causes our workflow of ONIE then CPLD upgrade to fail the first time.

The onie-fwpkg script does not report an error about the staging area which is why our code
is not detecting the failure to install the firmware package.
2016-11-21 21:21:41 +00:00
Jeffrey Townsend
956a28678d Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-11-18 17:27:41 +00:00
Jeffrey Townsend
b39ac64355 Utility for resetting the boot swi. 2016-11-18 17:27:22 +00:00
Zi Zhou
b2fa0f4199 support onlp_sfpi_dev_read[write] api in as5712, as5812-54x 2016-11-17 14:32:02 -08:00
Jeffrey Townsend
31055e67ce - Support ONIE firmware upgrade packages.
- Use the new onl.grub interface
2016-11-17 19:31:56 +00:00
Jeffrey Townsend
ce2d20f93b This is really what onl-mounts should be called. 2016-11-17 19:31:31 +00:00
Jeffrey Townsend
bca8be69c8 Convenience tool to set the onie-boot-mode and reboot once into onie. 2016-11-17 19:31:01 +00:00
Jeffrey Townsend
877fff69e0 Use the new onl-onie-boot-mode tool. 2016-11-17 19:30:39 +00:00
Jeffrey Townsend
d6d89cc3cb - onie boot tool access
- boot selection
2016-11-17 19:29:31 +00:00
Jeffrey Townsend
8937a27afb Add OnlOnieBootContext
This context can be used to execute commands from /mnt/onie-boot.
2016-11-17 19:28:30 +00:00
Jeffrey Townsend
f6dc473cf8 - Always set the default boot selection to $saved_entry
- Always reset $saved_entry to the NOS boot selection.
  The purpose of this change is to make transitions to and from ONIE
  for update purposes more robust. Every boot selection to ONIE is
  automatically a boot-once choice.
2016-11-17 19:25:25 +00:00
Jeffrey Townsend
4ffcc87549 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-11-16 20:23:27 +00:00
Jeffrey Townsend
218811da1b Use the CJSON module to generate JSON formatting instead of hand coding it. 2016-11-16 20:22:21 +00:00
Zi Zhou
28facefe44 minor fix 2016-11-16 10:48:59 -08:00
Zi Zhou
a2b8c1caeb add onlp_sfpi_dev_read[write] api support 2016-11-15 16:04:57 -08:00
Jeffrey Townsend
69c3ca634d Latest 2016-11-11 07:57:38 -08:00
Carl D. Roth
5773f5e759 Minor loader-shell breakage on ppc 2016-11-10 17:42:55 -08:00
Carl D. Roth
551435819d Fixed format test api 2016-11-10 15:26:27 -08:00
Carl D. Roth
52c96b0bea Extend U-Boot initrd support to include legacy images 2016-11-10 14:50:26 -08:00
Carl D. Roth
707279da6f Relax OS and TYPE requirements 2016-11-10 14:49:51 -08:00
Carl D. Roth
1e262f8b6f Do not parse the ONIE initrd for u-boot systems 2016-11-10 14:39:55 -08:00
Carl D. Roth
c65c0ff001 Added magic-number tester 2016-11-10 14:39:33 -08:00
Carl D. Roth
640295d3b3 Added legacy u-boot parser 2016-11-10 14:39:25 -08:00
Jeffrey Townsend
c686cdff2c Latest 2016-11-10 17:58:17 +00:00
Jeffrey Townsend
5345cb3a23 Merge pull request #127 from carlroth/roth_swl_3426
Restore boot loader config on loader upgrade, see SWL-3426
2016-11-10 08:37:53 -08:00
Zi Zhou
33b8abb646 fix PSU fan and temperature 2016-11-09 22:14:54 -08:00
Carl D. Roth
0585e17740 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_swl_3426 2016-11-09 15:20:50 -08:00
Jeffrey Townsend
eca7a60349 Recover default boot-config into /mnt/onl/boot. 2016-11-09 21:45:37 +00:00
Jeffrey Townsend
04658945c5 The upgrade status manifest may not be available during system upgrade. 2016-11-09 21:18:47 +00:00
Jeffrey Townsend
48689e3d98 Boot-config installation is optional. 2016-11-09 21:18:17 +00:00
Jeffrey Townsend
2ad51228d9 The system upgrade step must occur prior to mount and platform setup. 2016-11-09 21:17:10 +00:00
Carl D. Roth
a394f2b84c Unmount /mnt/onl/boot prior to invoking the installer 2016-11-09 12:38:48 -08:00
Carl D. Roth
46c8c0a0be Working for x86 2016-11-09 12:38:18 -08:00
Jeffrey Townsend
558e9f3d29 Merge pull request #121 from carlroth/master
Implement system upgrade for in-place re-partitioning
2016-11-09 09:16:48 -08:00
Steven Noble
7ea57d959b adds base-files dependency to faultd 2016-11-09 02:18:31 +00:00
Carl D. Roth
4c9c1fa745 Works for ppc, x86 probably needs a chroot 2016-11-08 16:21:58 -08:00
Jeffrey Townsend
38297a63cf Latest 2016-11-08 19:57:17 +00:00
Jeffrey Townsend
e2f9ea1fba Add Device Mapper/Crypt support. 2016-11-08 14:29:07 +00:00
Jeffrey Townsend
0508e7149c Latest 2016-11-08 14:28:57 +00:00
Carl D. Roth
1eaf262f71 Refactor to use OnieBootContext 2016-11-07 17:55:06 -08:00
Carl D. Roth
9e15479060 Refactor to use OnieBootContext 2016-11-07 17:54:50 -08:00
Carl D. Roth
c730004e2b Initial working version of OnieBootContext 2016-11-07 17:54:36 -08:00
Carl D. Roth
ad913e98c5 Minor fixes after fallout from git pull 2016-11-07 17:53:49 -08:00
Carl D. Roth
d6010dbd9c Merge branch 'master' of github.com:carlroth/OpenNetworkLinux into roth_swl_3426
Conflicts:
	packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py
	packages/base/all/vendor-config-onl/src/python/onl/install/ShellApp.py
2016-11-07 15:16:21 -08:00
Carl D. Roth
d11513407c Merge branch 'master' of github.com:carlroth/OpenNetworkLinux 2016-11-07 13:13:41 -08:00
Carl D. Roth
19d19ef51c Fix swiget for if SWI is missing 2016-11-07 13:12:54 -08:00
Carl D. Roth
3dd8881921 Updates for review feedback
- use built-in mount context for ONL-BOOT
- fix logger handle
- minor nit for swiget if the SWI is missing
2016-11-07 13:12:42 -08:00
Carl D. Roth
c85967e4db Handle unmount when detached 2016-11-07 10:50:17 -08:00
Carl D. Roth
001aa48a45 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py
2016-11-04 16:02:18 -07:00