-
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 := |
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 cb6cbe301eb196dc438d36aae491725e77856070 Mon Sep 17 00:00:00 2001 | ||
From: Luis Fernandez <[email protected]> | ||
Date: Thu, 30 May 2019 09:14:23 -0500 | ||
Subject: [PATCH] 0.5 MB Payload, 15.5MB Bootkernel | ||
|
||
--- | ||
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 2ec16c4..d8120d6 100755 | ||
--- a/p8Layouts/defaultPnorLayoutSingleSide.xml | ||
+++ b/p8Layouts/defaultPnorLayoutSingleSide.xml | ||
@@ -192,18 +192,18 @@ Layout Description | ||
<reprovision/> | ||
</section> | ||
<section> | ||
- <description>Payload (0.75MB)</description> | ||
+ <description>Payload (0.5MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x961000</physicalOffset> | ||
- <physicalRegionSize>0xC0000</physicalRegionSize> | ||
+ <physicalRegionSize>0x80000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15.25MB)</description> | ||
+ <description>Bootloader Kernel (15.5MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0xA21000</physicalOffset> | ||
- <physicalRegionSize>0xF40000</physicalRegionSize> | ||
+ <physicalOffset>0x9E1000</physicalOffset> | ||
+ <physicalRegionSize>0xF80000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
diff --git a/p8Layouts/defaultPnorLayoutWithGoldenSide.xml b/p8Layouts/defaultPnorLayoutWithGoldenSide.xml | ||
index 1c302ca..1079d41 100755 | ||
--- a/p8Layouts/defaultPnorLayoutWithGoldenSide.xml | ||
+++ b/p8Layouts/defaultPnorLayoutWithGoldenSide.xml | ||
@@ -194,18 +194,18 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (0.75MB)</description> | ||
+ <description>Payload (0.5MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0xCA9000</physicalOffset> | ||
- <physicalRegionSize>0xC0000</physicalRegionSize> | ||
+ <physicalRegionSize>0x80000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15.25MB)</description> | ||
+ <description>Bootloader Kernel (15.5MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0xD69000</physicalOffset> | ||
- <physicalRegionSize>0xF40000</physicalRegionSize> | ||
+ <physicalOffset>0xD29000</physicalOffset> | ||
+ <physicalRegionSize>0xF80000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
@@ -389,22 +389,22 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (0.75MB)</description> | ||
+ <description>Payload (0.5MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x2C80000</physicalOffset> | ||
- <physicalRegionSize>0xC0000</physicalRegionSize> | ||
+ <physicalRegionSize>0x80000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
<compressed> | ||
<algorithm>xz</algorithm> | ||
- <uncompressedSize>0xC0000</uncompressedSize> | ||
+ <uncompressedSize>0x80000</uncompressedSize> | ||
</compressed> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15.25MB)</description> | ||
+ <description>Bootloader Kernel (15.5MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x2D40000</physicalOffset> | ||
- <physicalRegionSize>0xF40000</physicalRegionSize> | ||
+ <physicalOffset>0x2D00000</physicalOffset> | ||
+ <physicalRegionSize>0xF80000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
</section> | ||
diff --git a/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml b/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml | ||
index 63c1ef9..81af04e 100755 | ||
--- a/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml | ||
+++ b/p8Layouts/defaultPnorLayoutWithoutGoldenSide.xml | ||
@@ -193,18 +193,18 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (0.75MB)</description> | ||
+ <description>Payload (0.5MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0xCA9000</physicalOffset> | ||
- <physicalRegionSize>0xC0000</physicalRegionSize> | ||
+ <physicalRegionSize>0x80000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15.25MB)</description> | ||
+ <description>Bootloader Kernel (15.5MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0xD69000</physicalOffset> | ||
- <physicalRegionSize>0xF40000</physicalRegionSize> | ||
+ <physicalOffset>0xD29000</physicalOffset> | ||
+ <physicalRegionSize>0xF80000</physicalRegionSize> | ||
<side>A</side> | ||
<readOnly/> | ||
</section> | ||
@@ -387,22 +387,22 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (0.75MB)</description> | ||
+ <description>Payload (0.5MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x2C80000</physicalOffset> | ||
- <physicalRegionSize>0xC0000</physicalRegionSize> | ||
+ <physicalRegionSize>0x80000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
<compressed> | ||
<algorithm>xz</algorithm> | ||
- <uncompressedSize>0xC0000</uncompressedSize> | ||
+ <uncompressedSize>0x80000</uncompressedSize> | ||
</compressed> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15.25MB)</description> | ||
+ <description>Bootloader Kernel (15.5MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x2D40000</physicalOffset> | ||
- <physicalRegionSize>0xF40000</physicalRegionSize> | ||
+ <physicalOffset>0x2D00000</physicalOffset> | ||
+ <physicalRegionSize>0xF80000</physicalRegionSize> | ||
<side>B</side> | ||
<readOnly/> | ||
</section> | ||
diff --git a/p9Layouts/axonePnorLayout_64.xml b/p9Layouts/axonePnorLayout_64.xml | ||
index 4e21234..ffee1bd 100644 | ||
--- a/p9Layouts/axonePnorLayout_64.xml | ||
+++ b/p9Layouts/axonePnorLayout_64.xml | ||
@@ -178,19 +178,19 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (0.75MB)</description> | ||
+ <description>Payload (0.5MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x2081000</physicalOffset> | ||
- <physicalRegionSize>0xC0000</physicalRegionSize> | ||
+ <physicalRegionSize>0x80000</physicalRegionSize> | ||
<sha512Version/> | ||
<side>sideless</side> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15.25MB)</description> | ||
+ <description>Bootloader Kernel (15.5MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x2141000</physicalOffset> | ||
- <physicalRegionSize>0xF40000</physicalRegionSize> | ||
+ <physicalOffset>0x2101000</physicalOffset> | ||
+ <physicalRegionSize>0xF80000</physicalRegionSize> | ||
<side>sideless</side> | ||
<sha512Version/> | ||
<readOnly/> | ||
diff --git a/p9Layouts/defaultPnorLayout_64.xml b/p9Layouts/defaultPnorLayout_64.xml | ||
index aa3f746..544b2c2 100644 | ||
--- a/p9Layouts/defaultPnorLayout_64.xml | ||
+++ b/p9Layouts/defaultPnorLayout_64.xml | ||
@@ -213,19 +213,19 @@ Layout Description | ||
<ecc/> | ||
</section> | ||
<section> | ||
- <description>Payload (0.75MB)</description> | ||
+ <description>Payload (0.5MB)</description> | ||
<eyeCatch>PAYLOAD</eyeCatch> | ||
<physicalOffset>0x20C1000</physicalOffset> | ||
- <physicalRegionSize>0xC0000</physicalRegionSize> | ||
+ <physicalRegionSize>0x80000</physicalRegionSize> | ||
<side>A</side> | ||
<sha512Version/> | ||
<readOnly/> | ||
</section> | ||
<section> | ||
- <description>Bootloader Kernel (15.25MB)</description> | ||
+ <description>Bootloader Kernel (15.5MB)</description> | ||
<eyeCatch>BOOTKERNEL</eyeCatch> | ||
- <physicalOffset>0x2181000</physicalOffset> | ||
- <physicalRegionSize>0xF40000</physicalRegionSize> | ||
+ <physicalOffset>0x2141000</physicalOffset> | ||
+ <physicalRegionSize>0xF80000</physicalRegionSize> | ||
<side>A</side> | ||
<sha512Version/> | ||
<readOnly/> | ||
-- | ||
1.8.3.1 | ||
|