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
-
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.
-
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
-
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.
-
Try looking under openembedded/classes/
Si
-
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
-
Thanks, that worked.
But trying to do "make menuconfig" gives me that:
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.
-
Got it myself, I had to apply diff-2.4.18-rmk7-pxa3 and patch-2.4.18-rmk7 manually.
-
Is there a downloadable tar of OZ 3.5.3 sources and the build toolchain?
Thanks,
Amit.
-
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.
-
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.