Skip to content

Commit

Permalink
Release - version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
damiandudycz authored Aug 3, 2024
1 parent 6bbc041 commit 73be911
Show file tree
Hide file tree
Showing 342 changed files with 1,235 additions and 88,397 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[submodule "overlays/ps3-gentoo-overlay"]
path = overlays/ps3-gentoo-overlay
url = [email protected]:damiandudycz/ps3-gentoo-overlay.git
url = [email protected]:damiandudycz/ps3-gentoo-overlay
branch = main
[submodule "overlays/ps3-gentoo-overlay.distfiles"]
path = overlays/ps3-gentoo-overlay.distfiles
url = [email protected]:damiandudycz/ps3-gentoo-overlay.distfiles.git
url = [email protected]:damiandudycz/ps3-gentoo-overlay.distfiles
branch = main
[submodule "releases"]
path = releases
url = [email protected]:damiandudycz/ps3-gentoo-releases
url = [email protected]:damiandudycz/ps3-gentoo-releases.git
branch = main
4 changes: 3 additions & 1 deletion dev-tools/environment/setup-03-submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ for dir in "${PATH_RELEASES_PS3_GENTOO_ARCH_BINPACKAGES_PROFILE}"/{.[!.]*,*}; do
git add -u
echo ""
done
EOF
chmod +x "${PATH_GIT_HOOK_RELEASES}"

