pftf / RPi4

Raspberry Pi 4 UEFI Firmware Images
https://rpi4-uefi.dev
Other
1.16k stars 138 forks source link

Error Synchronous Exception at 0x000000033A42000 #246

Closed nomi-ramzan closed 8 months ago

nomi-ramzan commented 9 months ago

I am trying to build release of this repository. Here are my steps to build

# Download code
git clone https://github.com/pftf/RPi4.git --depth=1
cd RPi4/
git submodule update --init --depth=1

cd ../edk2
git submodule update --init --depth=1
git apply ../0001-MdeModulePkg-UefiBootManagerLib-Signal-ReadyToBoot-o.patch

cd ../edk2-platforms/
git submodule update --init --depth=1
git apply ../0002-Check-for-Boot-Discovery-Policy-change.patch

cd ../

# Change My logo
cp MyLogo.bmp ./edk2-non-osi/Platform/RaspberryPi/Drivers/LogoDxe/Logo.bmp
cp MyLogo.eps ./edk2-non-osi/Platform/RaspberryPi/Drivers/LogoDxe/Logo.eps

# Set Variables
export WORKSPACE=$PWD
export PACKAGES_PATH=$PWD/edk2:$PWD/edk2-platforms:$PWD/edk2-non-osi
export GCC5_AARCH64_PREFIX=aarch64-linux-gnu-
export NUM_CPUS=$((`getconf _NPROCESSORS_ONLN`))

# Run setup commands
. edk2/edksetup.sh
make -C edk2/BaseTools

# Set PLATFORM_VERSION
sed -i 's/PLATFORM_VERSION               = 1.0/PLATFORM_VERSION               = 1.34/g' ./edk2-platforms/Platform/RaspberryPi/RPi4/RPi4.dsc

# Build command
build -n $NUM_CPUS -a AARCH64 -t GCC5 -p ./edk2-platforms/Platform/RaspberryPi/RPi4/RPi4.dsc -b RELEASE

# Download release for missing files i.e bcm2711-rpi-4-b.dtb, bcm2711-rpi-400.dtb, bcm2711-rpi-cm4.dtb
wget https://github.com/pftf/RPi4/releases/download/v1.35/RPi4_UEFI_Firmware_v1.35.zip
mkdir RPi4_UEFI_Firmware_v1
unzip ./RPi4_UEFI_Firmware_v1.35.zip -d RPi4_UEFI_Firmware_v1

# Build Final Release
mkdir Release
cp -r ./RPi4_UEFI_Firmware_v1/* ./Release
cp ./Build/RPi4/RELEASE_GCC5/FV/RPI_EFI.fd ./Release

When I boot using this release I am getting this error

Synchronous Exception at 0x000000033A42000

What am I doing wrong ?

nomi-ramzan commented 8 months ago

PS: This error is coming only with version 1.35. But version 1.34 is working fine

pm4rcin commented 8 months ago

Check if it's not duplicate of #235.

nomi-ramzan commented 8 months ago

Closed because of duplicate of #235