1.硬件:使用am335x处理器,自己做的板子
2. 软件:TI-Android-JB-4.2.2-DevKit-4.1.1
fastboot只能在SD下烧录成功,emmc始终烧录不进去。好像没有烧对,不知道是硬件需要注意什么,还是代码需要修改,好像mmc没有对应上。
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.
我们是自己做的板子,试过了还是不行。麻烦帮我看看打印信息。
U-Boot# mmcinfo
Device: OMAP SD/MMC
Manufacturer ID: 2
OEM: 544d
Name: SA08G
Tran Speed: 50000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 7.2 GiB
Bus Width: 4-bit
U-Boot# mmc dev 1
mmc_send_cmd : timeout: No status update // 切换mmc1时,有时会出现这个信息 不知道是不是真的切换过来了
mmc1(part 0) is current device
U-Boot# mmcinfo
Device: OMAP SD/MMC
Manufacturer ID: fe
OEM: 14e
Name: MMC04
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
U-Boot# fastboot
Fastboot entered...
musb-hdrc: peripheral reset irq lost!
calling fastboot oem!! : oem format
fastboot_oem:format
do_format ..!!
mmc capacity is:0x9fb92f17
mmc: number of blocks:0xe6e000
mmc: block size:0x200
MMC write: dev # 1, block # 0, count 35 ... 35 blocks write: OK
Writing mbr is DONE!
new partition table:
MMC read: dev # 1, block # 1, count 1 ... 1 blocks read: OK
efi partition table not found
每次在这里出现问题,不知是硬件配置,还是软件定义问题?感觉MMC write好像没写对地方,导致总是读不到分区表??我的板子没有sysboot。
板子是参考BBB做的。有几点我不是很明白的地方。
1.当输入mmc dev 1时,可以显示读出的内容,是不是说明硬件读写没有问题?另外emmc显示为4-bit,不知是否正确?
2.每次上电时,切换mmc dev 1总是mmc_send_cmd : timeout: No status update ,我不知是否已经真的切换过来了?
3.当切换成mmc dev 0时,却可以用fastboot建立分区表,并烧录。到mmc1却不行。总是显示如下: 我不知道分区表是写进去了,读不出来?还是本来就没写进去》
U-Boot# fastboot
Fastboot entered...
musb-hdrc: peripheral reset irq lost!
calling fastboot oem!! : oem format
fastboot_oem:format
do_format ..!!
mmc capacity is:0x9fb92f17
mmc: number of blocks:0xe6e000
mmc: block size:0x200
MMC write: dev # 1, block # 0, count 35 ... 35 blocks write: OK
Writing mbr is DONE!
new partition table:
MMC read: dev # 1, block # 1, count 1 ... 1 blocks read: OK
efi partition table not found
4.我想知道到底是状态没有切换,还是没有写进去,或者读不出来,还是寄存器错误,或者define没有开启?
附件为emmc图