This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPL and U-Boot porting using following SDK ti-processor-sdk-linux-am335x-evm-01.00.00.03-Linux-x86-Install

Hi,

I am porting SPL and U-Boot using the following TI SDK:ti-processor-sdk-linux-am335x-evm-01.00.00.03-Linux-x86-Install

When I compile the U-Boot we see that it boots on AM335X EVM.

For our custom hardware I had modified mux changes in ./board/ti/am335x/mux.c. In enable_board_pin_mux we have added pinmux for MMC0 and I2C1.

After this in ./arch/arm/include/asm/arch/ddr_defs.h file we have added our DDR custom values.

After sdram_init funciton which is in ./board/ti/am335x/board.c, is modified to test entire RAM after config_ddr function.

Then I guess _main will call board_init_f weak function we are printing some puts messages which are not printed.

Is there anything else that I missed for board_init_f function to be called?

Console Log is given below

U-Boot SPL 2014.07-00001-g4a8e5b8-dirty (Aug 04 2015 - 10:20:09)
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
Configuring for My BOARD MAcro
sdram_init+
sdram_init-
Testing Data Bus for walking one's
Data Bus Walking Ones test
Testing Data Bus for walking Zero's
Data Bus Walking Zeros test
Testing Address Bus
AddressBusTest Check for address bits stuck high: Expected Value 0xAAAAAAAA
Testing entire Device
Entire Device Test: Fill memory with a known pattern.
................................................................................................................................................................................................................................................................
Entire Device Test: Check each location and invert it for the second pass.
................................................................................................................................................................................................................................................................
Entire Device Test: Check each location for inverted value and clear each location.
................................................................................................................................................................................................................................................................sdram_init exit
s_init

In addition as VDD_CORE and VDD_MPU are driver at 1.1V I have modified MPU and CORE frequencies to 500M and 1G.

Let me know if I missed any other configurations.

Regards,

GSR