Part Number: PROCESSOR-SDK-AM335X
We used BeagleBone black for development and were able to load SPL and uboot via UART. When I try to load that same SPL via UART to our new hardware. it freezes (ie crashes). I connected a Blackhawk JTAG to our board and used Code Composer Studio to step through the code. Seems to crash when setting up I2C clocks? I removed a lot of the init code under */board/ti/am335x/board.c including . It still crashes.
I build uboot using
make -j 2 -C $(UBOOT_SOURCE_DIR) am335x_evm_config
make -j 2 -C $(UBOOT_SOURCE_DIR) CROSS_COMPILE=$(CROSS_COMPILE) CONFIG_MKIMAGE_DTC_PATH=$(UBOOT_SOURCE_DIR)/scripts/dtc/dtc
I don't understand why the default SPL build for Beaglebone would crash. Even if the peripherals aren't connected it shouldn't crash.
When I just have it pinmux for UART0 and setup our DDR2 timing, it still crashes.
Is there something i should be doing differently? Is there someway to debug the reason for crashing? Enabling debug printing from within SPL code?
Thanks for any help!