



No RS232-UART output from compiled linux kernel - orpsocv2 on DE2-115 board
by wilson_santana on Jul 20, 2015 |
wilson_santana
Posts: 1 Joined: Jun 22, 2012 Last seen: Feb 19, 2025 |
||
Hi everybody,
I am trying to boot a linux kernel on my DE2-115 board. I am running an orpsocv2 (https://github.com/lgeek/orpsoc) implementation for the DE2-115 (from which BareMetal SW runs OK, including the RS232-UART). At one terminal I run SCREEN to connect to ttyUSB0 (which is my RS232 to USB adapter), at another terminal I run openOCD and at a third terminal I run or1k-elf-gdb to connect to the openOCD server. This works without any problem to run BareMetal applications. This even works with a pre-compiled linux kernel (from http://wiki.mintsoc.org/lib/exe/fetch.php?media=vmlinux-de0_nano.tgz). However, when I try to boot the kernel I compiled myself, I don't have any response from the uart. To compile the kernel, I am using the supplied de0_nano_defconfig and de0_nano.dts (from https://github.com/openrisc/linux). The uart config seem to be correct on these files: excerpt from de0_nano.dts: bootargs = "console=uart,mmio,0x90000000,115200"; serial0: serial@90000000 { compatible = "opencores,uart16550-rtlsvn105", "ns16550a"; reg = ; interrupts = ; clock-frequency = ; }; excerpt from de0_nano_defconfig: CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y Did anyone have a similar problem? Any suggestions? Thank you very much, Wilson ps: I can compile the kernel using or1ksim.dts and or1ksim_defconfig and it boots in or1k-elf-sim without any problems. |



