Commit Graph

944 Commits

Author SHA1 Message Date
Jeffrey Townsend
cd2dbc7b2d Merge pull request #531 from MellanoxBSP/upstream_work
Add: MSN3700/MSN3700C systems
2019-03-06 11:30:46 -08:00
Jeffrey Townsend
850015913a Re-enable bonding. 2019-02-19 15:16:41 +00:00
Jeffrey Townsend
c1145e339e Revert "Enable bonding."
This reverts commit b989ec80f9.
2019-02-18 17:14:37 +00:00
Jeffrey Townsend
cd4d013a69 Custom init scripts can now be added to /etc/sysinit.d for execution prior autoboot. 2019-02-17 18:36:22 +00:00
Jeffrey Townsend
b989ec80f9 Enable bonding. 2019-02-15 00:41:50 +00:00
Jeffrey Townsend
f19e0b74a9 Latest 2019-02-15 00:39:15 +00:00
Oleksandr Shamray
85ceb284c2 Removed: mallanox wdt driver patch
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-02-04 14:44:16 +00:00
Oleksandr Shamray
b0065af068 Adding "0021-mlxsw-Align-code-with-kernel-v-5.0.patch" patch
Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
2019-01-22 15:04:33 +02:00
Oleksandr Shamray
1e900fe7a8 Merge remote-tracking branch 'remote_onl/master' into onl-anaconda 2019-01-22 12:21:19 +02:00
Ohad Oz
506db30ddd Adding "0016-qsfp_sysfs-Fix-dmidecode-call.patch" patch and pushing the
rest on patch down
2019-01-09 18:29:48 +00:00
Ohad Oz
215e2b0a3b Fixing patch order and updating series file. 2019-01-08 11:27:01 +00:00
Jeffrey Townsend
7e34979bbd Merge pull request #503 from jeffchen1988/master
Add delta platform agc7648sv1
2019-01-07 10:03:00 -08:00
Ohad Oz
bea7de7419 updating with latest patchs from HW mgmt;
renaming two patchs 0016->0017 & 0017->0018
2019-01-06 21:41:00 +00:00
Jeffrey Townsend
a5ed0a0976 The $PARCH variable is no longer available in the installer environment. Set to amd64 for now as that is the only grub-supported architecture. 2019-01-02 19:00:59 +00:00
Mykola Kostenok
73185c6b45 add kernel patches.
Add watchdog driver.
Thermal monitoring amendments.

Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com>
2019-01-02 12:24:22 +00:00
Jeffrey Townsend
af83f5f441 Don't take an exception in the loader or installer whilst trying to be clever. 2018-12-28 16:35:29 +00:00
Jeffrey Townsend
e197853272 armhf base packages. 2018-12-28 15:47:04 +00:00
Jeffrey Townsend
fabc7436ce Add 4.14-lts for armhf. 2018-12-28 15:43:53 +00:00
Jeffrey Townsend
504e168051 Use dpkg --print-architecture to determine the local package architecture. 2018-12-28 15:39:48 +00:00
Jeffrey Townsend
2ec855b8b3 Add armhf 4.14 kernel and distinguish between the armel and armhf itbs. 2018-12-28 15:37:47 +00:00
Jeffrey Townsend
53348c09c0 Update version to include -armel and fix TMPFS settings. 2018-12-28 15:35:05 +00:00
Jeffrey Townsend
311b1c7b08 Merge pull request #478 from OrdnanceNetworks/fix-low-entrypy-at-boot
ordnance: Initialize Linux Random Number Generator (RNG) early
2018-12-26 09:15:38 -08:00
Jeffrey Townsend
663642e817 Merge pull request #459 from roylee123/new_platform_accton-asxvolt16
Add New platform accton asxvolt16
2018-12-26 09:07:25 -08:00
Jeffrey Townsend
4825296fe1 Restore loader upgrade policy. 2018-12-26 15:43:38 +00:00
Jeffrey Townsend
c70abf3bf9 All platforms using the 3.2 kernel are restricted to Jessie.
The ancient 3.2 ARM kernel for Helix4 has finally been replaced with 4.14.
The 3.2 kernel is too old to build under Stretch so any platforms still using it must be restricted to Jessie only.
Once these platforms are ported 4.14 the restriction can be removed.
2018-12-25 16:48:42 +00:00
Jeffrey Townsend
a3036091cc Allow the platform to specify the distribution list. 2018-12-25 16:47:03 +00:00
Jeffrey Townsend
91b007c63e Rename kernel-4.14-arm-iproc to kernel-4.14-armel-iproc. 2018-12-25 16:44:13 +00:00
Jeffrey Townsend
a4c7072330 The 4.4 LTS kernel will not be used. 2018-12-25 16:08:04 +00:00
Jeffrey Townsend
96a697bdcc Tool updates to support armhf. 2018-12-25 15:42:07 +00:00
Jeffrey Townsend
f1e7d728fe The optoe change for the AS4610 has been been temporarily reverted to unblock to transition to the 4.14 kernel.
Revert "[as4610] Add support for OOM optoe driver"
This reverts commit c1b7904d34.
2018-12-24 15:44:23 +00:00
Jeffrey Townsend
1e9fbe9932 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into iproc-4.14
Conflicts:
	packages/base/any/kernels/modules/ym2651y.c
	packages/platforms/accton/armel/arm-accton-as4610/arm-accton-as4610-30/platform-config/r0/builds/dtb/arm-accton-as4610-54-r0.dts
	packages/platforms/accton/armel/arm-accton-as4610/arm-accton-as4610-54/platform-config/r0/builds/dtb/arm-accton-as4610-54-r0.dts
