Commit Graph

41130 Commits

Author SHA1 Message Date
Kashif Ali
09bb9581fd Adding LTE B3 1W front-end module 2018-10-02 20:22:56 -07:00
mdlewisfb
dab621bb15 Merge pull request #60 from Telecominfraproject/directory_cleanup
Directory cleanup
2018-10-02 10:29:49 -07:00
mdlewisfb
774a23c00f Reverting common/inc move 2018-10-02 10:28:26 -07:00
mdlewisfb
3537665179 Updating CCS project to point to inc/ instead of common/ 2018-10-02 10:28:25 -07:00
mdlewisfb
39c6592de4 Consolidating inc/ and common/inc directories all under inc/. 2018-10-02 10:28:24 -07:00
mdlewisfb
d3982f98dc Renaming Devices to devices for consistent directory naming. 2018-10-02 10:28:23 -07:00
Kashif Ali
ac8d52c30d Merge pull request #59 from Telecominfraproject/osmocom
Adding Osmocom OC2G sources
2018-10-01 22:37:47 -07:00
Omar Ramadan
830055a134 Build osmo-bts recipe from local fork 2018-10-01 18:39:21 -07:00
Omar Ramadan
a4eece738b Add OC-2G to osmo-bts build 2018-10-01 18:39:13 -07:00
Omar Ramadan
5d37585574 Add OC-2G examples and systemd services 2018-10-01 18:39:11 -07:00
Omar Ramadan
15d1e01352 Add OC-2G osmo-bts-oc2g target 2018-10-01 18:39:10 -07:00
Omar Ramadan
4886f718b0 Use HTTPs for pypi 2018-10-01 18:39:08 -07:00
Omar Ramadan
6fc9638cf7 Add OC-2G OE machine type 2018-10-01 18:39:00 -07:00
Omar Ramadan
a0733c1744 Add OC-2G firmware from gitlab.com/nrw_oc2g/oc2g-fw 2018-10-01 18:38:41 -07:00
Omar Ramadan
fce35390a8 Clone OC-2G systemd config from LC15 2018-10-01 18:38:39 -07:00
Omar Ramadan
ccb2e99afe Add OC-2G sysdev map from gitlab.com/nrw_oc2g/meta-nrw-bsp 2018-10-01 18:38:37 -07:00
Omar Ramadan
013d3536f9 Add OC-2G u-boot from gitlab.com/nrw_oc2g/meta-nrw-bsp 2018-10-01 18:38:28 -07:00
Omar Ramadan
718d67ecc5 Add OC-2G Linux from gitlab.com/nrw_oc2g/meta-nrw-bsp 2018-10-01 18:38:22 -07:00
Omar Ramadan
54fb9e71f9 Add system-images OC-2G target to Makefile 2018-10-01 18:38:17 -07:00
Omar Ramadan
f554159165 Merge commit 'c263ce2f41e27c99bba611763279cf434b893ed9' as 'software/osmo/system-images/git/meta-sysmocom-bsp/recipes-sysmobts/osmo-bts/files/osmo-bts' 2018-10-01 18:37:54 -07:00
Omar Ramadan
c263ce2f41 Squashed 'software/osmo/system-images/git/meta-sysmocom-bsp/recipes-sysmobts/osmo-bts/files/osmo-bts/' content from commit 33da462a2b
git-subtree-dir: software/osmo/system-images/git/meta-sysmocom-bsp/recipes-sysmobts/osmo-bts/files/osmo-bts
git-subtree-split: 33da462a2bf37f2688d79530b11f9e65b5c93502
2018-10-01 18:37:53 -07:00
Omar Ramadan
47e2e8cc95 Merge commit '7bfde8ddecb4b21a357fe43d52ce344c2896da68' as 'software/osmo/system-images/git/meta-sysmocom-bsp' 2018-10-01 18:37:41 -07:00
Omar Ramadan
7bfde8ddec Squashed 'software/osmo/system-images/git/meta-sysmocom-bsp/' content from commit 8e88c736b0
git-subtree-dir: software/osmo/system-images/git/meta-sysmocom-bsp
git-subtree-split: 8e88c736b03cb66ce5a18964fd6ac488e62715d7
2018-10-01 18:37:40 -07:00
Omar Ramadan
ee9c71856d Merge commit 'fdad12c5475421b225bc0580848e1414577479dd' as 'software/osmo/system-images' 2018-10-01 18:37:35 -07:00
Omar Ramadan
fdad12c547 Squashed 'software/osmo/system-images/' content from commit 9303288071
git-subtree-dir: software/osmo/system-images
git-subtree-split: 9303288071ba7ca97c4b257216b823e7dae461f7
2018-10-01 18:37:32 -07:00
Kashif Ali
31d75a0ffd Re-addig coding style guide for OCWare 2018-10-01 09:56:42 -07:00
Kashif Ali
65304fd118 Merge pull request #25 from Telecominfraproject/OCWareMerge
Merging of OpenCellular OCware repo to OpenCellular TIP repo.
2018-09-29 07:08:21 -07:00
Vishal Thakur
0b08f7a126 Updated unit test makefile with respect to the repository structure. 2018-09-28 23:40:21 -07:00
Vishal Thakur
b9761dc1cc Added Copyright header to Unit test files. 2018-09-28 23:40:16 -07:00
Vishal Thakur
973eb3b3d1 OpenCellular OCware repo merged to OpenCellular TIP repo.
> Changes done :
> 1. Shared schema between host and embedded controller.
2. Commands messages are handled at driver level.
3. Debug message type added to enable debugging on i2c, spi and gpio's.
4. Auto test capabilities added to ethernet module.
5. Unit test cases written for multiple devices like LTC4275, LTC4274, LTC4015,ADT7481, PCA9557, SX1509.
2018-09-28 23:40:11 -07:00
Kashif Ali
58fab76787 Merge pull request #24 from Telecominfraproject/feature_request_template_update
Updating issue templates so that checkboxes will not be created
2018-09-27 14:46:08 -07:00
Mark Lewis
aadfff45f4 Updating issue templates so that checkboxes will not be created, which create status tracking. 2018-09-27 11:23:08 -07:00
Kashif Ali
09782587b3 Fix bug report template 2018-09-27 07:43:26 -07:00
Kashif Ali
b637b2b7a0 Removed duplication 2018-09-20 14:45:01 -07:00
Kashif Ali
29098242a1 Update issues templates (bug, feature, evt/dvt) 2018-09-20 14:44:19 -07:00
Kashif Ali
36badf8d23 Added GBCv2 (Elgon), PSU (Rev-A), BBU (Rev-C), clean up version for LED and updated new dir in README 2018-09-18 00:24:36 -07:00
David Hendricks
25516fbbf2 Revert "firmware/coreboot: Subtree merge 3rdparty/blobs"
This reverts commit ace6f50fbe, reversing
changes made to ebd9237de9.

