* [U-Boot] [ Ramdisk crc error ]
@ 2008-11-14 9:40 sean
2008-11-14 13:46 ` Jerry Van Baren
0 siblings, 1 reply; 2+ messages in thread
From: sean @ 2008-11-14 9:40 UTC (permalink / raw)
To: u-boot
I've upgrade the capacity of Ram size from 256M to 512M on my custom board
based on SEQUOIA.
(U-boot Version:2008.10-rc2)
I built a ramdisk image which is 72MB.( Also, I modified rd_size to 73728)
When I boot up my board, I've got a message like below.
.
.
RAMDISK: Compressed image found at block 0
crc error
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
.
.
Why does "crc error" occur??
If I use ramdisk image which is 4MB, "crc error" is not appeared.
And also if I use u-boot for 256MB on 512MB board, "crc error" is not
appeared.
Here are my U-boot source which I modified to upgrade memory.
Sequoia.h
#define CFG_MBYTES_SDRAM (512)
Sdram.c
Everything Related DDR Control Register
Init.s
tlbentry( CFG_SDRAM_BASE_2nd, SZ_256M, CFG_SDRAM_BASE_2nd, 0,
AC_R|AC_W|AC_X|SA_G|SA_I )
amcc-common.h
#define CFG_SDRAM_BASE_2nd 0x10000000
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] [ Ramdisk crc error ]
2008-11-14 9:40 [U-Boot] [ Ramdisk crc error ] sean
@ 2008-11-14 13:46 ` Jerry Van Baren
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2008-11-14 13:46 UTC (permalink / raw)
To: u-boot
sean wrote:
> I've upgrade the capacity of Ram size from 256M to 512M on my custom board
> based on SEQUOIA.
>
> (U-boot Version:2008.10-rc2)
>
> I built a ramdisk image which is 72MB.( Also, I modified rd_size to 73728)
>
> When I boot up my board, I've got a message like below.
>
> RAMDISK: Compressed image found at block 0
> crc error
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
>
> Why does "crc error" occur??
Your RAMdisk image is corrupt, almost undoubtedly in RAM, not the flash
storage version.
> If I use ramdisk image which is 4MB, "crc error" is not appeared.
>
> And also if I use u-boot for 256MB on 512MB board, "crc error" is not
> appeared.
This is indicating your RAM and/or RAM memory map is messed up. I'm
guessing that, if you use the memory write command to write to the 256K
location (0x10000000), you will find that the same value has "magically"
appeared at location 0... IOW, your RAM memory map has two copies of
half of your memory (address aliasing).
If you do a RAM test, it should detect this problem.
> Here are my U-boot source which I modified to upgrade memory.
Sorry, I'm not familiar with the Sequoia family, so I cannot tell you
how to fix this.
Good luck and happy reading,
gvb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-14 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-14 9:40 [U-Boot] [ Ramdisk crc error ] sean
2008-11-14 13:46 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox