u-boot can't determine partition table

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

u-boot can't determine partition table

跳至解决方案
5,178 次查看
kruglikov_dmt
Contributor III

Hello. 

I've got the trouble with u-boot and samsung emmc: partition table can't be determined.
* U-Boot > mmc dev 2
...
CMD_TRACE:
...
CMD_SEND:8
                ARG                      0x000001AA
                RET: -19 , 0xffffffed
                MMC_RSP_R1,5,6,7         0x2FF67610
CMD_SEND:55
                ARG                      0x00000000
                RET: -19 , 0xffffffed
                MMC_RSP_R1,5,6,7         0x2FF67610
...
CMD_SEND:8
                ARG                      0x00000000
                RET: -19 , 0xffffffed
                MMC_RSP_R1,5,6,7         0x00000900
...
===> mmc_bread: buff start=0, cur=1, value=0x2ef575e0
===> mmc_bread: blkcnt=1
===> test_block_type error 1: (buffer[DOS_PART_MAGIC_OFFSET + 0] != 0x55) || (buffer[DOS_PART_MAGIC_OFFSET + 1] != 0xaa)
bad MBR sector signature: 0x9966
===> test_part_dos error: test_block_type(buffer) != DOS_MBR
switch to partitions #0, OK
mmc2(part 0) is current device
------------------------------------------------------------------------------------
* U-Boot > mmc info
Device: FSL_SDHC
Manufacturer ID: 90
OEM: 14a
Name: H8G1e
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 1-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: 512 KiB ENH
------------------------------------------------------------------------------------

In the same time Linux kernel works fine with this emmc:
# fdisk -l /dev/mmcblk3
Disk /dev/mmcblk3: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3f1bef1e
Device         Boot Start    End Sectors Size Id Type
/dev/mmcblk3p1       2048 133119  131072  64M 83 Linux
------------------------------------------------------------------------------------
Does anyone have any idea?
What is error code -19 ?
Thanks!
标签 (2)
0 项奖励
1 解答
5,133 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Eugene

one can look at similar issue on

https://community.nxp.com/thread/498776 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
3 回复数
5,134 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Eugene

one can look at similar issue on

https://community.nxp.com/thread/498776 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
5,112 次查看
kruglikov_dmt
Contributor III

the problem was in connection

thanks for hint with boot partition

0 项奖励
5,133 次查看
kruglikov_dmt
Contributor III

looks like that theme about boot partition (title of theme is a bit wrong).

In my case I asked about partition table.

0 项奖励