From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Cousson, Benoit" Subject: Re: [PATCH 03/11] arm/dts: Add support for OMAP4 PandaBoard Date: Mon, 26 Sep 2011 14:38:10 +0200 Message-ID: <4E807232.3060702@ti.com> References: <1316809399-19579-1-git-send-email-b-cousson@ti.com> <1316809399-19579-4-git-send-email-b-cousson@ti.com> <20110923232142.GG24631@ponder.secretlab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110923232142.GG24631@ponder.secretlab.ca> Sender: linux-omap-owner@vger.kernel.org To: Grant Likely Cc: "tony@atomide.com" , "paul@pwsan.com" , "Hilman, Kevin" , "Nayak, Rajendra" , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree-discuss@lists.ozlabs.org" , "G, Manjunath Kondaiah" List-Id: devicetree@vger.kernel.org On 9/24/2011 1:21 AM, Grant Likely wrote: > On Fri, Sep 23, 2011 at 10:23:11PM +0200, Benoit Cousson wrote: >> Based on the original omap4-panda.dts file from Manju. >> http://www.spinics.net/lists/linux-omap/msg55836.html >> >> Add memory information and a default bootargs to allow >> a boot from RAMDISK. >> >> Signed-off-by: Benoit Cousson >> Cc: Grant Likely >> Cc: G, Manjunath Kondaiah >> --- >> arch/arm/boot/dts/omap4-panda.dts | 29 +++++++++++++++++++++++++++++ >> 1 files changed, 29 insertions(+), 0 deletions(-) >> create mode 100644 arch/arm/boot/dts/omap4-panda.dts >> >> diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts >> new file mode 100644 >> index 0000000..c702657 >> --- /dev/null >> +++ b/arch/arm/boot/dts/omap4-panda.dts >> @@ -0,0 +1,29 @@ >> +/* >> + * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ >> + * >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Public License version 2 as >> + * published by the Free Software Foundation. >> + */ >> +/dts-v1/; >> + >> +/include/ "omap4.dtsi" >> + >> +/ { >> + model = "TI OMAP4 PandaBoard"; >> + compatible = "ti,omap4-panda", "ti,omap4430", "ti,omap4"; >> + >> + /* >> + * Since the initial device tree board file does not create any >> + * devices (MMC, network...), the only way to boot is to provide a >> + * ramdisk. >> + */ >> + chosen { >> + bootargs = "root=/dev/ram0 rw console=ttyO2,115200n8 initrd=0x81600000,20M ramdisk_size=20480 no_console_suspend debug"; > > Generally, we don't want bootargs in the .dts files; we want them > added to the .dtb by the boot firmware. However, we are bootstrapping > here, so I'm okay with it in the short term until firmware matures a > bit more. Yeah, I had to to that because an old uboot with appended dtb seems to ignore the original bootargs. Benoit