Changeset 3051


Ignore:
Timestamp:
Jul 12, 2012, 8:29:04 AM (3 years ago)
Author:
quozl
Message:

OLPC XO-1.75 - move the ramdisk below load-base, as linux will not boot with it in the second half of 1GB units, add room below load-base, which can be thought of as a border between where stuff is initially loaded into, vs where stuff is moved to, #12008

Location:
cpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/linux.fth

    r3041 r3051  
    108108[ifdef] flatten-device-tree
    109109   use-fdt?  if
    110       ramdisk-adr ?dup 0=  if  mapped-limit  then  /fdt-max -  to linux-params
     110      ramdisk-adr ?dup 0=  if  load-base  then  /fdt-max -  to linux-params
    111111      linux-params /fdt-max flatten-device-tree
    112112   else
     
    126126   to /ramdisk                                    ( adr )
    127127
    128    mapped-limit  /ramdisk -                       ( adr new-ramdisk-adr )
     128   load-base  /ramdisk -                          ( adr new-ramdisk-adr )
    129129   tuck /ramdisk move                             ( new-ramdisk-adr )
    130130\  dup to linux-memtop
  • cpu/arm/olpc/addrs.fth

    r3049 r3051  
    3232
    3333\ h# 0110.0000 constant def-load-base
    34 h# 0800.0000 constant def-load-base
     34h# 0c00.0000 constant def-load-base
    3535
    3636\ The heap starts at RAMtop, which on this system is "fw-mem-pa /fw-mem +"
Note: See TracChangeset for help on using the changeset viewer.