[oe] [PATCH v2 1/2] Add linux kernel recipe for picoSAM9G45 board

Paul Menzel paulepanter at users.sourceforge.net
Thu Sep 15 09:35:14 UTC 2011


Am Donnerstag, den 15.09.2011, 12:12 +0300 schrieb Nicu Pavel:
> Add linux kernel recipe for picoSAM9G45 board[1]. This kernel is based on
> stock 2.6.32 with AT91 patches[2], Android patches[3] and board specific patches.
> Some of the board specific patches had been submited upstream[4].Custom android
> related patches won't be submited upstream. Future updates are planned to include
> patches from Android[3] and AT91 Linux tree[5].
> 
>     1. http://www.mini-box.com/pico-SAM9G45-X
>     2. http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel
>     3. https://github.com/android/kernel_common
>     4. http://www.arm.linux.org.uk/developer/patches/search.php?summary=AT91
>     5. https://github.com/at91linux/linux-2.6-at91
> 
> Signed-off-by: Nicu Pavel <npavel at mini-box.com>
> ---
>  recipes/linux/picosam9/defconfig | 1806 ++++++++++++++++++++++++++++++++++++++
>  recipes/linux/picosam9_git.bb    |   32 +
>  2 files changed, 1838 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/linux/picosam9/defconfig
>  create mode 100644 recipes/linux/picosam9_git.bb

[…]

> diff --git a/recipes/linux/picosam9_git.bb b/recipes/linux/picosam9_git.bb
> new file mode 100644
> index 0000000..892c93d
> --- /dev/null
> +++ b/recipes/linux/picosam9_git.bb
> @@ -0,0 +1,32 @@
> +DESCRIPTION = "Kernel for picoSAM9 board (http://www.mini-box.com/pico-SAM9G45-X)"
> +HOMEPAGE = "http://arm.mini-box.com"
> +KV = "2.6.32"
> +SRCREV = "5d564f090ee99a0570a2cc912ebc30b65922f7bb"
> +PV = "${KV}+gitr${SRCREV}"
> +PR = "r0"
> +
> +require linux.inc
> +
> +# For Angstrom and Android Eclair (for a Android Gingerbread compatible kernel use
> +# branch=minibox-picopc-2.6.32-gingerbread)
> +SRC_URI = "\
> +  git://gitorious.org/picopc-kernel/kernel.git;protocol=git;branch=minibox-picopc-2.6.32 \
> +  file://defconfig \
> +"
> +
> +S = "${WORKDIR}/git"
> +
> +COMPATIBLE_HOST = "arm.*-linux"
> +COMPATIBLE_MACHINE = "picosam9"
> +# mem=128M at xxxx - picoSAM9 has 2x128Mb memory banks at different adresses and uses

ad*d*resses

> +#                 sparsemem memory model to use both banks 
> +# rootwait=1  - wait for the root device to show up (picosam9 boots from microSD(MMC))
> +# rootdelay=1 - wait 1 second before mounting the root fs (some delay exists between
> +#               root device showing up and partition detection).
> +# androidboot.hardware=picopc - compatibility option for booting android 
> +#                               (loading of init.picopc.rc and libhardware libs)
> +# init=/init  - compatibility option for starting android init.If not found standard /linuxrc is 
> +#               executed
> +CMDLINE = "mem=128M at 0x20000000 mem=128M at 0x70000000 console=ttyS0,115200 root=/dev/mmcblk0p2 rw init=/init rootdelay=1 rootwait=1 loglevel=7 androidboot.hardware=picopc"

Is the increased(?) loglevel needed?

> +KERNEL_IMAGETYPE = "uImage"
> +ARM_KEEP_OABI = "1"

I will push this patch with the typo corrected. You do not need to
resend it.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110915/5096eb3d/attachment-0002.sig>


More information about the Openembedded-devel mailing list