有点线索了,首先应该是先要把zImage转成uImage
--------------------------------------------------------------------
中间补充一点,如果自己编译u-boot会有两个问题要自己改一下
1.U_BOOT_CMD出错的问题,修改/common/cmd_bootm.c文件,470左右,修改为:
#ifdef CONFIG_OF_FLAT_TREE
U_BOOT_CMD(
bootm, CFG_MAXARGS, 1, do_bootm,
"bootm - boot application image from memory\n",
"[addr [arg ...]]\n - boot application image stored in memory\n"
"\tpassing arguments 'arg ...'; when booting a Linux kernel,\n"
"\t'arg' can be the address of an initrd image\n"
"\tWhen booting a Linux kernel which requires a flat device-tree\n"
"\ta third argument is required which is the address of the of the\n"
"\tdevice-tree blob. To boot that kernel without an initrd image,\n"
"\tuse a '-' for the second argument. If you do not pass a third\n"
"\ta bd_info struct will be passed instead\n"
);
#else
U_BOOT_CMD(
bootm, CFG_MAXARGS, 1, do_bootm,
"bootm - boot application image from memory\n",
"[addr [arg ...]]\n - boot application image stored in memory\n"
"\tpassing arguments 'arg ...'; when booting a Linux kernel,\n"
"\t'arg' can be the address of an initrd image\n"
);
#endif
2. EF什么格式错误的问题
是CPU不支持浮点编译,修改/cpu/arm920t/config.mk文件
注释掉 -msoft-float那一行
[ 此帖被aoohoo在2009-01-13 13:18重新编辑 ]