Commit Graph

327 Commits

Author SHA1 Message Date
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
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
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
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
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
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