BeagleBoard-Xm: memtest return error

Валерий Ныров nvg.dev at gmail.com
Wed Jun 3 07:08:31 PDT 2015


Hello everyone! I am a newbie and trying to run the barebox on
BeagleBoard-Xm rev.C with 512MB DDR on board.

To support 512MB I did the following:

1) file: arm/boards/beagle/board.c, func: beagle_mem_init(), change line 85:

beagle_mem_init(void)
{
    //omap_add_ram0(SZ_128M);
    omap_add_ram0(SZ_512M);
}

2) file: arm/boards/beagle/lowlevel.c, func: sdrc_init(), change line 127:

//writel(0x02584099, OMAP3_SDRC_REG(MCFG_0));
writel(0x02590099, OMAP3_SDRC_REG(MCFG_0)); // to add 512MB support on CS0

Then launch barebox and send command - memtest, which return error:
"FAILURE: Address bit stuck high @ 0x90000000: expected 0xaaaaaaaa,
actual 0x7fffffff",
but commands "memset" writes data to the address 0x90000000 correct,
what I did not so?

Best Regards,
Valeriy Nyrov.

Here is the log:

Board: Texas Instruments beagle
netconsole: registered as netconsole-1
i2c-omap i2c-omap30: bus 0 rev4.4 at 100 kHz
ehci ehci0: USB EHCI 1.00
nand: No NAND device found
gpmc_nand gpmc_nand0: probe failed: No such device or address
omap-hsmmc omap3-hsmmc0: registered as omap3-hsmmc0
mci0: detected SD card version 2.0
mci0: registered disk0
malloc space: 0x85e00000 -> 0x87dfffff (size 32 MiB)
environment load /boot/barebox.env: No such file or directory
Maybe you have to create the partition.
running /env/bin/init...
set parameter: No such device
Failed to add partitions
128k(nand0.xload),256k(nand0.barebox)ro,128k(nand0.bareboxenv),128k(nand0.oftree),4M(nand0.kernel),1200

Hit any key to stop autoboot:  1
barebox at Texas Instruments beagle:/ memtest
Start iteration 1 of 1.
Do memtest with caching enabled.
Testing memory space: 0x80000000 -> 0x85dfffff:
Starting data line test.
Check for address bits stuck high.
Check for address bits stuck low or shorted.
Starting integrity check of physicaly ram.
Filling ram with patterns...
        [#################################################################]
Compare written patterns...
        [#################################################################]
Filling ram with inverted pattern and compare it...
        [#################################################################]
done.

Testing memory space: 0x87e48000 -> 0x87ff3fff:
Starting data line test.
Check for address bits stuck high.
Check for address bits stuck low or shorted.
Starting integrity check of physicaly ram.
Filling ram with patterns...
        [#################################################################]
Compare written patterns...
        [#################################################################]
Filling ram with inverted pattern and compare it...
        [#################################################################]
done.

Testing memory space: 0x88000000 -> 0x9fffffff:
Starting data line test.
Check for address bits stuck high.
FAILURE: Address bit stuck high @ 0x90000000: expected 0xaaaaaaaa,
actual 0x7fffffff.
Memtest failed. Error: -5

barebox at Texas Instruments beagle:/ memset -b 0x90000000 0xaa 4
barebox at Texas Instruments beagle:/ md -b 0x90000000
90000000: aa aa aa aa aa aa aa aa aa aa aa aa 00 00 00 00    ................
90000010: aa aa aa aa 00 00 00 00 00 00 00 00 00 00 00 00

barebox at Texas Instruments beagle:/ memset -b 0x90000000 0x55 4
barebox at Texas Instruments beagle:/ md -b 0x90000000
90000000: 55 55 55 55 aa aa aa aa aa aa aa aa 00 00 00 00    UUUU............
90000010: aa aa aa aa 00 00 00 00 00 00 00 00 00 00 00 00    ................



More information about the barebox mailing list