All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Uboot Hangs when Initrd size increses
       [not found] <1821960372.2269046.1525049035507.ref@mail.yahoo.com>
@ 2018-04-30  0:43 ` josh phelps
  2018-05-02 14:06   ` Clément Péron
  0 siblings, 1 reply; 2+ messages in thread
From: josh phelps @ 2018-04-30  0:43 UTC (permalink / raw)
  To: u-boot

Hello All,
Im booting Linux on arm64 using FIT multi image (image + initrd + DTB). So if I increase the initrd size (from 16 MB -> 20MB) board hangs at "starting kernel"). However if I change the load address of bootm (from 0x2000000 to 0x1000000) it boots successfully.  Any pointers on why this is booting at lower load address? thanks in advance.
Board config : 2 GB ram (0x00000000 - 0x8000000)Init high enabled (so initrd is relocated to high mem)FDT_high=0xffffffffffffffff so DTB is used in place. FDT load adress is (0x9000000)
Following is the console o/p:

## Current stack ends at 0x7f6cc6c0 *  kernel: cmdline image address = 0x02000000

## Loading kernel from FIT Image at 02000000 ...

   Using 'config at 1' configuration

   Verifying Hash Integrity ... OK

   Trying 'kernel at 0' kernel subimage

     Description:  linux-mvl-4.4

     Type:         Kernel Image

     Compression:  uncompressed

     Data Start:   0x020000bc

     Data Size:    12473856 Bytes = 11.9 MiB

     Architecture: AArch64

     OS:           Linux

     Load Address: 0x00080000

     Entry Point:  0x00080000

   Verifying Hash Integrity ... OK

   kernel data at 0x020000bc, len = 0x00be5600 (12473856)

*  ramdisk: using config 'config at 1' from image at 0x02000000

## Loading ramdisk from FIT Image at 02000000 ...

   Using 'config at 1' configuration

   Trying 'ramdisk at 0' ramdisk subimage

     Description:  initramfs

     Type:         RAMDisk Image

     Compression:  lzma compressed

     Data Start:   0x02be5764

     Data Size:    22356891 Bytes = 21.3 MiB

     Architecture: AArch64

     OS:           Linux

Can't get 'load' property from FIT 0x02000000, node: offset 12474104, name ramdisk at 0 (FDT_ERR_NOTFOUND)

     Load Address: unavailable

Can't get 'entry' property from FIT 0x02000000, node: offset 12474104, name ramdisk at 0 (FDT_ERR_NOTFOUND)

     Entry Point:  unavailable

   Verifying Hash Integrity ... OK

Can't get 'load' property from FIT 0x02000000, node: offset 12474104, name ramdisk at 0 (FDT_ERR_NOTFOUND)

   ramdisk start = 0x02be5764, ramdisk end = 0x04137aff

*  fdt: using config 'config at 1' from image at 0x02000000

## Checking for 'FDT'/'FDT Image' at 02000000

## Loading fdt from FIT Image at 02000000 ...

   Using 'config at 1' configuration

   Trying 'fdt at 1' fdt subimage

     Description:  P1 fdt

     Type:         Flat Device Tree

     Compression:  uncompressed

     Data Start:   0x0413eadc

     Data Size:    28899 Bytes = 28.2 KiB

     Architecture: AArch64

   Verifying Hash Integrity ... OK

   Loading fdt from 0x0413eadc to 0x09000000

   Booting using the fdt blob at 0x9000000

   of_flat_tree at 0x09000000 size 0x000070e3

   Loading Kernel Image ... OK

   kernel loaded at 0x00080000, end = 0x00c65600

## initrd_high = 0x80000000, copy_to_ram = 1

   Loading Ramdisk to 7e179000, end 7f6cb39b ... OK

   ramdisk load start = 0x7e179000, ramdisk load end = 0x7f6cb39b

using: FDT

## DT length 41187

   Using Device Tree in place at 0000000009000000, end 000000000900a0e2

mci_find_sb_node.....no Device found

DevID=100001f found on MCi bus 0

DevID=1000021 found on MCi bus 1

## Transferring control to Linux (at address 80000)...




######## Starting kernel ...

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Uboot Hangs when Initrd size increses
  2018-04-30  0:43 ` [U-Boot] Uboot Hangs when Initrd size increses josh phelps
@ 2018-05-02 14:06   ` Clément Péron
  0 siblings, 0 replies; 2+ messages in thread
From: Clément Péron @ 2018-05-02 14:06 UTC (permalink / raw)
  To: u-boot

Got same issue recently and sent the explanation :
https://lists.denx.de/pipermail/u-boot/2018-February/321060.html

You can try to enable early_printk and confirm if it's the same issue,

Regards,
Clément
Le lun. 30 avr. 2018 à 16:15, josh phelps <thosewholiketorule@yahoo.com> a
écrit :

> Hello All,
> Im booting Linux on arm64 using FIT multi image (image + initrd + DTB).
So if I increase the initrd size (from 16 MB -> 20MB) board hangs at
"starting kernel"). However if I change the load address of bootm (from
0x2000000 to 0x1000000) it boots successfully.  Any pointers on why this is
booting at lower load address? thanks in advance.
> Board config : 2 GB ram (0x00000000 - 0x8000000)Init high enabled (so
initrd is relocated to high mem)FDT_high=0xffffffffffffffff so DTB is used
in place. FDT load adress is (0x9000000)
> Following is the console o/p:

> ## Current stack ends at 0x7f6cc6c0 *  kernel: cmdline image address =
0x02000000

> ## Loading kernel from FIT Image at 02000000 ...

>     Using 'config at 1' configuration

>     Verifying Hash Integrity ... OK

>     Trying 'kernel at 0' kernel subimage

>       Description:  linux-mvl-4.4

>       Type:         Kernel Image

>       Compression:  uncompressed

>       Data Start:   0x020000bc

>       Data Size:    12473856 Bytes = 11.9 MiB

>       Architecture: AArch64

>       OS:           Linux

>       Load Address: 0x00080000

>       Entry Point:  0x00080000

>     Verifying Hash Integrity ... OK

>     kernel data at 0x020000bc, len = 0x00be5600 (12473856)

> *  ramdisk: using config 'config at 1' from image at 0x02000000

> ## Loading ramdisk from FIT Image at 02000000 ...

>     Using 'config at 1' configuration

>     Trying 'ramdisk at 0' ramdisk subimage

>       Description:  initramfs

>       Type:         RAMDisk Image

>       Compression:  lzma compressed

>       Data Start:   0x02be5764

>       Data Size:    22356891 Bytes = 21.3 MiB

>       Architecture: AArch64

>       OS:           Linux

> Can't get 'load' property from FIT 0x02000000, node: offset 12474104,
name ramdisk at 0 (FDT_ERR_NOTFOUND)

>       Load Address: unavailable

> Can't get 'entry' property from FIT 0x02000000, node: offset 12474104,
name ramdisk at 0 (FDT_ERR_NOTFOUND)

>       Entry Point:  unavailable

>     Verifying Hash Integrity ... OK

> Can't get 'load' property from FIT 0x02000000, node: offset 12474104,
name ramdisk at 0 (FDT_ERR_NOTFOUND)

>     ramdisk start = 0x02be5764, ramdisk end = 0x04137aff

> *  fdt: using config 'config at 1' from image at 0x02000000

> ## Checking for 'FDT'/'FDT Image' at 02000000

> ## Loading fdt from FIT Image at 02000000 ...

>     Using 'config at 1' configuration

>     Trying 'fdt at 1' fdt subimage

>       Description:  P1 fdt

>       Type:         Flat Device Tree

>       Compression:  uncompressed

>       Data Start:   0x0413eadc

>       Data Size:    28899 Bytes = 28.2 KiB

>       Architecture: AArch64

>     Verifying Hash Integrity ... OK

>     Loading fdt from 0x0413eadc to 0x09000000

>     Booting using the fdt blob at 0x9000000

>     of_flat_tree at 0x09000000 size 0x000070e3

>     Loading Kernel Image ... OK

>     kernel loaded at 0x00080000, end = 0x00c65600

> ## initrd_high = 0x80000000, copy_to_ram = 1

>     Loading Ramdisk to 7e179000, end 7f6cb39b ... OK

>     ramdisk load start = 0x7e179000, ramdisk load end = 0x7f6cb39b

> using: FDT

> ## DT length 41187

>     Using Device Tree in place at 0000000009000000, end 000000000900a0e2

> mci_find_sb_node.....no Device found

> DevID=100001f found on MCi bus 0

> DevID=1000021 found on MCi bus 1

> ## Transferring control to Linux (at address 80000)...




> ######## Starting kernel ...

> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-02 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1821960372.2269046.1525049035507.ref@mail.yahoo.com>
2018-04-30  0:43 ` [U-Boot] Uboot Hangs when Initrd size increses josh phelps
2018-05-02 14:06   ` Clément Péron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.