Commit Graph

900 Commits

Author SHA1 Message Date
Jeffrey Townsend
e885ccba45 Move imports of urllib2 into wget() as it has caused some tricky issues with downstream code. 2018-12-04 22:49:20 +00:00
Jeffrey Townsend
4404a41f68 Make the onlswi script marginally less stupid. 2018-12-04 14:27:30 +00:00
Jeffrey Townsend
3c7c37f706 Add Platform Revision field. 2018-11-30 22:50:38 +00:00
Jeffrey Townsend
2a6d72a59c Merge pull request #492 from MellanoxBSP/onl-kernel_patches
Added kernel 4.9 patches for mlx-platform
2018-11-27 13:34:58 -08:00
Jeffrey Townsend
2a7854275b Merge pull request #484 from jostar-yang/as9716_1113
Add suport as9716-32d onlp
2018-11-27 13:30:49 -08:00
Jeffrey Townsend
c43294c428 Merge pull request #483 from roylee123/Add_lm_sensor_for_as5912-54x
Add lm-sensor package and update kernel modules of as5912-54x for it.
2018-11-27 13:28:10 -08:00
Oleksandr Shamray
4edfc7bebe Added kernel 4.9 patches
- mlx-platform: backport patches from 4.19
- mlx-platform: Add support for register CPLD3_VER, RST_CUSE
  Add NG system type support

Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2018-11-21 11:45:50 +00:00
Jostar Yang
b33ee3aea9 Add suport as9716-32d onlp 2018-11-13 18:13:50 +08:00
roy_lee
433dc32dab Duplicate attributes that follows lm-sensor naming.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-11-13 06:55:38 +00:00
wanda
ab7032cf47 Add new platform for Inventec d5254
1.Add new platform for Inventec d5254
  2.Add onlp support for d5254
  3.Add kernel patch for lpc_ich, let gpio recognize Broadwell-de
2018-11-12 17:22:53 +08:00
Jeffrey Townsend
a5ec39317e Add new port config 48x25+4x100+2x200. 2018-11-05 15:56:27 +00:00
Jeffrey Townsend
17978ad957 Increase domain socket read timeout to 5 seconds. 2018-10-31 09:07:32 -07:00
Jeffrey Townsend
b6024968fd Merge pull request #437 from jostar-yang/as7816-64x
Use i2c word mode instead of use block mode for access sys eeprom
2018-10-09 12:41:50 -07:00
Jeffrey Townsend
f6e11cdecf Merge pull request #428 from OrdnanceNetworks/onl-fixes
Assorted set of fixes and improvements to ONL
2018-10-09 12:35:38 -07:00
Jostar Yang
edaff9f159 Modify psu driver to support both 3y and delte power 2018-10-03 11:05:15 +08:00
Jeffrey Townsend
fcd317b51b Remove debug message. 2018-10-01 21:34:36 +00:00
Zi Zhou
5806f03c72 kernel config cleanup 2018-10-01 09:10:23 -07:00
Zi Zhou
1808b4fca3 change kernel config to suppport DELL FPGA opencore i2c driver 2018-09-28 15:36:35 -07:00
Sergey Popovich
e2c1fcc335 initrds: ifup: Move NETRETRIES handling to "dhcp" code path
This variable is only required and used for dynamic network configs:
validating and configuring it for rest of the paths isn't necessary.

While there split warning message to two lines to make code and
runtime output more readable.

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-09-26 11:08:15 +03:00
Sergey Popovich
cdad662745 initrds: ifup: Do not apply any config if NETAUTO=none
There are three types of value accepted by NETAUTO:

    1) "dhcp" for automatic network settings via DHCP
    2) "up" to bring link up, wait for IPv6 tentative and link up
       operstate
    3) anything else: apply static configuration, wait for IPv6
       tentative and link up operstate

Note that empty ("") value is subset of 3) and we only skip link up
operstate monitoring for it since commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.").

Add fourth case with NETAUTO=none to skip all but NETHW (hardware
address) from boot-config file and support different management
adapter config methods (e.g. Debian network config system).

