进入qemu可以先ping一下主机
qemu已经内部分配了ip地址实现主机(10.0.2.2)与虚拟机(10.0.2.15)的通信
tftp:可以在qemu启动时输入参数-tftp /var/lib/tftpboot,也可以在uboot中执行tftp ${...} ...
主机上tftpd服务的重启:sudo /etc/init.d/tftpd-hpa restart
uboot编译
用vi打开boards.cfg文件,用/命令找integrator,找到对应arm926的Target,在uboot目录下执行
$ make integratorcp_cm926ejs_config
$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
(开始因为没指定交叉编译工具链而cc出错,对应找原因找到了)
又出现问题:initcall?