Hi Olof, thanks again, this does help ! Patrick
2015-01-22 17:36 GMT-05:00 Olof Kindgren <[email protected]>: > On Thu, Jan 22, 2015 at 9:16 PM, Ziqiang Patrick Huang > <[email protected]> wrote: > > Hi, > > > > So I'm able to boot linux in or1ksim and run some simple programs, but > when > > I try to run some program that takes in large input, it runs out of > memory. > > So I'm trying to configure the memory size, I tried simply change the > size > > parameter under memeory under arch/openrisc/or1ksim.cfg, but it does not > > seem to work. When I boot the system, it always gives me > > > > Memory: 23472K/32768K available (2484K kernel code, 117K rwdata, 544K > > rodata, 5808K init, 86K bss, 9296K reserved) > > > > Thanks, > > Patrick > > > > _______________________________________________ > > OpenRISC mailing list > > [email protected] > > http://lists.openrisc.net/listinfo/openrisc > > > > Hi Patrick, > > Happy to hear that you're making progress > > To increase the memory you probably need to update the device tree as well > Edit arch/openrisc/boot/dts/or1ksim.dts and change the reg parameter > in the memory@0 section. > > Hope this helps, > Olof > _______________________________________________ > OpenRISC mailing list > [email protected] > http://lists.openrisc.net/listinfo/openrisc >
_______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
