[U-Boot] Enabling POST on the canyon lands board

Hi All, I am trying to enable POST tests on the canyonlands board.I have added the following to the canyonlands.h header file.
/* POST support */ #define CONFIG_POST (CFG_POST_CACHE | \ CFG_POST_CPU | \ CFG_POST_ETHER | \ CFG_POST_I2C | \ CFG_POST_MEMORY | \ CFG_POST_UART)
/* Define here the base-addresses of the UARTs to test in POST */ #define CFG_POST_UART_TABLE {UART0_BASE, UART1_BASE}
#define CONFIG_LOGBUFFER #define CFG_POST_CACHE_ADDR 0x00800000 /* free virtual address */
#define CFG_CONSOLE_IS_IN_ENV /* Otherwise it catches logbuffer as output */
With the image I built after this changes, I tried to execute the "diag" command on the u-boot prompt. It shows only the "rtc" test. What else should I add to get other tests under the diag command ?
Regards, Afzal

Dear Afzal Nadirshah,
In message 174230991E95D743B0C91DF471EF44E84343CDBC64@MTW02MSG02.mindtree.com you wrote:
I am trying to enable POST tests on the canyonlands board.I have added the following to the canyonlands.h header file.
As discussed before, just enabling a few #defines in the board config file is NOT sufficient to add POST support for a new, so far unsupported, processor and board.
What else should I add to get other tests under the diag command ?
In the first step you probably want to read the documentation; see especially doc/README.POST
Best regards,
Wolfgang Denk
participants (2)
-
Afzal Nadirshah
-
Wolfgang Denk