Buffalo NAS-Central Forums

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

All times are UTC+01:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Tue May 13, 2008 11:47 am 
Offline
Newbie

Joined: Tue May 13, 2008 11:42 am
Posts: 5
Hi Guys

Instead of using the orion kernel I thought I would have a go at the latest stable since it has a lot of hardware support for the kuro/linkstation pro's now.

I've just tried to compile the vanilla kernel from source (linux-2.6.25.2) however it doesnt boot. Can anyone tell me what patches need to be applied to the vanilla kernel if required and or post a working .config

Thanks

Rob


Top
   
PostPosted: Tue May 13, 2008 11:52 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
the defconfig for foonas + patches can be seen here (scroll down until you see "linux orion"):
http://svn.foonas.org/listing.php?repna ... nux-orion_

defconfig for foonas:
http://svn.foonas.org/filedetails.php?r ... g-2.6.25.3

_________________
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: Tue May 13, 2008 12:25 pm 
Offline
Newbie

Joined: Tue May 13, 2008 11:42 am
Posts: 5
Thanks mindbender. Compiling now :)


Top
   
PostPosted: Sat May 17, 2008 6:50 am 
Offline
Newbie

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

Could you post your compiled kernel and explain how to upgrade an old kernel with this one ?

Thanks

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


Top
   
PostPosted: Sat May 17, 2008 9:32 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
notice that the current vanilla kernel does not boot with the stock XFS filesystems. the filesystems need to be recreated with the vanilla kernel to work properly....but when doing this i would move to JFS anyway.

if tared up properly the installation should be similar to viewtopic.php?f=18&t=4329&p=40419#p40419

you need the kernel to be in /boot/uImage.buffalo and the kernel modules need to be at /etc/modules/<kernel-name>/

_________________
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 18, 2008 12:51 am 
Offline
Newbie

Joined: Tue May 13, 2008 11:42 am
Posts: 5
I'm still having trouble with booting from the compiled kernel just after Uncompressing Kernel during uBoot it stops with no further output to the serial console.

My last attempt was to use the foonas config file on the vanilla 2.6.25.3 kernel with the only patch applied the machine type patch. I've also tried many other patches previously can get everything to compile but always have the same problem above.

My relevant uBoot enviroment variables are:
enaWrAllo=no
bootargs=console=ttyS0,115200 mem=128M root=/dev/sda2 rw panic=5 BOOTVER=1.09
bootcmd 'ide reset;ext2load ide 0:1 0x00100000 /1uImage; bootm 0x00100000'


I'm running freelink (manual install) did a dist-upgrade to lenny with ext3 on both boot partition and root. Once I get this working will be happy to upload kernel on my webserver and/or add a wiki entry.

Heres the output from console:
Quote:
Orion1 CPU = Low

=== KURO U-Boot. ===
** LOADER **
** KUROBOX BOARD: KURO_BOX LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Apr 10 2007 - 18:10:08) Marvell version: 1.12.1 - TINY

DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB
[256kB@fffc0000] Flash: 256 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
NAND: 256 MB

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 500Mhz
Orion 1 streaming disabled
SysClock = 250Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: egiga0 [PRIME]
Using 88E1118 phy
Found boot image
hit any key to switch tftp boot.
Hit any key to stop autoboot: 2  1  0
<<system_bootend>>
Hit any key to stop autoboot: 3  2  1  0

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: ST3500320AS Firm: SD04 Ser#: 9QM03E9W
Type: Hard Disk
Supports 48-bit addressing
Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
Type: U-Boot File:/uImage

1940672 bytes read
<<stop_sound>>
## Booting image at 00100000 ...
Image Name: Linux-2.6.26-rc2-00464-g715773e-
Created: 2008-05-17 10:23:38 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1940608 Bytes = 1.9 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

arg:console=ttyS0,115200 mem=128M root=/dev/sda2 rw panic=5 BOOTVER=1.09
Uncompressing Linux............................................................................................................................. done, booting the kernel.


After that it just retries over and over but gets nowhere, image size isnt the problem so not sure..


Top
   
PostPosted: Sun May 18, 2008 12:56 am 
Offline
Newbie

Joined: Tue May 13, 2008 11:42 am
Posts: 5
Till then I'm booting just fine with 2.6.16.57-arm5


Top
   
PostPosted: Mon May 19, 2008 8:42 am 
Offline
Newbie

Joined: Tue May 13, 2008 11:42 am
Posts: 5
Ok can compile kernel fine and boot it ok now. So will redo everything from scratch this weekend then provide some gzip files + instructions for those who want them.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 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