No Console Output from Compiled U-Boot on TWR-VF65GS10 Tower Module

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

No Console Output from Compiled U-Boot on TWR-VF65GS10 Tower Module

跳至解决方案
7,046 次查看
Rikard1
Contributor II

I have a pre-built image (Factory Starting Point from LinuxLink Timesys) that includes U-Boot and Linux on an SD card, and it boots successfully with console output via a TWR-SER-SCH and RS232-to-FTDI USB adapter connected to the D9 plug on the board. However, when I compile U-Boot from source (using, for example, the v2025.01 branch on GitHub) and write the resulting U-Boot binary (u-boot.imx) to my SD card with:

sudo dd if=u-boot.imx of=/dev/sdc bs=512 seek=2

I get no output on the COM port, regardless of which U-Boot Git tag I compile. None of the compiled images seem to work.

I’m unsure how to get a compiled U-Boot binary to work with the TWR-VF65GS10 Tower Module so that it outputs to the serial terminal. When using the Factory Starting Point image, power is connected through the OpenSDA USB port (J3), but if I connect power via USB to the secondary elevator, there’s no serial output.

 

*************************U-boot Compilation ***************************************************

make CROSS_COMPILE=arm-linux-gnueabihf- distclean

make CROSS_COMPILE=arm-linux-gnueabihf- vf610twr_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

 

 

标签 (1)
0 项奖励
回复
1 解答
7,000 次查看
Rikard1
Contributor II

Hi Pengyong, u-boot is now working. The issue was that somehow dd did not write to offset 0x400 on my sd card. I do not know what the issue with linux dd is, but i am using a usb hub with sd card input connected to host pc running ubuntu on virtualbox vm. i am using windows dd on host pc and verifying with diskgenius that the u-boot.imx is written to offset 0x400 on the sd card. so far i have verified that i can compile an run u-boot up to v2020.04, but it will not work with v2024 and v2025. This is ok and i will just use the latest version that works on my board.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
7,002 次查看
pengyong_zhang
NXP Employee
NXP Employee

Hi @Rikard1 

what is your SOC type? Please refer the chapter 4.5.12 How to build U-Boot and Kernel in standalone environment. 

B.R

0 项奖励
回复
7,001 次查看
Rikard1
Contributor II

