Hi,
I have generated "Hello_world.elf" using powerpc linux cross-toolchain (powerpc-fsl-linux-gcc) now i want to transfer this ELF file to target board(t1024rdb) linux file system and run from there.
I could access target board through serial port console. Is there any command in linux to tranfer files via serial port(Ex: "loadb" in u-boot) ?
Regards,
Veerendranath
I'm not sure using the serial port is really convenient. Can't you use network (NFS, scp, ...) or mass storage (USB stick or SD card)?
If you build your fsl-image-full from sources, I think you should add your example in a recipe, in order to embed it in your filesystem.
I tried to assign static IP address from fsl-image-full... (like in u-boot) to use "tftp" but it doesn't work. When I tried to ping server ip I am getting network unreachable error....
Regards,
Veeru
How did you try?
I get the same error ("Network in unreachable") when I have no connection. How did you try to assign a static IP address. Here on the T1040RDB, I used:
ifconfig fm1-gb3 up 192.168.0.2
Then I transfer, for example, the file "uImage" that is in my tftp server directory. From Linux on the board:
tftp -l uImage -r uImage -g 192.168.0.1
And that works. I think you just have to correctly setup your network interface (it is fm1-gb3 for ETH0 on the T1040RDB, but I don't know for your board, look at the manuals).
NXP SDK supports minicom serial terminal. Use this terminal for file transfers. This application is available if fsl-image-core or fsl-image-full is used.
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
to instantiate file receive mode in minicom terminal we should enter some command like "loadb" in u-boot...what is the command to do that in linux...?
Regards,
Veeru
Look at the following document about minicom using:
http://www.shop.ngxtechnologies.com/download/jtag/minicom_User_Guide.pdf
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
my target board doesn't have access to internet... How can i install minicom?
This application is available if fsl-image-core or fsl-image-full is used.
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I am using "fsl-image-full" but it doesn't have minicom command...
Find minicom using the following path: /usr/bin
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
It has only microcom.. I couldn't find any file transfer options using that command.
Thanks and Regards,
Veerendranath
Look at the following document about minicom using:
http://www.shop.ngxtechnologies.com/download/jtag/minicom_User_Guide.pdf
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
it is not minicom... it's microcom.... fsl-full-image doesn't have minicom...