Part Number: AM3354
Hi,
I am using AM3354 and the latest SDK Linux v06.01: u-boot-2019.01+gitAUTOINC+029e4c009a-g029e4c009a. I am using a custom board (which is basically a BBB + Resistive touch screen).
I am able to boot my board, the problem comes when I add u-boot splash screen with the proper size 1024x768 (which matches the resolution of my display).
When I load the header of the image in my u-boot build, resulting u-boot.img is about 4.5MB, and u-boot cannot load and boot the board:
U-Boot SPL 2019.01-gb206ca7-dirty (Feb 03 2020 - 10:43:53 +0200)
Trying to boot from MMC1
As you can see the first stage (MLO) is loading and doing the very basic board init, but cannot load the u-boot.img and finish the board boot up.
When I use smaller image (u-boot.img is about 1.5 MB in size), I am able to fully boot my board:
U-Boot SPL 2019.01-gb206ca7-dirty (Feb 03 2020 - 10:43:53 +0200)
Trying to boot from MMC1
U-Boot 2019.01-gb206ca7-dirty (Feb 03 2020 - 10:43:53 +0200)
CPU : AM335X-GP rev 2.1
Model: Yordan's debug version
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: Could not get PHY for ethernet@4a100000: addr 0
eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in ROM is de:ad:be:ef:00:01
Address in environment is a0:f6:fd:47:b0:f1
, eth1: usb_ether
Hit any key to stop autoboot: 0
=>
This was working with an older u-boot version: TI Sitara SDK version 06.00.00.00, U-Boot version is 2013.01.01. The latest u-boot is having troubles. Did someone else encounter this problem? Can someone provide any pointers to debug this?
I remember u-boot was doing some code relocation within the RAM allocated for u-boot.img. Could this be part of my problem? If yes, could you provide pointers how to disable this code relocation?
Thanks and regards.
