Commit Graph

297 Commits

Author SHA1 Message Date
Jeffrey Townsend
34537a30c3 Merge pull request #209 from jonathantsai-qci/master
Add Quanta IX2 Platform:
2017-06-30 08:57:42 -07:00
Jeffrey Townsend
623e901516 Add 3.2 LTS option for x86. 2017-06-13 15:46:46 +00:00
Jeffrey Townsend
274bb17fc1 Add 4.9 LTS as a platform kernel option. 2017-05-26 18:43:47 +00:00
Jeffrey Townsend
725f3171fa Improve SWI handling for reduced processor/memory environments.
- Increase SWI bootmode timeout
- Unzip the rootfs directly into the target directory instead of through a pipe.
2017-05-26 16:02:07 +00:00
Jonathan Tsai
9a9cb17fb7 Add Quanta IX2 Platform:
1. Port IX2 platform driver
2. Add class OnlPlatformPortConfig_48x25_8x100 at base.py
3. Port IX2 ONLP: board info
4. Port IX2 ONLP: thermal
5. Port IX2 ONLP: fan
6. Port IX2 ONLP: psu
7. Port IX2 ONLP: sfp
8. Port IX2 ONLP: modify gpio calling from low-level to onlp-lib
9. Port IX2 ONLP: led
2017-05-23 11:03:29 +08:00
Jonathan Tsai
01a3908322 Add LY4R platform:
1. [LY4R] Port platform driver
2. [LY4R] Port ONLP: board info
3. [LY4R] Port ONLP: systemled
4. [LY4R] Port ONLP: SFP
5. [LY4R] Print "ONLP is not supported for RPSU/FAN/THERMAL"
6. [LY4R] Port UEFI support
2017-04-28 15:13:14 +08:00
Jeffrey Townsend
9342f86400 Check for the existance of the onie-fwpkg before attempting upgrade and provide a useful error message. 2017-04-20 18:06:19 +00:00
Jeffrey Townsend
00ddfde529 Do not bring the interface down during setup. 2017-04-13 23:49:36 +00:00
Jeffrey Townsend
dd8f694c31 Merge pull request #179 from hans-tseng/agc7648a
agc7648a
2017-04-12 10:04:24 -07:00
Petro Karashchenko
e91feac31c Prevent ONL installation failure on systems not support UBI storages 2017-04-04 01:00:39 +03:00
Jeffrey Townsend
aa779809c7 Fix Loader Upgrade Status
When the Loader upgrade step was moved prior to platform setup the upgrade status was lost
because the platform-current symlink had not been created yet.

This simple fix places the upgrade status file in the absolute directory instead of
the symlinked directory.

The loader status and the firmware status should probably be separated anyways.
The loader status doesn't belong in the platform-specific data.
2017-03-30 20:19:09 +00:00
Jeffrey Townsend
09693d8de4 Use the correct path when removing the grubenv file. 2017-03-27 22:08:18 +00:00
MASAN.XU
4ceb4351f6 1. Add new class 48 ports 10G SFP+/ 6 ports 100G QSFP28 "OnlPlatformPortConfig_48x10_6x100" for agc7648a
Signed-off-by: MASAN.XU <MASAN.XU@DELTA.COM.TW>
2017-03-16 01:57:47 +00:00
Jeffrey Townsend
48f4db30d9 The 3.2.65-1+deb7u2 kernel is no longer used. 2017-02-22 02:25:55 +00:00
Jeffrey Townsend
4843afd6bd Merge pull request #166 from zhouzi88/master
ly2 kernel module and onlp driver update for kernel 3.16
2017-02-21 18:12:45 -08:00
Zi Zhou
8c2e2873a2 switch to kernel 3.16-lts (powerpc platform) 2017-02-21 11:31:43 -08:00
Jeffrey Townsend
fb94d3b3dd Change the arm-iproc kernel. 2017-02-21 18:58:16 +00:00
Jeffrey Townsend
133a2cc9b6 Install a new FIT image (for developers). 2017-02-21 18:42:28 +00:00
Jeffrey Townsend
840389d897 Allow sysconfig overrides from the config partition. 2017-02-21 18:13:01 +00:00
roylee123
e063dc02d1 Add new port config for as7312_54x. 2017-02-08 10:13:33 +08:00
Jeffrey Townsend
afbfb5d1f2 Purge any existing firmware packages before requesting upgrade.
Allows recovery if upgrades were previously scheduled but not executed.
2017-01-18 00:03:11 +00:00
Jeffrey Townsend
e0d494faa0 Add network attribute get() methods. 2017-01-13 16:54:01 +00:00
Jeffrey Townsend
4fcc589cbf Update insmod_platform() for new module paths. 2017-01-12 21:22:59 +00:00
Jeffrey Townsend
339b55d248 Remove debug message. 2017-01-09 22:35:43 +00:00
Jeffrey Townsend
e6df746ff0 - New module search paths
- Module parameter support.
2017-01-08 23:02:33 +00:00
Jeffrey Townsend
ada99bfaf2 Convenience method for inserting all platform-specific modules. 2017-01-03 19:47:54 +00:00
Jeffrey Townsend
3678d85b9b The Loader and Kernel upgrade stage must now be performed prior to platform baseconfig.
This avoids the possibility of inserting incompatible kernel modules built for the new kernel
into the old one.
2017-01-01 18:37:29 +00:00
Jeffrey Townsend
2afe7d78c5 System, Loader and Kernel upgrades are now required. 2017-01-01 18:36:59 +00:00
Jeffrey Townsend
31b6766dc9 Improve module search. 2017-01-01 18:09:44 +00:00
Jeffrey Townsend
bb37da9ad9 New method to support platform-specific kernel modules. 2016-12-31 20:57:59 +00:00
Jeffrey Townsend
b5b429af3b Convenience tool for manual kernel replacement. 2016-12-31 19:55:39 +00:00
Jeffrey Townsend
7428d3505c - Fix timeout processing. 2016-12-31 19:55:23 +00:00
Jeffrey Townsend
604af0c9b3 The 3.16+deb8 package has been replaced by the 3.16 LTS package. 2016-12-22 18:13:22 +00:00
Jeffrey Townsend
44a1a63936 Add 3.16 LTS as a kernel option. 2016-12-21 22:44:45 +00:00
Jeffrey Townsend
fa2bf42480 Add method to rewrite eeprom.json 2016-12-15 13:31:11 -08:00
Jeffrey Townsend
d4d574e351 Add subcommand "rw"
This subcommand can be used to execute a shell command under read-write context.

For example:
  #> onlfs rw images rm /mnt/onl/images/*.swi
2016-12-15 16:09:50 +00:00
Jeffrey Townsend
2018320174 Except only if required. 2016-12-13 21:32:08 +00:00
Jeffrey Townsend
aada217a4c Use /bin/sh instead of /bin/bash (for execution under the loader). 2016-12-13 21:31:41 +00:00
Sung-Kuang (Max) Chung
f7cc57aced Merge branch 'master' of https://github.com/opencomputeproject/OpenNetworkLinux 2016-12-07 22:07:57 -08:00
Sung-Kuang (Max) Chung
1a90e3c514 Added community support email opennetworklinux@googlegroups.com,
as support@bigswitch.com "is a support line for commercial Big Switch
products for customer with paid licenses."
2016-12-07 21:56:03 -08:00
Jeffrey Townsend
a0e4cae7c4 Support manual uninstall mode as a last resort. 2016-12-08 03:46:36 +00:00
Jeffrey Townsend
f6cc003469 Provide common access to machine.conf and the output of onie-syseeprom.
Some platforms do not provide direct device access to the ONIE system eeprom.
The only way these systems can export their system data under ONL is by scraping it
from the output of onie-syseeprom and/or reading fields from machine.conf.

These new platform methods can be called in a platform's baseconfig() to
populate the cached version of these values for later use, or used
to access that cached data at a later time.
2016-12-07 20:14:03 +00:00
Jeffrey Townsend
2241b65dfa Set upgrade ONIE and Firmware upgrade policy from sysconfig. 2016-12-07 17:55:27 +00:00
Jeffrey Townsend
add948d33f Add force_overrite paramater and return whether the file was re-written or not.
This functionality is useful for upgrade scenarios.
2016-12-01 18:20:14 +00:00
Jeffrey Townsend
f8df569c2d Tolerate missing dmidecode module amd missing platform info object. 2016-12-01 17:14:04 +00:00
Jeffrey Townsend
cbec27d710 Handle empty images. 2016-12-01 17:13:32 +00:00
Jeffrey Townsend
96cf925350 Merge branch 'master' of github.com:carlroth/OpenNetworkLinux 2016-11-30 19:34:27 -08:00
Carl D. Roth
0f2b922be8 attach, then shutdown, the internal components 2016-11-30 18:24:32 -08:00
Carl D. Roth
271434a71c Oops, unmount the contents of this (temporary) onie boot context 2016-11-30 18:23:58 -08:00
Carl D. Roth
8bee5e7796 Refactor the unmount part of the initrd context shutdown 2016-11-30 18:23:34 -08:00