OpenCores
no use no use 1/1 no use no use
Problem installing Linux kernel with orpsoc on Altera DE1 board
by meitoku on Apr 14, 2014
meitoku
Posts: 26
Joined: Nov 21, 2013
Last seen: Oct 18, 2015
We (me and NamTC) have some problems installing Linux kernel with orpsoc to Altera DE1 board. First, we created the dts file de1.dts in arch/openrisc/boot/dts which is just a copy of de0_nano.dts. Then, we built vmlinux successfully.
We loaded vmlinux to board using OpenOCD and or1k-elf-gdb.
We used gtkterm as a serial terminal to connect with the board. (The full result is shown in attached file) But now, the problem appeared as below: Kernel command line: console=uart,mmio,0x90000000,115200
Early serial console at MMIO 0x90000000 (options '115200')
bootconsole [uart0] enabled
PID hash table entries: 128 (order: -4, 512 bytes)
Dentry cache hash table entries: 4096 (order: 1, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 0, 8192 bytes)
Sorting __ex_table...
Memory: 27976K/32768K available (2395K kernel code, 115K rwdata, 520K rodata, 1424K init, 79K bss, 4792K reserved)
mem_init_done ...........................................
The booting process stopped at mem_init_done line and didn't continue. We don't know was vmlinux booted successfully or not. If not, why did it stopped and how can we solve this problem?
RE: Problem installing Linux kernel with orpsoc on Altera DE1 board
by indirasulo on Apr 14, 2014
indirasulo
Posts: 29
Joined: Jan 12, 2012
Last seen: Sep 26, 2014
We (me and NamTC) have some problems installing Linux kernel with orpsoc to Altera DE1 board. First, we created the dts file de1.dts in arch/openrisc/boot/dts which is just a copy of de0_nano.dts. Then, we built vmlinux successfully.
We loaded vmlinux to board using OpenOCD and or1k-elf-gdb.
We used gtkterm as a serial terminal to connect with the board. (The full result is shown in attached file) But now, the problem appeared as below: Kernel command line: console=uart,mmio,0x90000000,115200
Early serial console at MMIO 0x90000000 (options '115200')
bootconsole [uart0] enabled
PID hash table entries: 128 (order: -4, 512 bytes)
Dentry cache hash table entries: 4096 (order: 1, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 0, 8192 bytes)
Sorting __ex_table...
Memory: 27976K/32768K available (2395K kernel code, 115K rwdata, 520K rodata, 1424K init, 79K bss, 4792K reserved)
mem_init_done ...........................................
The booting process stopped at mem_init_done line and didn't continue. We don't know was vmlinux booted successfully or not. If not, why did it stopped and how can we solve this problem?


de0_nano has 32mb memory while you have only 8. You need to fix memory section in your dts file.
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.