[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140711135613.GC2954@lee--X1>
Date: Fri, 11 Jul 2014 14:56:13 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
LKML <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Tuomas Tynkkynen <ttynkkynen@...dia.com>
Subject: Re: No uart output on my snowball board
On Fri, 11 Jul 2014, Steven Rostedt wrote:
> On Fri, 11 Jul 2014 14:00:55 +0200
> Linus Walleij <linus.walleij@...aro.org> wrote:
>
> > On Fri, Jul 11, 2014 at 4:30 AM, Steven Rostedt <rostedt@...dmis.org> wrote:
> >
> > > commit a0998b8321eb5f53ef51924f5ab6c69237ac1025
> > > Author: Lee Jones <lee.jones@...aro.org>
> > > Date: Thu Aug 22 16:18:56 2013 +0100
> > >
> > > ARM: ux500: Remove UART support when booting without Device Tree
> > >
> > > It's time to remove all ATAG support from ux500 and rely solely on
> > > Device Tree booting. This patch is part of that endeavour.
> > >
> > > Signed-off-by: Lee Jones <lee.jones@...aro.org>
> > > Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
> >
> > I hate that I didn't spot the speling mistake in the subject,
> > its ATAG support we're removing, not UART :-)
> >
> > Anyway, I think you got enough hints on how we do this
> > with appended devicetrees instead, Lee's snippet should
> > work or check out this page that I also posted to your
> > G+ post:
> > http://www.df.lth.se/~triad/krad/ux00/
> >
>
> Thanks, with everyone's feedback I got it working with ktest.
>
> I added the following to my ktest snowball.conf:
>
> OUTPUT_BOOT := ${OUTPUT_DIR}/arch/arm/boot
>
> PRE_BUILD = ${MAKE_CMD} O=${OUTPUT_DIR} dtbs
> POST_BUILD = cat ${OUTPUT_BOOT}/zImage ${OUTPUT_BOOT}/dts/ste-snowball.dtb > ${OUTPUT_BOOT}/zImage.snowball; mkimage -A arm -O linux -C none -T kernel -a 0x00008000 -e 0x00008000 -d ${OUTPUT_BOOT}/zImage.snowball ${OUTPUT_BOOT}/uImage.snowball
>
> and walla!
>
> root@...aro-ubuntu-desktop:~# uname -r
> 3.16.0-rc4-test-00042-g4f440cd
Good work. Glad to be of service.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists