fastboot: Leave more space for kernel
Propagate from (CR) Due to latest kernel text section exceeds 16MB, the oriGinal ramdisk loading address becomes invalid. This leads to boot image flashed by fastboot flash:raw command cannot boot up. Move ramdisk 32MB away from kernel loading address to fix this issue. Picked from http://gerrit.mot.com/495270 Change-Id: I50709e307aa3be08885236306fe70761ea1ed642 Reviewed-on: https://gerrit.mot.com/1013028 Reviewed-by: Qing Chang <qing@motorola.com> Submit-Approved: Jira Key Signed-off-by: Qing Chang <a21550@motorola.com> Reviewed-on: https://gerrit.mot.com/1244780 Reviewed-on: https://gerrit.mot.com/1335207 Reviewed-by: Dong-Hua Yan <a18317@motorola.com> Reviewed-on: https://gerrit.mot.com/1945700 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com> Reviewed-by: Ling Jin <lingjin@motorola.com> Submit-Approved: Ling Jin <lingjin@motorola.com> Tested-by: Ling Jin <lingjin@motorola.com> Reviewed-on: https://gerrit.mot.com/2265601
This commit is contained in:
parent
4cd77be61f
commit
ee51de8d79
|
@ -2220,7 +2220,7 @@ int FastBootTool::Main(int argc, char* argv[]) {
|
||||||
std::string next_active;
|
std::string next_active;
|
||||||
|
|
||||||
g_boot_img_hdr.kernel_addr = 0x00008000;
|
g_boot_img_hdr.kernel_addr = 0x00008000;
|
||||||
g_boot_img_hdr.ramdisk_addr = 0x01000000;
|
g_boot_img_hdr.ramdisk_addr = 0x02000000;
|
||||||
g_boot_img_hdr.second_addr = 0x00f00000;
|
g_boot_img_hdr.second_addr = 0x00f00000;
|
||||||
g_boot_img_hdr.tags_addr = 0x00000100;
|
g_boot_img_hdr.tags_addr = 0x00000100;
|
||||||
g_boot_img_hdr.page_size = 2048;
|
g_boot_img_hdr.page_size = 2048;
|
||||||
|
|
Loading…
Reference in New Issue