2018-12-20 07:34:35 -08:00
Jeffrey Townsend
c5a06736a6 Edgecore 4.14 updates. 2018-12-17 15:12:40 +00:00
Jeffrey Townsend
63e100cf41 Edgcore updates. 2018-12-17 15:12:06 +00:00
Jeffrey Townsend
de5a09c1d1 Edgcore 4.14 kernel patches for the AS4610. 2018-12-17 15:11:03 +00:00
Jeff Chen
316de4d518 1. Add tmp401 and gpio_pca953x module config.
2. Remove tmp401 driver in local path.
3. Read fantray present by gpio attribute instead of i2c access.
2018-12-07 18:27:22 +08:00
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
c27ec71068 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:52:36 +00: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
Oleksandr Shamray
bdb30e409c Merge branch 'master' into onl-anaconda 2018-11-20 18:39:09 +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
Sergey Popovich
e12e40f335 ordnance: Initialize Linux Random Number Generator (RNG) early
We start using Linux RNG from initrd with low entropy pools and random
data quality might not be good. Kernel warns us about the problem with
following messages in dmesg(1):

  [    4.786307] random: onl-mounts: uninitialized urandom read (16 bytes read, 46 bits of entropy available)
  [    5.307536] random: onl-mounts: uninitialized urandom read (16 bytes read, 83 bits of entropy available)
  [    5.354480] random: blkid: uninitialized urandom read (6 bytes read, 89 bits of entropy available)
  [    5.366963] random: blkid: uninitialized urandom read (6 bytes read, 90 bits of entropy available)
  [    5.379385] random: blkid: uninitialized urandom read (6 bytes read, 90 bits of entropy available)
  [    5.391910] random: blkid: uninitialized urandom read (6 bytes read, 90 bits of entropy available)
  [    5.546389] random: onl-pki: uninitialized urandom read (16 bytes read, 96 bits of entropy available)
  [    8.881398] random: mktemp: uninitialized urandom read (6 bytes read, 109 bits of entropy available)
  [    9.026771] random: swiget: uninitialized urandom read (16 bytes read, 109 bits of entropy available)

Since main rootfs isn't mounted we can't load entropy saved from
previous runtime by systemd-random-seed (for systemd) and
/etc/init.d/urandom (for sysvinit).

Moreover even if we able to load this data, direct write to /dev/urandom
or /dev/random does not change entropy count according to random(4) man
page and /proc/sys/kernel/random/entropy_avail contents after loading
data to /dev/urandom or /dev/random.

To address this we should generate pseudo random data suitable for use
as RNG seed based on frequently changed information in system and use
some cryptographic grade hash to hide this info from RNG.

Use MIT licensed initrng.py Python implementation for Linux RNG early
init to seed RNG before executing onl-mounts and other stuff from early
userspace in initramfs.

Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
2018-11-07 08:16:27 +02: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