All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] uImage build error
@ 2010-08-25 21:41 Choi, David
  2010-08-25 21:54 ` Marcus Osdoba
  0 siblings, 1 reply; 5+ messages in thread
From: Choi, David @ 2010-08-25 21:41 UTC (permalink / raw)
  To: buildroot

Hi all,

 

I am new to buildroot. The version that I use is v2010.05(stable
version)

 

As you see the attached, I almost the default value except mips(little
endian mode).

My Linux version is 2.6.33.5(default version) and configuration is
tb0229_defconfig.

 

Whenever I have tried to build uImage, I have gotten an error message
saying "make[1]: *** No rule to make target `uImage`. Stop.

(Even though I have tried with v2010.08(rc1), I had the same error
message)

 

 

Any comment will be highly appreciated.

 

 

Regards,

David J. Choi

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100825/f82b877f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-2.6.33.5.config
Type: application/octet-stream
Size: 27679 bytes
Desc: linux-2.6.33.5.config
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100825/f82b877f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot2010-05.config
Type: application/octet-stream
Size: 17543 bytes
Desc: buildroot2010-05.config
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100825/f82b877f/attachment-0003.obj>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uImage build error
  2010-08-25 21:41 [Buildroot] uImage build error Choi, David
@ 2010-08-25 21:54 ` Marcus Osdoba
  2010-08-27  0:26   ` Choi, David
  0 siblings, 1 reply; 5+ messages in thread
From: Marcus Osdoba @ 2010-08-25 21:54 UTC (permalink / raw)
  To: buildroot

  Am 25.08.2010 23:41, schrieb Choi, David:
>
> Hi all,
>
> I am new to buildroot. The version that I use is v2010.05(stable version)
>
> As you see the attached, I almost the default value except mips(little 
> endian mode).
>
> My Linux version is 2.6.33.5(default version) and configuration is 
> tb0229_defconfig.
>
> Whenever I have tried to build uImage, I have gotten an error message 
> saying "make[1]: *** No rule to make target `uImage`. Stop.
>
> (Even though I have tried with v2010.08(rc1), I had the same error 
> message)
>
Hi,

Make sure to run 2010.08(rc1) or higher (there were some patches in the 
past concerning kernel image building). Please activate the U-Boot 
bootloader. This should compile a mkimage which will be needed for 
creating an uImage.
 >make menuconfig (activate u-boot and/or kernel building if you want this)
 >make

( Are you trying to run make uImage after deflating? This is not the 
linux kernel. Buildroot is an independant project.
Please read docu page first:
http://buildroot.uclibc.org/downloads/buildroot.html )

Regards,
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100825/1925be16/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uImage build error
  2010-08-25 21:54 ` Marcus Osdoba
@ 2010-08-27  0:26   ` Choi, David
  2010-08-27  8:01     ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Choi, David @ 2010-08-27  0:26 UTC (permalink / raw)
  To: buildroot

Hello Marcus,

 

Thank you for your e-mail. Basically I understand Buildroot is an
independent from linux kernel, as you pointed out in your previous
e-mail.

The reason I posted the question is that users can select [kernel binary
format] from [make menuconfig] in the buildroot of v2010.08-rc1.  

 

As I need u-boot and linux kernel, I put the need information properly
from the [make menuconfig]. When I choose vmlinux as a kernel binary
format,

I can see the root file system, kernel and u-boot in the output/image
direcoty(rootfs.initcramfs, u-boot.bin and vmlinux.bin).

 

But when I change uImage as a kernel binary format, there is an error
message( make[1]: ***No rule to make target uImage. Stop).

 

I also read the doc that you pointed but I can not find the clue to fix
this issue. 

 

If there is misunderstanding at my side, please make me correct.

 

 

Regards,

David J. Choi

 

 

________________________________

From: buildroot-bounces@busybox.net
[mailto:buildroot-bounces at busybox.net] On Behalf Of Marcus Osdoba
Sent: Wednesday, August 25, 2010 2:54 PM
To: buildroot at busybox.net
Subject: Re: [Buildroot] uImage build error

 

Am 25.08.2010 23:41, schrieb Choi, David: 

Hi all,

 

I am new to buildroot. The version that I use is v2010.05(stable
version)

 

As you see the attached, I almost the default value except mips(little
endian mode).

My Linux version is 2.6.33.5(default version) and configuration is
tb0229_defconfig.

 

Whenever I have tried to build uImage, I have gotten an error message
saying "make[1]: *** No rule to make target `uImage`. Stop.

(Even though I have tried with v2010.08(rc1), I had the same error
message)

 

Hi,

Make sure to run 2010.08(rc1) or higher (there were some patches in the
past concerning kernel image building). Please activate the U-Boot
bootloader. This should compile a mkimage which will be needed for
creating an uImage.
>make menuconfig (activate u-boot and/or kernel building if you want
this)
>make

( Are you trying to run make uImage after deflating? This is not the
linux kernel. Buildroot is an independant project.
Please read docu page first:
http://buildroot.uclibc.org/downloads/buildroot.html )

Regards,
Marcus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100826/e2462082/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uImage build error
  2010-08-27  0:26   ` Choi, David
