From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sat, 21 Feb 2015 10:18:44 +0000 Subject: [U-Boot] [PATCH] sunxi: Set the /chosen/stdout-path fdt property for sunxi boards In-Reply-To: <1424447949-32093-1-git-send-email-hdegoede@redhat.com> References: <1424447949-32093-1-git-send-email-hdegoede@redhat.com> Message-ID: <1424513924.25370.52.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2015-02-20 at 16:59 +0100, Hans de Goede wrote: > While discussing with some people how to get the Linux kernel to do the > right thing wrt sending output to both the serial console and the > hdmi out / lcd screen when booting on ARM devices, Grant Likely pointed out > that there already is a solution for this. > > All we need to do is set the /chosen/stdout-path fdt property, and if no > console= arguments were specified on the kernel commandline the kernel > will honor this and add this device as a console (next to the primary > video output on hdmi). > > And u-boot already has support for setting this, all we need to do is > define OF_STDOUT_PATH and then everything will just work ootb, without > people needing to meddle with adding console= arguments in extlinux.conf . > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell