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

Chris Spehn chris.spehn at gmail.com
Thu Dec 9 19:03:27 UTC 2010


The file system is currently emulated. We mount the loopback image
formatted as ext2 from the iOS partition. I think I misunderstood what
ext2 actually does in the machine configuration file. Although, in the
future the iDroid project plans to partition the NAND. When this will
get done, I have no idea. I could probably remove gps and bluetooth
from MACHINE_FEATURES as well since I have not implemented those
features yet.

On Thu, Dec 9, 2010 at 8:31 AM, Stefan Schmidt
<stefan at datenfreihafen.org> wrote:
> 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
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list