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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------