FSConfig.py (8212:134bd699967a) FSConfig.py (8287:45f3ac6b6a1c)
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 221 unchanged lines hidden (view full) ---

230 self.kernel = binary('vmlinux.arm')
231 self.machine_type = machine_type
232 boot_flags = 'earlyprintk console=ttyAMA0 lpj=19988480 norandmaps ' + \
233 'rw loglevel=8 '
234 if use_cf:
235 self.physmem = PhysicalMemory(range = AddrRange(Addr('256MB')),
236 zero = True)
237 boot_flags += "mem=256MB root=/dev/sda1 "
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 221 unchanged lines hidden (view full) ---

230 self.kernel = binary('vmlinux.arm')
231 self.machine_type = machine_type
232 boot_flags = 'earlyprintk console=ttyAMA0 lpj=19988480 norandmaps ' + \
233 'rw loglevel=8 '
234 if use_cf:
235 self.physmem = PhysicalMemory(range = AddrRange(Addr('256MB')),
236 zero = True)
237 boot_flags += "mem=256MB root=/dev/sda1 "
238 self.nvmem = PhysicalMemory(range = AddrRange(Addr('2GB'),
239 size = '64MB'), zero = True)
240 self.nvmem.port = self.membus.port
241 self.boot_loader = binary('boot.arm')
242 self.boot_loader_mem = self.nvmem
243 self.gic_cpu_addr = self.realview.gic.cpu_addr
244 self.flags_addr = self.realview.realview_io.pio_addr + 0x30
238 else:
239 self.physmem = PhysicalMemory(range = AddrRange(Addr('128MB')),
240 zero = True)
241 self.diskmem = PhysicalMemory(range = AddrRange(Addr('128MB'),
242 size = '128MB'),
243 file = disk(mdesc.disk()))
244 self.diskmem.port = self.membus.port
245 boot_flags += "mem=128MB slram=slram0,0x8000000,+0x8000000 " + \
246 "mtdparts=slram0:- root=/dev/mtdblock0 "
245 else:
246 self.physmem = PhysicalMemory(range = AddrRange(Addr('128MB')),
247 zero = True)
248 self.diskmem = PhysicalMemory(range = AddrRange(Addr('128MB'),
249 size = '128MB'),
250 file = disk(mdesc.disk()))
251 self.diskmem.port = self.membus.port
252 boot_flags += "mem=128MB slram=slram0,0x8000000,+0x8000000 " + \
253 "mtdparts=slram0:- root=/dev/mtdblock0 "
254
247 if mdesc.disk().count('android'):
248 boot_flags += "init=/init "
249 self.boot_osflags = boot_flags
250
251 self.physmem.port = self.membus.port
252 self.realview.attachOnChipIO(self.membus)
253 self.realview.attachIO(self.iobus)
254

--- 297 unchanged lines hidden ---
255 if mdesc.disk().count('android'):
256 boot_flags += "init=/init "
257 self.boot_osflags = boot_flags
258
259 self.physmem.port = self.membus.port
260 self.realview.attachOnChipIO(self.membus)
261 self.realview.attachIO(self.iobus)
262

--- 297 unchanged lines hidden ---