bugfix: image header pointer change.
PATCH v2 1/1 bugfix: image header pointer change.
changes for V2:
- avoid unrelated syntax changes
--- common/cmd_bootm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_bootm.c +0 -0
@@ -896,7 +896,7 @@ static void *boot_get_kernel (cmd_tbl_t *cmdtp,
int flag, int argc, char * const
memmove (&images->legacy_hdr_os_copy, hdr, sizeof(image_header_t));
/* save pointer to image header */
- images->legacy_hdr_os = hdr;
+ images->legacy_hdr_os = &images->legacy_hdr_os_copy;
images->legacy_hdr_valid = 1;
show_boot_progress (6);
Signature · 1 line
1.7.3.1.msysgit.0
PATCH v2 1/1 bugfix: image header pointer change.
Dear Baidu Boy,
Quoted 6 lines · In message <[email protected]> you…
Signed-off-by Baidu Boy <[email protected]>changes for V2:
- avoid unrelated syntax changes--- common/cmd_bootm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Comments like the "changes for V2" gor _below_ the "---" ine, not above.
And you still don't mention anything abut the problem you are fixing in the commit message.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de When all is said and done, more is said than done.
PATCH v2 1/1 bugfix: image header pointer change.
Hi,Walfgang:
2010/11/27 Wolfgang Denk <[email protected]>:
Quoted 8 lines
Dear Baidu Boy,
Comments like the "changes for V2" gor _below_ the "---" ine, not above.
And you still don't mention anything abut the problem you are fixing in the commit message.
we should use the new image header after we copied it from the uImage to the &images->legacy_hdr_os_copy. So we should make images->legacy_hdr_os point to images->legacy_hdr_os_copy, not the originalimage_header_t *hdr
Signature · 3 lines
------ Best Regards Leo Liu
PATCH v2 1/1 bugfix: image header pointer change.
Dear Baidu Boy,
Quoted 8 lines · In message <[email protected]> you…
Hi,Walfgang:
2010/11/27 Wolfgang Denk <[email protected]>:
Quoted 5 lines
Dear Baidu Boy,
Comments like the "changes for V2" gor _below_ the "---" ine, not above.
Quoted 8 lines
Quoted 3 lines
And you still don't mention anything abut the problem you are fixing in the commit message.
we should use the new image header after we copied it from the uImage to the
&images->legacy_hdr_os_copy. So we should makeimages->legacy_hdr_ospoint toimages->legacy_hdr_os_copy, not the originalimage_header_t*hdr
Don't explain it in some mail on some mailing list - add such comments to the commit message, please.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Conceptual integrity in turn dictates that the design must proceed from one mind, or from a very small number of agreeing resonant minds. - Frederick Brooks Jr., "The Mythical Man Month"