[PATCH 10/11] mach-types: add ID for Archos G9 tablet

Sascha Hauer s.hauer at pengutronix.de
Sun Oct 7 08:16:00 EDT 2012


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 at 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 |



More information about the barebox mailing list