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
You could use pre-built uImage-t4240qds.dtb.
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!