Carl D. Roth
efe9508cd8
Added fan and led interfaces
2017-09-18 17:13:59 -07:00
Carl D. Roth
b140fec41b
enum overhaul
...
- move python enums to a proper modul
- pull up OID show and dump flags to the auto.yml
- update APIs and tests to use autogen enums
2017-09-13 15:53:06 -07:00
Carl D. Roth
f5a0dc8d9c
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_onlp
2017-09-13 14:45:09 -07:00
Carl D. Roth
7b545c0284
Finish testing sys.h, oids.h
...
- test system oid
- test sys dump
- test platform management loop
- test ioctl
2017-09-13 14:38:58 -07:00
Carl D. Roth
f001c3adb5
WIP to add some status codes
2017-09-13 14:38:02 -07:00
Carl D. Roth
e74dde6277
Finish testing oids.h, including the oid iterator
2017-09-12 15:46:29 -07:00
Carl D. Roth
e8f044508b
Add the rest of the functions from oids.h, add the system OID
2017-09-12 15:46:08 -07:00
Carl D. Roth
1547f487a7
Initial checkin
...
- wrapper for some AIM classes (probably the wrong package)
- wrap a subset of libonlp
- wrap onlp.h, sys.h, oids.h
- sample unit tests
- sample onlpdump.py
2017-09-12 11:28:10 -07:00
Jeffrey Townsend
d120a9f1d4
Initial python enums.
2017-09-12 16:39:41 +00:00
Jeffrey Townsend
a2ee36fa10
SFP flags regenerated.
2017-09-12 09:35:37 -07:00
Jeffrey Townsend
2681870da4
Python Enum Support
...
- Define ONLP_SFP_CONTROL_FLAGS properly in terms of the shared control list.
- Add a pyenum section.
2017-09-12 09:33:48 -07:00
Jeffrey Townsend
b89d5a1ce8
Add global denit.
2017-09-08 22:46:15 +00:00
Jeffrey Townsend
9038737228
Fix memory leaks on deinit.
2017-09-08 15:20:40 +00:00
Jeffrey Townsend
88ab3ed487
Add PSM4 unit.
2017-09-07 00:08:26 +00:00
Zi Zhou
4cde76b3f5
Support 100G PSM4 optics
2017-09-01 18:35:41 -07:00
Carl D. Roth
6dbd880959
Use gdisk recovery commands
...
- recover from a corrupted/misplaced backup partition table
2017-08-30 17:16:32 -07:00
Carl D. Roth
32a1e64c4b
Move ESP to standard location
2017-08-25 10:51:32 -07:00
Carl D. Roth
639ab22ce7
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_uefi
2017-08-24 17:31:25 -07:00
Carl D. Roth
f243f7c8c2
Relax 'onlmounts' label parsing
...
- previous checkin regressed this
- re-enable e.g. 'boot' or 'BOOT' or 'ONL-BOOT'
2017-08-24 17:30:31 -07:00
Zi Zhou
0e5f91fb18
support 40GBASE-ER4 optics
2017-08-22 17:07:23 -07:00
Carl D. Roth
046684f323
Refactor UEFI support
...
- find the ESP partition and its UUID
2017-08-22 16:24:38 -07:00
Carl D. Roth
5bb959a38e
Refactor install support for UEFI
...
- handle proxy- and non-proxy setups
- handle boot entry manipulation
- properly set the OS name via sysconfig
- mount ESP partition for grub-efi
2017-08-22 16:23:19 -07:00
Carl D. Roth
e819231bb5
Fixes to support chroot etc.
...
- use an available chroot when running gdisk
- Add a simple onie-shell adapter
2017-08-22 16:21:16 -07:00
Carl D. Roth
9bb6e63a1f
Oops forgot to gather the onieDir
...
- eliminates most uses of proxy grub
2017-08-22 16:13:12 -07:00
Jeffrey Townsend
f2b0e6aa57
The 3.2 kernel is no longer in use.
2017-08-22 22:59:07 +00:00
Jeffrey Townsend
b26cdbbc37
Patch for building with GCC5/6.
2017-08-22 22:57:30 +00:00
Jeffrey Townsend
e8fa7a6908
Trivial compilation fix.
2017-08-22 22:56:18 +00:00
Carl D. Roth
77fe26a72b
Proper ESP identification using GPT partition GUID
2017-08-18 17:54:03 -07:00
Carl D. Roth
79185302c1
Finalize sgdisk support
2017-08-18 17:53:36 -07:00
Carl D. Roth
1ef9dd8e16
Fixes for optional mount points
2017-08-18 17:53:20 -07:00
Carl D. Roth
df0f857ccf
WIP gdisk support
2017-08-18 09:32:49 -07:00
Carl D. Roth
d399f33c38
Refactor UEFI grub support
2017-08-18 09:32:41 -07:00
Jeffrey Townsend
3e89468cd0
Don't require link-up on ma1 if NETAUTO is not specified.
2017-08-17 22:47:54 +00:00
Carl D. Roth
94a3f32ee1
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_uefi
2017-08-14 15:04:15 -07:00
Jeffrey Townsend
11f7c45a76
Merge pull request #229 from carlroth/roth_swl_3971
...
Proactively fix GPT partition tables, see SWL-3971
2017-08-09 08:06:35 -07:00
Carl D. Roth
6c4983faad
Proactively fix GPT partition tables, see SWL-3971
...
- try to find the boot device
- try to determine if the boot device is GPT
- use sgdisk to correct simple errors
2017-08-08 19:53:34 -07:00
Carl D. Roth
766f37e7b3
Proactively fix GPT partition tables, see SWL-3971
...
- try to find the boot device
- try to determine if the boot device is GPT
- use sgdisk to correct simple errors
2017-08-08 19:51:05 -07:00
Jeffrey Townsend
bc6fd94b5e
Merge pull request #228 from atmaramg/master
...
VFIO and MMU support LS2088ARDB
2017-08-08 18:39:37 -07:00
Jeffrey Townsend
b59d719dbb
Merge pull request #225 from carlroth/master
...
Update for large SWI files
2017-08-08 18:32:29 -07:00
Carl D. Roth
a57d222661
Mount efivarfs in loader and propagate it to the SWI
2017-08-07 18:16:23 -07:00
Carl D. Roth
15efbdc540
Add EFI-BOOT mount point
...
- optional
- depend on hokey "EFI System" GPT label, YMMV
- *TODO* use proper GPT UUID matching
2017-08-07 18:16:16 -07:00
Carl D. Roth
a1cf697f67
Overhaul ONL mtab.yml handling (preparing for UEFI support)
...
- fix timeout handling
- add 'optional' field for not-always-required mount points
- add 'label' field to disambiguate mtab.yml keys from FS labels
2017-08-07 18:16:08 -07:00
Jeffrey Townsend
8c1df07a86
Improve dmidecode usage.
...
- Improve arch conditions.
- Don't throw exeptions on decode errors.
2017-08-02 22:10:38 +00:00
Atmaram
cdb84bd043
VFIO and MMU support LS2088ARDB
...
Signed-off-by: Atmaram <b38856@nxp.com >
2017-08-02 17:00:51 +05:30
Carl D. Roth
c0b3bd68ac
Pick the largest squashfs
2017-07-27 16:54:16 -07:00
Carl D. Roth
ec14deed3d
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
...
Conflicts:
packages/base/all/initrds/loader-initrd-files/src/bin/swiprep
2017-07-27 15:54:50 -07:00
Carl D. Roth
14517423b2
Handler larger SWI files
...
- download SWI to a 1GiB tmpfs
- determine of the embedded squashfs will fit in the tmpfs
- resize the tmpfs if necessary
2017-07-27 14:51:30 -07:00
Carl D. Roth
eea0a9b161
Better handling for failed unzip (like, for disk full)
2017-07-27 14:07:57 -07:00
Jeffrey Townsend
cdb205ee75
Architecture and error checking.
2017-07-19 17:58:22 +00:00
Jeffrey Townsend
701b91ae82
Initial
2017-07-19 17:58:19 +00:00