am335x: load a kernel with integrated initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I get an "handler failed with: Out of memory" message when trying to
load my 22MB large kernel-fit.itb. Below you can see the related log:

mounted /dev/nand0.UBI.ubi.kernel on /mnt/nand0.UBI.ubi.kernel
YY: bootm_boot
YY: read file 0, size 22661672, PAGE_SIZE 4096
YY: fit_open
FIT: Opened FIT image: Simple image with single Linux kernel and FDT blob
FIT: configuration 'conf221@1': Boot Linux kernel with FDT blob (221)
FIT: image 'kernel@1': 'Vanilla Linux kernel'
FIT: /images/kernel@1/hash@1: hash OK

Loading open firmware Device Tree flattened Binary
'/mnt/nand0.UBI.ubi.kernel/kernel-fit.itb'
OS image not yet relocated
Passing control to FIT image handler
YY: do_bootm_linux
YY: before bootm_load_os
YY: bootm_load_os
YY: kernel size 22484352
YY: for each memory bank: size 22484352
__request_region: 0x86b37000:0x880a857f conflicts with 0x87efe860:0x8fdfd0bf
YY: almost at the end
handler failed with: Out of memory

System information:

barebox> / meminfo
used: 1057928
free: 132057980

barebox> / iomem
0x00000000 - 0xffffffff (size 0x00000000) iomem
  0x44e07000 - 0x44e07fff (size 0x00001000) 44e07000.gpio@xxxx
  0x44e09000 - 0x44e09fff (size 0x00001000) 44e09000.serial@xxxx
  0x44e10620 - 0x44e1062f (size 0x00000010) 44e10620.control@xxxxxx
  0x44e10648 - 0x44e1064b (size 0x00000004) 44e10620.control@xxxxxx
  0x44e10800 - 0x44e10a37 (size 0x00000238) 44e10800.pinmux@xxxxxx
  0x47401000 - 0x474011ff (size 0x00000200) 47401400.usb@xxxxxxx
  0x47401300 - 0x474013ff (size 0x00000100) 47401300.usb-phy@xxxxxxx
  0x47401400 - 0x474017ff (size 0x00000400) 47401400.usb@xxxxxxx
  0x47401800 - 0x474019ff (size 0x00000200) 47401c00.usb@xxxxxxx
  0x47401b00 - 0x47401bff (size 0x00000100) 47401b00.usb-phy@xxxxxxx
  0x47401c00 - 0x47401fff (size 0x00000400) 47401c00.usb@xxxxxxx
  0x47810000 - 0x47810fff (size 0x00001000) 47810000.mmc@xxxx
  0x4802a000 - 0x4802afff (size 0x00001000) 4802a000.i2c@xxxx
  0x48040000 - 0x480403ff (size 0x00000400) 48040000.timer@xxxx
  0x4804c000 - 0x4804cfff (size 0x00001000) 4804c000.gpio@xxxx
  0x48060000 - 0x48060fff (size 0x00001000) 48060000.mmc@xxxx
  0x481ac000 - 0x481acfff (size 0x00001000) 481ac000.gpio@xxxx
  0x481ae000 - 0x481aefff (size 0x00001000) 481ae000.gpio@xxxx
  0x4a100000 - 0x4a1007ff (size 0x00000800) 4a100000.ethernet@xxxx
  0x4a101000 - 0x4a1010ff (size 0x00000100) 4a101000.mdio@xxxxxxx
  0x50000000 - 0x50000fff (size 0x00001000) gpmc_nand0
  0x80000000 - 0x8fffffff (size 0x10000000) ram0
    0x87efe860 - 0x8fdfd0bf (size 0x07efe860) malloc space
    0x8fdfd0c0 - 0x8fdffffa (size 0x00002f3b) board data
    0x8fe00000 - 0x8fe8a6af (size 0x0008a6b0) barebox
    0x8fe8a6b0 - 0x8fea3427 (size 0x00018d78) barebox data
    0x8fea3428 - 0x8fea97d3 (size 0x000063ac) bss
    0x8ffe4000 - 0x8ffe7fff (size 0x00004000) ttb
    0x8ffe8000 - 0x8ffeffff (size 0x00008000) stack

My defconfig [1].

What can I tweak? In the future I'll need to load even bigger images.

[1] https://github.com/visionsystemsgmbh/onrisc_br_bsp/blob/master/board/vscom/baltos/barebox/am335x_baltos_defconfig

Yegor

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux