How to enable CONFIG_SYS_POST_UART & CONFIG_SYS_POST_ETHER for T1040rdb in u-boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable CONFIG_SYS_POST_UART & CONFIG_SYS_POST_ETHER for T1040rdb in u-boot

1,058 Views
amittomar
NXP Employee
NXP Employee

I need to enable CONFIG_SYS_POST_UART & CONFIG_SYS_POST_ETHER  for t1040rdb in u-boot as I'm not sure it is enabled by default in u-boot.

For the same I have provided following in "inclue/configs/T104xRDB.h"

#define CONFIG_POST (CONFIG_SYS_POST_UART | CONFIG_SYS_POST_ETHER)

Now I could see POST for UART is trace-down to uart_post_test() of "./drivers/serial/serial.c" but couldn't trace same POST for ETHER.

Though ether_post_test() is defined in "./post/cpu/mpc8xx/ether.c" but I don't see ether.c is getting compiled ?

So, What I need to do to enable CONFIG_SYS_POST_UART & CONFIG_SYS_POST_ETHER properly?

Thanks,

Amit

Labels (1)
Tags (3)
0 Kudos
1 Reply

873 Views
Pavel
NXP Employee
NXP Employee

Look at the u-boot readme file using the following page:

http://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD

Find the Section “Configuration Options:” in this file.

This Section contains the following:

Configuration depends on the combination of board and CPU type; all such information is kept in a configuration file "include/configs/<board_name>.h".

See also attached file. It is u-boot readme file for the T1040RDB board from Freescale SDK 1.7.

There is no CONFIG_SYS_POST_UART parameter in this file.

0 Kudos