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

Not working on Debug Kit. #426

Open
kooscode opened this issue Feb 8, 2021 · 5 comments
Open

Not working on Debug Kit. #426

kooscode opened this issue Feb 8, 2021 · 5 comments

Comments

@kooscode
Copy link

kooscode commented Feb 8, 2021

Trying to run via XDK Launcher on official Debug Kit, but get errors.

I did set cxbe -MODE:debug but it still doesnt run on Debug Kit running a Debug Kernel 5849..

JOLT-image1

@thrimbor
Copy link
Member

thrimbor commented Feb 8, 2021

What did you try to run? Please provide as much info as possbile - which OS you built on, which nxdk version, which LLVM version you have installed etc.

@kooscode
Copy link
Author

kooscode commented Feb 8, 2021

built the standard hello++ application. so its using the NXDK_CXX makefile

built using following tools:

  • NXDK built from latest source
  • Linux Ubuntu 18.04 Kernel 5.4.0-65
  • ld.lld LLD 6.0.0 (compatible with GNU linkers)
  • clang: clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final), Target: x86_64-pc-linux-gnu

@thrimbor
Copy link
Member

thrimbor commented Feb 8, 2021

Ah, I think your issue is the missing debug signature. Unmodified debug kernels check the xbe's signature, unfortunately xbes built with nxdk don't have a valid signature because we don't ship the debug key for legal reasons.

XboxDev/XboxDev#15 describes a what would be necessary to resolve this, but I don't think anyone has been working on implementing a solution yet, at least not in a form I could recommend here.

@kooscode
Copy link
Author

kooscode commented Feb 8, 2021

OK - thanks.. Since I have a debug kit, i have access to the debug keys.. let me see if I can get it going.

@GXTX
Copy link
Contributor

GXTX commented Feb 10, 2021

xbetool allows resigning the executable, it might be possible with the correct key to properly sign it debug. However I don't really recommend using a debug kit for every day use - retail boxes are a dime a dozen.

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

No branches or pull requests

3 participants