[meta-ti] [PATCH 2/2] omap5-evm: Add OMAP5 EVM configuration
Maupin, Chase
chase.maupin at ti.com
Tue Mar 19 12:29:55 PDT 2013
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Tuesday, March 19, 2013 12:13 PM
> To: Maupin, Chase
> Cc: meta-ti at yoctoproject.org
> Subject: Re: [meta-ti] [PATCH 2/2] omap5-evm: Add OMAP5 EVM
> configuration
>
> On Tue, Mar 19, 2013 at 10:10:41AM -0500, Chase Maupin wrote:
> > * Add the machine configuration for the OMAP5 EVM device.
>
> Overall looks good.
>
> > * Create the omap-a15.inc file to be shared with all Cortex-A15
> > derivative devices.
>
> Is the omap-a15 a preferred name? I didn't see it used internally
> anywhere.
> It's not like I object specifically to this name, but was
> wondering if there
> was something else other people are more familiar with? Another
> option would
> be just simple "omap5", but I guess you are planning for few of
> those new
> derivative platforms that don't really have omap5 in the name...
> :)
>
> Moreover, the comment above implies omap-a15 SoC file will be
> used for all
> Cortex-A15 devices, which is not exactly correct, as Keystone has
> nothing to
> do with omap5 and shouldn't share that SoC file.
Good point. I'll change the comment. I was thinking of this because of the DRA7xx. I'm open to other SOC_FAMILY names though.
>
> --
> Denys
>
>
> > Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
> > ---
> > conf/machine/include/omap-a15.inc | 18
> ++++++++++++++++++
> > conf/machine/{am335x-evm.conf => omap5-evm.conf} | 20
> ++++++++++++++------
> > 2 files changed, 32 insertions(+), 6 deletions(-)
> > create mode 100644 conf/machine/include/omap-a15.inc
> > copy conf/machine/{am335x-evm.conf => omap5-evm.conf} (65%)
> >
> > diff --git a/conf/machine/include/omap-a15.inc
> b/conf/machine/include/omap-a15.inc
> > new file mode 100644
> > index 0000000..3ea1a05
> > --- /dev/null
> > +++ b/conf/machine/include/omap-a15.inc
> > @@ -0,0 +1,18 @@
> > +SOC_FAMILY = "omap-a15"
> > +require conf/machine/include/soc-family.inc
> > +
> > +require conf/machine/include/tune-cortexa15.inc
> > +
> > +# Increase this everytime you change something in the kernel
> > +MACHINE_KERNEL_PR = "r0"
> > +
> > +PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
> > +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
> > +
> > +KERNEL_IMAGETYPE = "uImage"
> > +
> > +UBOOT_ARCH = "arm"
> > +UBOOT_ENTRYPOINT = "0x80008000"
> > +UBOOT_LOADADDRESS = "0x80008000"
> > +
> > +EXTRA_IMAGEDEPENDS += "virtual/bootloader"
> > diff --git a/conf/machine/am335x-evm.conf b/conf/machine/omap5-
> evm.conf
> > similarity index 65%
> > copy from conf/machine/am335x-evm.conf
> > copy to conf/machine/omap5-evm.conf
> > index 21e79a2..daa5f58 100644
> > --- a/conf/machine/am335x-evm.conf
> > +++ b/conf/machine/omap5-evm.conf
> > @@ -1,13 +1,15 @@
> > #@TYPE: Machine
> > -#@NAME: AM335x EVM
> > -#@DESCRIPTION: Machine configuration for the TI AM335x EVM
> > +#@NAME: OMAP5 EVM
> > +#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
> >
> > -require conf/machine/include/ti33x.inc
> > +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
> > +XSERVER = "xserver-xorg \
> > + xf86-input-evdev \
> > + xf86-video-fbdev"
> >
> > -# Use built-in LCD by default
> > -XSERVER += "xf86-input-tslib"
> > GUI_MACHINE_CLASS = "smallscreen"
> > -MACHINE_FEATURES += "touchscreen"
> > +
> > +require conf/machine/include/omap-a15.inc
> >
> > IMAGE_FSTYPES += "ubi tar.gz"
> >
> > @@ -33,3 +35,9 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
> > # UBI: sub-page size: 512
> > # UBI: VID header offset: 2048 (aligned 2048)
> > UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
> > +
> > +UBOOT_MACHINE = "omap5_evm_config"
> > +
> > +# Currently removing the sgx machine feature because there is
> no SGX package
> > +# available for omap5
> > +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2
> screen touchscreen"
> > --
> > 1.7.0.4
> >
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list