@ 2010-08-27  8:01     ` Thomas Petazzoni
  2010-08-27 14:40       ` Choi, David
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2010-08-27  8:01 UTC (permalink / raw)
  To: buildroot

Hello David,

On Thu, 26 Aug 2010 17:26:09 -0700
"Choi, David" <David.Choi@Micrel.Com> wrote:

> Thank you for your e-mail. Basically I understand Buildroot is an
> independent from linux kernel, as you pointed out in your previous
> e-mail.
> 
> The reason I posted the question is that users can select [kernel
> binary format] from [make menuconfig] in the buildroot of
> v2010.08-rc1.  
> 
> As I need u-boot and linux kernel, I put the need information properly
> from the [make menuconfig]. When I choose vmlinux as a kernel binary
> format,
> 
> I can see the root file system, kernel and u-boot in the output/image
> direcoty(rootfs.initcramfs, u-boot.bin and vmlinux.bin).
> 
> But when I change uImage as a kernel binary format, there is an error
> message( make[1]: ***No rule to make target uImage. Stop).

From your previous post, I understand that you are building for MIPS.
However, the kernel doesn't provide a "make uImage" target for the MIPS
architecture: you have to produce the mkimage'd kernel manually.

On the Buildroot side, we should just prevent you from selecting
"uImage" if the architecture does not support it.

Cheers,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] uImage build error
  2010-08-27  8:01     ` Thomas Petazzoni
@ 2010-08-27 14:40       ` Choi, David
  0 siblings, 0 replies; 5+ messages in thread
From: Choi, David @ 2010-08-27 14:40 UTC (permalink / raw)
  To: buildroot

Hello Thomas & all,

Thank you. I got it.

Regards,
David J. Choi


-----Original Message-----
From: buildroot-bounces@busybox.net
[mailto:buildroot-bounces at busybox.net] On Behalf Of Thomas Petazzoni
Sent: Friday, August 27, 2010 1:01 AM
To: buildroot at busybox.net
Subject: Re: [Buildroot] uImage build error

Hello David,

On Thu, 26 Aug 2010 17:26:09 -0700
"Choi, David" <David.Choi@Micrel.Com> wrote:

> Thank you for your e-mail. Basically I understand Buildroot is an
> independent from linux kernel, as you pointed out in your previous
> e-mail.
> 
> The reason I posted the question is that users can select [kernel
> binary format] from [make menuconfig] in the buildroot of
> v2010.08-rc1.  
> 
> As I need u-boot and linux kernel, I put the need information properly
> from the [make menuconfig]. When I choose vmlinux as a kernel binary
> format,
> 
> I can see the root file system, kernel and u-boot in the output/image
> direcoty(rootfs.initcramfs, u-boot.bin and vmlinux.bin).
> 
> But when I change uImage as a kernel binary format, there is an error
> message( make[1]: ***No rule to make target uImage. Stop).

From your previous post, I understand that you are building for MIPS.
However, the kernel doesn't provide a "make uImage" target for the MIPS
architecture: you have to produce the mkimage'd kernel manually.

On the Buildroot side, we should just prevent you from selecting
"uImage" if the architecture does not support it.

Cheers,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-27 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-25 21:41 [Buildroot] uImage build error Choi, David
2010-08-25 21:54 ` Marcus Osdoba
2010-08-27  0:26   ` Choi, David
2010-08-27  8:01     ` Thomas Petazzoni
2010-08-27 14:40       ` Choi, David

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.