Linux 2.6.28 Porting to Oxnas

This forum is for all other ARMv5 devices

Re: Linux 2.6.28 Porting to Oxnas

Postby redsquare » Mon Dec 05, 2011 4:54 pm

If your interesting in seeing the code / helping out, the (*very alpha*) code can be found here:

https://github.com/redsquare123/OX820-3.1-Linux
redsquare
 
Posts: 18
Joined: Tue Aug 02, 2011 6:37 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby ftcodes » Fri Dec 30, 2011 6:06 pm

Hello,

I am going to build a USB-capable U-Boot 2011.09 and checked through that hacked up 2.6.31 and followed the additions with a visual diff tool (meld to be exactly). And found out that the USB stuff is EHCI but with some initialization code running before it. In a few days, I am going to try that U-Boot port on hardware. If it works, it is exactly that what it looks like from the source and the modification will get on some repository for access. This delay is simply there because too many people already bricked the NAS sold by Medion. You probably read posts by other fellow owners of that PLX 782x based device.

ft (codes is for the minimum length restriction here)
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby WarheadsSE » Fri Dec 30, 2011 6:18 pm

Check my github repo for the sata + net + nand
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby ftcodes » Fri Dec 30, 2011 6:27 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'C')heck my github repo for the sata + net + nand


I have not yet found that reference for the github repo. I have some stuff based on some work of others and my own stuff in a repo too. Might be of use for PogoPlugPro users too. (https://github.com/ft-/NAS7820-Tools)
In addition, I tried to make a recovery HDD for the NAND flash. Currently, Medion NAS only but should be adaptable to PogoPlugPro, too. Too many bricks on the Medion NAS possible. Except if you mean the already mentioned one.
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby WarheadsSE » Fri Dec 30, 2011 6:33 pm

Well, thats the beauty of this method. Since the SoC loads everything directly from the disk, there is no "bricking" the device.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby ftcodes » Fri Dec 30, 2011 6:35 pm

Exactly, but the Medion NAS was sold to all sorts of customers. Stupidly, it seems to include a "brick it" button.
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby WarheadsSE » Fri Dec 30, 2011 6:39 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby ftcodes » Fri Dec 30, 2011 6:43 pm

thanks, so I can check out bits I miss from that hacked up kernel 2.6.31 and put them in a fork in a cleaned up variant.
Modularizing the original kernel from the Medion NAS is just painful. They definitely hacked it up, too. Just that they did not break the XFS support.
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby WarheadsSE » Fri Dec 30, 2011 6:44 pm

See what we've done on the 3.1 kernel. It's much cleaner.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby ftcodes » Fri Dec 30, 2011 6:45 pm

I have not yet looked but I assume that any coder with some pride would do it cleaner.
Did you connect the LED trigger support on the OX820 SATA code?
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 8 guests