#3322: powerPC bsp not booting with memory larger than 256Mb
  Reporter:  Eric Tremblay  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:
 Component:  arch/powerpc   |    Version:
  Severity:  normal         |   Keywords:  powerpc boot
Blocked By:                 |   Blocking:
 Whenever memory available to the bsp is greater than 256Mb the bootloader
 remain stuck after decompressing the kernel.

 My understanding of the problem is that the bootloader only give access to
 the 1st 256Mb of RAM but when more memory is used the kernel and other
 components are stored in the top of the RAM beyond the first 256Mb.

 The provided patch gives top of the RAM access to the system so it can
 correctly boot.

 I am using:
  - source from rtems release 4.11.3
  - Qemu v2.5.0
  - Host system is Ubuntu Linux 16.04.1 in a VM (x86 64bits)

 The problem is easily reproducible with Qemu with the following command
 but could surely affect hardware too:

 qemu-system-ppc  -M prep -kernel ./hello.ralf  -bios
 /home/qemu_fakerom/qemu_fakerom.bin -cpu 750cxe -nographic -no-reboot -m

 Console output:

    Processor/Bus frequencies (Hz): 300000000/100000000
    Time Base Divisor: 1000
    Memory Size: 18000000
    Residual: 102afd4 (length 27148)

    PCI: Probing PCI hardware

    RTEMS 4.x/PPC load:
    Uncompressing the kernel...
    Kernel at 0x00000000, size=0x495b0
    Initrd at 0x00000000, size=0x0
    Residual data at 0x0004a000
    Command line at 0x00051000
    Now booting...       <<<<< execution stuck here

Ticket URL: <http://devel.rtems.org/ticket/3322>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
bugs mailing list

Reply via email to