Author Topic: [resolved]integrate My "make Dep" 'd Kernel Source  (Read 2509 times)

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
[resolved]integrate My "make Dep" 'd Kernel Source
« on: June 01, 2007, 09:41:23 am »
ive gotten as far as configuring and issuing 'make dep' with a cross sdk, now i cant figure out how to integrate in onto my z so that the 'make' i issue natively as part of building some modules access's it ??
« Last Edit: June 03, 2007, 01:11:29 pm by telemetric_au »
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
[resolved]integrate My "make Dep" 'd Kernel Source
« Reply #1 on: June 01, 2007, 03:06:04 pm »
Quote
ive gotten as far as configuring and issuing 'make dep' with a cross sdk, now i cant figure out how to integrate in onto my z so that the 'make' i issue natively as part of building some modules access's it ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162376\"][{POST_SNAPBACK}][/a][/div]
Hm. I would assume you should provide some more information:

* on which host are you building?
* which version of which kernel?
* which cross-compiler?
* which 'make'?

etc.

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
[resolved]integrate My "make Dep" 'd Kernel Source
« Reply #2 on: June 02, 2007, 04:41:00 am »
ok, have this kernel source: https://www.oesf.org/howto/downloads/linux-...0020910.tar.bz2 ala https://www.oesf.org/index.php?title=Compiling_the_Kernel

i used the cross sdk (arm-linux-gcc from cross-sdk-arm-cacko-linux-gnu-3.4.5-2.2.5-softfloat.tar.bz2  on my "big" pc to issue "make menuconfig' , then loaded the 5500 config, and issued "make dep'

now i want it on my z so that the make in bestcrypt can find/use it to build its modules (it doesnt have a config)...
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
[resolved]integrate My "make Dep" 'd Kernel Source
« Reply #3 on: June 03, 2007, 01:10:22 pm »
ok i worked that one out :

for 2.4.x kernel

just symlink  /lib/modules/2.4.18-rmk7-pxa3-embedix/build to the location of your kernel-source's "root" 'linux' directory .

ps if you get to the part in your module build and it says it cant find modversions.h as i did,

you need to go back and recompile your kernel enabling module version support options

now when you issue make dep it will make this file
« Last Edit: June 03, 2007, 01:19:22 pm by telemetric_au »
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
[resolved]integrate My "make Dep" 'd Kernel Source
« Reply #4 on: July 02, 2007, 11:30:28 pm »
just  a quick update, the version you need most likely is 2.4.18-rmk7-pxa3-embedix (linux-sl5500-20030509-rom3_10.tar.bz2)

rather than 2.4.6-rmk1-np2-embedix (linux-sl5500-20020910.tar.bz2)

see here for more details:

https://www.oesf.org/forums/index.php?showtopic=24307
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site