[yocto] [meta-raspberrypi][PATCH v3 1/6] README: Add SPI bus chapter to content

Andrei Gherzan andrei at gherzan.ro
Tue Mar 1 05:28:09 PST 2016


On Sun, Feb 28, 2016 at 02:46:08PM +0100, Petter Mabäcker wrote:
> The optional SPI bus chapter was missing in the content list.
>
> While at it also place it together with the other "optional" chapters,
> instead of in the end.
>
> Signed-off-by: Petter Mabäcker <petter at technux.se>
> ---
>  README | 28 +++++++++++++++-------------
>  1 file changed, 15 insertions(+), 13 deletions(-)
>
> diff --git a/README b/README
> index 16ac1cb..a168692 100644
> --- a/README
> +++ b/README
> @@ -20,10 +20,11 @@ Contents:
>      2.F. Optional - Video camera support with V4L2 drivers
>      2.G. Optional - Enable offline compositing support
>      2.H. Optional - Enable kgdb over console support
> -    2.I. Images
> -    2.J. Boot to U-Boot
> -    2.K. Image with Initramfs
> -    2.L. Device tree support
> +    2.I. Optional - Enable SPI bus
> +    2.J. Images
> +    2.K. Boot to U-Boot
> +    2.L. Image with Initramfs
> +    2.M. Device tree support
>  3. Extra apps
>      3.A. omxplayer
>  4. Source code and mirrors
> @@ -145,7 +146,13 @@ To add the kdbg over console (kgdboc) parameter to the kernel command line,
>  set this variable in local.conf:
>  ENABLE_KGDB = "1"
>
> -2.I. Images
> +2.I. Optional - Enable SPI bus
> +==============================
> +When using device tree kernels, set this variable to enable the SPI bus
> +ENABLE_SPI_BUS = "1"
> +
> +
> +2.J. Images
>  ===========
>  * rpi-hwup-image
>      Hardware up image
> @@ -155,7 +162,7 @@ ENABLE_KGDB = "1"
>      Image based on rpi-basic-image which includes most of the packages in this
>      layer and some media samples.
>
> -2.J. Boot to U-Boot
> +2.K. Boot to U-Boot
>  ===================
>  To have u-boot load kernel image, set in your local.conf
>  KERNEL_IMAGETYPE = "uImage"
> @@ -163,7 +170,7 @@ KERNEL_IMAGETYPE = "uImage"
>  This will make kernel.img be u-boot image which will load uImage.
>  By default, kernel.img is the actual kernel image (ex. Image).
>
> -2.K. Image with Initramfs
> +2.L. Image with Initramfs
>  =========================
>  To build an initramfs image :
>      * Set this 3 kernel variables (in linux-raspberrypi.inc for example)
> @@ -176,7 +183,7 @@ To build an initramfs image :
>      * Set the meta-rasberrypi variable (in raspberrypi.conf for example)
>          - KERNEL_INITRAMFS = "-initramfs"
>
> -2.L. Device tree support
> +2.M. Device tree support
>  =========================
>  Device tree for RPi is only supported when using linux-raspberrypi 3.18+
>  kernels.
> @@ -189,11 +196,6 @@ kernels.
>  NOTE: KERNEL_DEVICETREE is default enabled for kernel >= 3.18 and always disabled for
>        older kernel versions.
>
> -2.M. Optional - enable SPI bus
> -==============================
> -When using device tree kernels, set this variable to enable the SPI bus
> -ENABLE_SPI_BUS = "1"
> -
>  3. Extra apps
>  =============
>

I restructured a little the readme and included a similar change. It is master.
Thanks.

--
Andrei Gherzan



More information about the yocto mailing list