Skip to contentSkip to conversation

Multi-Image File Creation

U-Boot-Users tguilliams at synergymicro.com 2 participants 3 messages Feb 17, 2004 – Feb 18, 2004

lore
Share & tools
lore
#0 lore raw

I think I've seen this question posted before but I haven't been able to find it.

Is there a way to extract the vmlinux.gz image from a U-Boot multi-image? I think it's something like this but I'm guessing I need the original vmlinux.gz size -

# strip the wrapper
dd if=uImage.initrd bs=76 skip=1 of=uImage_initrd.stripped
# extract the gzipped kernel
dd if=uImage_initrd.stripped of=vmlinux.gz bs=??? count=??? skip=???

Thanks in advance for any info.

Signature · 2 lines
Tom Guilliams
tguilliams at synergymicro.com
#1 lore raw
Quoted 1 line · In message <[email protected]> you wrote:

I think I've seen this question posted before but I haven't been able to find it.

How did you search?

Quoted 7 lines

Is there a way to extract the vmlinux.gz image from a U-Boot multi-image? I think it's something like this but I'm guessing I need the original vmlinux.gz size -

# strip the wrapper
dd if=uImage.initrd bs=76 skip=1 of=uImage_initrd.stripped
# extract the gzipped kernel
dd if=uImage_initrd.stripped of=vmlinux.gz bs=??? count=??? skip=???

It took me just 2 minutes to search the mailing list archive (which appears to be warking at the moment - big surprise!). Here is what I got:

http://sourceforge.net/mailarchive/message.php?msg_id=5849825

And now for the funny part of the story: guess who was asking this question half a year ago, and received a detailed reply???

Guess who???

Don't you remember???

It was a person named "Tom Guilliams <[email protected]>".

Funny coincidence, isn't it?

[No, I ain't going to make this a FAQ just because the same persons asks the same question againa and again.]

Best regards,

Wolfgang Denk

Signature · 3 lines
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The high cost of living hasn't affected its popularity.
#2 lore raw

I knew I asked a similar question some time ago and used that info you gave me since.

I didn't word my questions correctly below and sorry for wasting your time. I have since written an app to return the image sizes to suit my needs. I needed something was a little easier to do than parsing the output of the "mkimage -l" app.

I was not aware they added a search bar to the SourceForge sight. At the time I wrote the previous email you're referring to, there was not such a thing. My apolgies again.

Tom

Quoted 54 lines · Wolfgang Denk
Quoted 1 line · In message <[email protected]> you wrote:

I think I've seen this question posted before but I haven't been able to find it.

How did you search?

Quoted 7 lines

Is there a way to extract the vmlinux.gz image from a U-Boot multi-image? I think it's something like this but I'm guessing I need the original vmlinux.gz size -

# strip the wrapper
dd if=uImage.initrd bs=76 skip=1 of=uImage_initrd.stripped
# extract the gzipped kernel
dd if=uImage_initrd.stripped of=vmlinux.gz bs=??? count=??? skip=???

It took me just 2 minutes to search the mailing list archive (which appears to be warking at the moment - big surprise!). Here is what I got:

http://sourceforge.net/mailarchive/message.php?msg_id=5849825

And now for the funny part of the story: guess who was asking this question half a year ago, and received a detailed reply???

Guess who???

Don't you remember???

It was a person named "Tom Guilliams <[email protected]>".

Funny coincidence, isn't it?

[No, I ain't going to make this a FAQ just because the same persons asks the same question againa and again.]

Best regards,

Wolfgang Denk

Signature · 14 lines
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The high cost of living hasn't affected its popularity.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Signature · 3 lines
Tom Guilliams
tguilliams at synergymicro.com
858.452.0020 x471