[Gta04-owner] Linux 3.7 for gta04.

Dr. H. Nikolaus Schaller hns at goldelico.com
Wed Dec 12 09:51:39 CET 2012

Am 11.12.2012 um 20:21 schrieb NeilBrown:

> On Tue, 11 Dec 2012 17:19:53 +0100 "Dr. H. Nikolaus Schaller"
> <hns at goldelico.com> wrote:
>> Hi Neil,
>> Am 11.12.2012 um 05:52 schrieb NeilBrown:
>>> Now that 3.7 is out, my 'mainline' branch in
>>> git://neil.brown.name/gta04
>>> has a 3.7 based kernel that seems to work on the gta04.
>>> I say "seems to" because I don't seem to charge the battery and there are
>>> possibly other things that don't work - I've only done limited testing.
>>> I've included the "f2fs" filesystem in this release as I think it is
>>> something worth experimenting with on uSD cards.  I plan to move my root
>>> filesystem to f2fs once I'm happy that 3.7 is stable.
>>> I don't recommend using this as the base for a distro as it isn't tested much
>>> and I plan do do some development work on.  When I think it is stable and
>>> decide to leave it alone for a while and create a 3.7-gta04 branch to hold it.
>>> I might push to to github too, but neil.brown.name now has much better
>>> network connectivity so you should have no problems using it directly.
>> that is great work!
>>> Bug reports, success report, patches etc etc always welcome.
>> Hm. It appears that I have to realize that I will never learn to remember the
>> git syntax in this life. Maybe next life :)
>> So let me ask (again): what is the correct git command to update an existing
>> working tree to your latest work?
>> All I get from
>> git fetch gta04 && git reset --hard gta04/mainline
>> is
>> remote: Counting objects: 223459, done.
>> remote: Compressing objects: 100% (57347/57347), done.
>> remote: Total 194632 (delta 162135), reused 166587 (delta 135427)
>> Receiving objects: 100% (194632/194632), 41.24 MiB | 1.05 MiB/s, done.
>> Resolving deltas: 100% (162135/162135), completed with 12804 local objects.
>>> From git://github.com/neilbrown/linux
>>   9e5f44e..d77a53d  gta04/3.2.y -> gta04/gta04/3.2.y
>>   efafd2a..03e8114  gta04/3.4.y -> gta04/gta04/3.4.y
>>   99ab4a9..da3f7f4  gta04/3.5.y -> gta04/gta04/3.5.y
>> + 99ab4a9...fa68532 gta04/mainline -> gta04/gta04/mainline  (forced update)
>                                         ^^^^^^^^^^^^^^^^^^^^^
> you were close, but you want
>   git reset --hard gta04/gta04/mainline

That did the trick! Thanks!

I also did 'git remote rename gta04 neil' so that the final command was

	git reset --hard neil/gta04/mainline

> or
>   git checkout gta04/gta04/mainline
>>   76e10d1..3587b1b  master     -> gta04/master
>>   58e94ae..874807a  md/for-linus -> gta04/md/for-linus
>> + cd853a6...fb07cce md/for-next -> gta04/md/for-next  (forced update)
>>> From git://github.com/neilbrown/linux
>> * [new tag]         md-3.6-fixes -> md-3.6-fixes
>> fatal: ambiguous argument 'gta04/mainline': unknown revision or path not in the working tree.
>> Use '--' to separate paths from revisions

Now it compiles. I get some warnings which may be related to the issues we see:

  CC      arch/arm/mach-omap2/board-omap3gta04.o - due to target missing
arch/arm/mach-omap2/board-omap3gta04.c:216: Warnung: »gta04_dvi_device« definiert, aber nicht verwendet
arch/arm/mach-omap2/board-omap3gta04.c:320: Warnung: »gta04_tv_device« definiert, aber nicht verwendet
arch/arm/mach-omap2/board-omap3gta04.c:343: Warnung: »gta04_dss_device« definiert, aber nicht verwendet
arch/arm/mach-omap2/board-omap3gta04.c:774: Warnung: »twl4030_scripts« definiert, aber nicht verwendet
arch/arm/mach-omap2/board-omap3gta04.c:1229: Warnung: »wake_3G_init« definiert, aber nicht verwendet

and just an inconvenience (also seen in 2.6.32-hw-validation kernel)

WARNING: arch/arm/mach-omap2/built-in.o(.data+0xddec): Section mismatch in reference from the variable tsc2007_info to the function .init.text:tsc2007_init()
The variable tsc2007_info references
the function __init tsc2007_init()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

I think tsc2007_info should also be tagged as __init. Or tsc2007_init() should not.
There are some similar warnings when compiling modules we don't use. But this
is IMHO not our (immediate) responsibility...

Otherwise it compiles fine and I will test it later. If it works I intend to make
this a new "hw-validation" kernel asap which likely needs adding some
features (e.g. camera driver, /sys or IIO access to some more sensors and controls).


More information about the Gta04-owner mailing list