sonic-buildimage/platform/nephos/nephos-modules/modules
lguohan fcf93dda12
[sonic-linux-kernel]: kernel security update to 4.9.246 (#6545)
* [sonic-linux-kernel]: kernel security update to 4.9.246
* [Arista] Update driver submodule (#60)
     Update kernel dependency to 4.9.0-14-2

Signed-off-by: Guohan Lu <lguohan@gmail.com>
Co-authored-by: Samuel Angebault <angebault.samuel@gmail.com>
2021-01-28 08:46:07 -08:00
..
init.d [sonic-linux-kernel]: kernel security update to 4.9.246 (#6545) 2021-01-28 08:46:07 -08:00
service [platform/nephos] Upgrade nephos-modules from 1.0.0 to 1.0.1 (#4267) (#4297) 2020-03-24 00:04:59 -07:00
src [platform/nephos] Upgrade nephos-modules from 1.0.0 to 1.0.1 (#4267) (#4297) 2020-03-24 00:04:59 -07:00
config.mk [nephos]: upgrade compile sdk.deb from online to dpkg and fix compile error (#2800) 2019-04-29 18:25:40 -07:00
Makefile [nephos]: upgrade compile sdk.deb from online to dpkg and fix compile error (#2800) 2019-04-29 18:25:40 -07:00
README [nephos]: upgrade compile sdk.deb from online to dpkg and fix compile error (#2800) 2019-04-29 18:25:40 -07:00

################################################################################
# Copyright (C) 2019  Nephos, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# version 2 along with this program.
################################################################################
Step 1~4 show how to build and execute NPS kernel modules.

1. Modify nps-modules/config.mk to specify the output directory to BUILD_OUTPUT_DIR.
   The default output path is nps-modules/build.

2. Compile:
   cd nps-modules/ && make
    
3. The output kernel modules will be found in $(BUILD_OUTPUT_DIR)/modules/
   - nps_dev.ko
   - nps_netif.ko

4. Load modules:
   (1) insmod nps_dev.ko
   (2) insmod nps_netif.ko

   Note that the module inserting sequence cannot be changed.