Author Topic: Recompiling Kernel  (Read 8594 times)

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Recompiling Kernel
« on: October 05, 2007, 06:24:02 pm »
I'm gonna try to recompile the kernel 2.6.22. is there a method to recompile the kernel on my pc and then to copy in pda?because zaurus is too slow for recompile the kernel

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Recompiling Kernel
« Reply #1 on: October 05, 2007, 06:34:48 pm »
I would like to use make-kpkg to create directly a kernel-image.deb and kernel-headers.deb to install with dpkg

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Recompiling Kernel
« Reply #2 on: October 05, 2007, 06:46:39 pm »
i can use a virtual machine if is necessary to install debian arm and to recompile the kernel

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Recompiling Kernel
« Reply #3 on: October 05, 2007, 08:05:39 pm »
Quote from: zeroc87
i can use a virtual machine if is necessary to install debian arm and to recompile the kernel

you are way out of your depth here. what you want to do is way too difficult for you to do. first learn the basics before you try to tackle the more difficult things, ie you need to learn how to crawl before attempting to run.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

raduga

  • Full Member
  • ***
  • Posts: 129
    • View Profile
    • http://
Recompiling Kernel
« Reply #4 on: October 06, 2007, 01:36:58 am »
Quote from: Meanie
Quote from: zeroc87
i can use a virtual machine if is necessary to install debian arm and to recompile the kernel

you are way out of your depth here. what you want to do is way too difficult for you to do. first learn the basics before you try to tackle the more difficult things, ie you need to learn how to crawl before attempting to run.

I suspect zeroc87 wouldn't be attempting this if s/he didn't feel they had already learned the "basics".
However...  building kernels for Zaurus (as for any exotic-flavored hardware) requires quite a firm and stable
understanding of how the device works, since mainline kernels and even the most heavily customized zaurus-specific
kernels require non-trivial amounts of attention and patience to navigate.

zeroc87:  if you think the Zaurus cpu is "too slow" to build its own kernel, please recognise that it will take quite considerably
more of your time to craft a working Zaurus kernel on your PC, than it would take a Zaurus to build a kernel.

Meditate on this brick if you would :
If you're not sure what it means, please feel free to ask.
« Last Edit: October 06, 2007, 01:39:10 am by raduga »

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Recompiling Kernel
« Reply #5 on: October 06, 2007, 04:29:03 am »
Quote from: raduga
Quote from: Meanie
Quote from: zeroc87
i can use a virtual machine if is necessary to install debian arm and to recompile the kernel

you are way out of your depth here. what you want to do is way too difficult for you to do. first learn the basics before you try to tackle the more difficult things, ie you need to learn how to crawl before attempting to run.

I suspect zeroc87 wouldn't be attempting this if s/he didn't feel they had already learned the "basics".
However...  building kernels for Zaurus (as for any exotic-flavored hardware) requires quite a firm and stable
understanding of how the device works, since mainline kernels and even the most heavily customized zaurus-specific
kernels require non-trivial amounts of attention and patience to navigate.

zeroc87:  if you think the Zaurus cpu is "too slow" to build its own kernel, please recognise that it will take quite considerably
more of your time to craft a working Zaurus kernel on your PC, than it would take a Zaurus to build a kernel.

Meditate on this brick if you would :
If you're not sure what it means, please feel free to ask.
This does raise a point, though--a VM that mimicked the Z (or any other embedded device) could be pretty handy--and a virtual cluster of virtual Z's compiling stuff (that probably would be hopeless) would be entertaining.  OTOH, the work required to do anything of the kind would probably be better spent on something more directly useful, as you suggest.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Recompiling Kernel
« Reply #6 on: October 06, 2007, 07:01:08 am »
I know what I will do.but I'm not sure if the first time that I recompile kernel it works and ,because it takes many time.i would like to do it quickly.If i don't recompile kernel this debian rom is not usefully  because many thinks doesn't function for me.I would like to use debian and so I've to recompile the kernel.thanks raduga for your support

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Recompiling Kernel
« Reply #7 on: October 06, 2007, 07:03:31 am »
can I use a crosscompiler?and wich?because I never compiled for another arch , but I compiled many time in amd64

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Recompiling Kernel
« Reply #8 on: October 06, 2007, 07:51:16 am »
Quote from: zeroc87
can I use a crosscompiler?and wich?because I never compiled for another arch , but I compiled many time in amd64

  Hi, somewhere hereabouts someone posted a link to Scratchbox. It is a very capable cross-compiler environment for your box. Go to the website and have a look. I have installed it on my Ubuntu desktop. Follow the instructions on the site.

One of the nicest things about it is that you can set up all sorts of target machines. The Zaurus and the Nokia tablets are catered for.   As yet I have done very little with it. There is a lot to learn for me. But it does seem to be very capable and versatile. YMMV.

Good luck.
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Recompiling Kernel
« Reply #9 on: October 06, 2007, 08:02:14 am »
thanks tux.now i try to compile at least some modules and than all kernel

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Recompiling Kernel
« Reply #10 on: October 06, 2007, 08:16:47 am »
There is no need to bash an enthusiastic beginner (I for one). Everyone was a beginner once upon a time.

Then again there are a lot of easily accessible resources out there. RTFM is still the rule of the game, especially when it comes to compiling kernel.
« Last Edit: October 06, 2007, 08:17:04 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

zeroc87

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Recompiling Kernel
« Reply #11 on: October 06, 2007, 08:29:37 am »
I'm a newbie in zaurus but I did something with ubuntu.'m here to learn with your support.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Recompiling Kernel
« Reply #12 on: October 06, 2007, 11:04:20 am »
Quote from: ZDevil
There is no need to bash an enthusiastic beginner (I for one). Everyone was a beginner once upon a time.

Then again there are a lot of easily accessible resources out there. RTFM is still the rule of the game, especially when it comes to compiling kernel.

I second this, and BTW, there is still something called "Google".
Try "build zaurus kernel" and see where it leads you, there are pages out there with a very detailed description.

Good luck.
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

raduga

  • Full Member
  • ***
  • Posts: 129
    • View Profile
    • http://
Recompiling Kernel
« Reply #13 on: October 06, 2007, 10:06:04 pm »
Quote from: zeroc87
I know what I will do.but I'm not sure if the first time that I recompile kernel it works and ,because it takes many time.i would like to do it quickly.If i don't recompile kernel this debian rom is not usefully  because many thinks doesn't function for me.I would like to use debian and so I've to recompile the kernel.thanks raduga for your support

What things are not functioning for you with the stock Debian kernel- that you hope to fix by recompiling?

Try to be as specific as possible.
The more feedback you give us, the more help we will be able to offer.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Recompiling Kernel
« Reply #14 on: October 07, 2007, 04:22:02 am »
Quote from: zeroc87
I know what I will do.but I'm not sure if the first time that I recompile kernel it works and ,because it takes many time.i would like to do it quickly.If i don't recompile kernel this debian rom is not usefully  because many thinks doesn't function for me.I would like to use debian and so I've to recompile the kernel.thanks raduga for your support
What are the many things that don't work?
If I were you I would first ensure a functioning setup by making sure there is no mistake made during installation and configuration, and then poke around here and there bit by bit, instead of doing a wholesale rebuilding, which may bring more frustration than hope.
Frankly I am very happy now about how native Debian runs on my Z, despite the poor multimedia output (but sound in games now kinda works) and mouse right click (which I don't really use it that often).
« Last Edit: October 07, 2007, 04:26:28 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]