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
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