[oe] [PATCH 1/4] Add initial support for iphone3g(machine config and kernel)

Stefan Schmidt stefan at datenfreihafen.org
Thu Dec 9 14:31:41 UTC 2010


Hello.

On Tue, 2010-12-07 at 15:32, Denis 'GNUtoo' Carikli wrote:
> Android was ported to Apple's iDevices including the iPhone3G by the
> iDroid Project ( http://www.idroidproject.org/wiki/Main_Page )
> Their kernel is standard enough to be able to run GNU/Linux distributions
>   such as SHR
> 
> Signed-off-by: Chris 'Lopi' Spehn <chris.spehn at gmail.com>
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
> ---
>  conf/machine/iphone3g.conf                    |   27 +
>  recipes/linux/linux-iphone/iphone3g/defconfig | 1570 +++++++++++++++++++++++++
>  recipes/linux/linux-iphone_git.bb             |   15 +

I usually split this up in twpo commits. One for the amchine file the other one
for the kernel. No strong feelings on this though.

>  3 files changed, 1612 insertions(+), 0 deletions(-)
>  create mode 100644 conf/machine/iphone3g.conf
>  create mode 100755 recipes/linux/linux-iphone/iphone3g/defconfig
>  create mode 100644 recipes/linux/linux-iphone_git.bb
> 
> diff --git a/conf/machine/iphone3g.conf b/conf/machine/iphone3g.conf
> new file mode 100644
> index 0000000..f2c3196
> --- /dev/null
> +++ b/conf/machine/iphone3g.conf
> @@ -0,0 +1,27 @@
> +#@TYPE: Machine
> +#@NAME: iPhone3G
> +#@DESCRIPTION: Machine configuration for the iPhone3G
> +
> +TARGET_ARCH = "arm"
> +
> +require conf/machine/include/tune-arm1176jzf-s.inc
> +
> +MACHINE_DISPLAY_WIDTH_PIXELS = "320"
> +MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
> +MACHINE_DISPLAY_ORIENTATION = "0"
> +
> +MACHINE_FEATURES = "kernel26 touchscreen screen wifi ext2 phone gps usbgadget bluetooth"

For what do you need ext2 here? Is the project that far that it actually
reflashes the device to run ext2 on the internal nand or does the iphone has a
secret SD controller I don't know about? :)

Machine and kernel recipes are looking good.

Acked-by: Stefan Schmidt <stefan at datenfreihafen.org>

regards
Stefan Schmidt




More information about the Openembedded-devel mailing list