• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: kernel change part 2  (Read 1257 times)
peter a
Full Member
***

Karma: 0
Posts: 132


View Profile
« on: February 16, 2010, 08:29:38 AM »

I have a Esata version of the sheevaplug supplied from new it.
Sorry I`m new to linux, so slowly, but surely getting to know it, mainly by trial and error, mostly error.
I`ve worked out booting from USB or SD card etc and not booting from the nand kernel drops to sata port.
( The Esata port has been tested and works with the nand kernel )
I`m looking how to make a new kernel with built in support for Esata and usb FTDI.
So how do I add FTDI support to the one in the nand or add Esata support to the one there
http://sheeva.with-linux.com/sheeva/index.php?dir=2.6.32.8%2F  Which as FTDI support?
Logged

peter a
Full Member
***

Karma: 0
Posts: 132


View Profile
« Reply #1 on: February 17, 2010, 04:27:23 PM »

Wow , That was easy !! , I didn`t even think it would compile never mind boot from.
I followed :-
http://www.computingplugs.com/index.php/Building_a_custom_kernel   and
http://plugcomputer.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer
Picking the best bits from each.
Downloaded - linux-2.6.32.8.tar from kernel.org and codeSourcery - arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar
Left the Kernel config at default, for I did know what the hell most of the setting was, So default looked the safer way.

So I`m left with a string of errors all todo with ipv6.

After doing a make ARCH=arm menuconfig , I`ve found that IPv6 is marked with a ( M ) to say it`s a module.

I have a Kernel folder which it generated which Net, lib, fs, drivers , crypto with file inside with a .ko extension.



OOOP a case of RTFM ... error free .
Where are I meant to put these file ?
The instructions says the Lib file ?
« Last Edit: February 17, 2010, 04:47:54 PM by peter a » Logged

marcus
Jr. Member
**

Karma: 5
Posts: 83


View Profile
« Reply #2 on: February 18, 2010, 02:19:06 PM »

Modules go in /lib/modules/<version number>

For example:

Code:
root@ubuntu:~# ls -al /lib/modules/2.6.30.2/
total 616
drwxr-xr-x 3 root root   1248 Jan 28  2000 .
drwxr-xr-x 3 root root    232 Jan 28  2000 ..
lrwxrwxrwx 1 root root     65 Jan 28  2000 build -> /home/kelly/src/Sheeva/SheevaPlug_LSP/Sources/linux-2.6.30.2-work
drwxr-xr-x 8 root root    544 Jan 28  2000 kernel
-rw-r--r-- 1 root root 112084 Jul 23  2009 modules.alias
-rw-r--r-- 1 root root     69 Jul 23  2009 modules.ccwmap
-rw-r--r-- 1 root root  53823 Jul 23  2009 modules.dep
-rw-r--r-- 1 root root     73 Jul 23  2009 modules.ieee1394map
-rw-r--r-- 1 root root    141 Jul 23  2009 modules.inputmap
-rw-r--r-- 1 root root     81 Jul 23  2009 modules.isapnpmap
-rw-r--r-- 1 root root     74 Jul 23  2009 modules.ofmap
-rw-r--r-- 1 root root  15049 Jul 23  2009 modules.order
-rw-r--r-- 1 root root    281 Jul 23  2009 modules.pcimap
-rw-r--r-- 1 root root     43 Jul 23  2009 modules.seriomap
-rw-r--r-- 1 root root  38257 Jul 23  2009 modules.symbols
-rw-r--r-- 1 root root 368886 Jul 23  2009 modules.usbmap
lrwxrwxrwx 1 root root     65 Jan 28  2000 source -> /home/kelly/src/Sheeva/SheevaPlug_LSP/Sources/linux-2.6.30.2-work
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 443


View Profile WWW
« Reply #3 on: February 18, 2010, 06:58:22 PM »

Modules go in /lib/modules/<version number>
and "make modules_install" will put them there for you, along with the modules.* files that things expect to find.
Logged

Pages: [1]
Print
Jump to: