
2012/9/5 Zhi-zhou Zhang etou.zh@gmail.com: [...]
why have you omitted this?
#define CONFIG_BOOTCOMMAND "bootp;bootelf"
#define CONFIG_CMD_ELF
Because I haven't tested `bootelf' command. I'm not should it work or not. Another reason is that when I configure CONFIG_CMD_ELF I will get lots of warning such as: cmd_elf.c: In function 'load_elf_image_phdr': cmd_elf.c:289:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmd_elf.c: In function 'load_elf_image_shdr': cmd_elf.c:343:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmd_elf.c:346:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
ok but there are similar warnings in other files too. We can fix those files later. My point is that all qemu_mips variants should be configured with the same options.
[...]
why have you omitted the flash support? qemu-system-mips supports flash emulation with the option -pflash. It already works with a qemu_mips32 U-boot.
Yes, I have tested with -pflash in qemu_mips64 either. I have forgot why I omit it now. By the way, which commit should I base on of my next patch?
it is still git://git.denx.de/u-boot-mips.git master