Author Topic: Where To Get Openzaurus Kernel-sources?  (Read 4911 times)

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Where To Get Openzaurus Kernel-sources?
« on: May 17, 2005, 04:50:25 pm »
Hello,

gentoo wouldn't be gentoo without the kernel sources.
I want to use the sources of the openzaurus-2.4.18 kernel.
Where can I get them?

bitbake openzaurus-pxa in openembedded wants to build the toolchain and so on, I don't need that stuff.
(it fails anyway)
bitbake -b /openembedded/openembedded/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.bb
fails with patching and I don't know how to apply the patches in the openzaurus-pxa-2.4.18-rmk7-pxa3-embedix2003110 direcory manualy.
So, what is to do?

Thanks for your help.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Where To Get Openzaurus Kernel-sources?
« Reply #1 on: May 17, 2005, 05:21:34 pm »
patch -p0 < blah-blah.patch

???

Alternatively, read the class which performs the patching in bitbake (do_patch iirc) and see what it actually does.


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

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Where To Get Openzaurus Kernel-sources?
« Reply #2 on: May 17, 2005, 05:34:31 pm »
Quote
Alternatively, read the class which performs the patching in bitbake (do_patch iirc) and see what it actually does.

I tried that, but whether in openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.bb nor in openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.inc I can find a patching class.
It might be just an extended class of another file, but I don't know which.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Where To Get Openzaurus Kernel-sources?
« Reply #3 on: May 17, 2005, 06:30:52 pm »
Try looking under openembedded/classes/

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

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Where To Get Openzaurus Kernel-sources?
« Reply #4 on: May 18, 2005, 04:00:25 am »
Quote
Hello,

gentoo wouldn't be gentoo without the kernel sources.
I want to use the sources of the openzaurus-2.4.18 kernel.
Where can I get them?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80244\"][{POST_SNAPBACK}][/a][/div]

bitbake -b /openembedded/openembedded/packages/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.bb -c fetch
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Where To Get Openzaurus Kernel-sources?
« Reply #5 on: May 20, 2005, 11:08:57 am »
Thanks, that worked.
But trying to do "make menuconfig" gives me that:
Quote
rm -f include/asm-arm/arch include/asm-arm/proc
(cd include/asm-arm; ln -sf arch- arch; ln -sf proc- proc)
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux/scripts/lxdialog'
make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/arm/config.in
Using defaults found in arch/arm/defconfig
Preparing scripts: functions, parsingscripts/Menuconfig: line 1428: 18946 Segmentation fault      awk "$1"
Awk died with error code 139. Giving up.
..............scripts/Menuconfig: ./MCmenu20: line 108: syntax error: unexpected end of file
.scripts/Menuconfig: ./MCmenu21: line 81: syntax error: unexpected end of file
......scripts/Menuconfig: ./MCmenu27: line 156: syntax error: unexpected end of file
...scripts/Menuconfig: ./MCmenu3: line 139: syntax error: unexpected end of file
.........scripts/Menuconfig: ./MCmenu38: line 122: syntax error: unexpected end of file
...scripts/Menuconfig: ./MCmenu40: line 237: syntax error: unexpected end of file
......done.

It seems as if this is somekind of a known problem, but I cannot find any solution.
Somebody must know howto solve this.

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Where To Get Openzaurus Kernel-sources?
« Reply #6 on: May 20, 2005, 11:38:24 am »
Got it myself, I had to apply diff-2.4.18-rmk7-pxa3 and  patch-2.4.18-rmk7 manually.

amitgil

  • Newbie
  • *
  • Posts: 10
    • View Profile
Where To Get Openzaurus Kernel-sources?
« Reply #7 on: May 22, 2005, 02:52:50 pm »
Is there a downloadable tar of OZ 3.5.3 sources and the build toolchain?

Thanks,
Amit.
« Last Edit: May 22, 2005, 02:57:02 pm by amitgil »

JohnKiniston

  • Full Member
  • ***
  • Posts: 213
    • View Profile
    • http://
Where To Get Openzaurus Kernel-sources?
« Reply #8 on: May 22, 2005, 04:17:50 pm »
You want OpenEmbedded

http://www.openembedded.org/cgi-bin/moin.cgi/GettingStarted

Using OpenEmbedded you can build OZ 3.5.3.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Where To Get Openzaurus Kernel-sources?
« Reply #9 on: May 22, 2005, 05:09:42 pm »
Quote
Is there a downloadable tar of OZ 3.5.3 sources and the build toolchain?

Thanks,
Amit.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80958\"][{POST_SNAPBACK}][/a][/div]

No, there isn't. And even if there was, it would be several GB in size.
Webmaster of hentges.net & Embedded Linux Developer.