sirop
September 17, 2019, 4:10pm
1
Hello.
Since we use a custom board for flashing Colibri vf50, I would like to ask a naive question
if it is possible to use imx_uart dependent only on 64 bit libs as it is much easier to for us to build/use the 64bit version of imx_uart.
Thanks in advance.
boris
alex.tx
September 17, 2019, 4:45pm
2
The Colibri VF50 is based on the Arm Cortex ™ -A5, which is a 32-bit processor. And I strongly doubt that you can make a 64-bit driver work on it.
sirop
September 18, 2019, 5:17am
3
Thanks a lot for your quick response.
I do not doubt that Colibri V50 is based on a 32 bit processor. I just thought that imx_uart is used for flashing a bootloader onto a Colibri module, which means that imx_uart is started and works then not on a Colibri module but on another machine – call it carrier board or whatever.
And therefore I asked if imx_uart can be 64bit.
hi @sirop
What is your application? What exactly are you trying to do?
Best regards,
Jaski
sirop
September 18, 2019, 7:57am
5
We have a custom board which runs 64 bit Linux ( kernel 4.19 ) and want to know
if we can use a 64 bit imx_uart
( imx_uart: fix type on help · boundarydevices/imx_usb_loader@4aa9809 · GitHub ) to flash a bootloader onto a Colibri V50 module as update.sh suggests:
sudo /usr/bin/imx_uart ${LOADEROPTS} -d ${UARTDEV} ${LOCPATH}/vybrid_usb_work.conf \ ${BINARIES}/u-boot.imx
I forgot to mention above that the custom board (=carrier board) is aarch64.
steff
September 18, 2019, 10:57am
6
Yes, you can build your own imx_uart.
I build mine from this repo:
Using the right toolchain should yield a binary only depending on 64 bit libraries.
sirop
September 18, 2019, 11:21am
7
hi @sirop : Is the issue solved now?
sirop
September 20, 2019, 7:51am
9
Yes, I confirm that we could successfully run imx_uart (Version: imx_uart: fix type on help · boundarydevices/imx_usb_loader@4aa9809 · GitHub )
on amd64 machine.
ldd /usr/bin/imx_uart
linux-vdso.so.1 => (0x00007fff2dfa6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe4691c2000)
/lib64/ld-linux-x86-64.so.2 (0x00005629ac2ee000)
We want also to test it on aarch64.
Perfect that it works. Thanks for your feedback.