LS1088ardb send data over UART in U-boot during boot

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

LS1088ardb send data over UART in U-boot during boot

981 次查看
zeroqruel
Contributor III

Hello dear experts,

I need your support and suggestions for a problem I have. We have custom boards with several versions based on ls1088a-rdb. In one of these versions, we have SD/eMMC connection switched via mux from cpld, designed on the same line. If I activate the eMMC line from cpld before powering on the device, I can successfully see it in the "/dev/mmcblk0" path when I type "fdisk -l" in the user space. But I want to use the SD card for booting and then activate the eMMC. 

I tried this in user space and switched the eMMC line by sending a command to CPLD from the ls1088 UART3(/dev/ttyS2) line. However, when I say "fdisk -l" I don't see any active mmc lines. When I examine the kernel output with dmesg I get this error: "

/dev/mmcblk0: Can't open blockdev
mmcblk0: error -110 requesting status
mmcblk0: recovery failed!

 My first question here is, is it possible to activate emmc after uboot and kernel initialization?

Second question is can I send data to CPLD via UART later during the flexbuild u-boot boot phase? UART1(ttyS0) is console, UART3 connected to CPLD. Is it possible to send data via UART3 line in U-boot?

 

 

 

 

0 项奖励
回复
1 回复

920 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Please explain more about the process you follow to "select" emmc instead of sd card and share the complete log file in .txt file to review it.

 

0 项奖励
回复