AnsweredAssumed Answered

add CONFIG_SYS_BOOTM_LEN size error help

Question asked by jesse stone on Mar 30, 2016
Latest reply on Apr 12, 2016 by jesse stone

my Image size bigger than 0x800000 so i change CONFIG_SYS_BOOTM_LEN

to increase "max gunzip size"

gedit /root/project_board/lollipop51/myandroid/bootable/bootloader/uboot-imx/common/bootm.c

//#define CONFIG_SYS_BOOTM_LEN    0x800000

//to

#define CONFIG_SYS_BOOTM_LEN 0x1000000

after build and reboot..............................................

 

Normal Boot

Hit any key to stop autoboot:  0

boota mmc1

kernel   @ 14008000 (8817672)

ramdisk  @ 15000000 (872002)

fdt      @ 14f00000 (47600)

## Booting Android Image at 0x12000000 ...

Kernel load addr 0x14008000 size 8612 KiB

Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:off video=mxcfb3:off vmalloc=400M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M mem=1G firmware_class.path=/system/etc/firmware androidboot.selinux=disabled androidboot.dm_verity=disabled

## Flattened Device Tree blob at 14f00000

   Booting using the fdt blob at 0x14f00000

   Loading Kernel Image ... OK

   Using Device Tree in place at 14f00000, end 14f0e9ef

switch to ldo_bypass mode!

 

Starting kernel ...

 

undefined instruction

pc : [<00010000>]       lr : [<8fef2740>]

reloc pc : [<8791e000>]       lr : [<17800740>]

sp : 8eeeda68  ip : 8eeeda44     fp : 00000000

r10: 00000000  r9 : 8eeedeb8     r8 : 009024b4

r7 : 000000f0  r6 : 00000098     r5 : 17800338  r4 : 00c5087d

r3 : 00000000  r2 : 00000000     r1 : 00000000  r0 : 00000000

Flags: NzCv  IRQs off  FIQs off  Mode SVC_32

Resetting CPU ...

 

resetting ...

 

U-Boot 2015.04-svn62 (Mar 30 2016 - 18:03:51)

 

crash at static void v7_maint_dcache_all(u32 operation)

 

how to solve this problrm after add CONFIG_SYS_BOOTM_LEN size

Outcomes