[U-Boot] U-Boot version issue

Michal Simek
2015-10-09T13:22:18Z

Hi,

On 10/09/2015 03:02 PM, Simon Glass wrote:
> +Marcel who is the maintainer

Marcel? :-)

>
> Hi,
>
> On 8 October 2015 at 14:56, ba_f <ba_f@rbg.informatik.tu-darmstadt.de> wrote:
>>
>> Hello,
>>
>>
>> i have an issue with different U-Boot versions, and i have no clue what's
>> the problem.
>> Maybe someone's got an idea?
>>
>> Working on Xilinx' ARM Platform i use U-Boot version
>> u-boot-xlnx-xilinx-v14.6.01, and it's all good with that one and even lower
>> versions.
>> But, using u-boot-xlnx-xilinx-v14.7 or higher results in serious CPU errors:

This issue shouldn't be discussed in this mailing list as Simon pointed
out. It is related to Xilinx and pretty ancient version.

>>
>> uboot> fatload mmc 0 0x00ffffc0 bootstrap.uimage
>> reading bootstrap.uimage
>> 6139968 bytes read in 528 ms (11.1 MiB/s)
>> uboot> go 0x01000000
>
> What is that bootstrap program? Maybe you need to turn off the cache
> before starting it with the 'dcache off' command?

yes, likely this is a problem.
There is one related problem to this which is also in mainline u-boot.
When you load stuff from non volatile memories sometimes u-boot does
cache flush and sometimes not.
I am not sure if all RAW accesses (e.g. MMC, Sata) have cache flush but
reading from FS doesn't have it.

I would try what Simon suggested which is disable dcache and also load
image via tftp for example.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151009/0785a0aa/attachment.sig>