• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: compiling 2.6.30 kernels for openrd  (Read 4881 times)
rc3
Newbie
*

Karma: 0
Posts: 36


View Profile
« on: July 08, 2009, 10:02:40 PM »

I'm not sure this is the right place to post question regarding the openrd rd client (Marvell 88F6281) but anyway I have been trying to recompile a customize kernel for openrd client without success yet. The kernel I've tried is the kernels downloaded from kernel.org, versions 2.6.30 and 2.6.30.1.  The doc on the dvd provides procedures on how to recompile the onboard version of the kernel (2.6.22.18) which does not support uvcvideo hence I'm trying the new versions. I have been following instructions from http://computingplugs.com/index.php/Building_a_custom_kernel. I'm not able to boot with the onboard nand as roootfs either with ubifs support enabled or not but I am able to boot debian lenny [ following http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html ] off a usb disk with non-working network interfaces, could see the eth0 interface, set ip address to it but not able to communicate with other lan devices, but uvcvideo works. I've noticed there's a Yukon device found under "devices/network device support/ethernet (1000 Mbit)" in the patched 2.6.22.18 kernel but found SysKonnect Yukon2 in the 2.6.30 kernels
I have changed the uImage size in arch/arm/mach-kirkwood/rd88f6281-setup.c from 2M to 4M before compiling (this should only make difference when booting off the NAND) but still I am getting not able to open the ubifs root fs (I remember the message said couldn't open ubifs on unknown device XX with an error code 19) I'm now getting the kernel tree from marvel and see if it makes a difference. In the meantime I wonder if anyone has successfully built a customized kernel for their openrd client yet. If so would you please share how you did it? Thanks in advance.
Logged

rc3
Newbie
*

Karma: 0
Posts: 36


View Profile
« Reply #1 on: July 09, 2009, 09:19:56 AM »

With the onboard nand as the root fs, my openrd client hangs at
Quote
UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs", error -19
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0030a64>] (unwind_backtrace+0x0/0xd8) from [<c0369f78>] (panic+0x40/0x108)
[<c0369f78>] (panic+0x40/0x108) from [<c0008e40>] (mount_block_root+0x1d0/0x210)
[<c0008e40>] (mount_block_root+0x1d0/0x210) from [<c0009000>] (prepare_namespace+0x8c/0x1c0)
[<c0009000>] (prepare_namespace+0x8c/0x1c0) from [<c0008400>] (kernel_init+0xb8/0xe4)
[<c0008400>] (kernel_init+0xb8/0xe4) from [<c003d2c8>] (do_exit+0x0/0x5ac)
[<c003d2c8>] (do_exit+0x0/0x5ac) from [<00000000>] (0x0)
I have ubifs support enabled in the kernel.

My env settings are
Quote
setenv console 'console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw'
setenv bootargs $(console) ubi.mtd=1,2048 root=ubi0:rootfs rootfstype=ubifs fb=xgifb
setenv bootcmd 'nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
saveenv

I also have set mainlineLinux to yes.
Logged

Dhaval Vasa
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #2 on: July 24, 2009, 10:54:57 AM »

Greetings,

Mainline kernel for OpenRD is in the works.  Your attempt to build latest kernel with sheevaplug or rd88f6281.c file will not work.

- Dhaval
Logged

Dhaval Vasa
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #3 on: July 24, 2009, 10:56:18 AM »

To add:

Expect OpenRD support in mainline in next 2 weeks.

- Dhaval
Logged

dieterk
Newbie
*

Karma: 0
Posts: 21


View Profile
« Reply #4 on: July 28, 2009, 04:27:09 AM »

Hi Dhaval,

are there any kernel / u-boot patches for openrd allready available? Have had a look at marvell git and there are no commits for openrd for now.
I'm willing to work as beta tester ;-)

Many thanks,
Dieter

To add:

Expect OpenRD support in mainline in next 2 weeks.

- Dhaval
Logged

rc3
Newbie
*

Karma: 0
Posts: 36


View Profile
« Reply #5 on: July 30, 2009, 07:57:01 AM »

@Dhaval Vasa
Thanks for the info. I have joined the openrd group [ http://groups.google.com/group/openrd ].
Logged

Pages: [1]
Print
Jump to: