假设kernel地址为9fe80000
修改/home/data/AR9344/SDK/sdk/boot/u-boot/common/cmd_bootm.c文件
156 int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
157 {
158 ulong iflag;
159 ulong addr;
160 ulong data, len, checksum;
161 ulong *len_ptr;
162 uint unc_len = CFG_BOOTM_LEN;
163 int i, verify;
164 char *name, *s;
165 int (*appl)(int, char *[]);
166 image_header_t *hdr = &header;
167
168 s = getenv ("verify");
169 verify = (s && (*s == 'n')) ? 0 : 1;
170
171 if (argc < 2) {
172 addr = load_addr;
173 } else {
174 addr = simple_strtoul(argv[1], NULL, 16);
175 }
176
+ addr = 0x9fe80000;
177 SHOW_BOOT_PROGRESS (1);
178 printf ("## Booting image at %08lx ...\n", addr);