Skip to contentSkip to conversation

PATCH: Use uImage make target for linux-omap1

DISCUSSION Khem Raj 4 participants 9 messages Aug 4, 2007 – Aug 6, 2007

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

Hello,

Current uImage generated for omap1 target did not boot on my target. We are using manual method to create uImage.
This patch uses uImage KERNEL_IMAGETYPE for omap1 targets. I have tested this on omap5912osk and the resulting uImage booted just fine.

If it is OK please consider this patch for applying.

Thanks

-Khem

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

excuse me but I'm using openembedded for my OMAP 5912 and I dont need this patch for my device.

Quoted 14 lines · Khem Raj

Hello,

Current uImage generated for omap1 target did not boot on my target. We are using manual method to create uImage.
This patch uses uImage KERNEL_IMAGETYPE for omap1 targets. I have tested this on omap5912osk and the resulting uImage booted just fine.

If it is OK please consider this patch for applying.

Thanks

-Khem

Quoted 6 lines

------------------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

- --
-
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 - Building 30
P.O. Box: 90619-900 - Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
-
---------------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGs+NkKNrSZaSIZoURAjopAJ95tKzY55rDneVEMMAzwhusDoJ0kgCgg8P6 x7PE0HgYVeQ1c91g4CSWKjM=
=gRta
-----END PGP SIGNATURE-----

#2 lore raw
In reply to Khem Raj

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khem Raj schreef:

Quoted 8 lines

Hello,

Current uImage generated for omap1 target did not boot on my target. We are using manual method to create uImage.
This patch uses uImage KERNEL_IMAGETYPE for omap1 targets. I have tested this on omap5912osk and the resulting uImage booted just fine.

If it is OK please consider this patch for applying.

I had some troubles with generating uImages earlier in with avr2, efika and at91 kernels. I added some foo to packages/linux/linux.inc that works for me(TM).

After I figure out why my ubuntu machine doesn't let me login anymore I have some further updates for it.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGtBpwMkyGM64RGpERAqPqAJ9ZEI13wWti+upRzgEGNkX5xU16SQCgncm7 gS+hEKU8R2AZEQrintj/Iyk=
=mayM
-----END PGP SIGNATURE-----

#3 lore raw
In reply to Khem Raj

I'm running an OSK build atm (with current code). Tomorrow, I want to compare how the kernel creates the uImage with the commands in the bbfile.

I tend to agree we should use the kernel build system wherever possible.

I'm concerned that we are having trouble booting various combinations of uboot/kernel/file system and would like to have some understanding of what is causing the problems. I do not want to fix one persons build at the expense of other's.

Of course, the "thesis" is priority number atm, so I will be doind this during procrastination time. http://www.phdcomics.com/comics/archive.php?comicid=315

Philip

Quoted 20 lines · Khem Raj

Hello,

Current uImage generated for omap1 target did not boot on my target. We are using manual method to create uImage.
This patch uses uImage KERNEL_IMAGETYPE for omap1 targets. I have tested this on omap5912osk and the resulting uImage booted just fine.

If it is OK please consider this patch for applying.

Thanks

-Khem

------------------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

author
#4 lore raw

Agreed. I would be happy if anyone else who is using some omap board try out this patch and check if this works for them or not.

Thanks

-Khem

Quoted 47 lines · Philip Balister

I'm running an OSK build atm (with current code). Tomorrow, I want to compare how the kernel creates the uImage with the commands in the bbfile.

I tend to agree we should use the kernel build system wherever possible.

I'm concerned that we are having trouble booting various combinations of uboot/kernel/file system and would like to have some understanding of what is causing the problems. I do not want to fix one persons build at the expense of other's.

Of course, the "thesis" is priority number atm, so I will be doind this during procrastination time.
http://www.phdcomics.com/comics/archive.php?comicid=315

Philip

Quoted 14 lines · Khem Raj

Hello,

Current uImage generated for omap1 target did not boot on my target. We are using manual method to create uImage.
This patch uses uImage KERNEL_IMAGETYPE for omap1 targets. I have tested this on omap5912osk and the resulting uImage booted just fine.

If it is OK please consider this patch for applying.

Thanks

-Khem

Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#5 lore raw
In reply to Philip Balister

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

openembedded is working for my OSK 5912 without this patch I dont felt it is necessary.

Quoted 16 lines · Philip Balister

I'm running an OSK build atm (with current code). Tomorrow, I want to compare how the kernel creates the uImage with the commands in the bbfile.

I tend to agree we should use the kernel build system wherever possible.

I'm concerned that we are having trouble booting various combinations of uboot/kernel/file system and would like to have some understanding of what is causing the problems. I do not want to fix one persons build at the expense of other's.

Of course, the "thesis" is priority number atm, so I will be doind this during procrastination time.
http://www.phdcomics.com/comics/archive.php?comicid=315

Philip

Quoted 8 lines

Khem Raj wrote:

------------------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

- --
-
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 - Building 30
P.O. Box: 90619-900 - Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
-
---------------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtPYXKNrSZaSIZoURAkIzAJ0UST47AGlSi2SEdupjXN9sCumYEACdFwos 1RWhnxUs0b+VMC+Z6ML2zTE=
=RszW
-----END PGP SIGNATURE-----

author
#6 lore raw
Quoted 5 lines · Luís Vitório Cargnini

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

openembedded is working for my OSK 5912 without this patch I dont felt it is necessary.

I would be happy if you could try this patch and see if it does not break anything for you.

#7 lore raw

I applied the patch locally, rebuilt my kernel, flashed into the OSK and
it ran fine. Basically, the patch fixes the kernel name to match the
image type (previously I called the uImage vmlinux) this causes confusion with people who really understand all the kernel names.

Basically, this is one of the earliest contributions to OE and I am glad it lasted this long :)

End result, the images should be compatible, and the filename in deploy/images changes from vmlinux.... to uImage... The new name accurately describes the image.

Philip

Quoted 15 lines · Khem Raj
Quoted 5 lines · Luís Vitório Cargnini

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

openembedded is working for my OSK 5912 without this patch I dont felt it is necessary.

I would be happy if you could try this patch and see if it does not break anything for you.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

author
#8 lore raw

Thanks Philip for trying it out.

Quoted 39 lines · Philip Balister

I applied the patch locally, rebuilt my kernel, flashed into the OSK and
it ran fine. Basically, the patch fixes the kernel name to match the
image type (previously I called the uImage vmlinux) this causes confusion with people who really understand all the kernel names.

Basically, this is one of the earliest contributions to OE and I am glad it lasted this long :)

End result, the images should be compatible, and the filename in deploy/images changes from vmlinux.... to uImage... The new name accurately describes the image.

Philip

Quoted 7 lines · Khem Raj
Quoted 5 lines · Luís Vitório Cargnini

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

openembedded is working for my OSK 5912 without this patch I dont felt it is necessary.

Quoted 8 lines

I would be happy if you could try this patch and see if it does not break anything for you.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel