* [ptxdist] Local kernel tree config option @ 2011-11-08 13:16 Andre Haupt 2011-11-08 15:36 ` Andre Haupt 0 siblings, 1 reply; 11+ messages in thread From: Andre Haupt @ 2011-11-08 13:16 UTC (permalink / raw) To: ptxdist Hi all, I want to use a local kernel tree in my ptxdist project. I followed the instructions in the pdf documentation (chapter 6.13). There, a 'Local kernel tree' menu entry in the platform config is mentioned. However, this entry is missing when i do a ptxdist platformconfig -> Linux kernel. What am i doing wrong here? Btw, i use the git repository of ptxdist with the 'ptxdist-2011.08.x' branch. regards, Andre -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2011-11-08 13:16 [ptxdist] Local kernel tree config option Andre Haupt @ 2011-11-08 15:36 ` Andre Haupt 2011-11-09 16:54 ` Michael Olbrich 0 siblings, 1 reply; 11+ messages in thread From: Andre Haupt @ 2011-11-08 15:36 UTC (permalink / raw) To: ptxdist On Tue, Nov 08, 2011 at 02:16:00PM +0100, Andre Haupt wrote: > Hi all, > > I want to use a local kernel tree in my ptxdist project. I followed the > instructions in the pdf documentation (chapter 6.13). There, a 'Local > kernel tree' menu entry in the platform config is mentioned. > > However, this entry is missing when i do a ptxdist platformconfig -> > Linux kernel. > What am i doing wrong here? > > Btw, i use the git repository of ptxdist with the 'ptxdist-2011.08.x' > branch. > Never mind. I just found out that this was removed recently. So to apply custom changes to a kernel, i create a folder <kernel.version> in my-project/patches and put a quilt series with my changes in it, right? regards, Andre -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2011-11-08 15:36 ` Andre Haupt @ 2011-11-09 16:54 ` Michael Olbrich 2011-11-10 9:08 ` Andre Haupt 2012-01-05 12:21 ` jean-philippe francois 0 siblings, 2 replies; 11+ messages in thread From: Michael Olbrich @ 2011-11-09 16:54 UTC (permalink / raw) To: ptxdist Hi, On Tue, Nov 08, 2011 at 04:36:27PM +0100, Andre Haupt wrote: > On Tue, Nov 08, 2011 at 02:16:00PM +0100, Andre Haupt wrote: > > I want to use a local kernel tree in my ptxdist project. I followed the > > instructions in the pdf documentation (chapter 6.13). There, a 'Local > > kernel tree' menu entry in the platform config is mentioned. > > > > However, this entry is missing when i do a ptxdist platformconfig -> > > Linux kernel. > > What am i doing wrong here? > > > > Btw, i use the git repository of ptxdist with the 'ptxdist-2011.08.x' > > branch. > > > > Never mind. I just found out that this was removed recently. > > So to apply custom changes to a kernel, i create a folder <kernel.version> > in my-project/patches and put a quilt series with my changes in it, > right? It was replaced with a more generic option. I guess we need to update the docs: $ ln -s /path/to/your/kernel/tree <BSP>/local_src/kernel.<platform-suffix> If this path exists as a directory or link to a directory, then it will be used instead of extracting the source. Note: this is a development feature. When you're done, create the patches + series as you noted above and remove the link. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2011-11-09 16:54 ` Michael Olbrich @ 2011-11-10 9:08 ` Andre Haupt 2012-01-05 12:21 ` jean-philippe francois 1 sibling, 0 replies; 11+ messages in thread From: Andre Haupt @ 2011-11-10 9:08 UTC (permalink / raw) To: ptxdist On Wed, Nov 09, 2011 at 05:54:46PM +0100, Michael Olbrich wrote: > Hi, > > On Tue, Nov 08, 2011 at 04:36:27PM +0100, Andre Haupt wrote: > > On Tue, Nov 08, 2011 at 02:16:00PM +0100, Andre Haupt wrote: > > > I want to use a local kernel tree in my ptxdist project. I followed the > > > instructions in the pdf documentation (chapter 6.13). There, a 'Local > > > kernel tree' menu entry in the platform config is mentioned. > > > > > > However, this entry is missing when i do a ptxdist platformconfig -> > > > Linux kernel. > > > What am i doing wrong here? > > > > > > Btw, i use the git repository of ptxdist with the 'ptxdist-2011.08.x' > > > branch. > > > > > > > Never mind. I just found out that this was removed recently. > > > > So to apply custom changes to a kernel, i create a folder <kernel.version> > > in my-project/patches and put a quilt series with my changes in it, > > right? > > It was replaced with a more generic option. I guess we need to update the > docs: > > $ ln -s /path/to/your/kernel/tree <BSP>/local_src/kernel.<platform-suffix> > > If this path exists as a directory or link to a directory, then it will be > used instead of extracting the source. Note: this is a development feature. > When you're done, create the patches + series as you noted above and remove > the link. I see. Thank you Michael -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2011-11-09 16:54 ` Michael Olbrich 2011-11-10 9:08 ` Andre Haupt @ 2012-01-05 12:21 ` jean-philippe francois 2012-01-05 13:06 ` Michael Olbrich 2012-01-05 13:40 ` Alexander Stein 1 sibling, 2 replies; 11+ messages in thread From: jean-philippe francois @ 2012-01-05 12:21 UTC (permalink / raw) To: ptxdist 2011/11/9 Michael Olbrich <m.olbrich@pengutronix.de>: > Hi, > > On Tue, Nov 08, 2011 at 04:36:27PM +0100, Andre Haupt wrote: >> On Tue, Nov 08, 2011 at 02:16:00PM +0100, Andre Haupt wrote: >> > I want to use a local kernel tree in my ptxdist project. I followed the >> > instructions in the pdf documentation (chapter 6.13). There, a 'Local >> > kernel tree' menu entry in the platform config is mentioned. >> > >> > However, this entry is missing when i do a ptxdist platformconfig -> >> > Linux kernel. >> > What am i doing wrong here? >> > >> > Btw, i use the git repository of ptxdist with the 'ptxdist-2011.08.x' >> > branch. >> > >> >> Never mind. I just found out that this was removed recently. >> >> So to apply custom changes to a kernel, i create a folder <kernel.version> >> in my-project/patches and put a quilt series with my changes in it, >> right? > > It was replaced with a more generic option. I guess we need to update the > docs: > > $ ln -s /path/to/your/kernel/tree <BSP>/local_src/kernel.<platform-suffix> > I am sorry, but I can't seem to make it work. I am using ptxdist 2011.12.0, and if I do ptxdist kernelconfig, it will try to download the kernel. I straced the whole thing : strace -f -o kernelconfig.log ptxdist kernelconfig To find out why it was not finding my link And could not find any occurence of local_src in it. > If this path exists as a directory or link to a directory, then it will be > used instead of extracting the source. Note: this is a development feature. > When you're done, create the patches + series as you noted above and remove > the link. > > Michael > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- > ptxdist mailing list > ptxdist@pengutronix.de -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2012-01-05 12:21 ` jean-philippe francois @ 2012-01-05 13:06 ` Michael Olbrich 2012-01-05 13:32 ` jean-philippe francois 2012-01-05 13:40 ` Alexander Stein 1 sibling, 1 reply; 11+ messages in thread From: Michael Olbrich @ 2012-01-05 13:06 UTC (permalink / raw) To: ptxdist Hi, On Thu, Jan 05, 2012 at 01:21:31PM +0100, jean-philippe francois wrote: > 2011/11/9 Michael Olbrich <m.olbrich@pengutronix.de>: > > On Tue, Nov 08, 2011 at 04:36:27PM +0100, Andre Haupt wrote: > >> On Tue, Nov 08, 2011 at 02:16:00PM +0100, Andre Haupt wrote: > >> > I want to use a local kernel tree in my ptxdist project. I followed the > >> > instructions in the pdf documentation (chapter 6.13). There, a 'Local > >> > kernel tree' menu entry in the platform config is mentioned. > >> > > >> > However, this entry is missing when i do a ptxdist platformconfig -> > >> > Linux kernel. > >> > What am i doing wrong here? > >> > > >> > Btw, i use the git repository of ptxdist with the 'ptxdist-2011.08.x' > >> > branch. > >> > > >> > >> Never mind. I just found out that this was removed recently. > >> > >> So to apply custom changes to a kernel, i create a folder <kernel.version> > >> in my-project/patches and put a quilt series with my changes in it, > >> right? > > > > It was replaced with a more generic option. I guess we need to update the > > docs: > > > > $ ln -s /path/to/your/kernel/tree <BSP>/local_src/kernel.<platform-suffix> > > > I am sorry, but I can't seem to make it work. > I am using ptxdist 2011.12.0, and if I do > ptxdist kernelconfig, it will try to download the kernel. > > I straced the whole thing : > strace -f -o kernelconfig.log ptxdist kernelconfig > > To find out why it was not finding my link > And could not find any occurence of local_src in it. Please send the output of: $ ls -l local_src/ $ ptxdist clean kernel $ ptxdist extract kernel Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2012-01-05 13:06 ` Michael Olbrich @ 2012-01-05 13:32 ` jean-philippe francois 0 siblings, 0 replies; 11+ messages in thread From: jean-philippe francois @ 2012-01-05 13:32 UTC (permalink / raw) To: ptxdist 2012/1/5 Michael Olbrich <m.olbrich@pengutronix.de>: > Hi, > > On Thu, Jan 05, 2012 at 01:21:31PM +0100, jean-philippe francois wrote: >> 2011/11/9 Michael Olbrich <m.olbrich@pengutronix.de>: >> > On Tue, Nov 08, 2011 at 04:36:27PM +0100, Andre Haupt wrote: >> >> On Tue, Nov 08, 2011 at 02:16:00PM +0100, Andre Haupt wrote: >> >> > I want to use a local kernel tree in my ptxdist project. I followed the >> >> > instructions in the pdf documentation (chapter 6.13). There, a 'Local >> >> > kernel tree' menu entry in the platform config is mentioned. >> >> > >> >> > However, this entry is missing when i do a ptxdist platformconfig -> >> >> > Linux kernel. >> >> > What am i doing wrong here? >> >> > >> >> > Btw, i use the git repository of ptxdist with the 'ptxdist-2011.08.x' >> >> > branch. >> >> > >> >> >> >> Never mind. I just found out that this was removed recently. >> >> >> >> So to apply custom changes to a kernel, i create a folder <kernel.version> >> >> in my-project/patches and put a quilt series with my changes in it, >> >> right? >> > >> > It was replaced with a more generic option. I guess we need to update the >> > docs: >> > >> > $ ln -s /path/to/your/kernel/tree <BSP>/local_src/kernel.<platform-suffix> >> > >> I am sorry, but I can't seem to make it work. >> I am using ptxdist 2011.12.0, and if I do >> ptxdist kernelconfig, it will try to download the kernel. >> >> I straced the whole thing : >> strace -f -o kernelconfig.log ptxdist kernelconfig >> >> To find out why it was not finding my link >> And could not find any occurence of local_src in it. > > Please send the output of: > > $ ls -l local_src/ total 0 lrwxrwxrwx 1 cynove cynove 52 2012-01-05 11:57 kernel.ESSILOR -> /home/cynove/src/ARM_ptxdist/essilor_src/Cm-t35.git/ > $ ptxdist clean kernel warning: (BUSYBOX_LFS && BUSYBOX) selects BUSYBOX_FDISK_SUPPORT_LARGE_DISKS which has unmet direct dependencies (BUSYBOX && BUSYBOX_FDISK) -------------------- target: kernel.clean -------------------- > $ ptxdist extract kernel --------------------------- target: linux-cmt35.tar.bz2 --------------------------- --2012-01-05 14:30:59-- http://www.kernel.org/pub/linux/kernel/vcmt35./linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:30:59 ERROR 404: Not Found. --2012-01-05 14:30:59-- http://www.pengutronix.de/software/ptxdist/temporary-src/linux-cmt35.tar.bz2 Resolving www.pengutronix.de... 78.47.139.85, 2a01:4f8:121:2:5054:ff:feaf:fc62 Connecting to www.pengutronix.de|78.47.139.85|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:00 ERROR 404: Not Found. --2012-01-05 14:31:00-- http://www.kernel.org/pub/linux/kernel/vcmt35./testing/linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:00 ERROR 404: Not Found. --2012-01-05 14:31:00-- http://www.kernel.org/pub/linux/kernel/vcmt35./testing/vcmt35../linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:00 ERROR 404: Not Found. --2012-01-05 14:31:00-- http://www.kernel.org/pub/linux/kernel/vcmt35./longterm/vcmt35../linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:01 ERROR 404: Not Found. --2012-01-05 14:31:01-- http://www.kernel.org/pub/linux/kernel/vcmt35.x/linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:01 ERROR 404: Not Found. --2012-01-05 14:31:01-- http://www.kernel.org/pub/linux/kernel/vcmt35.x/testing/linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:02 ERROR 404: Not Found. --2012-01-05 14:31:02-- http://www.kernel.org/pub/linux/kernel/vcmt35.x/testing/vcmt35./linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:02 ERROR 404: Not Found. --2012-01-05 14:31:02-- http://www.kernel.org/pub/linux/kernel/vcmt35.x/longterm/vcmt35./linux-cmt35.tar.bz2 Resolving www.kernel.org... 149.20.4.69 Connecting to www.kernel.org|149.20.4.69|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-01-05 14:31:03 ERROR 404: Not Found. Could not download packet URL: http://www.kernel.org/pub/linux/kernel/vcmt35./linux-cmt35.tar.bz2 http://www.kernel.org/pub/linux/kernel/vcmt35./testing/linux-cmt35.tar.bz2 http://www.kernel.org/pub/linux/kernel/vcmt35./testing/vcmt35../linux-cmt35.tar.bz2 http://www.kernel.org/pub/linux/kernel/vcmt35./longterm/vcmt35../linux-cmt35.tar.bz2 http://www.kernel.org/pub/linux/kernel/vcmt35.x/linux-cmt35.tar.bz2 http://www.kernel.org/pub/linux/kernel/vcmt35.x/testing/linux-cmt35.tar.bz2 http://www.kernel.org/pub/linux/kernel/vcmt35.x/testing/vcmt35./linux-cmt35.tar.bz2 http://www.kernel.org/pub/linux/kernel/vcmt35.x/longterm/vcmt35./linux-cmt35.tar.bz2 make: *** [/home/cynove/src/ARM_ptxdist/src/linux-cmt35.tar.bz2] Error 1 > > Michael > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- > ptxdist mailing list > ptxdist@pengutronix.de -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2012-01-05 12:21 ` jean-philippe francois 2012-01-05 13:06 ` Michael Olbrich @ 2012-01-05 13:40 ` Alexander Stein 2012-01-05 14:17 ` Michael Olbrich 1 sibling, 1 reply; 11+ messages in thread From: Alexander Stein @ 2012-01-05 13:40 UTC (permalink / raw) To: ptxdist Hello, On Thursday 05 January 2012 13:21:31 jean-philippe francois wrote: > > It was replaced with a more generic option. I guess we need to update > > the > > docs: > > > > $ ln -s /path/to/your/kernel/tree > > <BSP>/local_src/kernel.<platform-suffix> > I am sorry, but I can't seem to make it work. > I am using ptxdist 2011.12.0, and if I do > ptxdist kernelconfig, it will try to download the kernel. AFAIK this is still done, although not necessary. Known bug, Robert wrote about it some time ago. As you seem to have an own kernel name, I would just touch the file it wants to download in src/ and you should be fine. Regards, Alexander -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH August-Bebel-Str. 29 D-07973 Greiz Tel: +49-3661-6279-0, Fax: +49-3661-6279-99 eMail: Alexander.Stein@systec-electronic.com Internet: http://www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Jena, HRB 205563 -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2012-01-05 13:40 ` Alexander Stein @ 2012-01-05 14:17 ` Michael Olbrich 2012-04-10 20:55 ` Jerry Kirk 0 siblings, 1 reply; 11+ messages in thread From: Michael Olbrich @ 2012-01-05 14:17 UTC (permalink / raw) To: ptxdist Hi, On Thu, Jan 05, 2012 at 02:40:20PM +0100, Alexander Stein wrote: > On Thursday 05 January 2012 13:21:31 jean-philippe francois wrote: > > > It was replaced with a more generic option. I guess we need to update > > > the > > > docs: > > > > > > $ ln -s /path/to/your/kernel/tree > > > <BSP>/local_src/kernel.<platform-suffix> > > I am sorry, but I can't seem to make it work. > > I am using ptxdist 2011.12.0, and if I do > > ptxdist kernelconfig, it will try to download the kernel. > > AFAIK this is still done, although not necessary. Known bug, Robert wrote > about it some time ago. > As you seem to have an own kernel name, I would just touch the file it wants > to download in src/ and you should be fine. Yes of course. The tarball is still needed. This is a development feature. - Select the base kernel version in platformconfig (this will be downloaded) - work on the kernel tree in local_src/kernel.<platform> - export the final patches and remove local_src/kernel.<platform> For something permanent it _may_ work to overwrite KERNEL_URL: $ cat rules/post/fixup.make KERNEL_URL := file://$(PTXDIST_WORKSPACE)/local_src/my-special-kernel $ But I'm not sure if that really works for the kernel. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2012-01-05 14:17 ` Michael Olbrich @ 2012-04-10 20:55 ` Jerry Kirk 2012-04-10 20:59 ` Bernhard Walle 0 siblings, 1 reply; 11+ messages in thread From: Jerry Kirk @ 2012-04-10 20:55 UTC (permalink / raw) To: ptxdist The local kernel tree option is a nice feature and thanks to this thread it worked for me first try. Do any of the other packages support this functionality? I am thinking specifically about barebox where I need to make many initial changes during development. -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ptxdist] Local kernel tree config option 2012-04-10 20:55 ` Jerry Kirk @ 2012-04-10 20:59 ` Bernhard Walle 0 siblings, 0 replies; 11+ messages in thread From: Bernhard Walle @ 2012-04-10 20:59 UTC (permalink / raw) To: ptxdist * Jerry Kirk <jkirk865@gmail.com> [2012-04-10 22:55]: > The local kernel tree option is a nice feature and thanks to this thread it > worked for me first try. Do any of the other packages support this > functionality? I am thinking specifically about barebox where I need to make > many initial changes during development. It works with any package. Just use <packagename> instead of "kernel". Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-04-10 20:59 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-11-08 13:16 [ptxdist] Local kernel tree config option Andre Haupt 2011-11-08 15:36 ` Andre Haupt 2011-11-09 16:54 ` Michael Olbrich 2011-11-10 9:08 ` Andre Haupt 2012-01-05 12:21 ` jean-philippe francois 2012-01-05 13:06 ` Michael Olbrich 2012-01-05 13:32 ` jean-philippe francois 2012-01-05 13:40 ` Alexander Stein 2012-01-05 14:17 ` Michael Olbrich 2012-04-10 20:55 ` Jerry Kirk 2012-04-10 20:59 ` Bernhard Walle
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox