Commit Graph

1040 Commits

Author SHA1 Message Date
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
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
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
roylee123
d31106980d [Platform]Accton as7312_54x, fixes insertion of the wrong psu driver 2017-08-03 09:43:39 +08:00
Jeffrey Townsend
3de71b4684 Improve portability.
All sysfs files should be referenced using the search syntax.
2017-08-02 22:45:20 +00: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
Jeffrey Townsend
05165f61ea - Place DHCP options in /var/run/udhcpc
- Request default-url and siaddr.
2017-07-19 17:57:32 +00:00
Jeffrey Townsend
40fc82b48c Remove setup marker on clean. 2017-07-18 16:24:31 +00:00
Jeffrey Townsend
ab048a41d9 Enable additional DHCP options to support functional parity with ONIE. 2017-07-18 16:23:22 +00:00
Jeffrey Townsend
775e7d567a Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2017-07-14 18:41:59 +00:00
Jeffrey Townsend
0a1dad9343 Cleaning the lib directory must happen prior to kernel build (now that kernel modules are installed there). 2017-07-14 18:40:45 +00:00
Jeffrey Townsend
6308d4018d Accidentally committed. 2017-07-14 18:34:02 +00:00
Jeffrey Townsend
a17a83966b Merge pull request #224 from brandonchuang/master
[kernel 3.16-lts] Enable UEFI related config
2017-07-14 09:28:50 -07:00
Jeffrey Townsend
a6c87b0a66 Merge pull request #223 from sonoble/4-9-config-update
igb: Add support for bcm5461x phy
2017-07-14 09:28:29 -07:00
Jeffrey Townsend
0e40ef700b Merge pull request #214 from sholeksandr/manager_led
Add LED manager function to sysi.c to 2100, 2410 and 2700 systems
2017-07-14 09:20:44 -07:00
Jeffrey Townsend
fefbfa6fa1 Merge pull request #208 from raymondhuey/netberg
Support Netberg Platform
2017-07-14 09:20:06 -07:00
Jeffrey Townsend
76dd249757 Merge pull request #207 from XiongJunDelta/master
add new platform for delta Ag7648 platform
2017-07-14 09:18:04 -07:00
brandon_chuang
56bbb50716 [kernel 3.16-lts] Enable UEFI related config 2017-07-14 10:05:56 +08:00
Steven Noble
cdaabeb19e igb: Add support for bcm5461x phy
Patch provided by David Ahern @dsahern for kernel 4.11 based on 3.16-lts ONL patch.
2017-07-12 20:41:24 +00:00
Jeffrey Townsend
ef194f7b65 Enable DESELECT_ON_EXIT by default. 2017-07-12 18:00:50 +00:00
Jeffrey Townsend
188d02f518 Enable the SFF unit test. 2017-07-07 16:28:55 +00:00
Jeffrey Townsend
5b1d3751c1 SFF Interface Improvements
- All meta fields can now be populated directly from the module type.
  - This places the mapping in a single place for all fields.
  - This allows a complete info structure to be populated by module type along.
    This is useful for simulation.
- Add JSON output.
2017-07-07 16:26:06 +00:00
Jeffrey Townsend
227daab6dc Remove ucli advertisement. 2017-07-07 16:24:35 +00:00
Jeffrey Townsend
df42573905 Correct device and bitmap initialization. 2017-07-06 22:13:46 +00:00
raymond.huey
3d4aa912b4 Update the Support for Netberg Platforms
- remove the patch file "driver-i2c-bus-intel-ismt-netberg-aurora.patch".
- modify the method of reading EEPROM : access the binary data directly for EEPROMs on main board and PSU.
- remove the function "onlp_sysi_platform_set" in file "sysi.c".
- change the SYS_OBJECT_ID in file "__init__.py":
    Aurora 620 : .620.1
    Aurora 720 : .720.1
- remove the "/dev/rtc1" in file "__init__.py", because there is no ds1339 on Netberg Aurora platforms.
2017-07-06 16:25:24 +08:00
Dave Hu
6ed1fae68c modify i2c and python file for ag7648 github 2017-07-03 10:02:27 -04:00
sholeksandr
e874e9f712 Merge branch 'master' into manager_led 2017-06-30 19:48:27 +03:00
Jeffrey Townsend
ba236ea3fa Merge pull request #213 from sholeksandr/master
Add onlp_sfp_dev_readb and onlp_sfp_dev_readw support
2017-06-30 09:04:50 -07:00
Jeffrey Townsend
f3761fe45d Merge pull request #210 from roylee123/master
Add new model, accton-as5916-54xm.
2017-06-30 09:03:00 -07:00