[U-Boot] cuImage doesn't boot with u-boot 2009.11 version

Hello uboot experts, ( I am new to board level debugging. So, please excuse if I am asking any basic question).
Is cuImage format supported with u-boot-2009.11 version?
I am running linux 2.6.32 with powerpc P1020 (freescale) board. The board has u-boot version 2009.11. When I build the uImage and device tree blob separately, it is booting from u-boot. But, if I build cuImage format, it doesn't boot, and stops at "Uncompressing Kernel Image ... OK":
Could you please help? What could have gone wrong here?
=> => tftp 0x1200000 cuImage.p1020_rdb => (....) => bootm 0x1200000 ## Booting kernel from Legacy Image at 01200000 ... Image Name: uImage-ME-USI-V1.0.1 Created: 2012-08-30 4:09:04 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3379630 Bytes = 3.2 MB Load Address: 00400000 Entry Point: 00400590 Verifying Checksum ... OK Uncompressing Kernel Image ... OK
Thanks & Regards, Sami.

On 09/03/2012 01:08 PM, narayanasami vijayaraghavan wrote:
Hello uboot experts, ( I am new to board level debugging. So, please excuse if I am asking any basic question).
Is cuImage format supported with u-boot-2009.11 version?
I am running linux 2.6.32 with powerpc P1020 (freescale) board. The board has u-boot version 2009.11. When I build the uImage and device tree blob separately, it is booting from u-boot. But, if I build cuImage format, it doesn't boot, and stops at "Uncompressing Kernel Image ... OK":
Why are you using cuImage with P1020? cuImage is for old boards with old U-Boots that don't support device trees.
-Scott

Hello Scott, Thanks for replying. We have few more products based on different ppc-processor/u-boot/linux, all are using cuImage. So, for better maintenance and uniformity, I am trying cuImage with this new h/w (P1020 & u-boot-2009.11). Could you please let me know that, - Can we make cuImage work with this combination? (by editing the wrapper/mkimage, etc) - What is the advantage of using uImage, instead of cuImage?
Thanks & Regards, Narayanasami.
On 9/7/12, Scott Wood scottwood@freescale.com wrote:
On 09/03/2012 01:08 PM, narayanasami vijayaraghavan wrote:
Hello uboot experts, ( I am new to board level debugging. So, please excuse if I am asking any basic question).
Is cuImage format supported with u-boot-2009.11 version?
I am running linux 2.6.32 with powerpc P1020 (freescale) board. The board has u-boot version 2009.11. When I build the uImage and device tree blob separately, it is booting from u-boot. But, if I build cuImage format, it doesn't boot, and stops at "Uncompressing Kernel Image ... OK":
Why are you using cuImage with P1020? cuImage is for old boards with old U-Boots that don't support device trees.
-Scott

On 09/07/2012 11:07 AM, narayanasami vijayaraghavan wrote:
Hello Scott, Thanks for replying. We have few more products based on different ppc-processor/u-boot/linux, all are using cuImage. So, for better maintenance and uniformity, I am trying cuImage with this new h/w (P1020 & u-boot-2009.11). Could you please let me know that,
- Can we make cuImage work with this combination? (by editing the
wrapper/mkimage, etc)
- What is the advantage of using uImage, instead of cuImage?
cuImage was implemented specifically for compatibility with old boards with old U-Boots that don't support device trees. If you want to use it for anything else, you're on your own. It relies on an old, very fragile and non-extensible interface for passing information from U-Boot to Linux.
Could you make it work? Probably. Should you? No.
-Scott

Hello Scott, Thanks again for explaining. I will proceed based on your inputs.
Narayanasami.
On 9/7/12, Scott Wood scottwood@freescale.com wrote:
On 09/07/2012 11:07 AM, narayanasami vijayaraghavan wrote:
Hello Scott, Thanks for replying. We have few more products based on different ppc-processor/u-boot/linux, all are using cuImage. So, for better maintenance and uniformity, I am trying cuImage with this new h/w (P1020 & u-boot-2009.11). Could you please let me know that,
- Can we make cuImage work with this combination? (by editing the
wrapper/mkimage, etc)
- What is the advantage of using uImage, instead of cuImage?
cuImage was implemented specifically for compatibility with old boards with old U-Boots that don't support device trees. If you want to use it for anything else, you're on your own. It relies on an old, very fragile and non-extensible interface for passing information from U-Boot to Linux.
Could you make it work? Probably. Should you? No.
-Scott
participants (2)
-
narayanasami vijayaraghavan
-
Scott Wood