[U-Boot] FSL PowerPC platform: Not able to boot Linux with ramdisk size > 100MB

Prabhakar Kushwaha prabhakar.kushwaha at nxp.com
Thu Oct 27 11:27:21 CEST 2016


Hi Masahiro,

I am not able to boot Linux onF PowerPC platform with ramdisk size > 100MB. 
I tried u-boot master with top commit as " 5ac5861c4ba851b473e6a24940b412b397627d8d ".

I tried git-bisect and figured out below patch causing this problem. If I revert this patch, Linux boots properly.  

commit 20e072f37402c17741f67d9693eaabdd835b80f2
Author: Masahiro Yamada <yamada.masahiro at socionext.com>
Date:   Thu Dec 17 17:19:35 2015 +0900

    image: check "bootm_low" and "bootm_size" if "initrd_high" is missing
    
    To boot Linux, we should prevent Initramdisk and FDT from going too
    high.
    
    Currently, boot_relocate_fdt() checks "fdt_high" environment first,
    and then falls back to getenv_bootm_mapsize() + getenv_bootm_low()
    if "fdt_high" is missing.
    
    On the other hand, boot_ramdisk_high() only checks "initrd_high" to
    get the address limit for the Initramdisk.  We also want to let this
    case fall back to getenv_bootm_mapsize() + getenv_bootm_low().
    
    Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Please advise!!

Regards,
Prabhakar



More information about the U-Boot mailing list