Changeset 097ea1e in rtems


Ignore:
Timestamp:
Mar 5, 2020, 11:51:12 PM (4 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
5, master
Children:
624d691b
Parents:
fa3005f
git-author:
Joel Sherrill <joel@…> (03/05/20 23:51:12)
git-committer:
Joel Sherrill <joel@…> (03/06/20 00:27:52)
Message:

psim: Rework device tree so devices do not conflict with 256MB RAM

updates #3849.

Location:
bsps/powerpc/psim
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/psim/README

    rfa3005f r097ea1e  
    11BSP NAME:           psim
    2 BOARD:              PowerPC Simulator
     2BOARD:              PowerPC Simulator in GDB (psim)
    33BUS:                N/A
    44CPU FAMILY:         ppc
     
    3939Notes
    4040=====
     41The device tree for this BSP is included with rtems-tools and automated
     42testing of psim is supported by the RTEMS Tester. See
     43rtems-tools/tester/rtems/testing/bsps/psim-device-tree for specifics. This
     44file must be kept in sync with startup/linkcmds and the MMU initialization
     45in the BSP.
    4146
    42 Based on papyrus bsp which only really supports
    43 the PowerOpen ABI with an ELF assembler.
     47For the multiprocessing tests to run, psim supports an area of UNIX
     48shared memory and UNIX semaphore mapped into the PowerPC address space.
    4449
    45 For the multiprocessing tests to run, you must have a modified version of
    46 the PowerPC Simulator psim which supports an area of UNIX shared memory
    47 and UNIX semaphore mapped into the PowerPC address space.
    48 
  • bsps/powerpc/psim/start/bspstart.c

    rfa3005f r097ea1e  
    105105  setibat(0, 0x0<<28, 0x0<<28, 1<<28,        0);
    106106  /* PCI    */
    107   setdbat(1, 0x8<<24, 0x8<<24, 1<<24,  IO_PAGE);
    108   setdbat(2, 0xc<<24, 0xc<<24, 1<<24,  IO_PAGE);
     107  setdbat(1, 0x08<<24, 0x08<<24, 1<<24,  IO_PAGE);
     108  setdbat(2, 0xfc<<24, 0xfc<<24, 1<<24,  IO_PAGE);
    109109
    110110  _write_MSR(_read_MSR() | MSR_DR | MSR_IR);
  • bsps/powerpc/psim/start/linkcmds

    rfa3005f r097ea1e  
    3636PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000);
    3737
    38 PSIM = 0x0c000000;
     38PSIM = 0xfc000000;
    3939
    4040/* Allocate the maximum size to the small data area */
Note: See TracChangeset for help on using the changeset viewer.