Skip to contentSkip to conversation

uImage could not be built before and after big bootloader patch

Buildroot Ossy 2 participants 4 messages Jun 18, 2010 – Jun 19, 2010 1 message not in the archive

lore
Share & tools
lore

Ossy

author
#0 lore raw

Dear mailinglist,

I am still not able to make a U-Boot image (uImage) of the linux kernel if I use "Same version as kernel headers". U-Boot is built before trying to make the uImage, but it still gives the following error:

...
"mkimage" command not found - U-Boot images will not be built
...

Am I forced to install U-Boot (meaning mkimage) on the host? This is not neccessary if using "Advanced configuration".

Kind regards,
Marcus

ossy at debian-virtual:~/buildroot/buildroot-dev$ cat .git/FETCH_HEAD
1e627bf212afff670e414d3ebfc8fb4c4b31c318 branch 'master'
of http://git.buildroot.net/buildroot

#1 lore raw

Hello,

Quoted 10 lines · On Fri, 18 Jun 2010 23:29:01 +0200 Ossy <[email protected]> wrote:

I am still not able to make a U-Boot image (uImage) of the linux kernel if I use "Same version as kernel headers". U-Boot is built before trying to make the uImage, but it still gives the following error:

...
"mkimage" command not found - U-Boot images will not be built
...

Am I forced to install U-Boot (meaning mkimage) on the host? This is not neccessary if using "Advanced configuration".

Is this a regression of the bootloaders-cleanup branch ? As far as I can see the non-Advanced configuration for the kernel never handled the dependency on host mkimage. So I think it wasn't working before, and it still isn't working.

I have another branch, linux-cleanup, that reworks all the code that builds the kernel, so I'm really interested in improving the existing code (of course, if it's a regression, I'll fix it).

Regards,

Thomas

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hello,

Please keep the list in Cc for Buildroot-related discussions. Thanks!

Quoted 3 lines · On Sat, 19 Jun 2010 15:38:31 +0200 Ossy <[email protected]> wrote:

It's true. The Non-Advanced configuration never handled the dependency on mkimage, so it did not funtion before. I thought, the last big bootloader patch would fix this dependency.

No. However, the linux-cleanup patch removes the non-advanced/advanced configuration schemes for building the Linux kernel to only keep one.

Quoted 6 lines

I made a new test with Advanced configuration (the one which worked for uImage before). I deleted U-Boot and linux-kernel in output-build to be sure. Now even the Advanced configuration throws this error:
...
"mkimage" command not found - U-Boot images will not be built
...

Do you have mkimage in output-build/host/usr/bin ? Can you try by removing completely output-build ?

Quoted 2 lines

I'm pretty sure, that Advanced configuration worked before. Do you need my configuration?

Yes, I would need to reproduce the issue. So please reproduce the issue from a clean build, even if it involves doing :

*) A build from scratch
*) Removing some stuff
*) Restarting the build

I haven't tested the mkimage dependency today, but I've implemented it recently, and as far as I know, Peter tested it before merging the bootloaders-cleanup branch, so I'm quite sure that it works in the default case (i.e, build from scratch).

Thanks !

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#4 lore raw
Quoted 2 lines · On Sat, 19 Jun 2010 17:12:05 +0200 Thomas Petazzoni…

Yes, I would need to reproduce the issue. So please reproduce the issue from a clean build, even if it involves doing :

I managed to reproduce the issue. I will investigate.

Regards,

Thomas

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