public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [U-boot] failed to boot an compressed u-boot.bin
@ 2013-07-19  6:59 TigerLiu at viatech.com.cn
  2013-07-19  9:16 ` Albert ARIBAUD
  0 siblings, 1 reply; 15+ messages in thread
From: TigerLiu at viatech.com.cn @ 2013-07-19  6:59 UTC (permalink / raw)
  To: u-boot

Hi, Albert:
I found new u-boot source code had some PIC related question.
I succeeded to boot self-uncompressed u-boot.bin now.

I reviewed self-uncompressed header code (similar with Linux kernel
piggy header), found:
The header code would de-compress compressed uboot.bin to 0x0000 8000
dram location, and then jump to run it.

Because i compiled uboot with "SYS_TEXT_BASE=0x03F80000" in board.cfg
before.
So boot failed.

Now, I changed SYS_TEXT_BASE=0x08000000 in boards.cfg.
So, boot the compressed u-boot.bin successfully!

Best wishes,

>Hi, Albert:
>The DRAM address map is : 0 --- 0x1000 0000 (256MB) on my ARM
development >board.
>
>I configured "CONFIG_SYS_TEXT_BASE = 0x03F80000" in config.mk  when
>compiling u-boot source code.
>
>The self-uncompressed code also put the uncompressed image at
0x03F80000 
>
>Best wishes,
>On Wed, 17 Jul 2013 19:53:10 +0800, <TigerLiu@viatech.com.cn> wrote:

> Hi, experts:
> Sorry!
> Not self-compressed, it is self-uncompressed !
> ------------------------------------------------------
> I tried to add a self-uncompressed header in u-boot.bin on a Cortex-A9
> single core platform.
> Then, i tried to boot it.
> But failed in board_init_f() function.
> 
> Has anybody tried to boot a self-uncompressed u-boot.bin ?
> Best wishes,

IIUC, you then load that "header + u-boot.bin" in memory and it
decompresses itself. At what address does it place the uncompressed
load?

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [U-Boot] [U-boot] failed to boot an compressed u-boot.bin
@ 2013-07-17 11:53 TigerLiu at viatech.com.cn
  2013-07-17 13:07 ` Albert ARIBAUD
  0 siblings, 1 reply; 15+ messages in thread
From: TigerLiu at viatech.com.cn @ 2013-07-17 11:53 UTC (permalink / raw)
  To: u-boot

Hi, experts:
Sorry!
Not self-compressed, it is self-uncompressed !
------------------------------------------------------
I tried to add a self-uncompressed header in u-boot.bin on a Cortex-A9
single core platform.
Then, i tried to boot it.
But failed in board_init_f() function.

Has anybody tried to boot a self-uncompressed u-boot.bin ?
Best wishes,

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [U-Boot] [U-boot] failed to boot an compressed u-boot.bin
@ 2013-07-17 11:51 TigerLiu at viatech.com.cn
  0 siblings, 0 replies; 15+ messages in thread
From: TigerLiu at viatech.com.cn @ 2013-07-17 11:51 UTC (permalink / raw)
  To: u-boot

Hi, experts:
I tried to add a self-compressed header in u-boot.bin on a Cortex-A9
single core platform.
Then, i tried to boot it.
But failed in board_init_f() function.

Has anybody tried to boot a self-compressed u-boot.bin ?
Best wishes,

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

end of thread, other threads:[~2013-07-22  1:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19  6:59 [U-Boot] [U-boot] failed to boot an compressed u-boot.bin TigerLiu at viatech.com.cn
2013-07-19  9:16 ` Albert ARIBAUD
2013-07-19  9:25   ` [U-Boot] 答复: " TigerLiu at viatech.com.cn
2013-07-19 12:03     ` [U-Boot] " Albert ARIBAUD
2013-07-22  1:53       ` TigerLiu at viatech.com.cn
  -- strict thread matches above, loose matches on Subject: below --
2013-07-17 11:53 TigerLiu at viatech.com.cn
2013-07-17 13:07 ` Albert ARIBAUD
2013-07-18  1:32   ` TigerLiu at viatech.com.cn
2013-07-18  4:27     ` Wolfgang Denk
2013-07-18  4:41       ` TigerLiu at viatech.com.cn
2013-07-18  8:08         ` Wolfgang Denk
2013-07-18  8:31           ` TigerLiu at viatech.com.cn
2013-07-18 12:50             ` Wolfgang Denk
2013-07-19  5:37           ` Minkyu Kang
2013-07-17 11:51 TigerLiu at viatech.com.cn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox