Hacking (vWii) - Tri-Core Linux

psvpwner

Well-Known Member
Member
Joined
Feb 9, 2015
Messages
119
Trophies
0
Age
64
XP
121
Country
The Wii OS was also linux based. Even the 3DS. You can download the ROM for the Wii U, and lots of the code and files are linux (.sh .bin .raw, etc)

Such evidence could just as well point to it being BSD based (I'm not saying it is), which would be more likely anyway since Nintendo probably don't wanna open source their code or violate the GPL.
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
The only similarity between linux and the Wii U os that I'm aware of is that they're both OS's that have a kernel, end of discussion lol.

Moving right along, for those who didn't see my status update yesterday, I found my copy of brawl :). Softmodded the vWii on my new Wii U a few minutes ago, dumping the vWii NAND as we speak (safety measure) :P
 

FaTaL_ErRoR

AKA ŦƕƎ ƠṀƐƝ
Member
Joined
Mar 9, 2014
Messages
491
Trophies
0
XP
443
Country
United States
Wii is linux? Wii u running linux? If that were the case then why is everyone having such a hard time porting linux to console?
I see some unix triggers but thats about it. (which hell most operating systems contain some parts of unix instruction, just part of it)
There may be some things that use programming like linux, but if so it's all closed source. (I think the only open part of it that is open source is the web browser and some of TVII)
You may find things that resemble linux and may help with writing in homebrew.

But, now we've strayed a bit off topic.
I'm afraid I haven't been following this thread much, have you been successful in communications to usb ports? And if so have you been able to make use of the full amount of ram avail. on system? And (yes another and) can you use said usb ports to extend storage on the U via external hd or usb stick?
(I have followed enough to know it's still stuck in vwii but curious if these things have been figured out on vwii)
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
what was you going to attempt after you have that installed and a backup?

When I get a chance, I'd like to swap out the kernel for one of the later ones that delta made like 3.10..... As the later kernels are marked as having fixed the incompatibility with most usb mass storage devices :). That and playing around with maxternal's race attack some more to see if I can get it to take. If we can implement SMP in vWii and the linux kernel SMP code delta added to his latest kernels (including the one we're currently using 3.086) as a proof of concept can handle it okay, then we know it will also work in U mode. Also more people will be able to "jump in" and try out Trinux without wanting to put their head through a wall, as its so crippled right now XD.

Also furthermore, according to Delta's repo, he's abandoned the Wii-gc linux project, so all his source code will need to be mirrored elsewhere before its gone. I have his entire archive on my desktop that I'm typing this very message from, so I will get it mirrored somewhere ASAP. Its a massive archive, considering its Wii linux, but its literally everything he's ever released..... His repo can be found here along with all his source code for every kernel he's put out there: https://github.com/DeltaResero/
 

Ray Lewis

Banned!
Banned
Joined
Dec 30, 2012
Messages
1,518
Trophies
0
XP
419
Country
United States
When I get a chance, I'd like to swap out the kernel for one of the later ones that delta made like 3.10..... As the later kernels are marked as having fixed the incompatibility with most usb mass storage devices :). That and playing around with maxternal's race attack some more to see if I can get it to take. If we can implement SMP in vWii and the linux kernel SMP code delta added to his latest kernels (including the one we're currently using 3.086) as a proof of concept can handle it okay, then we know it will also work in U mode. Also more people will be able to "jump in" and try out Trinux without wanting to put their head through a wall, as its so crippled right now XD.

Also furthermore, according to Delta's repo, he's abandoned the Wii-gc linux project, so all his source code will need to be mirrored elsewhere before its gone. I have his entire archive on my desktop that I'm typing this very message from, so I will get it mirrored somewhere ASAP. Its a massive archive, considering its Wii linux, but its literally everything he's ever released..... His repo can be found here along with all his source code for every kernel he's put out there: https://github.com/DeltaResero/
You have good intentions I believe, but....
 

FaTaL_ErRoR

AKA ŦƕƎ ƠṀƐƝ
Member
Joined
Mar 9, 2014
Messages
491
Trophies
0
XP
443
Country
United States
Personally would rather see inferno os or Nix os. (Honestly I think they would be a bit more useful) Just my thoughts i guess.
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
Personally would rather see inferno os or Nix os. (Honestly I think they would be a bit more useful) Just my thoughts i guess.

Honestly, I don't see Nintendo replacing the Wii U os, there's no point in rewriting the OS from the ground up and trying to debug all the games that are currently on the market to work properly with it. Imo the next OS will come with the next console. Completely different (or suped up) hardware, brand new platform altogether.

Nintendo would be shooting themselves in the foot trying to "reboot" the Wii U OS. The U is struggling enough commercially as it is, they can't afford to launch a new OS for it and risk all the bugs that could come with such a thing. I think they'll just keep building upon the current CafeOS until the next console comes along.

I'm wondering if whoever "leaked" the news of NX being a replacement OS for the Wii U was likely somebody who works for their IP/security/legal dept trying to use scare tactics to kill off the impending homebrew scene. They want people to think that all these efforts will essentially be for nothing and people will just forget about homebrew on the Wii U.

We're all tech savvy people here, realistically is Nintendo going to bother writing a brand new OS for the Wii U (reinvent the wheel) or just keep building on the current OS? What makes more sense? "Work smarter, not harder."
Economically writing a brand new OS for it wouldn't make any sense either. That would cost them big bucks to pull off.

ray lewis thanks for the support....I guess lol. I haven't had any time to work on this stuff, but I'll be working on it tonight. Been crazy busy with work and school.......
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,886
Country
United States
Honestly, I don't see Nintendo replacing the Wii U os, there's no point in rewriting the OS from the ground up and trying to debug all the games that are currently on the market to work properly with it. Imo the next OS will come with the next console. Completely different (or suped up) hardware, brand new platform altogether.

Nintendo would be shooting themselves in the foot trying to "reboot" the Wii U OS. The U is struggling enough commercially as it is, they can't afford to launch a new OS for it and risk all the bugs that could come with such a thing. I think they'll just keep building upon the current CafeOS until the next console comes along.

I'm wondering if whoever "leaked" the news of NX being a replacement OS for the Wii U was likely somebody who works for their IP/security/legal dept trying to use scare tactics to kill off the impending homebrew scene. They want people to think that all these efforts will essentially be for nothing and people will just forget about homebrew on the Wii U.

We're all tech savvy people here, realistically is Nintendo going to bother writing a brand new OS for the Wii U (reinvent the wheel) or just keep building on the current OS? What makes more sense? "Work smarter, not harder."
Economically writing a brand new OS for it wouldn't make any sense either. That would cost them big bucks to pull off.

ray lewis thanks for the support....I guess lol. I haven't had any time to work on this stuff, but I'll be working on it tonight. Been crazy busy with work and school.......

Maybe if Nintendo's new console will be PPC-based (very unlikely because of XBone/PS4), Nintendo might use some of the software they wrote for the new console on the Wii U. Very unlikely, however.
 

FaTaL_ErRoR

AKA ŦƕƎ ƠṀƐƝ
Member
Joined
Mar 9, 2014
Messages
491
Trophies
0
XP
443
Country
United States
Honestly, I don't see Nintendo replacing the Wii U os, there's no point in rewriting the OS from the ground up and trying to debug all the games that are currently on the market to work properly with it. Imo the next OS will come with the next console. Completely different (or suped up) hardware, brand new platform altogether.

Nintendo would be shooting themselves in the foot trying to "reboot" the Wii U OS. The U is struggling enough commercially as it is, they can't afford to launch a new OS for it and risk all the bugs that could come with such a thing. I think they'll just keep building upon the current CafeOS until the next console comes along.

I'm wondering if whoever "leaked" the news of NX being a replacement OS for the Wii U was likely somebody who works for their IP/security/legal dept trying to use scare tactics to kill off the impending homebrew scene. They want people to think that all these efforts will essentially be for nothing and people will just forget about homebrew on the Wii U.

We're all tech savvy people here, realistically is Nintendo going to bother writing a brand new OS for the Wii U (reinvent the wheel) or just keep building on the current OS? What makes more sense? "Work smarter, not harder."
Economically writing a brand new OS for it wouldn't make any sense either. That would cost them big bucks to pull off.

ray lewis thanks for the support....I guess lol. I haven't had any time to work on this stuff, but I'll be working on it tonight. Been crazy busy with work and school.......
I completely agree. If nx is anything it will be a cloud based intercommunications among already existing consoles and maybe incorporate other devices being able to play your games away from console via cloud. And maybe some emulators for other devices.
Do you not know what inferno os is? Or nix os? Inferno os has really good compilers and ide software and makes things easier moving between two different operating systems without either one knowing it's happening. And nix os well just read up.
 
  • Like
Reactions: TotalInsanity4

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
I completely agree. If nx is anything it will be a cloud based intercommunications among already existing consoles and maybe incorporate other devices being able to play your games away from console via cloud. And maybe some emulators for other devices.
Do you not know what inferno os is? Or nix os? Inferno os has really good compilers and ide software and makes things easier moving between two different operating systems without either one knowing it's happening. And nix os well just read up.

I believe he thought you meant "NX OS" as opposed to "Nix OS" :P
 
  • Like
Reactions: TeamScriptKiddies

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
I believe he thought you meant "NX OS" as opposed to "Nix OS" :P
Yup TotalInsanity was correct lol. I thought you just made a typo @Fat

I was looking over Delta's github repo again and while looking through the read me's for his latest kernels, I noticed it states that usb mass storage device compatibility is still broken. Not sure why I thought otherwise before.... Must've been lack of sleep. At any rate, later on tonight, I'm going to play around with the later kernels and see if we're able to get Trinux to boot with any of them. Some of the later ones have POC support for SMP. No idea if the kernels work or not though. Also the race attack translated by Maxternal is going to need a lot of work as well, but until we start experimenting some more, we're not going to get anywhere with this....
 

Marionumber1

Well-Known Member
Member
Joined
Nov 7, 2010
Messages
1,234
Trophies
3
XP
4,045
Country
United States
Even if a PowerPC kernel has SMP support, just running it won't be enough. It's probably a good idea to first find out what state the kernel expects the CPUs to be in (asleep and ready to be booted, started waiting for commands, etc.), and then base your kernel patches around that. If the kernel expects the CPUs to be asleep (and therefore booted by the kernel), find the kernel code responsible for booting them and add in the Espresso boot sequence that fail0verflow gave. If the kernel expects the CPUs to already be started, and just wait for kernel instructions from the master CPU, get them booted before going into Linux (I think Maxternal already does this). Then see how the kernel gives it instructions and make the CPUs wait for them.

-This coming from my limited knowledge of Linux, but slightly larger knowledge of operating systems
 

FaTaL_ErRoR

AKA ŦƕƎ ƠṀƐƝ
Member
Joined
Mar 9, 2014
Messages
491
Trophies
0
XP
443
Country
United States
Well interestingly enough I thought the arm blocked access to the other 2 cores in vwii. I thought it dropped smp and ran emulated on one core of the ppc.
If I am correct in this then without getting out of vwii you will never enable multi core process. Someone should watch what instructions are being given while entering vwii. I am pretty sure it runs like a vm and is set to emulate single core processes.
 

Marionumber1

Well-Known Member
Member
Joined
Nov 7, 2010
Messages
1,234
Trophies
3
XP
4,045
Country
United States
Well interestingly enough I thought the arm blocked access to the other 2 cores in vwii. I thought it dropped smp and ran emulated on one core of the ppc.
If I am correct in this then without getting out of vwii you will never enable multi core process.

It was made pretty clear in fail0verflow's talk that the ARM did not disable the other 2 Espresso cores. Not only that, but Maxternal has actually been able to start them (just not with Linux yet).

Someone should watch what instructions are being given while entering vwii.

Unfortunately, we can't do that without an IOSU exploit or hardware hacks.

I am pretty sure it runs like a vm and is set to emulate single core processes.


That's not how it works at all. Switching into vWii mode runs an ARM binary called cafe2wii. cafe2wii disables all the new Wii U hardware (extra memory, GPU, DRH). sets up some vWii compatibility shims, and starts vWii IOS, which just launches the System Menu. The System Menu is a PPC ancast image that just disables the other 2 Espresso cores. There's no emulation involved, everything is done through hardware.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    I @ I-need-help-with-wup-wiiu: i have an issue with loading games on usb with usbloadergx on vwii. Is there anyone that can...