Message ID | e344f74da47579c11db68d9f6efe25259ed7f25d.1361186097.git.afzal@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Monday 18 February 2013 05:08 PM, Afzal Mohammed wrote: > AM43 SoC is in pre-silicon stage, meanwhile it has been modelled in > a pre-silicon platform. To validate and boot Linux in pre-silicon > platform that emulates an AM43 SoC, add DT build support. > > As bootloader is not used, bootargs is passed through DT. > > Note: This would be replaced by an original board support. > > Signed-off-by: Afzal Mohammed <afzal@ti.com> > --- > arch/arm/boot/dts/Makefile | 3 ++- > arch/arm/boot/dts/am43-pre-silicon.dts | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 33 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/boot/dts/am43-pre-silicon.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 94d88b9..b434344 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -124,7 +124,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ > omap5-evm.dtb \ > am335x-evm.dtb \ > am335x-evmsk.dtb \ > - am335x-bone.dtb > + am335x-bone.dtb \ > + am43-pre-silicon.dtb > dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb > dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb > dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \ > diff --git a/arch/arm/boot/dts/am43-pre-silicon.dts b/arch/arm/boot/dts/am43-pre-silicon.dts > new file mode 100644 > index 0000000..b9c6297 > --- /dev/null > +++ b/arch/arm/boot/dts/am43-pre-silicon.dts Well the pre-silicon platform and the SOC are very close and at least the support you are adding here is exactly same. So lets just use am437x.dtb or something like that. Regards, Santosh
Hi Santosh, On Tue, Feb 19, 2013 at 16:05:22, Shilimkar, Santosh wrote: > On Monday 18 February 2013 05:08 PM, Afzal Mohammed wrote: > > AM43 SoC is in pre-silicon stage, meanwhile it has been modelled in > > a pre-silicon platform. To validate and boot Linux in pre-silicon > > platform that emulates an AM43 SoC, add DT build support. > > Note: This would be replaced by an original board support. > > - am335x-bone.dtb > > + am335x-bone.dtb \ > > + am43-pre-silicon.dtb > Well the pre-silicon platform and the SOC are very > close and at least the support you are adding here is > exactly same. So lets just use am437x.dtb or something > like that. SoC support is already added in patch 7/8. This is board (which doesn't exist now) support, hence a pre-silicon temporary one to validate it. Regards Afzal
On Tuesday 19 February 2013 04:22 PM, Mohammed, Afzal wrote: > Hi Santosh, > > On Tue, Feb 19, 2013 at 16:05:22, Shilimkar, Santosh wrote: >> On Monday 18 February 2013 05:08 PM, Afzal Mohammed wrote: > >>> AM43 SoC is in pre-silicon stage, meanwhile it has been modelled in >>> a pre-silicon platform. To validate and boot Linux in pre-silicon >>> platform that emulates an AM43 SoC, add DT build support. > >>> Note: This would be replaced by an original board support. > >>> - am335x-bone.dtb >>> + am335x-bone.dtb \ >>> + am43-pre-silicon.dtb > >> Well the pre-silicon platform and the SOC are very >> close and at least the support you are adding here is >> exactly same. So lets just use am437x.dtb or something >> like that. > > SoC support is already added in patch 7/8. This is board (which doesn't > exist now) support, hence a pre-silicon temporary one to validate it. > I mean we can call it am437x-xyxboard.dtb already considering the data here can be re-used. Boot-args can be used from default kernel config with CONFIG_CMDLINE_FORCE. No strong opinion if you still insist to have a pre-silicon dtb. Regards, Santosh
Hi Santosh, On Tue, Feb 19, 2013 at 16:30:13, Shilimkar, Santosh wrote: > On Tuesday 19 February 2013 04:22 PM, Mohammed, Afzal wrote: > > SoC support is already added in patch 7/8. This is board (which doesn't > > exist now) support, hence a pre-silicon temporary one to validate it. > > > I mean we can call it am437x-xyxboard.dtb already considering the data > here can be re-used. Boot-args can be used from default kernel config > with CONFIG_CMDLINE_FORCE. > > No strong opinion if you still insist to have a pre-silicon dtb. This patch would be replaced by original board, once it is known. This was included to make a working complete series and if someone wants (internally) to test the series as is. Regards Afzal
On Tuesday 19 February 2013 04:33 PM, Mohammed, Afzal wrote: > Hi Santosh, > > On Tue, Feb 19, 2013 at 16:30:13, Shilimkar, Santosh wrote: >> On Tuesday 19 February 2013 04:22 PM, Mohammed, Afzal wrote: > >>> SoC support is already added in patch 7/8. This is board (which doesn't >>> exist now) support, hence a pre-silicon temporary one to validate it. >>> >> I mean we can call it am437x-xyxboard.dtb already considering the data >> here can be re-used. Boot-args can be used from default kernel config >> with CONFIG_CMDLINE_FORCE. >> >> No strong opinion if you still insist to have a pre-silicon dtb. > > This patch would be replaced by original board, once it is known. > This was included to make a working complete series and if someone > wants (internally) to test the series as is. > Ohh. I assumed it is for merge as well. Thanks for clarification. Regards, Santosh
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 94d88b9..b434344 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -124,7 +124,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ omap5-evm.dtb \ am335x-evm.dtb \ am335x-evmsk.dtb \ - am335x-bone.dtb + am335x-bone.dtb \ + am43-pre-silicon.dtb dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \ diff --git a/arch/arm/boot/dts/am43-pre-silicon.dts b/arch/arm/boot/dts/am43-pre-silicon.dts new file mode 100644 index 0000000..b9c6297 --- /dev/null +++ b/arch/arm/boot/dts/am43-pre-silicon.dts @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2013 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. + */ + +/* AM43 Pre Silicon */ + +/dts-v1/; + +/include/ "am4372.dtsi" + +/ { + model = "TI AM43 Pre Silicon"; + compatible = "ti,am43-pre-silicon","ti,am4372","ti,am43"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x10000000>; /* 256 MB */ + }; + + chosen { + bootargs = "console=ttyO0,115200n8 root=/dev/ram rw initrd=0x82000000,32MB earlyprintk"; + }; +}; + +&twd1 { + clock-frequency = <300000000>; +};
AM43 SoC is in pre-silicon stage, meanwhile it has been modelled in a pre-silicon platform. To validate and boot Linux in pre-silicon platform that emulates an AM43 SoC, add DT build support. As bootloader is not used, bootargs is passed through DT. Note: This would be replaced by an original board support. Signed-off-by: Afzal Mohammed <afzal@ti.com> --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/am43-pre-silicon.dts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/am43-pre-silicon.dts