Patchwork [meta-fsl-arm-extra,v2,2/2] Add wandboard dual machine conf

login
register
mail settings
Submitter John Weber
Date Feb. 20, 2013, 3:55 a.m.
Message ID <1361332559-3399-2-git-send-email-rjohnweber@gmail.com>
Download mbox | patch
Permalink /patch/44887/
State Changes Requested
Headers show

Comments

John Weber - Feb. 20, 2013, 3:55 a.m.
This patch adds conf/machine file for Wandboard Dual to meta-fsl-arm-extra.

Upstream-Status: Submitted [meta-freescale@yoctoproject.org]

Changes since v1:
        Added description
        Added upstream-status 
        Reversed the patch order 

Signed-off-by: John Weber <rjohnweber@gmail.com>
---
 conf/machine/wandboard-dual.conf |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 conf/machine/wandboard-dual.conf
Otavio Salvador - Feb. 20, 2013, 6:22 a.m.
On Wed, Feb 20, 2013 at 12:55 AM, John Weber <rjohnweber@gmail.com> wrote:
> This patch adds conf/machine file for Wandboard Dual to meta-fsl-arm-extra.
>
> Upstream-Status: Submitted [meta-freescale@yoctoproject.org]

Not need as it has no patch files.

> Changes since v1:
>         Added description
>         Added upstream-status
>         Reversed the patch order

Bellow --- line

> Signed-off-by: John Weber <rjohnweber@gmail.com>

Another doubt, you seem to not have send the kernel as well; the board
will be useless without a kernel ;-)
Eric BENARD - Feb. 20, 2013, 8:29 a.m.
Hi Otavio,

Le Wed, 20 Feb 2013 03:22:42 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> On Wed, Feb 20, 2013 at 12:55 AM, John Weber <rjohnweber@gmail.com> wrote:
> > This patch adds conf/machine file for Wandboard Dual to meta-fsl-arm-extra.
> >
> > Upstream-Status: Submitted [meta-freescale@yoctoproject.org]
> 
> Not need as it has no patch files.
> 
> > Changes since v1:
> >         Added description
> >         Added upstream-status
> >         Reversed the patch order
> 
> Bellow --- line
> 
> > Signed-off-by: John Weber <rjohnweber@gmail.com>
> 
> Another doubt, you seem to not have send the kernel as well; the board
> will be useless without a kernel ;-)
> 
being able to generate a working bootloader is a good first step before
trying to load the kernel so yes that's useful ;-)

Eric
Otavio Salvador - Feb. 20, 2013, 11:40 a.m.
On Wed, Feb 20, 2013 at 5:29 AM, Eric Bénard <eric@eukrea.com> wrote:
> Hi Otavio,
>
> Le Wed, 20 Feb 2013 03:22:42 -0300,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> On Wed, Feb 20, 2013 at 12:55 AM, John Weber <rjohnweber@gmail.com> wrote:
>> > This patch adds conf/machine file for Wandboard Dual to meta-fsl-arm-extra.
>> >
>> > Upstream-Status: Submitted [meta-freescale@yoctoproject.org]
>>
>> Not need as it has no patch files.
>>
>> > Changes since v1:
>> >         Added description
>> >         Added upstream-status
>> >         Reversed the patch order
>>
>> Bellow --- line
>>
>> > Signed-off-by: John Weber <rjohnweber@gmail.com>
>>
>> Another doubt, you seem to not have send the kernel as well; the board
>> will be useless without a kernel ;-)
>>
> being able to generate a working bootloader is a good first step before
> trying to load the kernel so yes that's useful ;-)

hehe; sure! I fully agree but for Yocto usually people expects
something which boots heheh :-) I think he has forgot to send it with
the patchset :-)
John Weber - Feb. 20, 2013, 4:09 p.m.
All - I apologize for the newbie problems here and for spamming everyone's
inbox.  My intent was to share this so that people could start testing it
if they so desire.  I am working on the kernel.

When I have the kernel done I'll submit it all.  Having some issues right
now with the iomux in the code.


On Wed, Feb 20, 2013 at 5:40 AM, Otavio Salvador <otavio@ossystems.com.br>wrote:

> On Wed, Feb 20, 2013 at 5:29 AM, Eric Bénard <eric@eukrea.com> wrote:
> > Hi Otavio,
> >
> > Le Wed, 20 Feb 2013 03:22:42 -0300,
> > Otavio Salvador <otavio@ossystems.com.br> a écrit :
> >
> >> On Wed, Feb 20, 2013 at 12:55 AM, John Weber <rjohnweber@gmail.com>
> wrote:
> >> > This patch adds conf/machine file for Wandboard Dual to
> meta-fsl-arm-extra.
> >> >
> >> > Upstream-Status: Submitted [meta-freescale@yoctoproject.org]
> >>
> >> Not need as it has no patch files.
> >>
> >> > Changes since v1:
> >> >         Added description
> >> >         Added upstream-status
> >> >         Reversed the patch order
> >>
> >> Bellow --- line
> >>
> >> > Signed-off-by: John Weber <rjohnweber@gmail.com>
> >>
> >> Another doubt, you seem to not have send the kernel as well; the board
> >> will be useless without a kernel ;-)
> >>
> > being able to generate a working bootloader is a good first step before
> > trying to load the kernel so yes that's useful ;-)
>
> hehe; sure! I fully agree but for Yocto usually people expects
> something which boots heheh :-) I think he has forgot to send it with
> the patchset :-)
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>
Otavio Salvador - Feb. 20, 2013, 4:18 p.m.
On Wed, Feb 20, 2013 at 1:09 PM, John Weber <rjohnweber@gmail.com> wrote:
> All - I apologize for the newbie problems here and for spamming everyone's
> inbox.  My intent was to share this so that people could start testing it if
> they so desire.  I am working on the kernel.

Hey, you don't need to apoligize ... it is a learning process :-)

> When I have the kernel done I'll submit it all.  Having some issues right
> now with the iomux in the code.

Awesome; bear on mind that our kernel is based in 1.1.0 release so you
should port their board files and changes to it.
John Weber - Feb. 21, 2013, 6:19 a.m.
Hi Otavio,

Is the right way to do this (get 1.1.0 kernel) to discard danny and repo
init -u <fsl community bsp platform> -b master?

John


On Wed, Feb 20, 2013 at 10:18 AM, Otavio Salvador
<otavio@ossystems.com.br>wrote:

> On Wed, Feb 20, 2013 at 1:09 PM, John Weber <rjohnweber@gmail.com> wrote:
> > All - I apologize for the newbie problems here and for spamming
> everyone's
> > inbox.  My intent was to share this so that people could start testing
> it if
> > they so desire.  I am working on the kernel.
>
> Hey, you don't need to apoligize ... it is a learning process :-)
>
> > When I have the kernel done I'll submit it all.  Having some issues right
> > now with the iomux in the code.
>
> Awesome; bear on mind that our kernel is based in 1.1.0 release so you
> should port their board files and changes to it.
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>
Otavio Salvador - Feb. 21, 2013, 11:52 a.m.
On Thu, Feb 21, 2013 at 3:19 AM, John Weber <rjohnweber@gmail.com> wrote:
> Hi Otavio,
>
> Is the right way to do this (get 1.1.0 kernel) to discard danny and repo
> init -u <fsl community bsp platform> -b master?

You should work in master as this is new feature. We may want to
backport it to danny later but first master.
Eric BENARD - Feb. 21, 2013, 12:56 p.m.
Le Thu, 21 Feb 2013 08:52:38 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> On Thu, Feb 21, 2013 at 3:19 AM, John Weber <rjohnweber@gmail.com> wrote:
> > Hi Otavio,
> >
> > Is the right way to do this (get 1.1.0 kernel) to discard danny and repo
> > init -u <fsl community bsp platform> -b master?
> 
> You should work in master as this is new feature. We may want to
> backport it to danny later but first master.
> 
you could also create the recipe for the kernel version actually
provided by the manufacturer on the wandboard so that first we get
a working version and then we can think to upgrade it to the latest.

Eric

Patch

diff --git a/conf/machine/wandboard-dual.conf b/conf/machine/wandboard-dual.conf
new file mode 100644
index 0000000..483efc4
--- /dev/null
+++ b/conf/machine/wandboard-dual.conf
@@ -0,0 +1,20 @@ 
+#@TYPE: Machine
+#@NAME: i.MX6 Wandboard Dual
+#@DESCRIPTION: Machine configuration for i.MX6 Wandboard Dual
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa9.inc
+
+SOC_FAMILY = "mx6dl:mx6"
+
+KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6dl-wandboard.dts"
+
+PREFERRED_PROVIDER_u-boot = "u-boot-imx" 
+
+UBOOT_MACHINE = "wandboard_config"
+UBOOT_SUFFIX = "bin"
+UBOOT_PADDING = "2"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+MACHINE_FEATURES += " pci wifi bluetooth"