I finish boot up the system,and execute the following commands to TFTP the images to the board, then boot into Linux.
=>tftp 1000000 <uImage_name> //uImage-t4240qds.bin
=>tftp 5000000 fsl-image-core-<platform>.ext2.gz.u-boot //fsl-image-minimal-t4240qds.ext2.gz.u-boot
=>tftp 2000000 <platform_dtb_name> //uImage-t4240qds.dtb
=>bootm 1000000 5000000 2000000
but every time I restart the system,I must repeat the steps above,is there anyway I can done this once and for all?
=> setenv bootcmd "setenv bootargs root=/dev/ram rw console=ttyS0,115200;tftp 1000000 uImage-t4240qds.bin;tftp 5000000 fsl-image-minimal-t4240qds.ext2.gz.u-boot;tftp 2000000 uImage-t4240qds.dtb;bootm 1000000 5000000 2000000"
=>saveenv
=>boot
Another question is :when I boot t4240,I already have a uImage-t4240qds.dtb,do I need another .dtb file during cross-compile?
You could use pre-built uImage-t4240qds.dtb.
Do you mean if I use pre-built there is no need for another .dtb file during cross-compile?
Could you please tell me in which step do I need pre-built and what commond can I use ?
No need another .dtb file during cross-compile.
1.After I log in the system using "root",I need to install python-2.7.9.tgz and a .zip file,can I tranfer those file through tftp and install them directly?
2.Is there any example of PPC cross-compiled that can be recommended to me,thanks a lot!