Hacking Wii U Hacking & Homebrew Discussion

  • Thread starter Thread starter filfat
  • Start date Start date
  • Views Views 5,113,660
  • Replies Replies 21,104
  • Likes Likes 29
Well, here it finally is: the 5.3.2 browser exploit. Sadly it's not quite complete yet, since all but the most trivial C programs (like printing messages) seem to fail for unexplained reasons. I had hoped to resolve this before releasing, but given that tonight is almost over and I want to get something out, I think this is a fair compromise. Don't take what's in here as done, though you can play around with it if you want. :)

I definitely wasn't the only person working on this. None of this would have been possible without Hykem finding and developing an exploit for the WebKit bug used, or without Mathew_Wi turning that into basic execution control. Make sure to thank them too.
this should start a new thread
 
  • Like
Reactions: pelago
According to the read me, "Right now, the supported versions are 3.x.x, 4.0.x, 4.1.0, 5.0.0, and 5.1.0)."

This can't mean that 5.3.2 is bad too does it??
 
From what I understand this is a good day. It seems a little over my head but congrat's on your accomplishment. Thanks for all of your work and if there's anything that I can do please pm me ;)
 
i hope we get kernel soon and iosu, the thing i want iosu is becuase most homebrew devs wont want to code in kernel only, they will all want full acess to code without the sdk.
 
I tried to build using "python build.py examples/helloworld". I get an initial error "The syntax of the command is incorrect" which is coming from make.

Not sure what environment this has worked on in the past, but I was using cygwin in windows. In addition I was using the package found here to compile:http://gnutoolchains.com/powerpc-eabi/

Any idea what could be going on or see any issues with environment? I'll look at it some more in the morning.
 
Well, here it finally is: the 5.3.2 browser exploit. Sadly it's not quite complete yet, since all but the most trivial C programs (like printing messages) seem to fail for unexplained reasons. I had hoped to resolve this before releasing, but given that tonight is almost over and I want to get something out, I think this is a fair compromise. Don't take what's in here as done, though you can play around with it if you want. :)