The files landed in the wrong place...

Signed-off-by: David Hendricks <dhendricks@fb.com>
2018-09-09 02:19:17 -07:00
David Hendricks
ace6f50fbe firmware/coreboot: Subtree merge 3rdparty/blobs
Signed-off-by: David Hendricks <dhendricks@fb.com>
2018-09-09 00:59:16 -07:00
David Hendricks
ebd9237de9 firmware/coreboot: Subtree merge coreboot
Signed-off-by: David Hendricks <dhendricks@fb.com>
2018-09-09 00:50:06 -07:00
Caveh Jalali
41979d862a mb/google/poppy/variants/atlas: enable NVMe
This adds support for a x2 NVMe device on PCIe bus PCIe lines 5+6 and
clock#4.

BUG=b:113369699
TEST=booted on atlas

Change-Id: I08e7c4d65662ddbb7d936915c896eb1fcb240ba8
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://review.coreboot.org/28535
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2018-09-07 23:40:08 +00:00
Patrick Georgi
dce4d465a6 util/crossgcc: Tell gcc that it'll use gnu as and ld
Otherwise it reduces its expectations on what as and ld take in terms
of arguments, which breaks some edk2 related builds because tons of
-I$path_to_stuff arguments aren't passed along.

Change-Id: I53f87442de03d5ead8a6632d3102d5502065b828
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/28534
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
2018-09-07 19:17:15 +00:00
Richard Spiegel
7160766ebf lib/gpio.c: Fix _gpio_base3_value invalid shift
Coverity CID 1395334: (BAD_SHIFT) - In function _gpio_base3_value(), if
gpio_num is 32 and gpio[31] is floating, the end result is 1 << 32, which
does not fit into a int. To avoid a possible error, make it an error to have
num_gpio > 31. Function _gpio_base2_value also have the same issue, but the
limit would be 32. As in practice it'll never be used with more than 20 GPIO,
create a helper function to limit it to 31 and call it everywhere needed.

