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

Thomas Ruschival ruschi79 at gmx.net
Mon Nov 13 12:56:25 CET 2006


Hi Group,
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:

Bank # 1: AMD AM29LV160B (16 Mbit, bottom boot sect)
  Size: 4 MB in 35 Sectors
  Sector Start Addresses:
    40000000 (RO) 40008000 (RO) 4000C000 (RO) 40010000 (RO) 40020000 (RO)
    40040000      40060000      40080000      400A0000      400C0000
    400E0000      40100000      40120000      40140000      40160000
    40180000      401A0000      401C0000      401E0000      40200000
    40220000      40240000      40260000      40280000      402A0000
    402C0000      402E0000      40300000      40320000      40340000
    40360000      40380000      403A0000      403C0000      403E0000

Bank # 2: AMD AM29LV160B (16 Mbit, bottom boot sect)
  Size: 4 MB in 35 Sectors
  Sector Start Addresses:
    40400000      40408000      4040C000      40410000      40420000
    40440000      40460000      40480000      404A0000      404C0000
    404E0000      40500000      40520000      40540000      40560000
    40580000      405A0000      405C0000      405E0000      40600000
    40620000      40640000      40660000      40680000      406A0000
    406C0000      406E0000      40700000      40720000      40740000
    40760000      40780000      407A0000      407C0000      407E0000

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.
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?

BTW I use  U-Boot 1.1.4 (Sep 18 2006 - 13:38:13) on a PPC823 with 16MB RAM
and 8 MB Flash.

Thanks for any input!
Thomas






More information about the U-Boot mailing list