Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Nov 18, 2017 5:46 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Build Freelink Kernel
PostPosted: Wed Apr 23, 2008 12:50 pm 
Offline
Newbie

Joined: Wed Mar 26, 2008 12:15 am
Posts: 5
Hello All:

I'm somewhat new to the Kurobox but am no newbie to Linux in general. I have a Pro running Freelink (manual install) with the 2.6.16.57-arm5 kernel. I'd like to rebuild the kernel so that it would support a USB Webcam. I have downloaded the 2.6.16.57 source from kernel.org and have been able to configure/build it. But now I'm leary about actually attempting to boot with it.

My questions are...
* Is there any patches required to get this kernel to operate correctly on the KB Pro?
* Does anyone have a baseline .config file that they could share? I'm concerned that if I don't make the correct choices for the KB Pro during 'make config' that I'll end up breaking the thing.

I've built the Linux kernel many times before on PC's so I'm not entirely new to the process. Building it correctly for the KB Pro is what's giving me heartburn.

Any advice/information would be greatly appreciated.


Top
   
PostPosted: Thu Apr 24, 2008 12:20 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Do you have a serial connection available before you attempt this so you can see the boot process?

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Thu Apr 24, 2008 1:56 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
1) patch + config
ftp://ftp.dmik.org/pub/common/buffalo/lspro/duncan_h/
2) you need to install the codesourcery 2005q3 crosstoolchain
3) execute "export ARCH=arm" before executing "make menuconfig" or "make oldconfig"

_________________
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 Apr 27, 2008 3:32 pm 
Offline
Newbie

Joined: Wed Mar 26, 2008 12:15 am
Posts: 5
Thanks all for the replies; this is exactly what I needed.

Yes I do have a serial connection; in fact I'm planning on naming the new image something other than uImage (perhaps uImage.experimental) and changing the bootcmd to point at that new kernel image in /boot. This way if it doesn't boot properly I can reboot with the old image till I figure out what went wrong.

Time to get down to business...

Thanks Again!


Top
   
PostPosted: Mon Apr 28, 2008 12:18 am 
Offline
Newbie

Joined: Tue Apr 15, 2008 3:38 pm
Posts: 29
Location: Tahiti (French Polynesia)
Hi,

Did you hear about the new linux kernel 2.6.25 "vanilla" ?

if you look at this forum, it seems this kernel incorporates a lot of kurobox pro's chip specifications.

What do you think about compiling this one ?

_________________
MacBook (Mac OS X 10.5)
Kurobox Pro / Dreambox 7020 / HDX101
Home automation (X10 and iRobot Scooba)


Top
   
PostPosted: Mon May 19, 2008 3:49 pm 
Offline
Newbie

Joined: Wed Mar 26, 2008 12:15 am
Posts: 5
Hello All...

Well I thought I was doing good here.. I grabbed the linux-2.6.16_lsp.1.7.8.tar.gz tarball and the patch and config files from ftp://ftp.dmik.org/pub/common/buffalo/lspro/duncan_h/, applied the patch to the source and used menuconfig to change the USB Host support from built-in to loadable modules. Compiled and loaded onto the KP and it booted perfectly. The problem now is that I can't seem to get USB to work at all anymore. I've tried modprobe-ing the usbcore modules, and still no devices are recognized. modprobe returns an error whenever I try loading any ehci host module now.

Is there a patch that must be applied to the source to get USB support to work vial loadable modules? I'm stumped at this point and any advice would be appreciated.

Thanks,

artq


Top
   
PostPosted: Mon May 19, 2008 7:16 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
It needs to be built in USB not loadable.

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Mon May 19, 2008 8:09 pm 
Offline
Newbie

Joined: Wed Mar 26, 2008 12:15 am
Posts: 5
Thanks lb_worm. This is disappointing. I was hoping to be able to force USB 1.1 mode when necessary because I'm having trouble getting webcams to work. It has been suggested in other forums that USB 2.0 may be the culprit.

Why is it that in the KB Pro that the USB Host drivers must be built into the kernel rather than loadable modules?

Thanks,

artq


Top
   
PostPosted: Wed May 21, 2008 9:06 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
It needs to be initialised at startup. Both the 1.1 and 2.0 drivers should be installed. If the device is only a 1.1 device then the kernel should only use the slower none hci driver. Is the webcam a USB 2 device then?

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Thu May 22, 2008 9:27 pm 
Offline
Newbie

Joined: Wed Mar 26, 2008 12:15 am
Posts: 5
The webcam is an old Logitech Quickcam Pro 3000; USB1.1 I believe. I finally got the thing to work by downloading the latest pwc driver source and compiling that. Apparently the version that came with the the 2.6.16.57 kernel is too old. The pwc version I downloaded was 10.0.11.

Now that I have the camera working, I realize that the KB Pro just seems too lightweight to handle the load of streaming video from a USB webcam anyway. Oh well, a learning experience it was.

Thanks!

artq


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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