BUG=b:113788440
TEST=Add a fake code to southbridge_final calling the function and printing
the result. Build and boot grunt, check result.

Change-Id: I0b79725bcbaf120587c7440e176643aaa7a1d5bb
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/28445
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-09-07 14:53:54 +00:00
Marshall Dawson
653f760b13 amd/stoneyridge: Construct ACPI BERT table
Add a Boot Error Record Table to the ACPI information.  Avoid a driver
error message by skipping the table altogether when no errors are found,
or support isn't built in.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
     data plus a failing Grunt system.

Change-Id: I6fe38eefacaad0bc73d0cb4ae44a339a45857128
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28478
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-09-07 14:52:53 +00:00
Marshall Dawson
64e1fcaaf9 amd/stoneyridge: Construct BERT region from machine check
Add functions to build a Boot Error Record Table region based on
settings found in the MCA registers.

Two entries are reported for each error due to the nature of the ACPI
driver.  The first is a Generic Processor Error, which the OS recognizes
and parses.  Generic errors cannot convey much error description or
processor context.  Therefore an IA32/X64 Processor Error is also added,
which allows reporting the values found in the MCA MSR registers.

Follow-on work could decode the MC errors more precisely, and better
completing the Generic Error and the Check structure.  The current
level of support is sufficient to identify a (i.e., human readable)
problem in dmesg, and provides adequate context information for
analysis.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
     data plus a failing Grunt system.

Change-Id: I4d4ce29ddefa22aa29e6d3184f1adeaea1d5f837
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28477
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-09-07 14:52:32 +00:00
Marshall Dawson
e1bd38bec5 amd/stoneyridge: Create an MCA structure
Convert the Machine Check reporting to use a newly defined structure.
This will facilitate later patches that will pass pointers to the MSR
values.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
     data plus a failing Grunt system.

Change-Id: I0a98aecc83a0fa1c5ca7926849a89145a595d9ff
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28476
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-09-07 14:52:03 +00:00
Marshall Dawson
0b4a1e220a amd/stoneyridge: Relocate MCA error identification
Move the process of interrogating the Machine Check registers into
its own file.  This rearranges source code in preparation of supporting
a Boot Error Record Table, which stoneyridge will use to report latent
MC errors to the OS.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
     data plus a failing Grunt system.

Change-Id: Ia3275e9135dc96ba4a717c9371f38843fa1e3e64
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28475
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
2018-09-07 14:51:42 +00:00
Marshall Dawson
4b0f6fa156 amd/stoneyridge: Adjust memory map for reserved
Carve out memory to be reported to the OS as reserved.  This makes
room for a region usable for Boot Error Record Table information.
The BERT region reserved size is larger than likely requried, however
the SMM region's base must be on a boundary matching the granularity
of its size.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
     data plus a failing Grunt system.

Change-Id: I0958f6b6bab3fe9dae36c83e1fd9ae6ed0290a18
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28474
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-09-07 14:51:31 +00:00
Marshall Dawson
bb7f1b41e7 amd/fam15: Add more MCA information
Add more definitions to be used for Machine Check Architecture
support, mainly for determining the type of error that is being
interpreted.  MCA is described in detail in the BKDG.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
     data plus a failing Grunt system.

Change-Id: I0682288aa58c69aee323fb43f74027f7a1905b68
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28473
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
2018-09-07 14:51:03 +00:00
Marshall Dawson
1d8d369dad x86/acpi: Add BERT table
Create a structure for the Boot Error Record Table, and a generic
table generator function.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
     data plus a failing Grunt system.

Change-Id: Ibeef4347678598f9f967797202a4ae6b25ee5538
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28472
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
2018-09-07 14:50:34 +00:00
Marshall Dawson
44705c6e5e x86/acpi: Add BERT to the revision table
Add the proper table revision level for the Boot Error Record Table.

BUG=b:65446699
TEST=inspect BERT region, and dmesg, on full patch stack.  Use test
    data plus a failing Grunt system.

Change-Id: Ib4596fe8c0dd2a4e2e98df3a1bb60803c48d0256
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/28471
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-09-07 14:50:16 +00:00