-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configuration updates to compile with GCC 8
Added space saving linux patch by Nick. Added PNOR partition sizing patch. Signed-off-by: Luis Fernandez <[email protected]>
- Loading branch information
Showing
6 changed files
with
233 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Makefile b/Makefile | ||
index 46b6081..efa2361 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -444,7 +444,7 @@ KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ | ||
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \ | ||
-Werror=implicit-function-declaration -Werror=implicit-int \ | ||
-Wno-format-security \ | ||
- -std=gnu89 | ||
+ -std=gnu89 -fno-asynchronous-unwind-tables -g0 -fno-shrink-wrap | ||
KBUILD_CPPFLAGS := -D__KERNEL__ | ||
KBUILD_AFLAGS_KERNEL := | ||
KBUILD_CFLAGS_KERNEL := |
216 changes: 216 additions & 0 deletions
216
openpower/package/openpower-pnor/0001-Edit-PNOR-XMLs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,216 @@ | ||
From ba5eef2430e25143768974c538579acbd391a6dc Mon Sep 17 00:00:00 2001 | ||
From: Luis Fernandez <[email protected]> | ||
Date: Thu, 25 Apr 2019 23:42:42 -0500 | ||
Subject: [PATCH] Add 0.25MB to Bootloader Kernel, remove 0.25MB from Payload. | ||
|
||
--- | ||
p8Layouts/defaultPnorLayoutSingleSide.xml | 10 +++++----- | ||
p8Layouts/defaultPnorLayoutWithGoldenSide.xml | 22 +++++++++++----------- | ||
p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml | 22 +++++++++++----------- | ||
p9Layouts/axonePnorLayout_64.xml | 10 +++++----- | ||
p9Layouts/defaultPnorLayout_64.xml | 10 +++++----- | ||
5 files changed, 37 insertions(+), 37 deletions(-) | ||
|
||
diff --git a/p8Layouts/defaultPnorLayoutSingleSide.xml b/p8Layouts/defaultPnorLayoutSingleSide.xml | ||
index f4ca275..2ec16c4 100755 | ||
--- a/p8Layouts/defaultPnorLayoutSingleSide.xml | ||
+++ b/p8Layouts/defaultPnorLayoutSingleSide.xml | ||
@@ -192,18 +192,18 @@ Layout Description | ||
<reprovision/> | ||
</section> | ||
<section> | ||
- <description>Payload (1MB)</description> | ||
+ <description>Payload (0.75MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x961000</physicalOffset> | ||
- <physicalRegionSize>0x100000</physicalRegionSize> | ||
+ <physicalRegionSize>0xC0000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15MB)</description> | ||
+ <description>Bootloader Kernel (15.25MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0xA61000</physicalOffset> | ||
- <physicalRegionSize>0xF00000</physicalRegionSize> | ||
+ <physicalOffset>0xA21000</physicalOffset> | ||
+ <physicalRegionSize>0xF40000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
diff --git a/p8Layouts/defaultPnorLayoutWithGoldenSide.xml b/p8Layouts/defaultPnorLayoutWithGoldenSide.xml | ||
index 44a0580..1c302ca 100755 | ||
--- a/p8Layouts/defaultPnorLayoutWithGoldenSide.xml | ||
+++ b/p8Layouts/defaultPnorLayoutWithGoldenSide.xml | ||
@@ -194,18 +194,18 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (1MB)</description> | ||
+ <description>Payload (0.75MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0xCA9000</physicalOffset> | ||
- <physicalRegionSize>0x100000</physicalRegionSize> | ||
+ <physicalRegionSize>0xC0000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15MB)</description> | ||
+ <description>Bootloader Kernel (15.25MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0xDA9000</physicalOffset> | ||
- <physicalRegionSize>0xF00000</physicalRegionSize> | ||
+ <physicalOffset>0xD69000</physicalOffset> | ||
+ <physicalRegionSize>0xF40000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
@@ -389,22 +389,22 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (1MB)</description> | ||
+ <description>Payload (0.75MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x2C80000</physicalOffset> | ||
- <physicalRegionSize>0x100000</physicalRegionSize> | ||
+ <physicalRegionSize>0xC0000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
<compressed> | ||
<algorithm>xz</algorithm> | ||
- <uncompressedSize>0x100000</uncompressedSize> | ||
+ <uncompressedSize>0xC0000</uncompressedSize> | ||
</compressed> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15MB)</description> | ||
+ <description>Bootloader Kernel (15.25MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x2D80000</physicalOffset> | ||
- <physicalRegionSize>0xF00000</physicalRegionSize> | ||
+ <physicalOffset>0x2D40000</physicalOffset> | ||
+ <physicalRegionSize>0xF40000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
</section> | ||
diff --git a/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml b/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml | ||
index 90646d4..63c1ef9 100755 | ||
--- a/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml | ||
+++ b/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml | ||
@@ -193,18 +193,18 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (1MB)</description> | ||
+ <description>Payload (0.75MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0xCA9000</physicalOffset> | ||
- <physicalRegionSize>0x100000</physicalRegionSize> | ||
+ <physicalRegionSize>0xC0000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15MB)</description> | ||
+ <description>Bootloader Kernel (15.25MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0xDA9000</physicalOffset> | ||
- <physicalRegionSize>0xF00000</physicalRegionSize> | ||
+ <physicalOffset>0xD69000</physicalOffset> | ||
+ <physicalRegionSize>0xF40000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
@@ -387,22 +387,22 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (1MB)</description> | ||
+ <description>Payload (0.75MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x2C80000</physicalOffset> | ||
- <physicalRegionSize>0x100000</physicalRegionSize> | ||
+ <physicalRegionSize>0xC0000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
<compressed> | ||
<algorithm>xz</algorithm> | ||
- <uncompressedSize>0x100000</uncompressedSize> | ||
+ <uncompressedSize>0xC0000</uncompressedSize> | ||
</compressed> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15MB)</description> | ||
+ <description>Bootloader Kernel (15.25MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x2D80000</physicalOffset> | ||
- <physicalRegionSize>0xF00000</physicalRegionSize> | ||
+ <physicalOffset>0x2D40000</physicalOffset> | ||
+ <physicalRegionSize>0xF40000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
</section> | ||
diff --git a/p9Layouts/axonePnorLayout_64.xml b/p9Layouts/axonePnorLayout_64.xml | ||
index 4c2d576..ff5fde9 100644 | ||
--- a/p9Layouts/axonePnorLayout_64.xml | ||
+++ b/p9Layouts/axonePnorLayout_64.xml | ||
@@ -178,19 +178,19 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (1MB)</description> | ||
+ <description>Payload (0.75MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x1F81000</physicalOffset> | ||
- <physicalRegionSize>0x100000</physicalRegionSize> | ||
+ <physicalRegionSize>0xC0000</physicalRegionSize> | ||
<sha512Version/> | ||
<side>sideless</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15MB)</description> | ||
+ <description>Bootloader Kernel (15.25MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x2081000</physicalOffset> | ||
- <physicalRegionSize>0xF00000</physicalRegionSize> | ||
+ <physicalOffset>0x2041000</physicalOffset> | ||
+ <physicalRegionSize>0xF40000</physicalRegionSize> | ||
<side>sideless</side> | ||
<sha512Version/> | ||
<readOnly/> | ||
diff --git a/p9Layouts/defaultPnorLayout_64.xml b/p9Layouts/defaultPnorLayout_64.xml | ||
index c25a621..b5a5683 100644 | ||
--- a/p9Layouts/defaultPnorLayout_64.xml | ||
+++ b/p9Layouts/defaultPnorLayout_64.xml | ||
@@ -213,19 +213,19 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (1MB)</description> | ||
+ <description>Payload (0.75MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x1EC1000</physicalOffset> | ||
- <physicalRegionSize>0x100000</physicalRegionSize> | ||
+ <physicalRegionSize>0xC0000</physicalRegionSize> | ||
<side>A</side> | ||
<sha512Version/> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15MB)</description> | ||
+ <description>Bootloader Kernel (15.25MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x1FC1000</physicalOffset> | ||
- <physicalRegionSize>0xF00000</physicalRegionSize> | ||
+ <physicalOffset>0x1F81000</physicalOffset> | ||
+ <physicalRegionSize>0xF40000</physicalRegionSize> | ||
<side>A</side> | ||
<sha512Version/> | ||
<readOnly/> | ||
-- | ||
1.8.3.1 | ||
|