Author Topic: Altering kernel in OE  (Read 2913 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Altering kernel in OE
« 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Altering kernel in OE
« Reply #1 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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Altering kernel in OE
« Reply #2 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva