OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => OpenZaurus/Opie/Qtopia => Topic started by: lardman on February 25, 2004, 03:40:12 pm

Title: Altering kernel in OE
Post by: lardman on February 25, 2004, 03:40:12 pm
Just a couple of quick ones.

I see (in the .oe file I think) two setttings - mem and rd what do these do? If I want a 64-0 ROM how should I specify this?

I\'m trying to compile storage_fd for the sl5500 (what I\'ve been trying is altering the config settings, running oebuild to apply patches etc., then copy the storage_fd dir across from the c860 kernel source and alter the config.in and makefile in the devices dir, then delete the compile \'stamp\' and run oebuild again - no luck so far).

I\'ve altered defconfig-collie (and defconfig-) in linux/openzaurus-sa-2.4.18-rmk7-pxa3-embedix20030509/ to enable CONFIG_USB_STORAGE, but despite these attempts .config in the linux working directory shows that CONFIG_USB_STORAGE is not set. Now I can imagine that I\'ve not enabled enough stuff (I think I need some form of SCSI too), but surely CONFIG_USB_STORAGE would be indicated as enabled? Am I doing this the right way?

Cheers,


Si
Title: Altering kernel in OE
Post by: Mickeyl on February 25, 2004, 04:55:10 pm
mem is memory, rd is ramdisk - so for a 64-0 kernel choose MEM=64 and RD=0.
You can\'t just put an additional .o file and enable this via CONFIG_ option. It doesn\'t work _that_ easy. You need to do register it with the config.in system of the kernel. Can\'t tell you more, \'cause I don\'t know anything about kernel work.
Title: Altering kernel in OE
Post by: lardman on February 25, 2004, 06:28:37 pm
I am actually trying to register it using the CONFIG_ setting (CONFIG_USB_STORAGE to be exact), but I\'m just wondering where I should make this change. Am I right in thinking that altering the defconfig- or defconfig-collie should do the trick (because it doesn\'t seem to)?


Si