introduce genimg_get_kernel_addr()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- move function description to header file
- fix coding style issue
- use argc < 1 check when calling genimg_get_kernel_addr() in bootm.c
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | image: introduce genimg_get_kernel_addr()common/ include/ | +44 | 1 reply | |
| 2/3 | pxe: detect image format before calling bootm/bootzcommon/ | +11 | 0 replies | |
| 3/3 | bootm: use genimg_get_kernel_addr()common/ | +5 | 5 replies | |
| 3/3 | bootm: use genimg_get_kernel_addr() | +0 | 1 reply | |
| 3/3 | bootm: use genimg_get_kernel_addr() | +0 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Stephen Warren | Simon Glass |
|---|---|---|
| 1/3 | T-b R-b | R-b |
| 2/3 | T-b R-b | |
| 3/3 | T-b R-b | R-b |
| 3/3 | T-b R-b | R-b |
| 3/3 | T-b R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v2 0/3] introduce genimg_get_kernel_addr()
When trying to fix the error message issue in pxe sysboot, we found it's need a real kernel address for further image format detection.
So I take out such code from boot_get_kernel() of bootm.c and create the new API functin genimg_get_kernel_addr(). Then convert pxe/sysboot and bootm.c to use it.
v2:
- move function description to header file
- fix coding style issue
- use argc < 1 check when calling genimg_get_kernel_addr() in bootm.c
Bryan Wu (3):
image: introduce genimg_get_kernel_addr()
pxe: detect image format before calling bootm/bootz
bootm: use genimg_get_kernel_addr()
common/bootm.c | 25 +++++-------------------- common/cmd_pxe.c | 15 +++++++++++---- common/image.c | 32 ++++++++++++++++++++++++++++++++ include/image.h | 12 ++++++++++++ 4 files changed, 60 insertions(+), 24 deletions(-)
Signature · 1 line
1.9.1