mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-05-09 00:24:16 +00:00
Compare commits
4 Commits
65961996d7
...
aedd5e3b38
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aedd5e3b38 | ||
|
|
b45045217f | ||
|
|
c602ff8063 | ||
|
|
6ac9bab944 |
16
README.md
16
README.md
@@ -156,6 +156,14 @@ git clone https://github.com/ps5-linux/ps5-linux-loader
|
||||
cd ps5-linux-loader
|
||||
make
|
||||
```
|
||||
## Compiling on ARM64 Linux
|
||||
|
||||
Install the x86-64 cross-compilation tools before:
|
||||
|
||||
```bash
|
||||
sudo apt install gcc-x86-64-linux-gnu binutils-x86-64-linux-gnu
|
||||
```
|
||||
|
||||
|
||||
Find your PS5 IP at `Settings → Network → View Connection Status`.
|
||||
|
||||
@@ -169,9 +177,11 @@ If the LED is white, but you still have a blackscreen then:
|
||||
|
||||
- Try different monitors or capture cards, ideally with different resolutions. Currently, some monitors have issues.
|
||||
- Try setting `amdgpu.force_1080p=1` in `cmdline.txt` in the FAT32 partition of the USB drive.
|
||||
- Try removing `video=DP-1:1920x1080@60` line in cmdline.txt.
|
||||
|
||||
If none of this helps, please report the issue in our [Discord server](https://discord.gg/PeMGVB7BAm) and provide your EDID information.
|
||||
|
||||
|
||||
## First Boot
|
||||
|
||||
Configure your system and memorize your login password.
|
||||
@@ -258,7 +268,7 @@ Always turn on fan when your turn on boost, as this is what the official PS5 OS
|
||||
- Q: Does the DualSense controller work?
|
||||
- A: Via a Bluetooth dongle. Built-in Bluetooth is not yet supported.
|
||||
- Q: What resolutions and refresh rates are supported?
|
||||
- A: So far only 1080p, 1440p and 2160p at 60Hz. 120Hz or 30Hz may be added in the future.
|
||||
- A: 1080p, 1440p and 2160p at 60Hz are broadly supported. 1440p@120Hz has been the only confirmed working on the DELL S3225QC yet. 120Hz or 30Hz may be added in the future.
|
||||
|
||||
|
||||
## Tips and tricks
|
||||
@@ -266,7 +276,9 @@ Always turn on fan when your turn on boost, as this is what the official PS5 OS
|
||||
- You can adjust the kernel cmdline in `cmdline.txt` in the FAT32 partition.
|
||||
- You can adjust the VRAM size in `vram.txt` in the FAT32 partition. By default, it uses 512MB (0x20000000) which enables [Dynamic VRAM allocation](https://elektricm.github.io/amd-bc250-docs/bios/flashing/#why-flash-the-bios).
|
||||
- Monitor hotswap may work, but it will not change resolution automatically.
|
||||
|
||||
- Some monitors have a black screen if a video=DP-1: parameter is set in `cmdline.txt`. Confirmed working without `video=DP-1:1920x1080@60` on:
|
||||
- MSI MAG274Q QD E2, DELL S2721DGF, DELL U2515H (1440p@60Hz)
|
||||
- Possibly also: LG 27GL850, Lenovo Legion Y27q, ViewSonic Elite XG270QG
|
||||
Many configurations, tips and tricks from the [AMD BC250 Documentation](https://elektricm.github.io/amd-bc250-docs/) also apply to PS5.
|
||||
|
||||
## Bugs
|
||||
|
||||
@@ -3,9 +3,16 @@ ifndef PS5_PAYLOAD_SDK
|
||||
endif
|
||||
|
||||
# 1. Variables
|
||||
ifeq ($(shell uname -m),aarch64)
|
||||
CC = x86_64-linux-gnu-gcc
|
||||
LD = x86_64-linux-gnu-ld
|
||||
OBJCOPY = x86_64-linux-gnu-objcopy
|
||||
else
|
||||
CC = gcc
|
||||
LD = ld
|
||||
CFLAGS = -O2 -fno-stack-protector -ffreestanding -nostdlib -fcf-protection=none -I$(PS5_PAYLOAD_SDK)/target/include
|
||||
OBJCOPY = objcopy
|
||||
endif
|
||||
CFLAGS = -O2 -fno-stack-protector -ffreestanding -nostdlib -fcf-protection=none -m64 -I$(PS5_PAYLOAD_SDK)/target/include
|
||||
LDFLAGS = -T linker.ld
|
||||
TARGET = shellcode_hypervisor.elf
|
||||
TEXT_BIN = shellcode_hypervisor.bin
|
||||
@@ -23,7 +30,7 @@ $(TARGET): $(OBJ)
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
$(TEXT_BIN): $(TARGET)
|
||||
objcopy -O binary -j .shell_code $(TARGET) $(TEXT_BIN)
|
||||
$(OBJCOPY) -O binary -j .shell_code $(TARGET) $(TEXT_BIN)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(TARGET) $(TEXT_BIN) $(dump)
|
||||
|
||||
@@ -3,9 +3,16 @@ ifndef PS5_PAYLOAD_SDK
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(shell uname -m),aarch64)
|
||||
CC = x86_64-linux-gnu-gcc
|
||||
LD = x86_64-linux-gnu-ld
|
||||
OBJCOPY = x86_64-linux-gnu-objcopy
|
||||
else
|
||||
CC = gcc
|
||||
LD = ld
|
||||
CFLAGS = -O2 -fno-stack-protector -ffreestanding -nostdlib -I$(PS5_PAYLOAD_SDK)/target/include
|
||||
OBJCOPY = objcopy
|
||||
endif
|
||||
CFLAGS = -O2 -fno-stack-protector -ffreestanding -nostdlib -m64 -I$(PS5_PAYLOAD_SDK)/target/include
|
||||
LDFLAGS = -T linker.ld
|
||||
TARGET = shellcode_kernel.elf
|
||||
TEXT_BIN = shellcode_text.bin
|
||||
@@ -24,7 +31,7 @@ $(TARGET): $(OBJ)
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
$(TEXT_BIN): $(TARGET)
|
||||
objcopy -O binary -j .text $(TARGET) $(TEXT_BIN)
|
||||
$(OBJCOPY) -O binary -j .text $(TARGET) $(TEXT_BIN)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(TARGET) $(TEXT_BIN) $(dump)
|
||||
|
||||
Reference in New Issue
Block a user