Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHi Bhaumik,
Thank you for your reply. You are correct that the .dts file I attached was generated by the SOPC2DTS default settings and I did not specify sorting on any parameters. Unfortunately, I'm currently unable to confirm that the order that the components listed in the .dts file are in the same order that was arranged and generated by Qsys. I also did not download the image to the Nios II processor using the JTAG cable. I have been updating the on-board flash and then the image is being booted by U-boot and copied to the RAM before execution. To set the console port to use the Altera UART instead of the Altera JTAG UART by adding support for the Altera UART by updating my kernel configuration by going to the Device Drivers -> Character Devices -> Serial Devices under the menuconfig. I also made the following modification for the U-boot configuration: It appears that the u-boot configuration support file found @ /u-boot-socfpga/include/configs needs to be updated so that at a minimum: 1. Comment out# define CONFIG_ALTERA_JTAG_UART so it's undefined and enable the# define CONFIG_ALTERA_UART definition. 2.#define CONFIG_SYS_NIOS_FIXEDBAUD needs to be undefined so I can set the baud rate based on the CONFIG_SYS_UART_BAUD parameter. 3.#define CONFIG_SYS_CONSOLE_INFO_QUIET is also undefined so that the console output is active. Once I made these modifications, the U-boot and Kernel console messages appeared on the serial UART instead of the JTAG UART. - Brad