Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Synchronous Exception at 0x000000033A42000 #246

Closed
nomi-ramzan opened this issue Oct 15, 2023 · 3 comments
Closed

Error Synchronous Exception at 0x000000033A42000 #246

nomi-ramzan opened this issue Oct 15, 2023 · 3 comments

Comments

@nomi-ramzan
Copy link

nomi-ramzan commented Oct 15, 2023

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
Copy link
Author

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

@pm4rcin
Copy link

pm4rcin commented Nov 6, 2023

Check if it's not duplicate of #235.

@nomi-ramzan
Copy link
Author

Closed because of duplicate of #235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants