**** BEGIN LOGGING AT Mon Aug 31 02:59:57 2009 Aug 31 07:13:45 morning Aug 31 11:28:50 what is the best place to fetch a recent kernel (+ modules)? Aug 31 11:32:16 git.marvell.com/orion.git Aug 31 11:32:58 zumbi, thanks, but actually would like to have a compiled one, not compile myself Aug 31 11:33:02 found this: http://sheeva.with-linux.com/sheeva/index.php Aug 31 11:33:08 http://sheeva.with-linux.com/sheeva/ Aug 31 11:34:27 zumba, will try that one, thanks Aug 31 11:35:39 hope these work also for open-rd Aug 31 11:41:57 does the openembedded kernel work for it? hrmm, i should update that... Aug 31 11:43:18 the oe kernel is also supposed to work on sheeva, there is a machine in oe, never tried it myself Aug 31 11:43:39 and guess/hope it would work on open-rd too Aug 31 11:46:29 yeah it works on sheeva (or did when it got committed) Aug 31 12:45:57 anyone an idea how to boot from the open-rd internal hard disk; I am looking for the proper uboot cmd to do so, my kernel is on /dev/sda3 on a fat partition Aug 31 13:12:08 eFfeM: look for ext2load Aug 31 13:13:16 eFfeM: as i told you, i doubt those compiled kernels will have openrd support, as i already told you it fails to build Aug 31 13:15:22 and definitely you should get used to compile your kernel in that kind of device :) Aug 31 13:17:57 errr Aug 31 13:18:11 eFfeM: and in case its on a fat partition, look for fatload :) Aug 31 13:36:23 sorry was called away Aug 31 13:37:02 armin76: yeah i should be able to compile myself, but didn't want to change two things in one go Aug 31 13:37:24 thought about fatload, but not sure about the name of the device subsystem Aug 31 13:37:41 try ide Aug 31 13:38:30 at least on an orion-based board i have sata = ide Aug 31 13:39:08 ok, will do Aug 31 13:39:17 and partition 3 is 0:3 ? Aug 31 13:39:36 probably Aug 31 13:45:30 thanks, it is indeed 0:3, need to do an ide reset first to get things going Aug 31 13:50:38 got it booting but apparently it does not like my line root=/dev/sda2 when booting Aug 31 13:51:24 guess I have to rebuild the kernel, assume the needed hard disk driver is not in Aug 31 14:13:17 eFfeM: what error did it gave? Aug 31 14:19:29 armin76: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Aug 31 14:19:58 i cloned the orion git and did a menuconfig to enable sata Aug 31 14:20:18 now busy getting arm-2008q3 Aug 31 14:20:29 see, you had to compile your kernel :D Aug 31 14:20:46 i'm following these instructions: http://computingplugs.com/index.php/Building_a_custom_kernel Aug 31 14:20:49 armin76: :-) Aug 31 14:20:52 you told me Aug 31 14:21:26 it is just that i want to do things step by step Aug 31 14:21:40 are you sure the disk wasn't detected¿ Aug 31 14:21:42 ? Aug 31 14:21:49 (and sorry if this is inappropriate, but for my beagleboard I can find all kind of images to start with) Aug 31 14:22:06 armin76: i could not find anything in the log which tells about the drive Aug 31 14:22:17 yeah, but the beagleboard is "old" compared to the openrd :) Aug 31 14:22:32 and the default kirkwood config has no sata Aug 31 14:22:42 heck even sheeva is old compared to openrd Aug 31 14:22:54 got my sheeva last april or so Aug 31 14:23:30 besides the beagleboard has soundcard, the openrd doesn't, right? Aug 31 14:23:37 besides its armv7 vs armv5 :) Aug 31 14:23:42 armv5te to be more exact Aug 31 14:23:51 btw been told that code sourcery compiles better than gcc Aug 31 14:23:56 beagle is cortex A8 Aug 31 14:24:11 armv7 :) Aug 31 14:24:32 didn't look at the hw schematics but my openrd client has speaker out and mic in Aug 31 14:25:03 kernel is compiling; /me keeps fingers crossed Aug 31 14:26:48 In addition, the OpenRD-Client extends its capabilities with a 2D-GPU (Graphics Processing Unit) with a VGA Connector and Audio In/Out. Aug 31 14:26:50 * armin76 was wrong Aug 31 14:27:05 yes, at the expense of the pci-e connector Aug 31 14:27:15 which was needed for the vga Aug 31 14:27:55 * eFfeM thinks it is fun to live at the bleeding edge, but also often frustrating. Still the fun wins :-) Aug 31 14:57:13 armin76: made my own kernel, but no success yet, it still refuses to read the root fs; see the log at http://www.pastebin.ca/1549267 Aug 31 14:57:34 and the good thing is of course that I managed to build my own kernel with opensourcery Aug 31 14:58:47 guess the chipsets in the ata section of menuconfig are all for ide Aug 31 14:59:20 eFfeM: have a bootlog of the original kernel for comparing? Aug 31 14:59:30 also you're using sheevaplug as machine Aug 31 15:01:07 and i don't see the sata driver loaded either Aug 31 15:01:39 unless its that xor thing Aug 31 15:05:44 noe it is not Aug 31 15:05:51 will change the machine Aug 31 15:06:20 will make an original bootlog later Aug 31 15:06:47 do you have CONFIG_SATA_MV=y in your kernel config¿ Aug 31 15:07:33 now that i remember it... Aug 31 15:07:36 sata_mv 0000:00:01.0: version 1.25 Aug 31 15:07:36 sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx Aug 31 15:07:41 thats from my orion box, with sata Aug 31 15:07:43 in the section marvell kirkwood implementation everything is checked except openrd base (and there is no openrd client) Aug 31 15:08:08 yup, and that one fails to build, focus on the driver first, make sure you have that one Aug 31 15:08:26 hm: # CONFIG_BLK_DEV_IDE_SATA is not set Aug 31 15:10:21 if it boots with the sheevaplug machine config, you should be happy :) Aug 31 15:11:00 CONFIG_SATA_MV=y Aug 31 15:11:18 and the DEV_IDE_SATA should not be set, it is deprecated and conflicts witl libsata Aug 31 15:12:00 maybe the sata controller on the kirkwood platform is not supported by that kernel Aug 31 15:12:42 could be Aug 31 15:14:26 found that arcnumber for openrd client is different Aug 31 15:14:51 setenv arcNumber 2361 Aug 31 15:15:02 says http://code.google.com/p/openrd/wiki/UbootConfigForMainLineKernel Aug 31 15:15:57 machine is not supported :-( Aug 31 15:15:58 Error: unrecognized/unsupported machine ID (r1 = 0x00000939). Aug 31 15:19:09 eFfeM: kernel support for openrd base was added only 3 days ago Aug 31 15:19:19 ah ok Aug 31 15:19:35 until it doesn't show up on the kirkwood implementations i would forget about it Aug 31 15:19:56 figured that as there was a .22 kernel installed that the latest sources also should support the board Aug 31 15:20:31 will see if the original kernel supports sata, still have that one in flash Aug 31 15:20:44 well, the .22 kernel is patched by marvell Aug 31 15:20:46 but if i cannot rebuild, i cannot add new modules :-( Aug 31 15:20:50 it has stuff the mainline doesn't have Aug 31 15:21:08 the sheevaplug site has the sources for that kernel Aug 31 15:21:18 but i guess it doesn't support openrd, check it if you're bored Aug 31 15:21:20 oh, i thought marvell controlled/owned the orion git Aug 31 15:21:31 they do Aug 31 15:21:50 but that repository is for merging with the mainline kernel Aug 31 15:21:59 understood Aug 31 15:22:23 its like u-boot Aug 31 15:22:50 the sheevaplug support on the mainline u-boot is a bit wonky Aug 31 15:23:11 marvell's version is very old Aug 31 15:23:16 but works nice :) Aug 31 15:24:37 true Aug 31 15:24:50 it sometimes is a pain to get u-boot changes merged back Aug 31 15:25:52 tell that to the marvell guy who has been with that since april or so :) Aug 31 15:26:48 not needed,he knows that by heart by now Aug 31 15:27:35 rebooted the original .22 kernel, this one does have sata support Aug 31 15:28:40 see :) Aug 31 15:29:17 cool Aug 31 15:30:09 root Aug 31 15:38:16 eFfeM: There is no way a SheevaPlug kernel would work with an OpenRD board Aug 31 15:38:25 They are very different beasts Aug 31 16:07:00 tinker, was afk for food Aug 31 16:07:20 i would expect them to be quite similar as it they contain the same cpu Aug 31 16:10:14 that does not make any sense at all Aug 31 16:10:55 most of the peripherals are in the SoC Aug 31 16:11:31 the word is most, not all plus the GPIO are used for special purposes Aug 31 16:11:37 so technically they could be made fairly equal Aug 31 16:12:02 true, different external circuitry complicates things Aug 31 16:12:52 thinking "fairly equal" is equivalent to identical is the road to disaster in software development Aug 31 16:13:25 i know Aug 31 16:13:46 eFfeM: if I had been interviewing you for a software development job you would have been rejected based on that answer Aug 31 16:13:48 then again if I have to make two systems, i try to make them as compatible as possible Aug 31 16:13:55 Aug 31 16:14:33 i know they are probably designed the other way around, but sheeva could easily have been a fully compatible subset of openrd Aug 31 16:14:34 what you do is you have code fbranch/orks for the areas of differences Aug 31 16:15:18 well need to go to work Aug 31 16:15:30 have fun reading the source ... Aug 31 16:15:33 anyway, what I did now was put my root fs on hard disk and use the std kernel Aug 31 16:15:39 the .22 one Aug 31 16:15:53 and use the ubuntu rfs after adding the .22 modules Aug 31 16:15:56 works like a charm Aug 31 16:16:09 gone for a while Aug 31 16:16:25 later Aug 31 17:38:46 re Sep 01 02:41:49 Ef **** ENDING LOGGING AT Tue Sep 01 02:59:57 2009