echo "[Initialize GIT LFS for releases]"
cd "/home/gentoo/ps3/releases"
cd "${PATH_ROOT}/releases"
git lfs install
199 changes: 199 additions & 0 deletions dev-tools/kernel-ebuild/data/config/ps3_defconfig_diffs
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
-BLK_DEV_RAM y
-BLK_DEV_RAM_SIZE 65535
-COMPAT_BRK n
-DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT y
-DEBUG_LIST y
-EXT2_FS m
-EXT4_FS y
-FRAMEBUFFER_CONSOLE y
-FRAMEBUFFER_CONSOLE_DETECT_PRIMARY y
-FRAMEBUFFER_CONSOLE_ROTATION y
-HID_BELKIN m
-HID_CHERRY m
-HID_EZKEY m
-HID_MICROSOFT m
-HID_SMARTJOYPLUS m
-HID_SUNPLUS m
-HID_TWINHAN m
-HUGETLBFS y
-LOGO y
-LOGO_LINUX_MONO n
-LOGO_LINUX_VGA16 n
-PERF_EVENTS n
-PROFILING y
-PS3_FLASH y
-QFMT_V2 y
-QUOTA y
-ROOT_NFS y
-SCHED_SMT y
-SND_USB_AUDIO m
-SYSVIPC y
-TMPFS y
-UNIX y
-USB_NET_CDCETHER n
-USB_NET_CDC_NCM n
-USB_NET_CDC_SUBSET n
-USB_NET_NET1080 n
-USB_NET_ZAURUS n
-USB_USBNET m
-VGA_CONSOLE n
BINFMT_MISC y -> m
BLK_DEV_LOOP y -> m
NFS_FS y -> m
NFS_V4 y -> m
NLS_CODEPAGE_437 y -> m
NLS_ISO8859_1 y -> m
+AX88796B_PHY m
+BTRFS_FS y
+BT_LE n
+CRYPTO_ECB y
+CRYPTO_LZ4 m
+CRYPTO_LZ4HC m
+DNS_RESOLVER y
+DRM m
+EXT3_FS y
+IKCONFIG m
+IKCONFIG_PROC y
+INPUT_FF_MEMLESS m
+INPUT_MOUSEDEV m
+INPUT_MOUSEDEV_SCREEN_X 1920
+INPUT_MOUSEDEV_SCREEN_Y 1080
+IOSCHED_BFQ m
+LIST_HARDENED y
+LOCALVERSION "-gentoo-ps3-dist"
+MODULE_COMPRESS_XZ y
+MQ_IOSCHED_DEADLINE m
+MQ_IOSCHED_KYBER m
+NET_VENDOR_ALACRITECH n
+NET_VENDOR_AMAZON n
+NET_VENDOR_AQUANTIA n
+NET_VENDOR_ARC n
+NET_VENDOR_ASIX n
+NET_VENDOR_CADENCE n
+NET_VENDOR_CAVIUM n
+NET_VENDOR_CORTINA n
+NET_VENDOR_DAVICOM n
+NET_VENDOR_ENGLEDER n
+NET_VENDOR_EZCHIP n
+NET_VENDOR_FUNGIBLE n
+NET_VENDOR_GOOGLE n
+NET_VENDOR_HUAWEI n
+NET_VENDOR_LITEX n
+NET_VENDOR_MICROCHIP n
+NET_VENDOR_MICROSEMI n
+NET_VENDOR_MICROSOFT n
+NET_VENDOR_NETRONOME n
+NET_VENDOR_NI n
+NET_VENDOR_PENSANDO n
+NET_VENDOR_QUALCOMM n
+NET_VENDOR_RENESAS n
+NET_VENDOR_ROCKER n
+NET_VENDOR_SAMSUNG n
+NET_VENDOR_SOCIONEXT n
+NET_VENDOR_SOLARFLARE n
+NET_VENDOR_SYNOPSYS n
+NET_VENDOR_VERTEXCOM n
+NET_VENDOR_VIA n
+NET_VENDOR_WANGXUN n
+NET_VENDOR_WIZNET n
+NLS_ASCII m
+NLS_CODEPAGE_1250 m
+NLS_CODEPAGE_1251 m
+NLS_CODEPAGE_737 m
+NLS_CODEPAGE_775 m
+NLS_CODEPAGE_850 m
+NLS_CODEPAGE_852 m
+NLS_CODEPAGE_855 m
+NLS_CODEPAGE_857 m
+NLS_CODEPAGE_860 m
+NLS_CODEPAGE_861 m
+NLS_CODEPAGE_862 m
+NLS_CODEPAGE_863 m
+NLS_CODEPAGE_864 m
+NLS_CODEPAGE_865 m
+NLS_CODEPAGE_866 m
+NLS_CODEPAGE_869 m
+NLS_CODEPAGE_874 m
+NLS_CODEPAGE_932 m
+NLS_CODEPAGE_936 m
+NLS_CODEPAGE_949 m
+NLS_CODEPAGE_950 m
+NLS_ISO8859_13 m
+NLS_ISO8859_14 m
+NLS_ISO8859_15 m
+NLS_ISO8859_2 m
+NLS_ISO8859_3 m
+NLS_ISO8859_4 m
+NLS_ISO8859_5 m
+NLS_ISO8859_6 m
+NLS_ISO8859_7 m
+NLS_ISO8859_8 m
+NLS_ISO8859_9 m
+NLS_KOI8_R m
+NLS_KOI8_U m
+NLS_MAC_CELTIC m
+NLS_MAC_CENTEURO m
+NLS_MAC_CROATIAN m
+NLS_MAC_CYRILLIC m
+NLS_MAC_GAELIC m
+NLS_MAC_GREEK m
+NLS_MAC_ICELAND m
+NLS_MAC_INUIT m
+NLS_MAC_ROMAN m
+NLS_MAC_ROMANIAN m
+NLS_MAC_TURKISH m
+NLS_UTF8 m
+OVERLAY_FS m
+OVERLAY_FS_INDEX y
+OVERLAY_FS_METACOPY y
+OVERLAY_FS_XINO_AUTO y
+PHYLIB m
+PKCS8_PRIVATE_KEY_PARSER m
+PPC_RADIX_MMU n
+PREEMPT_VOLUNTARY y
+PS3_ENCDEC m
+PS3_FLASH_NG m
+PS3_JUPITER m
+PS3_JUPITER_STA m
+PS3_LV1CALL m
+PS3_PHYSMEM m
+PS3_STRGMNGR m
+RD_BZIP2 n
+RD_LZ4 n
+RD_LZMA n
+RD_LZO n
+RD_ZSTD n
+SND_USB n
+SQUASHFS m
+SQUASHFS_4K_DEVBLK_SIZE y
+SQUASHFS_XATTR y
+SQUASHFS_XZ y
+TRIM_UNUSED_KSYMS y
+VHOST_MENU n
+VIRTIO_MENU n
+WLAN_VENDOR_ADMTEK n
+WLAN_VENDOR_ATH n
+WLAN_VENDOR_ATMEL n
+WLAN_VENDOR_BROADCOM n
+WLAN_VENDOR_INTEL n
+WLAN_VENDOR_INTERSIL n
+WLAN_VENDOR_MARVELL n
+WLAN_VENDOR_MEDIATEK n
+WLAN_VENDOR_MICROCHIP n
+WLAN_VENDOR_PURELIFI n
+WLAN_VENDOR_QUANTENNA n
+WLAN_VENDOR_RALINK n
+WLAN_VENDOR_REALTEK n
+WLAN_VENDOR_RSI n
+WLAN_VENDOR_SILABS n
+WLAN_VENDOR_ST n
+WLAN_VENDOR_TI n
+WLAN_VENDOR_ZYDAS n
+XZ_DEC_ARM n
+XZ_DEC_ARMTHUMB n
+XZ_DEC_SPARC n
+XZ_DEC_X86 n
+ZRAM m
+ZRAM_MULTI_COMP y
+ZRAM_TRACK_ENTRY_ACTIME y
+ZRAM_WRITEBACK y
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--- gentoo-kernel-6.6.13.ebuild 2024-02-01 16:21:52.560284000 -0000
+++ gentoo-kernel-ps3-6.6.13.ebuild 2024-02-01 16:23:34.975043006 -0000
@@ -17,3 +17,3 @@
--- org.ebuild 2024-07-09 13:38:27.626205670 -0000
+++ mod.ebuild 2024-07-09 13:38:08.579537090 -0000
@@ -17,3 +17,3 @@ GENTOO_CONFIG_VER=g13

-DESCRIPTION="Linux kernel built with Gentoo patches"
+DESCRIPTION="Linux kernel built with Gentoo patches and PS3 patches"
HOMEPAGE="
@@ -28,18 +28,3 @@
@@ -28,18 +28,3 @@ SRC_URI+="
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
- amd64? (
- https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
Expand All @@ -25,28 +25,37 @@
- )
+ https://raw.githubusercontent.com/damiandudycz/ps3-gentoo-overlay.distfiles/main/sys-kernel/gentoo-kernel-ps3/gentoo-kernel-ps3-${PVR}.tar.xz
"
@@ -49,8 +34,3 @@
IUSE="debug hardened"
@@ -49,8 +32,4 @@ S=${WORKDIR}/${MY_P}
-IUSE="debug hardened"
-REQUIRED_USE="
- arm? ( savedconfig )
- hppa? ( savedconfig )
- riscv? ( savedconfig )
- sparc? ( savedconfig )
-"
+IUSE="debug hardened X"
+REQUIRED_USE=""
+PATCHES_USE="${IUSE}"

@@ -62,5 +42,3 @@
@@ -62,5 +43,3 @@ BDEPEND="
"
-PDEPEND="
- >=virtual/dist-kernel-${PV}
-"
+PDEPEND=""

@@ -76,2 +54,3 @@
"${WORKDIR}"/*.patch
+ "${WORKDIR}/ps3_patches"/*.patch
@@ -77,48 +56,16 @@ src_prepare() {
)
@@ -79,46 +58,5 @@
+ PATCHES_PS3=( "${WORKDIR}/ps3_patches"/*.patch )
+ for flag in ${PATCHES_USE}; do
+ if use ${flag}; then
+ [[ -d "${WORKDIR}/ps3_patches/${flag}" ]] && PATCHES_PS3+=( "${WORKDIR}/ps3_patches/${flag}"/*.patch )
+ else
+ [[ -d "${WORKDIR}/ps3_patches/-${flag}" ]] && PATCHES_PS3+=( "${WORKDIR}/ps3_patches/-${flag}"/*.patch )
+ fi
+ done
+ PATCHES+=(${PATCHES_PS3[@]})
default

- local biendian=false
+ cp "${WORKDIR}/ps3_gentoo_defconfig" .config || die
Expand Down Expand Up @@ -95,18 +104,18 @@
- local myversion="-gentoo-dist"
+ local myversion="-gentoo-ps3-dist"
use hardened && myversion+="-hardened"
@@ -129,3 +67,2 @@
@@ -129,3 +76,2 @@ src_prepare() {
"${T}"/version.config
- "${dist_conf_path}"/base.config
)
@@ -145,5 +82,3 @@
@@ -145,5 +91,3 @@ src_prepare() {
# this covers ppc64 and aarch64_be only for now
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then
- merge_configs+=( "${dist_conf_path}/big-endian.config" )
- fi
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )

@@ -153 +88,67 @@
@@ -153 +97,67 @@ src_prepare() {
}
+
+pkg_postinst() {
Expand Down Expand Up @@ -174,4 +183,3 @@
+ ewarn "KBOOT configuration file not found: ${kboot_path}"
+ fi
+}

2 changes: 1 addition & 1 deletion dev-tools/kernel-ebuild/data/patches-current.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.6/0011-ps3stor-multiple-regions.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.6/0020-ps3stor-send-cmd-timeout.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.6/0030-ps3fb.patch|X
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.6/0035-ps3flash.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.6/0040-ps3-partition.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.6/0050-ps3sysmgr-lpar-reboot.patch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# For patches that should be added only to specific use flags add |FLAG postfix, eq: |X
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.9/0010-ps3stor-multiple-regions.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.9/0020-ps3stor-send-cmd-timeout.patch
#https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.9/0030-ps3fb.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.9/0030-ps3fb.patch|X
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.9/0035-ps3flash.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.9/0040-ps3-partition.patch
https://raw.githubusercontent.com/damiandudycz/ps3/development/files/kernel-patches/psx-place-Sombat-Tragoongoson/6.9/0050-ps3sysmgr-lpar-reboot.patch
Expand Down
34 changes: 34 additions & 0 deletions dev-tools/kernel-ebuild/data/patches/patches-t2sde.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0009-ps3disk-blk_mq_queue_stopped.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0010-ps3stor-multiple-regions.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0011-ps3stor-send-cmd-timeout.patch
#https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0020-ps3fb-use-fifo.patch.disabled|X
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0030-ps3flash.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0040-ps3sysmgr-lpar-reboot.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0050-ps3sysmgr-char-device.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0060-ps3avmgr-char-device.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0070-ps3dispmgr.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0080-ps3rom-vendor-specific-command.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0090-spu-enum-shared-param.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0100-lv1call-repo-node-lparid-param.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0110-lv1call-add-hvcalls-114-115.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0120-lv1call-add-storage-region-hvcalls.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0140-ps3strgmngr.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0150-ps3jupiter.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0160-gelic-disable-eurus-ctrl-iface.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0170-gelic-wireless-print-cmd-status.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0180-lv1call-add-undocumented-spe-hvcalls.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0190-export-spe-irq-setup-destroy.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0200-export-event-receive-port-destroy.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0210-ps3encdec.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0220-spuisofs.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0230-spuldrfs.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0240-ps3lv1call.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0250-lv1call-add-debug-console-hvcalls.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0260-udbg-lv1-console.patch
#https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/0600-ps3fb-ioctls.patch.disabled|X
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/1000-ps3disk-fix-bvec-memcpy.patch
https://svn.exactcode.de/t2/trunk/architecture/powerpc64/package/linux/ps3-gelic-skb-alloc.patch
https://svn.exactcode.de/t2/trunk/package/kernel/linux/0666-ps3fb-vram.patch
https://svn.exactcode.de/t2/trunk/package/kernel/linux/0700-ps3vram-mod-ps3fb.patch
https://svn.exactcode.de/t2/trunk/package/kernel/linux/hotfix-ppc64-ps3-srr-clobber.patch
https://svn.exactcode.de/t2/trunk/package/kernel/linux/ps3-partition.patch
Loading

0 comments on commit 73be911

Please sign in to comment.