mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: vj <vicencb@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 10/11] mach-types: add ID for Archos G9 tablet
Date: Sun, 7 Oct 2012 15:33:39 +0200	[thread overview]
Message-ID: <20121007133339.GW26553@game.jcrosoft.org> (raw)
In-Reply-To: <CAAMcf8Au8ruisajhsy2NbzwBSiR1csDUfsB_JKSnxG3SqfTV=A@mail.gmail.com>

On 14:26 Sun 07 Oct     , vj wrote:
> On Sun, Oct 7, 2012 at 2:16 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > On Sun, Oct 07, 2012 at 02:07:28PM +0200, vj wrote:
> >> On Sun, Oct 7, 2012 at 12:30 PM, Sascha Hauer <s.hauer@pengutronix.de>wrote:
> >>
> >> > Please no manual updates to this file, they will be overwritten once the
> >> > next update from:
> >> >
> >> > http://www.arm.linux.org.uk/developer/machines/download.php
> >> >
> >> > comes in. I see that the Archos G9 does not have a machine id
> >> > registered. You can register one yourself at:
> >> >
> >> > http://www.arm.linux.org.uk/developer/machines/
> >> >
> >> > btw is 5032 the id Archos uses or did you think it up yourself?
> >> >
> >> > Sascha
> >> >
> >> > --
> >> > Pengutronix e.K.                           |                             |
> >> > Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> >> > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> >> > Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> >> >
> >>
> >> 5032 is chosen by Archos in it's Android kernel:
> >> http://gitorious.org/archos/archos-gpl-gen9-kernel-ics/blobs/master/arch/arm/tools/mach-types
> >
> > Appearently the Archos guys can't read :(
> >
> > In this case I suggest that you just hardcode this number in your board
> > file and add a big fat warning comment that you only did that to make
> > the Archos kernel bootable.
> > Another, maybe better solution would be to:
> >
> > - register a proper id for the G9
> > - use it as default in barebox
> > - Add some template in the environment to overwrite it to make the
> >   Archos provided Kernel boot.
> >
> > Sascha
> >
> > --
> > Pengutronix e.K.                           |                             |
> > Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> > Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> Well, booting the factory provided kernel would be great and that
> would be a reason to preserve the 5032.
> But the fact is that's not possible for now. Archos has added some
> tweaks to their bootloader and kernel so they write board specific
> information in the boot sector and the bootloader passes it to the
> kernel.
> To be able to boot their kernel this "feature_tags" should be
> implemented in barebox.
> For more information see:
> http://gitorious.org/archos/archos-gpl-gen9-kernel-ics/blobs/master/arch/arm/include/asm/feature_list.h
an other example for shit stuff in bootloader

hopefully the DT will fix this

this "feature_tags" need to be used in a way that we do not touch the generic
code

Maybe via a custon bootm

Best Regards,
J.
> 
> Regards,
>   Vicente.
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-10-07 13:36 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05 22:33 [PATCH 00/11] archosg9: add support for tablet, third round vj
2012-10-05 22:33 ` [PATCH 01/11] regression: reset can not return vj
2012-10-07  9:42   ` Sascha Hauer
2012-10-05 22:33 ` [PATCH 02/11] twl6030: add debug info vj
2012-10-06  9:30   ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-05 22:33 ` [PATCH 03/11] omap4: add/rename definitions to match datasheet vj
2012-10-05 22:33 ` [PATCH 04/11] ARM: ensure irqs are disabled vj
2012-10-07  9:46   ` Sascha Hauer
2012-10-05 22:33 ` [PATCH 05/11] omap: revert gpiolib vj
2012-10-07 10:11   ` Sascha Hauer
2012-10-09  6:30     ` Teresa Gamez
2012-10-09  6:54       ` Sascha Hauer
2012-10-05 22:33 ` [PATCH 06/11] omap4: add support for booting an omap4 from usb vj
2012-10-07 10:23   ` Sascha Hauer
2012-10-05 22:33 ` [PATCH 07/11] omap4: add serial communications over usb boot vj
2012-10-05 22:33 ` [PATCH 08/11] omap4: add filesystem support " vj
2012-10-05 22:33 ` [PATCH 09/11] omap4: add support for loading second stage from usb vj
2012-10-05 22:33 ` [PATCH 10/11] mach-types: add ID for Archos G9 tablet vj
2012-10-07 10:30   ` Sascha Hauer
2012-10-07 12:07     ` vj
2012-10-07 12:16       ` Sascha Hauer
2012-10-07 12:26         ` vj
2012-10-07 13:33           ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-10-07 13:29         ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-05 22:33 ` [PATCH 11/11] Add support " vj
2012-10-07 10:34 ` [PATCH 00/11] archosg9: add support for tablet, third round Sascha Hauer
2012-10-07 12:12   ` vj
2012-10-07 12:23     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121007133339.GW26553@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=vicencb@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox