Linux 2.6.28 Porting to Oxnas

This forum is for all other ARMv5 devices

Re: Linux 2.6.28 Porting to Oxnas

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

At this point, leds are behind getting sata working.. but USB is cleaned up.
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:51 pm

What is the status of the SATA code in V3.1?

Since I have two hard drives suitable for it, it would be possible for me to provide some testing and coding for that driver.

A clean kernel is what I am daring for on that device anyways. Same what I am currently after on that U-Boot 2011.09. Too much hack-up in the U-Boot 1.1.2 code, too.
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:53 pm

It's not working :p
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:55 pm

Thats why I mentioned testing and coding. ;)
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:56 pm

$this->bbcode_second_pass_quote('ftcodes', 'W')hat is the status of the SATA code in V3.1?

You asked! ;)
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:57 pm

I know and got an answer which definitely ranks to coding badly needed. I think practicing on that U-Boot first will give me the understanding for that SATA core anyways.
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby ftcodes » Fri Dec 30, 2011 7:30 pm

There is definitely some code which the Medion NAS Kernel has. I will check on that when I know that I can get the SATA code working on the U-Boot 2011.09. U-Boot porting is a lot simpler than kernel porting. From my point of view, the 3.1 kernel is definitely worthy to be used as a basis for cleaning up that OX820 driver.
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby ftcodes » Sat Dec 31, 2011 4:09 pm

Do you have a .config for me to compile that kernel? Since it keeps telling me about exceeding the Leon SRAM.
ftcodes
 
Posts: 49
Joined: Fri Dec 30, 2011 5:49 pm

Re: Linux 2.6.28 Porting to Oxnas

Postby WarheadsSE » Sat Dec 31, 2011 6:53 pm

make ox820_pogoplug_defconfig
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 » Sun Jan 01, 2012 1:28 am

I reorganized that beast as you can see here https://github.com/ft-/OX820-3.1-Linux.
I have not yet had the ability to test it. My device is sitting at home but not me.

Short summary about changes:
- Reorganized code structure
- Moved config parameters into module parameters
- Added LED trigger support
- Removed Direct SATA stuff
- Removed complex locking stuff from Direct SATA and MD hwraid bridging. (Not supported by 3.1 SATA layer anyways)
- Fixed PRD stuff (Important bits that were missing)
- Corrected indentation

If you like, you can try it but I cannot tell yet whether it will work. Not tested as of now but that will come when I am back at home.
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 42 guests