Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThanks hippo. Using that option and trimming a lot more I finally managed to boot MMU with only 8 MB SDRAM. Unfortunately the system is almost unusable as, even with functionalities keep to a minimum, remains really short on RAM and apps sometimes fire oom-killer.
[mcesar@mcesarpc4114c uClinux-dist]$ nios2-terminal nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB 6-1.1]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.34-00693-ga32ca88-dirty () (gcc version 4.1.2)# 300 PREEMPT Tue Jul 6 20:28:07 CEST 2010 bootconsole [early0] enabled early_console initialized at 0xe1001420 Linux/Nios II-MMU init_bootmem_node(?,0x101c9, 0x10000, 0x10800) free_bootmem(0x101c9000, 0x637000) reserve_bootmem(0x101c9000, 0x100) Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032 Kernel command line: PID hash table entries: 32 (order: -5, 128 bytes) Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) We have 67584 pages of RAM Memory available: 6276k/1825k RAM, 0k/0k ROM (904k kernel code, 920k data) NR_IRQS:32 Calibrating delay loop... 49.35 BogoMIPS (lpj=246784) Mount-cache hash table entries: 512 init_BSP(): registering device resources Switching to clocksource timer ttyJ0 at MMIO 0x1001420 (irq = 1) is a Altera JTAG UART console [ttyJ0] enabled, bootconsole disabled console [ttyJ0] enabled, bootconsole disabled Freeing unused kernel memory: 772k freed (0xd00e3000 - 0xd01a3000) devpts: called with bogus options ifconfig: socket: Function not implemented Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ \ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_| For further information check: BusyBox v1.16.2 (2010-07-06 20:15:46 CEST) hush - the humble shell /# free total used free shared buffers Mem: 7048 2876 4172 0 0 Swap: 0 0 0 Total: 7048 2876 4172 /#