Hi Pengyong, u-boot is now working. The issue was that somehow dd did not write to offset 0x400 on my sd card. I do not know what the issue with linux dd is, but i am using a usb hub with sd card input connected to host pc running ubuntu on virtualbox vm. i am using windows dd on host pc and verifying with diskgenius that the u-boot.imx is written to offset 0x400 on the sd card. so far i have verified that i can compile an run u-boot up to v2020.04, but it will not work with v2024 and v2025. This is ok and i will just use the latest version that works on my board.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2044624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETWR-VF65GS10%20%E5%A1%94%E5%BC%8F%E6%A8%A1%E5%9D%97%E4%B8%8A%E7%BC%96%E8%AF%91%E7%9A%84%20U-Boot%20%E6%B2%A1%E6%9C%89%E6%8E%A7%E5%88%B6%E5%8F%B0%E8%BE%93%E5%87%BA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2044624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%9C%89%E4%B8%80%E4%B8%AA%E9%A2%84%E5%85%88%E6%9E%84%E5%BB%BA%E7%9A%84%E5%9B%BE%E5%83%8F%EF%BC%88LinuxLink%20Timesys%20%E7%9A%84%E5%B7%A5%E5%8E%82%E8%B5%B7%E7%82%B9%EF%BC%89%EF%BC%8C%E5%85%B6%E4%B8%AD%E5%8C%85%E6%8B%AC%20SD%20%E5%8D%A1%E4%B8%8A%E7%9A%84%20U-Boot%20%E5%92%8C%20Linux%EF%BC%8C%E5%B9%B6%E4%B8%94%E5%AE%83%E9%80%9A%E8%BF%87%E8%BF%9E%E6%8E%A5%E5%88%B0%E7%94%B5%E8%B7%AF%E6%9D%BF%E4%B8%8A%E7%9A%84%20D9%20%E6%8F%92%E5%A4%B4%E7%9A%84%20TWR-SER-SCH%20%E5%92%8C%20RS232-to-FTDI%20USB%20%E9%80%82%E9%85%8D%E5%99%A8%E6%88%90%E5%8A%9F%E5%90%AF%E5%8A%A8%E5%B9%B6%E5%B8%A6%E6%9C%89%E6%8E%A7%E5%88%B6%E5%8F%B0%E8%BE%93%E5%87%BA%E3%80%82%E4%BD%86%E6%98%AF%EF%BC%8C%E5%BD%93%E6%88%91%E4%BB%8E%E6%BA%90%E4%BB%A3%E7%A0%81%E7%BC%96%E8%AF%91%20U-Boot%EF%BC%88%E4%BE%8B%E5%A6%82%EF%BC%8C%E4%BD%BF%E7%94%A8%20GitHub%20%E4%B8%8A%E7%9A%84%20v2025.01%20%E5%88%86%E6%94%AF%EF%BC%89%E5%B9%B6%E5%B0%86%E7%94%9F%E6%88%90%E7%9A%84%20U-Boot%20%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%EF%BC%88u-boot.imx%EF%BC%89%E5%86%99%E5%85%A5%E6%88%91%E7%9A%84%20SD%20%E5%8D%A1%E6%97%B6%EF%BC%9A%3C%2FP%3E%3CP%3Esudo%20%3CSPAN%20class%3D%22%22%3Edd%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22%22%3Eif%3C%2FSPAN%3E%20%3Du-boot.imx%20of%3D%2Fdev%2Fsdc%20bs%3D512%20seek%3D2%3C%2FP%3E%3CP%3E%E6%97%A0%E8%AE%BA%E6%88%91%E7%BC%96%E8%AF%91%E5%93%AA%E4%B8%AA%20U-Boot%20Git%20%E6%A0%87%E7%AD%BE%EF%BC%8CCOM%20%E7%AB%AF%E5%8F%A3%E4%B8%8A%E9%83%BD%E6%B2%A1%E6%9C%89%E8%BE%93%E5%87%BA%E3%80%82%E6%89%80%E6%9C%89%E7%BC%96%E8%AF%91%E5%90%8E%E7%9A%84%E5%9B%BE%E5%83%8F%E4%BC%BC%E4%B9%8E%E9%83%BD%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E4%B8%8D%E7%A1%AE%E5%AE%9A%E5%A6%82%E4%BD%95%E8%AE%A9%E7%BC%96%E8%AF%91%E5%90%8E%E7%9A%84%20U-Boot%20%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%8E%20TWR-VF65GS10%20%E5%A1%94%E5%BC%8F%E6%A8%A1%E5%9D%97%E5%8D%8F%E5%90%8C%E5%B7%A5%E4%BD%9C%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%AE%83%E8%BE%93%E5%87%BA%E5%88%B0%E4%B8%B2%E8%A1%8C%E7%BB%88%E7%AB%AF%E3%80%82%E5%BD%93%E4%BD%BF%E7%94%A8%E5%B7%A5%E5%8E%82%E8%B5%B7%E7%82%B9%E5%9B%BE%E5%83%8F%E6%97%B6%EF%BC%8C%E7%94%B5%E6%BA%90%E9%80%9A%E8%BF%87%20OpenSDA%20USB%20%E7%AB%AF%E5%8F%A3%EF%BC%88J3%EF%BC%89%E8%BF%9E%E6%8E%A5%EF%BC%8C%E4%BD%86%E5%A6%82%E6%9E%9C%E6%88%91%E9%80%9A%E8%BF%87%20USB%20%E5%B0%86%E7%94%B5%E6%BA%90%E8%BF%9E%E6%8E%A5%E5%88%B0%E8%BE%85%E5%8A%A9%E7%94%B5%E6%A2%AF%EF%BC%8C%E5%88%99%E6%B2%A1%E6%9C%89%E4%B8%B2%E8%A1%8C%E8%BE%93%E5%87%BA%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E*************************U-boot%20%E7%BC%96%E8%AF%91%20****************************************************%3C%2FP%3E%3CP%3E%E4%BD%BF%20CROSS_COMPILE%3Darm-linux-gnueabihf-distclean%3C%2FP%3E%3CP%3Emake%20CROSS_COMPILE%3Darm-linux-gnueabihf-%20vf610twr_defconfig%3C%2FP%3E%3CP%3E%E4%BD%BF%20ARCH%3Darm%20CROSS_COMPILE%3Darm-linux-gnueabihf-%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2044624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EVF6xx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2048021%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9ATWR-VF65GS10%20%E5%A1%94%E5%BC%8F%E6%A8%A1%E5%9D%97%E4%B8%8A%E7%BC%96%E8%AF%91%E7%9A%84%20U-Boot%20%E6%B2%A1%E6%9C%89%E6%8E%A7%E5%88%B6%E5%8F%B0%E8%BE%93%E5%87%BA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048021%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8CPengyong%EF%BC%8Cu-boot%20%E7%8E%B0%E5%9C%A8%E5%8F%AF%E4%BB%A5%E5%B7%A5%E4%BD%9C%E4%BA%86%E3%80%82%E9%97%AE%E9%A2%98%E6%98%AF%20dd%20%E4%B8%8D%E7%9F%A5%E4%BD%95%E6%95%85%E6%B2%A1%E6%9C%89%E5%86%99%E5%85%A5%E6%88%91%E7%9A%84%20SD%20%E5%8D%A1%E4%B8%8A%E7%9A%84%E5%81%8F%E7%A7%BB%E9%87%8F%200x400%E3%80%82%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%20linux%20dd%20%E7%9A%84%E9%97%AE%E9%A2%98%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%8C%E4%BD%86%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%E5%B8%A6%E6%9C%89%20SD%20%E5%8D%A1%E8%BE%93%E5%85%A5%E7%9A%84%20USB%20%E9%9B%86%E7%BA%BF%E5%99%A8%E8%BF%9E%E6%8E%A5%E5%88%B0%E5%9C%A8%20VirtualBox%20VM%20%E4%B8%8A%E8%BF%90%E8%A1%8C%20ubuntu%20%E7%9A%84%E4%B8%BB%E6%9C%BA%20PC%E3%80%82%E6%88%91%E5%9C%A8%E4%B8%BB%E6%9C%BA%20PC%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20Windows%20dd%EF%BC%8C%E5%B9%B6%E4%BD%BF%E7%94%A8%20DiskGenius%20%E9%AA%8C%E8%AF%81%20u-boot.imx%20%E6%98%AF%E5%90%A6%E5%86%99%E5%85%A5%20SD%20%E5%8D%A1%E4%B8%8A%E7%9A%84%E5%81%8F%E7%A7%BB%E9%87%8F%200x400%E3%80%82%E5%88%B0%E7%9B%AE%E5%89%8D%E4%B8%BA%E6%AD%A2%EF%BC%8C%E6%88%91%E5%B7%B2%E7%BB%8F%E9%AA%8C%E8%AF%81%E6%88%91%E5%8F%AF%E4%BB%A5%E7%BC%96%E8%AF%91%E5%B9%B6%E8%BF%90%E8%A1%8C%20u-boot%20%E8%87%B3%20v2020.04%EF%BC%8C%E4%BD%86%E5%AE%83%E4%B8%8D%E9%80%82%E7%94%A8%E4%BA%8E%20v2024%20%E5%92%8C%20v2025%E3%80%82%E6%B2%A1%E5%85%B3%E7%B3%BB%EF%BC%8C%E6%88%91%E5%8F%AA%E4%BC%9A%E4%BD%BF%E7%94%A8%E9%80%82%E5%90%88%E6%88%91%E7%9A%84%E4%B8%BB%E6%9D%BF%E7%9A%84%E6%9C%80%E6%96%B0%E7%89%88%E6%9C%AC%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2046798%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9ATWR-VF65GS10%20%E5%A1%94%E5%BC%8F%E6%A8%A1%E5%9D%97%E4%B8%8A%E7%BC%96%E8%AF%91%E7%9A%84%20U-Boot%20%E6%B2%A1%E6%9C%89%E6%8E%A7%E5%88%B6%E5%8F%B0%E8%BE%93%E5%87%BA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2046798%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246871%22%20target%3D%22_blank%22%3E%40Rikard1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%E4%BD%A0%E7%9A%84%20SOC%20%E7%B1%BB%E5%9E%8B%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F%E8%AF%B7%E5%8F%82%E9%98%85%E7%AC%AC%204.5.12%20%E7%AB%A0%E5%A6%82%E4%BD%95%E5%9C%A8%E7%8B%AC%E7%AB%8B%E7%8E%AF%E5%A2%83%E4%B8%AD%E6%9E%84%E5%BB%BA%20U-Boot%20%E5%92%8C%E5%86%85%E6%A0%B8%E3%80%82%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E