> Texas Instruments X-Loader 1.41 (Sep 17 2010 - 12:00:04)
> mmc read: Invalid size
> Starting OS Bootloader from MMC/SD1 ...
>
>
> U-Boot 1.1.4-gcebe815a-dirty (Oct 19 2010 - 17:45:52)
That's a 5 year old version of uboot......
> On Dec 20, 11:10 am, modyrater <mark.lazarew...@gmail.com> wrote:
> > Texas Instruments X-Loader 1.41 (Sep 17 2010 - 12:00:04)
> > Load address: 0x80e80000
> > PANDA # mtest 0x80100000 0x90000000 0xaabb
> > Pattern 0000AABB Writing... X-Loader hangs
Your test command will overwrite your in DDR u-boot executable. Of course it will crash. Maybe it crashes for other reasons also but first you need to start with a valid address.
Start at like 80200000 and you will be safe unless you configured a big malloc area or what not. This seems unlikely as few people seem to touch many of the layout options anymore.
Regards,
Richard W.
Just one interesting related note:
Upstream u-boot will now relocate automatically to the DDR boundary
(outer edge) automatically no matter what the LOAD_ADDRESS is. in
previous versions, one'd have to be careful to ensure memtest did not
overwrite parts of u-boot text and data area as well as heap/stack as
well - the addresses actually available to mtest was fragmented.
So, depending on the bootloader version used, the usage of lower address
for mtest can be valid
--
Regards,
Nishanth Menon
a little more details on 2010.12 - the latest formal release here:
http://marc.info/?l=u-boot&m=129304896226298&w=2
> Just one interesting related note:
> Upstream u-boot will now relocate automatically to the DDR boundary
> (outer edge) automatically no matter what the LOAD_ADDRESS is. in
> previous versions, one'd have to be careful to ensure memtest did not
> overwrite parts of u-boot text and data area as well as heap/stack as
> well - the addresses actually available to mtest was fragmented.
Hugh. Probably its is generally useful.
Back in OMAP2 days there were perhaps 10 different memory combinations used with boards using 1 or 2 chip selects. Additionally memory controller also had many bugs. I choose the address somewhat in the middle of the 1st chip select as it was common to all combinations.
Early probe I only configured 1 chip select after probing then relocated. Then later on the code determined the rest of the properties and configured a 2nd chip select if it was there.
The above allow 1 binary to work over a couple years of board variations. I was very happy with this. Other HLOS loaders took a 1 image per board variant and it created a lot of obstacles to the fanned out end users.
Anyway, an auto move is right if you can uniquely determine your memory type very early. This wasn't the case with our early sdr and ddr modules. I hope its configurable.
... there is less an issue today at the top end as many of the parts can have their sizes probed with a mr sequence added in a later jdec extension. Omap1,2,3 controller don't support this however... omap4 does.
> So, depending on the bootloader version used, the usage of lower
> address for mtest can be valid
Does memtest check to not overwrite itself? If not it would still die just later.
Regards,
Richard W.