I definitely wasn't the only person working on this. None of this would have been possible without Hykem finding and developing an exploit for the WebKit bug used, or without Mathew_Wi turning that into basic execution control. Make sure to thank them too.
It does not seem to work :sad:. Why does it look for cygpath if I am on Linux? :wtf:
I also have devkitPro/PPC/ARM set up correctly (even added to .bashrc), but it can't find the compiler.
More details:
nastys@ULNS:~/Scrivania/libwiiu-master$ LANG=EN python build.py osscreenexamples/template/
Building for your linux platform...
make: cygpath: Command not found
mkdir -p /bin
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ /src/findcode532.c
make: powerpc-eabi-gcc: Command not found
Makefile:15: recipe for target 'findcode532' failed
make: *** [findcode532] Error 127
make: cygpath: Command not found
mkdir -p /bin/532/
mkdir: cannot create directory '/bin/532/': Permission denied
Makefile:10: recipe for target 'setup' failed
make: *** [setup] Error 1
make: cygpath: Command not found
mkdir -p /bin/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 src/*.c
/bin/sh: 1: powerpc-eabi-gcc: not found
Makefile:16: recipe for target 'main500' failed
make: *** [main500] Error 127
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack532.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack500.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack410.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack400.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack300.bin'
End of .bashrc:
export DEVKITPRO=/opt/devkitpro
export DEVKITARM=/opt/devkitpro/devkitARM
export DEVKITPPC=/opt/devkitpro/devkitPPC

EDIT: I added $DEVKITPRO/bin to $PATH, now the output is:
nastys@ULNS:~/Scrivania/libwiiu-master$ export PATH=$PATH:$DEVKITPPC/bin
nastys@ULNS:~/Scrivania/libwiiu-master$ LANG=EN python build.py osscreenexamples/template/
Building for your linux platform...
make: cygpath: Command not found
mkdir -p /bin
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ /src/findcode532.c
powerpc-eabi-gcc: error: /src/findcode532.c: No such file or directory
powerpc-eabi-gcc: fatal error: no input files
compilation terminated.
Makefile:15: recipe for target 'findcode532' failed
make: *** [findcode532] Error 1
make: cygpath: Command not found
mkdir -p /bin/532/
mkdir: cannot create directory '/bin/532/': Permission denied
Makefile:10: recipe for target 'setup' failed
make: *** [setup] Error 1
make: cygpath: Command not found
mkdir -p /bin/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 src/*.c
#-Wa,-a,-ad
cp -r /*.o /bin
cp: cannot stat '/*.o': No such file or directory
Makefile:16: recipe for target 'main500' failed
make: *** [main500] Error 1
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack532.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack500.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack410.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack400.bin'
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 55, in main
stack = build_stack(ver)
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 122, in build_stack
output = open('{0}/bin/stack{1}.bin'.format(path,ver), 'w+b')
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/framework/bin/stack300.bin'
Why does it search findcode532.c in /src/ (which is a system directory) instead of src/?
EDIT2: Same for other directories. It adds a "/" before every one. Or there's an empty variable before "/".
 
Last edited by nastys,
It does not seem to work :sad:. Why does it look for cygpath if I am on Linux? :wtf:
I also have devkitPro/PPC/ARM set up correctly (even added to .bashrc), but it can't find the compiler.
More details:

End of .bashrc:


EDIT: I added $DEVKITPRO/bin to $PATH, now the output is:

Why does it search findcode532.c in /src/ (which is a system directory) instead of src/?
EDIT2: Same for other directories. It adds a "/" before every one. Or there's an empty variable before "/".
Same problem here
Using cygwin
 
So, with this tool you've created, i can write and create homebrew and programs for the Wii U, Am i right?
 
It does not seem to work :sad:.
Same problem here
Using cygwin

Mini tutorial:

Look at these sites:
Follow this to add Python (3.4) to Cygwin.

Then look at this about powerpc-eabi-gcc.

I admit, the tutorial for powerpc-eabi-gcc isn't straight forward, like the python one, so:
Code:
echo "PATH=\$PATH:/cygdrive/c/devkitPro/devkitPPC/bin" >> .bash_profile
source .bash_profile
which powerpc-eabi-gcc

Also, Windows Defender will say that the payload[*].html files are malicious... Don't worry about it. :P

Edit:
Oh, and than test it with, for example:
"python build.py osscreenexamples/template"
 
Last edited by Adr990,
I use Linux and I could compile this way:

Add powerpc-eabi-gcc to the path: "export PATH=$PATH:/home/me/devkitPro/devkitPPC/bin"
Comment (or remove) the "cygpath" line in the "Makefile" files: "#override CURDIR:=$(shell cygpath -m $(CURDIR))"
Specify which example you want to build: "python build.py examples/helloworld"
 
  • Like
Reactions: zecoxao
Mini tutorial:

Look at these sites:
Follow this to add Python (3.4) to Cygwin.

Then look at this about powerpc-eabi-gcc.

I admit, the tutorial for powerpc-eabi-gcc isn't straight forward, like the python one, so:
Code:
echo "PATH=\$PATH:/cygdrive/c/devkitPro/devkitPPC/bin" >> .bash_profile
source .bash_profile
which powerpc-eabi-gcc

Also, Windows Defender will say that the payload[*].html files are malicious... Don't worry about it. :P

Edit:
Oh, and than test it with, for example:
"python build.py osscreenexamples/template"
It didn't work for me (probably because I'm not on Cygwin).
I also tried:
echo "export PATH=\$PATH:/devkitPro/devkitPPC/bin" >> .bashrc

I use Linux and I could compile this way:

Add powerpc-eabi-gcc to the path: "export PATH=$PATH:/home/me/devkitPro/devkitPPC/bin"
Comment (or remove) the "cygpath" line in the "Makefile" files: "#override CURDIR:=$(shell cygpath -m $(CURDIR))"
Specify which example you want to build: "python build.py examples/helloworld"
Which "Makefile" exactly? There are a lot...
 
OK, I've solved both cygpath (commented in all makefiles) and gcc problems (it was devkitpro instead of devkitPro), but now I get this error:
nastys@ULNS:~/Scrivania/libwiiu-master$ export PATH=$PATH:/opt/devkitpro/devkitPPC/bin
nastys@ULNS:~/Scrivania/libwiiu-master$ LANG=EN python build.py osscreenexamples/template/
Building for your linux platform...
mkdir -p /home/nastys/Scrivania/libwiiu-master/framework/bin
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ /home/nastys/Scrivania/libwiiu-master/framework/src/findcode532.c
/home/nastys/Scrivania/libwiiu-master/framework/src/findcode532.c: In function 'start':
/home/nastys/Scrivania/libwiiu-master/framework/src/findcode532.c:32:18: warning: assignment makes integer from pointer without a cast [enabled by default]
ropbuf[0x318/4] = &ropbuf[0xa0/4];
^
/home/nastys/Scrivania/libwiiu-master/framework/src/findcode532.c:33:17: warning: assignment makes integer from pointer without a cast [enabled by default]
ropbuf[0xdc/4] = codebuf + 1;
^
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/framework/findcode532.o /home/nastys/Scrivania/libwiiu-master/framework/bin
rm /home/nastys/Scrivania/libwiiu-master/framework/findcode532.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.o
powerpc-eabi-ld: warning: cannot find entry symbol _start; defaulting to 0000000001800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 3.6287e-05 s, 110 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 4.1583e-05 s, 96.2 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
68+0 records in
68+0 records out
272 bytes (272 B) copied, 9.1786e-05 s, 3.0 MB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode532.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/stack532.bin obs=876 seek=1 conv=notrunc
0+1 records in
0+1 records out
296 bytes (296 B) copied, 4.0356e-05 s, 7.3 MB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500+ /home/nastys/Scrivania/libwiiu-master/framework/src/findcode500.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/framework/findcode500.o /home/nastys/Scrivania/libwiiu-master/framework/bin
rm /home/nastys/Scrivania/libwiiu-master/framework/findcode500.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.o
powerpc-eabi-ld: warning: cannot find entry symbol _start; defaulting to 0000000001800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 3.5284e-05 s, 113 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 3.0378e-05 s, 132 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
48+0 records in
48+0 records out
192 bytes (192 B) copied, 6.6985e-05 s, 2.9 MB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode500.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/stack500.bin obs=432 seek=1 conv=notrunc
0+1 records in
0+1 records out
216 bytes (216 B) copied, 3.3492e-05 s, 6.4 MB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410+ /home/nastys/Scrivania/libwiiu-master/framework/src/findcode410.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/framework/findcode410.o /home/nastys/Scrivania/libwiiu-master/framework/bin
rm /home/nastys/Scrivania/libwiiu-master/framework/findcode410.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.o
powerpc-eabi-ld: warning: cannot find entry symbol _start; defaulting to 0000000001800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 3.33e-05 s, 120 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 4.1669e-05 s, 96.0 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
48+0 records in
48+0 records out
192 bytes (192 B) copied, 7.7621e-05 s, 2.5 MB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode410.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/stack410.bin obs=432 seek=1 conv=notrunc
0+1 records in
0+1 records out
216 bytes (216 B) copied, 3.817e-05 s, 5.7 MB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400+ /home/nastys/Scrivania/libwiiu-master/framework/src/findcode400.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/framework/findcode400.o /home/nastys/Scrivania/libwiiu-master/framework/bin
rm /home/nastys/Scrivania/libwiiu-master/framework/findcode400.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.o
powerpc-eabi-ld: warning: cannot find entry symbol _start; defaulting to 0000000001800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 4.4591e-05 s, 89.7 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 3.6317e-05 s, 110 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
77+1 records in
77+1 records out
310 bytes (310 B) copied, 9.5478e-05 s, 3.2 MB/s
#Differen't on 400
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode400.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/stack400.bin obs=352 seek=1 conv=notrunc
0+1 records in
0+1 records out
334 bytes (334 B) copied, 4.1479e-05 s, 8.1 MB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300+ /home/nastys/Scrivania/libwiiu-master/framework/src/findcode300.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/framework/findcode300.o /home/nastys/Scrivania/libwiiu-master/framework/bin
rm /home/nastys/Scrivania/libwiiu-master/framework/findcode300.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin /home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.o
powerpc-eabi-ld: warning: cannot find entry symbol _start; defaulting to 0000000001800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 3.8624e-05 s, 104 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 3.2956e-05 s, 121 kB/s
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
66+0 records in
66+0 records out
264 bytes (264 B) copied, 8.4589e-05 s, 3.1 MB/s
#Differen't on 300
dd if=/home/nastys/Scrivania/libwiiu-master/framework/bin/findcode300.bin of=/home/nastys/Scrivania/libwiiu-master/framework/bin/stack300.bin obs=352 seek=1 conv=notrunc
0+1 records in
0+1 records out
288 bytes (288 B) copied, 3.7791e-05 s, 7.6 MB/s
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/532/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/500/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/410/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/400/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/300/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/532
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/500
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/410
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/400
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/300
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
mkdir -p /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin
rm /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/code500.bin /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/loader.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/../../libwiiu/bin/500/*.o `find /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin -name "*.o" ! -name "loader.o"`
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin
rm /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/code410.bin /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/loader.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/../../libwiiu/bin/410/*.o `find /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin -name "*.o" ! -name "loader.o"`
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin
rm /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/code400.bin /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/loader.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/../../libwiiu/bin/400/*.o `find /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin -name "*.o" ! -name "loader.o"`
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin
rm /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/code300.bin /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/loader.o /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/../../libwiiu/bin/300/*.o `find /home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin -name "*.o" ! -name "loader.o"`
Traceback (most recent call last):
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 148, in <module>
main()
File "/home/nastys/Scrivania/libwiiu-master/framework/generate_html.py", line 60, in main
code_js = code_to_js(open(ar1, 'rb').read())
IOError: [Errno 2] No such file or directory: '/home/nastys/Scrivania/libwiiu-master/osscreenexamples/template/bin/code532.bin'
nastys@ULNS:~/Scrivania/libwiiu-master$
 

Site & Scene News

Popular threads in this forum