This also fixes incorrect "return" statement usage outside of function
introduced with commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.") and adds
newline before wait_link_up() to make code more readable.

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-09-26 11:08:15 +03:00
Sergey Popovich
0106c6a542 onl-boot-config: Support empty NETAUTO
Since empty NETAUTO= in /mnt/onl/boot/boot-config is valud according to
rules in initramfs /boot/ifup, follow this behavior in onl-boot-config
to get rid of incorrect message:

  root@localhost:/# onl-boot-config --show
  NETDEV=ma1
  BOOTMODE=INSTALLED
  SWI=images::latest
  NETAUTO=
  The NETAUTO value '' is invalid.
  The boot configuration has not been changed.

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-09-26 11:08:15 +03:00
Jeffrey Townsend
14c387475b Merge pull request #455 from carlroth/roth_swl_4810_2
Cleanups for PKI, mounts points, logging, onie-sysinfo
2018-09-25 14:08:10 -07:00
Jeffrey Townsend
5060404140 Merge pull request #412 from brandonchuang/as4610_54t_b
[as4610] Add support for OOM optoe driver
2018-09-25 11:13:51 -07:00
Carl D. Roth
8ac2f0330b Cleanup mount point usage
- cut down on nested mount invocations
2018-09-20 18:19:00 -07:00
Carl D. Roth
2cd5d8afe2 Cleanups for execute method
- support tuple arguments
- send stdout/stderr output to the logger
2018-09-20 18:18:55 -07:00
Carl D. Roth
4f5655060d Fixed shell invocation bug in onie-sysinfo 2018-09-20 18:18:48 -07:00
Jeffrey Townsend
f93816925a Merge pull request #450 from brandonchuang/optoe
[oom] Correct a panic inducing defect which is triggered on a read (or write)
2018-09-19 06:33:48 -07:00
SnDream
45b9562676 Fix typo 2018-09-18 19:55:33 +08:00
brandonchuang
f5dd66b4aa [oom] Correct a panic inducing defect which is triggered on a read (or write) 2018-09-12 13:49:12 +08:00
Jeffrey Townsend
b0553f7e0c Initialize the SFP bitmap in presence_bitmap_get(). 2018-08-29 18:27:36 +00:00
Jeffrey Townsend
c3624424c0 Merge pull request #423 from MellanoxBSP/onl-back-porting
Add patches from upstream kernels - backport 4.17 - 4.19
2018-08-29 11:19:10 -07:00
Jeffrey Townsend
398084e525 Add python-netaddr dependency. 2018-08-16 21:46:04 +00:00
Jeffrey Townsend
4c2a2b6154 Initial Denverton support. 2018-08-16 19:27:59 +00:00
Carl D. Roth
a9074bd492 Speed optimizations
- don't mount the filesystem if it's already mounted
2018-07-25 23:36:14 +00:00
Ohad Oz
3bc5f49ab8 Add patches from upstream kernels - backport 4.17 - 4.19 2018-07-23 21:01:15 +00:00
Jeffrey Townsend
90f72e7d81 Updates to the SFF module. 2018-07-18 19:49:41 +00:00
Jeffrey Townsend
3b46bd4b58 Merge pull request #401 from brandonchuang/as5916_26xb
Add new accton platform, AS5916-26XB.
2018-07-18 11:26:17 -07:00
Jeffrey Townsend
88e6b1c393 Merge pull request #418 from Ed-Swarthout-NXP/nxp-arm64-ls1088a
arm64-nxp-ls1088ardb use correct dtb
2018-07-18 11:20:34 -07:00
Jeffrey Townsend
3e3df10346 The SFF code module has been migrated from the ONL repository to the floodlight:bigcode repository.
The core SFF functionality has been migrated into the bigcode repository so it can be used by
applications outside of ONL proper. This change should be transparent.
2018-07-18 17:31:29 +00:00
Jeffrey Townsend
052b41b356 Update NET_SCHED. 2018-07-10 18:12:20 +00:00
Ed Swarthout
68a3487365 mmc_bootcmds: mmc part does not take a param
Signed-off-by: Ed Swarthout <Ed.Swarthout@nxp.com>
2018-07-03 19:22:24 -05:00
brandonchuang
29c198ce2b Merge branch 'master' into as5916_26xb 2018-06-25 09:04:09 +08:00
Brandon Chuang
c1b7904d34 [as4610] Add support for OOM optoe driver 2018-06-21 15:26:11 +08:00
Jeffrey Townsend
a2cb3637ee Merge pull request #403 from DeltaProducts/ag8032
support the AG8032 platfrom
2018-06-19 15:53:30 -07:00
Jeffrey Townsend
37b77d63a6 Merge pull request #395 from ishidawataru/systemd
Support building systemd based system
2018-06-19 15:45:46 -07:00
Jeffrey Townsend
d9b9d852a7 4.4-lts-arm-iproc build. 2018-06-18 21:40:25 +00:00
Jeffrey Townsend
53b55910c7 Add 4.4 LTS ARM kernel. 2018-06-18 21:34:05 +00:00
Jeffrey Townsend
04d0cba0ec Initial support for 4.4 LTS with ARM IPROC support. 2018-06-18 21:31:46 +00:00
Jeffrey Townsend
78f99449d4 Merge pull request #389 from cytsai0409/master
[ingrasys] Add support for S9180-32X with Barefoot ASIC and 32 QSFP ports
2018-06-13 15:53:13 -07:00
Jeffrey Townsend
8aef0fd611 Update ignore. 2018-06-13 17:35:21 +00:00