Jeffrey Townsend
5a8c469af0
These autogen makefiles should have been ignored.
2019-07-30 19:16:38 +00:00
Jeffrey Townsend
1f26352e94
More Module Autogen and Toolchain Cleanup.
...
- Remove usage of strncpy and require aim_strlcpy instead.
- Fix some broken module autogen files.
2019-07-30 19:13:47 +00:00
Jeffrey Townsend
8afb69e29f
General Platform Module Cleanup
...
- Cleanup and rerun autogen definitions for each platform module.
- Add missing makefiles.
2019-07-13 17:44:54 +00:00
Jeffrey Townsend
d09d604ea2
Normalize ONLP Platform module directories.
...
All modules should be in a self-named directory.
2019-07-10 12:45:24 -07:00
Jeffrey Townsend
0d861f0db4
Restrict Delta armel platforms to Jessie.
...
These platforms rely on the older 3.2 iproc kernel (which it too old to build past jessie).
If these platforms are ported to the 4.14 iproc kernel then this restriction can be removed.
2019-07-10 09:19:42 -07:00
Jeffrey Townsend
631b1f88b4
All Platform ONLP shared library and static binary builds now use a common makefile infrastructure.
...
The module and build dependencies for each platform shared library and static binary are
essentially the same. They have simply been copied over and over again.
This change creates a common makefile infrastructure that is used to build each platform.
This allows the dependencies of the higher layer ONLP code to be managed in a single place
as well as coordinate code configuration and link libraries.
2019-07-08 21:15:32 +00:00
Jeffrey Townsend
3f7d358523
Ignore module autogen makefiles.
2019-07-08 16:54:22 +00:00
Jeffrey Townsend
848832710d
Simplify the platform directory names.
2019-07-05 19:50:14 +00:00
Jeffrey Townsend
7d224af126
Merge pull request #567 from shaohuaxiong/master
...
add trace log and update
2019-07-05 10:57:57 -07:00
Jeffrey Townsend
1791b37b28
Merge pull request #556 from JohnsonYJLu/agc7646slv1b
...
Delta agc7646slv1b
2019-07-05 10:55:52 -07:00
shaohua.xiong
be4816c03a
add trace log and update
2019-06-14 09:19:42 +08:00
johnson
6fbe7b2a47
modify __init__.py of platform agc7646slv1b.
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-06-13 14:48:41 +08:00
Jeffrey Townsend
bd6d4e49b5
Initial.
2019-05-01 17:58:51 +00:00
johnson
d52ed2e9ee
modify platform_lib.h
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-04-25 16:05:07 +08:00
johnson
f22cd22d06
modify sysi.c & platform module
...
Merge branch 'agc7646slv1b' of https://github.com/JohnsonYJLu/OpenNetworkLinux into agc7646slv1b
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-04-25 15:57:15 +08:00
johnson
9f66f8d28b
modify sysi.c & platform module
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-04-25 15:50:41 +08:00
johnson
5e928be286
fix platform_lib
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-04-19 16:16:06 +08:00
johnson
430294d0b5
modify onlpi function
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-04-19 15:49:42 +08:00
johnson
ca9f55844d
add platform agc7646slv1b
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-04-17 10:32:31 +08:00
johnson
7fae3a8d30
Improve CPU load by reduce IPMITOOL usage
...
Fix psu & led bug in I2C mode
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-03-27 03:30:47 +00:00
johnson
ef36713233
fix psu bug in I2C mode
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-03-26 14:10:05 +08:00
johnson
47e58496ad
Improve CPU load by reduce IPMITOOL usage
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2019-03-25 11:44:27 +08:00
Jeffrey Townsend
bf6780ca47
Merge pull request #523 from jeffchen1988/master
...
Disable BMC Monitor before bus init to prevent conflict with BMC.
2019-03-06 11:34:08 -08:00
Jeff Chen
4e9528ecd8
1. Using ipmi command to access sfpi function instead of i2c while BMC monitor on.
...
2. Configure CPLD value to prevent onlpd accessing i2c peripherals.
2019-01-18 18:07:53 +08:00
Jeff Chen
d8349d078b
Disable BMC Monitor before bus init to prevent conflict with BMC.
2019-01-11 14:23:31 +08:00
Jeffrey Townsend
7e34979bbd
Merge pull request #503 from jeffchen1988/master
...
Add delta platform agc7648sv1
2019-01-07 10:03:00 -08:00
hans
8e8ddaaa81
1. updathe the fan's speed table which is relative the thermal temperature
...
Signed-off-by: hans <hans.tseng@deltaww.com >
2019-01-04 09:05:49 +08:00
Jeffrey Townsend
4349c82a42
arm-itb -> armel-itb.
2018-12-28 15:38:30 +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
Jeff Chen
9c6ab864b7
Add initial value for arrays and remove unused variable.
2018-12-13 14:40:15 +08:00
Jeff Chen
3b64acf7dd
Optimize the third parameter of write().
2018-12-11 13:40:20 +08:00
Jeff Chen
35328a2a96
1. Read psu present by attribute instead of i2c access.
...
2. Add a platform device number for FAN_IO_CTRL.
2018-12-10 09:39:58 +08: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
Jeff Chen
61f44e2207
Add PSU eeprom attribute.
2018-11-29 16:39:11 +08:00
Jeffrey Townsend
57e1ed1f81
Merge pull request #491 from toanju/ag5648-fixup
...
Ag5648 fixup
2018-11-27 13:34:32 -08:00
Jeffrey Townsend
6dce37a5d6
Merge pull request #489 from toanju/ag9032v1-format-overflow
...
x86-64-delta-ag9032v1 fix -Werror=format-overflow
2018-11-27 13:33:32 -08:00
Jeffrey Townsend
62903a1a90
Merge pull request #488 from toanju/ag7648-los-bits
...
x86-64-delta-ag7648: fix los register bits
2018-11-27 13:33:14 -08:00
Jeff Chen
d1d32a1254
Fix SFP eeprom read issue.
2018-11-27 17:13:04 +08:00
Jeff Chen
9d5271a44a
Fix PSU fan present while BMC on.
2018-11-22 17:43:03 +08:00
Jeff Chen
9967b15923
[platform] delta new model agc7648sv1
2018-11-22 13:39:01 +08:00
hans
64a4d8de47
1.improve the mathod to access the peripheral bus
...
Signed-off-by: hans <hans.tseng@deltaww.com >
2018-11-20 17:47:19 +08:00
Tobias Jungel
847305743a
x86-64-delta-ag7648: fix los register bits
2018-11-19 23:14:59 +01:00
Tobias Jungel
2c0401325e
x86-64-delta-ag9032v1 fix -Werror=format-overflow
...
would write a terminating nul past the end of dest
2018-11-19 23:14:36 +01:00
Tobias Jungel
ee3505a380
dni_ag5648_sfp: read correct presence register
2018-11-19 23:13:46 +01:00
Tobias Jungel
f33497b987
x86-64-delta-ag5648: add null termination to buffers
2018-11-19 23:13:46 +01:00
hans
8195f4459d
1. add platform of ag9032v2a
...
Signed-off-by: hans <hans.tseng@deltaww.com >
2018-11-13 15:52:07 +08:00
hans
93b1205e34
1. remove the unnecessary debug message
...
2. simplize and optimize the code.
Signed-off-by: hans <hans.tseng@deltaww.com >
2018-11-07 15:33:58 +08:00
hans
403a9d4b26
1. read the fan's present bit from FANIO controller
...
2. improve the bus's access
Signed-off-by: hans <hans.tseng@deltaww.com >
2018-11-07 11:08:06 +08:00
johnson
d7975e68ed
[delta ak7448] Add Support for OOM.
...
Signed-off-by: johnson <JOHNSON.LU@deltaww.com >
2018-09-04 17:18:11 +08:00
shaohua.xiong
0bd13c1ee4
support the ag7648c platform
2018-07-05 09:33:23 +08:00