Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Nov 20, 2017 1:17 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 103 posts ]  Go to page 1 2 3 4 57 Next
Author Message
PostPosted: Tue May 02, 2006 7:31 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
sorry for the crossposting....but i do not want to start new important topics in this forum as we do not know how long this forum lasts really.....also i can`t make a topic sticky here....

here is the link:
http://www5.atwiki.jp/kuro-bsd/pages/132.html

_________________
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
   
PostPosted: Sun May 14, 2006 11:12 am 
Offline
Regular Member

Joined: Sat Feb 11, 2006 4:24 pm
Posts: 119
Location: Germany
Hi there,

as the new forum is not available anymore, can you let us know the status of this ?

Thanks,
kind regards


Top
   
PostPosted: Sun May 14, 2006 1:27 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
nothing has been done till now.

i hope i find the links again.....

but at least i have those binaries.

the next step we had to do is compiling the 2.4.20_sandpoint kernel from buffalo.

then try if the mips-loader.o loads it.

if yes, then the loader works.

as a next step we would have to port the arch-specific stuff of the 2.6-kernel for mips....the same that was done by the kurobox-patch.

after that we are at the same level of development as with the ppc-linkstations.

is there anyone that has a LS2 (mips) and can try to compile a working kernel with the mips-GPL-source available from the downloadsection?

_________________
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
   
PostPosted: Sun May 14, 2006 3:38 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
to port the arch specific stuff of the 2.6-kernel i would download the 2.4.20-kernel from www.kernel.org and then look what differences there between the buffalo-2.4.20-kernel and the original 2.4.20.

this differences should be the stuff that is needed for the 2.6-kernel.

i expect that there will be the ext2/ext3-magic-number (of course), but we can use the melfs-patch javascout created as this is generic arch-independent stuff. so this work is already done.

we only really need to port the arch-specific-stuff (mips).....maybe there is not that much work to do.

at the moment we have more work to get this wiki + forum running in another location...tommorow evening (europe) will be the moment when we finally act.....if frontalot doesn`t not show up i will register a new account at www.powweb.com and the migration of the content starts again.

i hope many of you will help....then we have everything online again soon.

_________________
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
   
PostPosted: Sun May 14, 2006 10:44 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
look at this link:
http://www5.atwiki.jp/kuro-bsd/pages/132.html

use this if you want to decipher it to broken english:
http://www.google.com/language_tools

a new loader.o for mips is there. the word "ALPHA" is missing so they let me assume that it works

also there is tutorial for compiling the kernel and loading it with loader.o.

i need someone with a LS2 (mips) to try to compile the kernel as described and then tries to load the kernel.
if it works we are much closer to get the 2.6-kernel running as we then definitely know that we can load selfcompiled kernels.

isn`t there one out there with a LS2 that wants to help me?

then we can go on and try to modify the kernel-source as needed.


look to http://unet.univie.ac.at/~a0025690

i have just added two links.

i created some diffs between the 2.4.20-kernel from www.kernel.org and the 2.4.20_mipsel_linkstation (which is inside the GPL-Package for the LS2...http://buffalo.nas-central.org/downlo ... hdhlan.zip)

1) a "arch/mips"-folder-diff

direct link:
http://www.unet.univie.ac.at/~a0025690/kernel_diff.txt

2) a "kernel"-diff

direct link:
http://www.unet.univie.ac.at/~a0025690/arch_mips_diff.txt

there are quite some differences.

what do you guys think about? i mean...is it possible to adapt the new 2.6-kernel the way that it boots on the LS2?
or is it too much work?

_________________
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
   
PostPosted: Mon May 15, 2006 8:58 pm 
Offline
Regular Member

Joined: Sat Aug 06, 2005 3:48 pm
Posts: 111
Parts of the diffs look as if they are from Alan Cox's 2.4 "ac" branch, and other parts look as if things have been back-ported from 2.5 (maybe also by Alan Cox via his ac branch, I really don't remember branch contents by heart).

Regarding an LSII. Mine is "in production", and I can't upset the current users, sorry.


Top
   
PostPosted: Wed May 17, 2006 3:04 pm 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
is there anyone that has a LS2 (mips) and can try to compile a working kernel with the mips-GPL-source available from the downloadsection?


I've a LS2 - unfortunately I've got more than zero experiance with compiling kernels!!

I'll use it if no-one else with better knowledge comes up, or theres a fool proof howto


Top
   
PostPosted: Wed May 17, 2006 3:10 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
look here:

http://www5.atwiki.jp/kuro-bsd/pages/132.html

there is a step by step tutorial. i modified it a bit because of the suggestions of andre. See below.

the only thing you have to be carefull is that you cannot extract it to /usr/src....you have to extract it somewhere on hda3.

i would suggest you create an additional folder on hda3 and "mount --bind" it to /usr/src.....then it seems to the system as if it was normaly there...

you can follow this

1) install andre`s bootloader

2) compile the kernel
* Get the kernel source (linux-2.4.20_mipsel_linkstation.tar.gz) in gpl_mipsel-hdhlan.zip.
* Extract it.
* Copy the "sample_config/defconfig-linkstation-hlanv2" (in my archive) as ".config".
* "make oldconfig"
* "make dep"
* "make vmlinux"
* "objcopy -O binary vmlinux /bootII/vmlinuxII.bin"


then it is time to test if it works...

ask some questions if something is unclear, i will try to support you.

_________________
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
   
PostPosted: Wed May 17, 2006 3:14 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Two remarks: I would go with an uncompressed kernel (make vmlinux, not make zImage); and I would use my bootloader, as it's never advisable to use insmod directly (objcopy -O binary vmlinux /bootII/vmlinuxII.bin, not objcopy -O binary zImage zImage.bin)


Top
   
PostPosted: Wed May 17, 2006 3:29 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
hmmm. we do not need to compile the kernel from source for testing.

there is one that can be downloaded directly there:

http://www5.atwiki.jp/kuro-bsd/?cmd=upload&act=open&pageid=132&file=zImage.bin

you would only have to put the mips-loader.o in the same folder as this image and then:

insmod loader.o kernel=zImage.bin

then give use the output of

uname -a

_________________
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
   
PostPosted: Wed May 17, 2006 3:33 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Ouch: My bootloader requires either "kurobox" or "linkstation" in "uname -r" (CONFIG_LOCALVERSION) of the new kernel. So the kernel would boot once, and on your next boot, you would be using the old kernel. You must move /bootII/try_new_kernel.running manually to /bootII/try_new_kernel if you want to reboot into the new kernel the second time.


Top
   
PostPosted: Wed May 17, 2006 3:37 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
opps. Good to see progress has been made with the MIPSEL!

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Wed May 17, 2006 5:07 pm 
Offline
Betatester
User avatar

Joined: Thu Jul 14, 2005 4:38 pm
Posts: 941
Location: England
I've just put the zImage.bin and loader.o (from loader_mips.20060415.tar.bz2) into a folder and did insmod loader.o kernel=zImage.bin

root@LINKSTATION2:~# uname -a
Linux LINKSTATION2 2.4.20_mipsel_linkstation #41 Fri Apr 14 22:43:20 JST 2006 mips unknown

didn't reboot - got 6 lights but pressed the power button and it came back on showing

root@LINKSTATION2:~# uname -a
Linux LINKSTATION2 2.4.20_mipsel_linkstation #88 2005ǯ 2·ÃƒÂ® 25Æü ¶âÍËÆü 20:17:00 JST mips unknown

if it helps


Top
   
PostPosted: Wed May 17, 2006 9:08 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
looks like the loader.o is working. great.

i do not know why you got 6 lights but at least it worked.

_________________
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
   
PostPosted: Thu May 18, 2006 6:25 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
I'll prepare a special bootloader that will test for the existence of "2006" in `uname -a`. It should be able to boot custom kernels for a while. Will keep you posted.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 103 posts ]  Go to page 1 2 3 4 57 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 7 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:
Powered by phpBB® Forum Software © phpBB Limited