OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Jinidog on May 17, 2005, 04:50:25 pm

Title: Where To Get Openzaurus Kernel-sources?
Post by: Jinidog 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.
Title: Where To Get Openzaurus Kernel-sources?
Post by: lardman 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
Title: Where To Get Openzaurus Kernel-sources?
Post by: Jinidog 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.
Title: Where To Get Openzaurus Kernel-sources?
Post by: lardman on May 17, 2005, 06:30:52 pm
Try looking under openembedded/classes/

Si
Title: Where To Get Openzaurus Kernel-sources?
Post by: koen 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
Title: Where To Get Openzaurus Kernel-sources?
Post by: Jinidog 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.
Title: Where To Get Openzaurus Kernel-sources?
Post by: Jinidog 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.
Title: Where To Get Openzaurus Kernel-sources?
Post by: amitgil 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.
Title: Where To Get Openzaurus Kernel-sources?
Post by: JohnKiniston on May 22, 2005, 04:17:50 pm
You want OpenEmbedded

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

Using OpenEmbedded you can build OZ 3.5.3.
Title: Where To Get Openzaurus Kernel-sources?
Post by: CoreDump 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.