Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Oct 25, 2014 9:36 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 283 posts ]  Go to page 1, 2, 3, 4, 5 ... 19  Next
Author Message
PostPosted: Mon Oct 22, 2007 12:14 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Hi,
as some of you may have noticed, the guys at marvell are posting some patches to apply to the vanilla kernel to support the 88F5182 SoC (known as Orion-nas). These patches are available in the "linux arm kernel" mailing list ( http://marc.info/?l=linux-arm-kernel&r=1&b=200710&w=2 ) (I'll upload the files soon). There is even 'native' support for the Kurobox Pro.
We also need to get some other patches for USB/Ethernet/SATA support !
For now I've found the following patches :
- USB Host support : http://sourceforge.net/mailarchive/mess ... stofly.org
- Ethernet support (modification of the existing MV643xx ethernet driver) : 9 posts => 1 2 3 4 5 6 7 8 9
I didn't find the SATA driver yet ...
So I tried to boot this kernel with kurobox pro support and it leads to a boot failing with this only error :
Quote:
Error: unrecognized/unsupported processor variant.

It looks like the "Feroceon" core defined by marvell doesn't fit the CPU defined somewhere (where ?). So I compiled the ARMV926T processor support and It pass this step to failed to the next step => the arm device number is unknown ...
I found that it's because the machine type kurobox pro is defined as n° 1509 (in arch/arm/tools/mach-types) but the number that the kernel get (from u-boot) is 526 ... I corrected that to fit my configuration and now I just have nothing after the kernel loading :( I guess that I really need to find why the Feroceon core is not detected correctly !
Feel free to post any of your thought here ;)
Sylver

Edit : the machine type is defined in u-boot (board/mv88fxx81/USP/mv_main.c)
Code:
        /* arch number of Integrator Board */
        gd->bd->bi_arch_number = 526;

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Last edited by Sylver on Fri Apr 18, 2008 3:57 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Oct 22, 2007 10:43 pm 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
Hi Sylver, great work your doing. One thing that's got me though.

What's the difference between DB88F5281 & DB88F5182?
I honestly don't know.. Just wondered that's all, as you've stated both in your post & I've seen them in the linked messages.

I've only seen DB88F5281 in relation to LSPro/live in the past.

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Top
 Profile  
 
PostPosted: Mon Oct 22, 2007 10:56 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Thanks, I'm doing my best for the community, but I'm also learning a lot for my job ;)
5182 is the SoC in the Kurobox Pro/Linkstation Pro.
5281 is another SoC that is almost the same than 5182 but with a hardware floating point unit. It may also have some few other difference but anyway it's not related to our stuff ;)

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
 Profile  
 
PostPosted: Tue Oct 23, 2007 1:22 am 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
This is the SATA interface type code for the HD interface.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Tue Oct 23, 2007 10:34 am 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
lb_worm, I'm afraid not to understand what you're talking about !

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
 Profile  
 
PostPosted: Wed Oct 24, 2007 1:23 am 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
The SoC implementations are emulating either the 5182 or 5281 SCSI devices.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Wed Oct 24, 2007 2:51 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Hum ok I wasn't aware of that !
I've sent an email to Tzachi Perelstein yesterday and he answered me :)
I talked about the problems I had with making things run on the Kurobox Pro and told me that the "Error: unrecognized/unsupported processor variant." issue is normal as 5281 SoC are using a new specific ID (that is linked to the feroceon.S definition), but for the 5182 SoC (the one in the kurobox pro), we should use the arm926.S definition (with some Orion specific changes).

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
 Profile  
 
PostPosted: Fri Oct 26, 2007 11:31 am 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
also different processors as you have found out.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 10:37 am 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
from the a-l-k mailing list :

Quote:
Just to let you know that the latest support for the Marvell ARM-based
Orion SOC family aimed for mainline inclusion is now available from the
following Git repository:

git://git.kernel.org/pub/scm/linux/kern ... /orion.git

and can also be browsed from the following gitweb URL:

http://git.kernel.org/?p=linux/kernel/g ... /orion.git
[...]

It looks like I have something to play with ;)

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 11:26 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
the git stuff looks very promising..especially as it is hosted at kernel.org!

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 1:23 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Well, there are some stuff that are (according to the comments) not to be merged in the vanilla kernel yet (like the SATA driver). Moreover they will update stuff on it to support XOR and CESA engines that can't be merged in the vanilla kernel unless there are some heavy changes in the kernel ...
I'll try the git stuff ASAP, the only thing to do to boot the kernel on a kurobox pro is to change the mach-type file to have the right platform type, and after that, I'll merge the buffalo stuff (MICON V2 ...) in it to have a fully working box ;)

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 1:27 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
i ask myself what else needed to be done to boot the kernel on a LS Pro/LS Live?

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 1:40 pm 
Offline
Developer

Joined: Mon Oct 03, 2005 11:32 pm
Posts: 399
Location: France
Nothing I guess ! Maybe just removing the NAND flash declaration as it's not on the LS Pro/Live ...

_________________
Kurobox Pro 500GB (for dev) / Freelink / 2.6.26-rc4 kernel, QNAP TS-409 Pro 1TB, Maxtor Shared Storage II 500GB


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 6:49 pm 
Offline
Moderator
User avatar

Joined: Tue May 23, 2006 9:20 pm
Posts: 366
Location: Chicago USA
Sylver wrote:
Well, there are some stuff that are (according to the comments) not to be merged in the vanilla kernel yet (like the SATA driver). Moreover they will update stuff on it to support XOR and CESA engines that can't be merged in the vanilla kernel unless there are some heavy changes in the kernel ...
I'll try the git stuff ASAP, the only thing to do to boot the kernel on a kurobox pro is to change the mach-type file to have the right platform type, and after that, I'll merge the buffalo stuff (MICON V2 ...) in it to have a fully working box ;)


So if I understand that, there isn't going to be inclusion of the SATA driver in the vanilla kernel, but with the SoC support in the kernel, is there a stable SATA driver to be able to patch with? or is that not an option?

_________________
1 LS-GL: (FreeLink - 2.6.22 kernel)- backup and media server...
As of June 11, 2010:
admin@LS320:~$ uptime
20:23:40 up 417 days, 20:09, 1 user, load average: 0.20, 0.21, 0.30

That's only because I had to move that time ago. Love this box and this community, wish I had more time to dedicate to it.


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 7:21 pm 
Offline
Developer

Joined: Tue Jul 24, 2007 4:43 pm
Posts: 113
Location: UK
goat wrote:
So if I understand that, there isn't going to be inclusion of the SATA driver in the vanilla kernel, but with the SoC support in the kernel, is there a stable SATA driver to be able to patch with? or is that not an option?


As I understand it the sata_mv driver that is already in mainline should work with minimal changes. The current problem is that sata_mv uses the PCI bus and the stock kernels don't have a proper driver for it (try running lspci). jonli447 mentioned writing a proper PCI driver and then modifying sata_mv to work with the SoC SATA but there's already a PCI/PCIE driver from Tzachi.

The full post about the Orion Git repository is at http://thread.gmane.org/gmane.linux.ports.arm.kernel/35565

I should have some time to do some testing with this on the lspro next week and I'll try and get some more work done on the I2C driver.

_________________
Byron Bradley


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 283 posts ]  Go to page 1, 2, 3, 4, 5 ... 19  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group