[U-Boot-Users] copy to flash ... outside available flash

Wolfgang Denk wd at denx.de
Mon Nov 13 20:36:14 CET 2006


In message <20061113115625.6c0d99ca at localhost> you wrote:
>
> I am trying to install a Ramdiskimage into the flash of a TQM823L Board.
> Somehow it seems uboot has problems to copy a image lager than 0x100000
> Bytes into flash. Here is my flashinfo:

No, it does not. At least not here.

> This means I have 8 MB o flash. I can copy a Block of 0xFFFFF Bytes from
> the RAM for example to 0x40100000. and I can copy the same Block to
> 0x40200000 or to 0x40300000.

Right.

> But if I copy a block that is larger than 0xFFFFF to any location it claims
> that I copy outside available Flash. This is stupid and wrong.
> Ramdisk image size was 0x18CFC9
> Baseaddress:	0x40100000
> ramdisk size: +	0x0018CFC9
> ------------------------------
> end address     0x4028CFC9
> 
> And this adress is surely not outside my flash. What is going on here?

You must be doing something awfully wrong, like using "cp" instead of
"cp.b". Unfortunately you don't provide the exact command  you  used,
so I can only guess. But I bet a case of beer that it's a PEBKAC.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
panic: can't find /




More information about the U-Boot mailing list