source: cpu/arm/olpc/addrs.fth

Last change on this file was 3215, checked in by wmb, 2 years ago

OLPC ARM - Decreased heap size from 1 MiB to 768 KiB, thus increasing the dictionary growth size. The dictionary was filling up on XO-4.

File size: 1.8 KB
Line 
1\ Platform design choices
2
3fload ${BP}/cpu/arm/mmuparams.fth
4
5h# 0040.0000 constant /fb-mem  \ The screen uses a little more than 3 MiB at 1200x900x24
6
7\ OFW implementation choices
8h# 0020.0000 constant /fw-mem
9h# 0020.0000 constant /extra-mem
10h# 0080.0000 constant /dma-mem
11
12h# fd00.0000 constant dma-mem-va
13h# fd80.0000 constant extra-mem-va
14h# fda0.0000 constant fw-mem-va
15h# fdc0.0000 constant fb-mem-va
16
17h# fe00.0000 constant io-va  \ We map IO (APB + AXI) space at this virtual address
18h# fe30.0000 constant io2-va \ Mapping area for AXI2 space
19
20h# fe40.0000 constant mmp3-audio-va \ Used only if mmp3-audio-pa is defined
21: audio-sram-va  ( -- )  audio-sram-pa  ;
22
23[ifdef] virtual-mode
24h# f700.0000 constant fw-virt-base
25h# 0100.0000 constant fw-virt-size  \ 16 megs of mapping space
26[else]
27fw-mem-va value fw-virt-base
28/fw-mem   value fw-virt-size
29[then]
30
31/fw-mem /page-table -  constant page-table-offset
32page-table-offset      constant stack-offset  \ Stack is below this
33
34\ fw-mem-pa page-table-offset + constant page-table-pa
35
36\ h# 0110.0000 constant def-load-base
37h# 0c00.0000 constant def-load-base
38
39\ The heap starts at RAMtop, which on this system is "fw-mem-pa /fw-mem +"
40
41h#  0c.0000 constant heap-size
42heap-size constant initial-heap-size
43
44\ RAM address where the Security Processor code places the subset of the dropin module
45\ image that it copies out of SPI FLASH.
46h#  900.0000 constant 'dropins  \ Must agree with 'compressed in cforth/src/app/arm-xo-1.75/
47
48h#  20000 constant dropin-offset   \ Offset to dropin driver area in SPI FLASH
49
50\ SRAM usage
51
52sram-pa  constant sram-va
53
54sram-va h# 2.0000 + constant 'ddr-recal
55sram-va h# 2.0100 + constant 'ddr-self-refresh
56sram-va h# 2.0400 + constant 'ddr-self-refresh-sp
57
58sram-pa h# 2.4000 + constant diagfb-pa           \ Low-resolution frame buffer for startup numbers
Note: See TracBrowser for help on using the repository browser.