Commit Graph

1536 Commits

Author SHA1 Message Date
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
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
Carl D. Roth
90489177a5 Unmount the ESP directory for launching the installer 2017-08-22 16:12:22 -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
ee0041c04c Latest 2017-08-14 22:03:50 +00: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
Carl D. Roth
bb790e5d13 Add EFI support packages to SWI 2017-08-07 18:16:02 -07:00
Jeffrey Townsend
2f721a5c2b Merge pull request #226 from roylee123/accton_as5912_insmod_wrong_psu_modeule
[Platform]Accton as7312_54x, fixes insertion of the wrong psu driver
2017-08-02 20:32:45 -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
Jeffrey Townsend
45aaf6959f Latest 2017-08-01 16:15:17 +00:00
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
819f4ad3f7 Add support for building and installing base kernel modules.
Kernel modules can now be selected from the base kernel package via the kernel config.
The modules will be built and installed into the existing -modules packages.

Module management tools like modprobe will now work properly.

This enables individual module selection for
2017-07-14 18:35:12 +00:00
Jeffrey Townsend
6ec5202fa0 Update package version to 1.4. 2017-07-14 18:34:20 +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