Part Number: AM6412
Hi expert,
sdk :ti-processor-sdk-linux-am64xx-evm-09.00.00.03
custom board
We are testing custom board based on AM6412 SOC.When i booting custom board via uart , it prints "Loading Environment from MMC... MMC: block number 0x3500 exceeds max(0x2000)", the same print appears when I flash the u-boot.img file into emmc, print log as follows:
U-Boot 2023.04 (Aug 28 2023 - 16:12:57 +0800)
SoC: AM64X SR2.0 HS-FS
Model: Texas Instruments AM642 EVM
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed -121
DRAM: 2 GiB
Core: 59 devices, 29 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from MMC... MMC: block number 0x3500 exceeds max(0x2000)
*** Warning - !read failed, using default environment
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed -121
Net: eth0: ethernet@8000000port@1
Hit any key to stop autoboot: 0
=>
tftp ${loadaddr} u-boot.img;mmc write ${loadaddr} 0x1800 0x2000
link up on port 1, speed 100, full duplex
Using ethernet@8000000port@1 device
TFTP from server 172.21.65.11; our IP address is 172.21.65.210
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: ################################################## 984.9 KiB
946.3 KiB/s
done
Bytes transferred = 1008523 (f638b hex)
MMC write: dev # 0, block # 6144, count 8192 ... MMC: block number 0x3800 exceeds max(0x2000)
0 blocks written: ERROR
My custom board EMMC chip info is as follows:
=> mmcinfo Device: mmc@fa10000 Manufacturer ID: 9d OEM: 1 Name: IS008G Bus Speed: 200000000 Mode: HS200 (200MHz) Rd Block Len: 512 MMC version 5.0 High Capacity: Yes Capacity: 4 MiB Bus Width: 4-bit Erase Group Size: 512 KiB HC WP Group Size: 8 MiB User Capacity: 7.3 GiB WRREL Boot Capacity: 4 MiB ENH RPMB Capacity: 4 MiB ENH Boot area 0 is not write protected Boot area 1 is not write protected
I noticed that my custom board, emmc boot partition capacity is only 4M, I don't know if the error printing above is caused by this.
How to flash tiboot3.bin ,tispl and u-boot.img binaries to emmc, I need your help.
Best regards