./install
cd ~/QorIQ-SDK-T2080V1.1-T1040V0.3-20140422-yocto
./scripts/host-prepare.sh
./fsl-setup-poky -m t1040rdb
bitbake fsl-image-core
QorIQ-SDK-T2080V1.1-T1040V0.3-20140422-yocto/build_t1040rdb_release/tmp/deploy/images
setenv serverip 192.168.1.10 setenv ipaddr 192.168.1.1 setenv ethact FM1@DTSEC4 setenv baudrate 115200 setenv bootfile uImage--3.8-r11.1-t1040rdb-20150603132854.bin setenv consoledev ttyS0 setenv fdtfile uImage--3.8-r11.1-t1040rdb-20150603132854.dtb setenv fdtaddr c00000 setenv loadaddr 1000000 setenv othbootargs ramdisk_size=960000 setenv ramboot 'setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr' setenv ramdiskaddr 2000000 setenv ramdiskfile fsl-image-core-t1040rdb-20150603132854.rootfs.ext2.gz.u-boot
run ramboot
## Booting kernel from Legacy Image at 01000000 ... Image Name: Linux-3.8.13-rt9-QorIQ-SDK-T2080 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4290895 Bytes = 4.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 02000000 ... Image Name: fsl-image-core-t1040rdb-20150603 Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 27520425 Bytes = 26.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00c00000 Booting using the fdt blob at 0xc00000 Uncompressing Kernel Image ... OK Loading Ramdisk to 2e5c1000, end 2ffffda9 ... OK Loading Device Tree to 03fe1000, end 03fff71e ... OK
login: root root@t1040rdb:~# , : root@t1040rdb:~# uname -a Linux t1040rdb 3.8.13-rt9-QorIQ-SDK-T2080V1.1-T1040V0.3 #1 SMP Wed Jun 3 17:31:19 FET 2015 ppc GNU/Linux
root@t1040rdb:~# ifconfig fm1-gb3 up # ETH0 root@t1040rdb:~# ifconfig fm1-gb3 192.168.1.1 root@t1040rdb:~# iperf -c 192.168.1.10 ------------------------------------------------------------ Client connecting to 192.168.1.10, TCP port 5001 TCP window size: 21.3 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.1.1 port 40315 connected with 192.168.1.10 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.09 GBytes 935 Mbits/sec
Source: https://habr.com/ru/post/261909/
All Articles