* [Buildroot] [PATCH] Create /boot/uImage symlink to the current kernel image
@ 2008-01-04 0:50 Thiago A. Corrêa
[not found] ` <00fc01c84eb0$07a3e010$0a0514ac@atmel.com>
2008-01-04 13:45 ` Ulf Samuelsson
0 siblings, 2 replies; 4+ messages in thread
From: Thiago A. Corrêa @ 2008-01-04 0:50 UTC (permalink / raw)
To: buildroot
Hi,
A while ago, the kernel naming have been changed to include $(DATE)
which makes it annoying to keep track. This patch adds an option to
the Advanced Kernel option to create an /boot/uImage symbolic link to
the built kernel. Please consider applying, this really improves
usability, if this naming scheme is to be kept.
Kind Regards,
Thiago A. Correa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-uImage-symlink.patch
Type: text/x-patch
Size: 1237 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080103/1edff06a/attachment.bin
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <00fc01c84eb0$07a3e010$0a0514ac@atmel.com>]
* [Buildroot] [PATCH] Create /boot/uImage symlink to the currentkernel image [not found] ` <00fc01c84eb0$07a3e010$0a0514ac@atmel.com> @ 2008-01-04 12:59 ` Thiago A. Corrêa 0 siblings, 0 replies; 4+ messages in thread From: Thiago A. Corrêa @ 2008-01-04 12:59 UTC (permalink / raw) To: buildroot Hi, Maybe someone might want to have more than one kernel in /boot if they are different versions (but would be awkward to get it, since would require make menuconfig; make; make menuconfig again to change settings then make once again). For different platforms doesn't make sense, since the system wouldn't boot. You can't have different busybox on the same filesystem. Besides why would you keep 2 kernels with different and incompatible binaries? About the u-boot scripts, it is equaly bad to have to reflash u-boot all the time, whenever I try some different kernel setting or I want to rebuild everything from scratch. An STK1000 owner for instance might just use an USB Card Reader and not have a JTAG MKii. This uImage linking is optional, while the naming is imposed. Regards, Thiago A. Correa On Jan 4, 2008 5:50 AM, Ulf Samuelsson <ulf.samuelsson@atmel.com> wrote: > > > > | Hi, > | > | A while ago, the kernel naming have been changed to include $(DATE) > | which makes it annoying to keep track. This patch adds an option to > | the Advanced Kernel option to create an /boot/uImage symbolic link to > | the built kernel. Please consider applying, this really improves > | usability, if this naming scheme is to be kept. > | > | Kind Regards, > | Thiago A. Correa > | > > Maybe, > How do you store three different kernels in "/boot", if they have the same name? > This could be for three different architectures, or three different versions. > > The AT91 U-Boot makes it real easy to use the long kernel names. > If you generate an autoscript for U-boot then it will be as easy to do for other > architectures as well. > > Best Regards > Ulf Samuelsson > > ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] Create /boot/uImage symlink to the currentkernel image 2008-01-04 0:50 [Buildroot] [PATCH] Create /boot/uImage symlink to the current kernel image Thiago A. Corrêa [not found] ` <00fc01c84eb0$07a3e010$0a0514ac@atmel.com> @ 2008-01-04 13:45 ` Ulf Samuelsson 2008-01-07 16:41 ` Thiago A. Corrêa 1 sibling, 1 reply; 4+ messages in thread From: Ulf Samuelsson @ 2008-01-04 13:45 UTC (permalink / raw) To: buildroot | Hi, | | A while ago, the kernel naming have been changed to include $(DATE) | which makes it annoying to keep track. This patch adds an option to | the Advanced Kernel option to create an /boot/uImage symbolic link to | the built kernel. Please consider applying, this really improves | usability, if this naming scheme is to be kept. | | Kind Regards, | Thiago A. Correa | Looking at your patch, I see that we are talking about two different things. There is a feature to copy the linux kernel to /tftpboot directory, which I thought you were referring to, but If you want the kernel inside the root file system, then would it not make more sense to do: - cp -dpf $(LINUX26_KERNEL) $(TARGET_DIR)/boot/$(LINUX26_KERNEL_NAME) + cp -dpf $(LINUX26_KERNEL) $(TARGET_DIR)/boot/$(BR2_PACKAGE_LINUX_FORMAT) where BR2_PACKAGE_LINUX_FORMAT could be uImage, bzImage, vmlinux etc. Best Regards Ulf Samuelsson ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] Create /boot/uImage symlink to the currentkernel image 2008-01-04 13:45 ` Ulf Samuelsson @ 2008-01-07 16:41 ` Thiago A. Corrêa 0 siblings, 0 replies; 4+ messages in thread From: Thiago A. Corrêa @ 2008-01-07 16:41 UTC (permalink / raw) To: buildroot On Jan 4, 2008 11:45 AM, Ulf Samuelsson <ulf@atmel.com> wrote: > > > > | Hi, > | > | A while ago, the kernel naming have been changed to include $(DATE) > | which makes it annoying to keep track. This patch adds an option to > | the Advanced Kernel option to create an /boot/uImage symbolic link to > | the built kernel. Please consider applying, this really improves > | usability, if this naming scheme is to be kept. > | > | Kind Regards, > | Thiago A. Correa > | > > Looking at your patch, I see that we are talking about two different things. > There is a feature to copy the linux kernel to /tftpboot directory, > which I thought you were referring to, but If you want the kernel inside > the root file system, then would it not make more sense to do: > > - cp -dpf $(LINUX26_KERNEL) $(TARGET_DIR)/boot/$(LINUX26_KERNEL_NAME) > + cp -dpf $(LINUX26_KERNEL) $(TARGET_DIR)/boot/$(BR2_PACKAGE_LINUX_FORMAT) > > where BR2_PACKAGE_LINUX_FORMAT could be > uImage, bzImage, vmlinux etc. > > Best Regards > Ulf Samuelsson > Yes, that was the previous behavior, although perhaps not exactly the same code, I haven't checked the svn logs to see how it was before. Anyway, since I'm not sure why it changed in the first place, I suggested the symlinking as an option. Regards, Thiago A. Correa ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-07 16:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-04 0:50 [Buildroot] [PATCH] Create /boot/uImage symlink to the current kernel image Thiago A. Corrêa
[not found] ` <00fc01c84eb0$07a3e010$0a0514ac@atmel.com>
2008-01-04 12:59 ` [Buildroot] [PATCH] Create /boot/uImage symlink to the currentkernel image Thiago A. Corrêa
2008-01-04 13:45 ` Ulf Samuelsson
2008-01-07 16:41 ` Thiago A. Corrêa
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox