All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Brian Swetland <swetland@google.com>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.arm.linux.org.uk>,
	ibm@android.com, san@android.com, rlove@google.com
Subject: Re: HTC Dream aka. t-mobile g1 support
Date: Thu, 11 Jun 2009 13:48:25 +0200	[thread overview]
Message-ID: <20090611114825.GD7523@elf.ucw.cz> (raw)
In-Reply-To: <a55d774e0906110424q631c83d5l5a5ba8bc0a1093b8@mail.gmail.com>

On Thu 2009-06-11 04:24:03, Brian Swetland wrote:
> On Thu, Jun 11, 2009 at 4:09 AM, Pavel Machek<pavel@ucw.cz> wrote:
> >
> > Anyway, now I have a tree, and yes it compiles. (After some
> > "interesting" questions; perhaps defconfig should be updated?)
> >
> > Unfortunately, upon fastboot boot uImage, it hangs with black screen
> > and backlight on.
> 
> You'll need to fastboot boot arch/arm/boot/zImage ramdisk.img

Aha, fastboot implies that ramdisk is optional.. apparently it is not.

> Extracting the ramdisk.img from the boot.img in the boot partition on
> an existing device is a pain.  If you happen to have a cupcake
> userspace built from source that ramdisk.img should be suitable.  If
> not, I'll try to dig up a suitable ramdisk image tomorrow -- it's just
> init, init.rc, and adb, but it is necessary to boot.

I tried using ramdisk.img from sdk:

root@amd:/data/l/android# ./fastboot boot
/data/l/linux-msm/arch/arm/boot/uImage
/data/l/android/sdk/platforms/android-1.5/images/ramdisk.img
creating boot image...
creating boot image - 1884160 bytes
downloading 'boot.img'... OKAY
booting... OKAY
root@amd:/data/l/android# ls -al
/data/l/android/sdk/platforms/android-1.5/images/ramdisk.img
-rw-rw-rw- 1 pavel pavel 145785 May 15 03:13
/data/l/android/sdk/platforms/android-1.5/images/ramdisk.img

...no luck :-(.

> > I _think_ I got config right, most "interesting"
> > question was
> >
> > AMSS modem firmware version
> >  1. 6.2.10 (MSM_AMSS_VERSION_6210)
> >  2. 6.2.20 (MSM_AMSS_VERSION_6220)
> >> 3. 6.2.20 + New ADSP (MSM_AMSS_VERSION_6225)
> >  4. 6.3.50 (MSM_AMSS_VERSION_6350) (NEW)
> >
> > ...and I just selected "3" being default. No help available :-(. I
> > have cupcake installed, and I believe I installed radio update
> > required for cupcake. Can someone help? (And write Kconfig help text?
> > :-).
> 
> This is correct.  The shipping dream/sapphire devices are using AMSS
> 6.2.20+patches, which is option 3.
> 
> I'll look over the Kconfig text and see what we can do here.  The
> problem is that the baseband firmware (AMSS) changes some of the rpc
> interfaces incompatibly between versions, and different generations of
> the same hardware could be shipping with somewhat different baseband
> firmware.  6210 and 6220 are completely obsolete (never used in
> anything in production) and we should drop them to avoid confusion.

Or at least add (obsolete) to kconfig help or something.

> >> > Ok, could we get the boards renamed? g1 is known as dream, having
> >> > trout+dream+g1+adp1 names for same piece of hardware is unnice.
> >>
> >> It's hard to have a single name since carriers tend to use different
> >> names in different markets.  We often start work on kernel support
> >> long before a product is announced, so we've been using the fish names
> >> to allow us to register board names with the ARM machine registry
> >> early on and not use bogus internal-only machine IDs.
> >
> > I know naming stuff is hard. But dream/g1/adp1 are both recognized by
> > outside people. I don't think "trout" has similar level of
> > recognition.
> 
> Would better descriptions in Kconfig help here?  That's a lot easier
> and less disruptive than renaming the machine types (and the userspace
> android world, for good or ill uses the machine name to identify the
> hardware version for some hardware specific configuration stuff at
> runtime).

Better Kconfig description would certainly be nice. Renaming
board-trout* to board-dream* would be also nice (and should be doable
without any intrusive changes...?)
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2009-06-11 11:48 UTC|newest]

Thread overview: 167+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 10:31 HTC Dream aka. t-mobile g1 support Pavel Machek
2009-06-10 11:13 ` Ian Molton
2009-06-10 11:49   ` Pavel Machek
2009-06-10 12:04     ` Ian Molton
2009-06-10 17:43 ` Brian Swetland
2009-06-10 19:47   ` Bob Copeland
2009-06-11  7:24     ` Kalle Valo
2009-06-10 19:58   ` Gary Thomas
2009-06-10 20:09     ` Brian Swetland
2009-06-11  8:10   ` Pavel Machek
2009-06-11  8:27     ` Brian Swetland
2009-06-11 11:09       ` Pavel Machek
2009-06-11 11:24         ` Brian Swetland
2009-06-11 11:48           ` Pavel Machek [this message]
2009-06-11 11:53             ` Brian Swetland
2009-06-11 14:57               ` Pavel Machek
2009-06-11 14:58               ` Pavel Machek
2009-06-13  0:41           ` Tim Bird
2009-06-11 12:45         ` Bob Copeland
2009-06-11 13:00           ` Pavel Machek
2009-06-11 15:09             ` Bob Copeland
2009-06-11 14:33     ` Alex Riesen
2009-06-11 14:51       ` Pavel Machek
2009-06-10 19:48 ` Russell King - ARM Linux
2009-06-10 20:24   ` Brian Swetland
2009-06-10 20:47     ` MSM6281 support was: " Stefan Schmidt
2009-06-10 21:08       ` Brian Swetland
2009-06-10 21:28         ` Stefan Schmidt
2009-06-10 21:28         ` Marek Vasut
2009-06-10 21:33           ` Pavel Machek
2009-06-10 22:10             ` Stefan Schmidt
2009-06-10 22:19               ` Pavel Machek
2009-06-11  4:02                 ` Valdis.Kletnieks
2009-06-11  7:50                   ` Pavel Machek
2009-06-10 21:05     ` Daniel Walker
2009-06-10 21:37     ` Pavel Machek
2009-06-10 21:55       ` Brian Swetland
2009-06-11  8:25         ` Pavel Machek
2009-06-11  8:48           ` Brian Swetland
2009-06-12 15:05             ` Pavel Machek
2009-06-12 15:48               ` David Brown
2009-06-12 16:00               ` David Brown
2009-06-12 16:43                 ` Stefan Schmidt
2009-06-12 16:55                   ` davidb
2009-06-12 17:35                     ` Stefan Schmidt
2009-06-12 20:47               ` HTC Dream compile fixes (was Re: HTC Dream aka. t-mobile g1 support) Pavel Machek
2009-06-12 20:50               ` HTC Dream aka. t-mobile g1 support Brian Swetland
2009-06-12 22:02                 ` Ian Molton
2009-06-12 22:27                   ` Brian Swetland
2009-06-12 22:31                     ` Pavel Machek
2009-06-12 22:36                       ` Brian Swetland
2009-06-15 17:06                         ` Pavel Machek
2009-06-12 22:04                 ` Pavel Machek
2009-06-15 17:01                 ` Pavel Machek
2009-06-15 17:10                   ` Bill Gatliff
2009-06-15 18:32                   ` Brian Swetland
2009-06-17  9:11                     ` Pavel Machek
2009-06-17  9:40                       ` Brian Swetland
2009-06-17 17:16                         ` HTC Dream keymap (was Re: HTC Dream aka. t-mobile g1 support) Pavel Machek
2009-06-17 21:36                         ` HTC Dream aka. t-mobile g1 support Arve Hjønnevåg
2009-06-18 10:13                           ` Pavel Machek
2009-06-18 19:33                             ` Brian Swetland
2009-06-18 19:38                               ` David Miller
2009-06-18 23:07                                 ` defkeymap making machine useless (was Re: HTC Dream aka. t-mobile g1 support) Pavel Machek
2009-06-22  9:33                                   ` Jiri Kosina
2009-06-22 17:22                                     ` Pavel Machek
2009-06-23 13:06                         ` HTC Dream in 2.6.31-git? " Pavel Machek
2009-06-23 21:45                           ` davidb
2009-06-24  9:10                             ` Pavel Machek
2009-06-24 23:37                               ` Arve Hjønnevåg
2009-06-25 11:42                                 ` Pavel Machek
2009-06-26 23:01                                 ` Pavel Machek
2009-06-11  9:32     ` HTC Dream aka. t-mobile g1 support Mark Brown
2009-06-11  7:02   ` David Miller
2009-06-11  7:18     ` Russell King - ARM Linux
2009-06-11  7:37     ` Pavel Machek
2009-06-11 10:00       ` Mark Brown
2009-06-11 10:34       ` Russell King - ARM Linux
2009-06-11 10:44         ` David Miller
2009-06-11 10:47           ` David Miller
2009-06-11 11:05             ` Russell King - ARM Linux
2009-06-11 11:11               ` David Miller
2009-06-11 10:55           ` Russell King - ARM Linux
2009-06-11 11:04             ` David Miller
2009-06-11 11:12         ` Brian Swetland
2009-06-11 11:18           ` Russell King - ARM Linux
2009-06-11 11:22             ` David Miller
2009-06-11 11:49               ` Russell King - ARM Linux
2009-06-11 12:00                 ` David Miller
2009-06-11 12:38                   ` Russell King - ARM Linux
2009-06-11 12:54                     ` Alan Cox
2009-06-11 13:12                       ` Russell King - ARM Linux
2009-06-11 16:26                         ` Kevin Hilman
2009-06-11 16:57                           ` Nicolas Pitre
2009-07-22 17:54                         ` ARM platform trees (was: Re: HTC Dream aka. t-mobile g1 support) Kevin Hilman
2009-07-22 20:55                           ` Russell King - ARM Linux
2009-06-11 13:18                       ` HTC Dream aka. t-mobile g1 support Brian Swetland
2009-06-11 13:21                       ` Tony Lindgren
2009-06-11 13:37                         ` Russell King - ARM Linux
2009-06-11 14:00                           ` Tony Lindgren
2009-06-11 14:06                             ` Russell King - ARM Linux
2009-06-11 15:41                               ` Tony Lindgren
2009-06-11 15:51                                 ` Alan Cox
2009-06-11 17:29                               ` Nicolas Pitre
2009-06-11 21:22                                 ` Ryan Mallon
2009-06-11 21:40                                   ` H Hartley Sweeten
2009-06-12  1:21                                   ` Nicolas Pitre
2009-06-12  1:26                                     ` Ryan Mallon
2009-06-12  1:51                                       ` Nicolas Pitre
2009-06-12  2:16                                         ` Brian Swetland
2009-06-12 10:25                                           ` Ian Molton
2009-06-12 10:35                                           ` Pavel Machek
2009-06-12 10:40                                             ` Alan Cox
2009-06-12 10:44                                             ` Brian Swetland
2009-06-12 11:05                                               ` Pavel Machek
2009-06-13  7:05                                               ` Brian Swetland
2009-06-15 16:21                                                 ` davidb
2009-06-15 16:27                                                   ` Pavel Machek
2009-06-15 16:45                                                     ` davidb
2009-06-15 22:25                                                   ` Ben Leslie
2009-06-15 22:39                                                     ` davidb
2009-06-15 23:41                                                       ` Ben Leslie
2009-06-16  6:12                                                         ` davidb
2009-06-15 17:09                                                 ` Pavel Machek
2009-06-12  7:46                                       ` Alan Cox
2009-06-12 10:26                                 ` Tony Lindgren
2009-06-11 14:47                           ` Pavel Machek
2009-06-11 15:59                             ` Russell King - ARM Linux
2009-06-11 13:28                       ` Russell King - ARM Linux
2009-06-11 13:32                         ` Alan Cox
2009-06-11 13:21                     ` Pavel Machek
2009-06-11 15:52                       ` Russell King - ARM Linux
2009-06-12  1:27                         ` Jamie Lokier
2009-06-11 15:15                     ` Joe Perches
2009-06-11 15:39                       ` Russell King - ARM Linux
2009-06-11 15:53                         ` Joe Perches
2009-06-11 16:08                           ` Russell King - ARM Linux
2009-06-11 16:37                             ` Bartlomiej Zolnierkiewicz
2009-06-11 16:42                               ` Russell King - ARM Linux
2009-06-12  1:14                                 ` FUJITA Tomonori
2009-06-12  1:23                                 ` Jamie Lokier
2009-06-12  8:39                                   ` Bartlomiej Zolnierkiewicz
2009-06-12 17:44                                     ` Russell King - ARM Linux
2009-06-12 18:38                                       ` Bartlomiej Zolnierkiewicz
2009-06-12 23:40                                     ` David Miller
2009-06-12 23:43                                       ` David Miller
2009-06-11 18:24                       ` Sam Ravnborg
2009-06-13  0:30                         ` Ben Dooks
2009-06-13  9:02                           ` Pavel Machek
2009-06-13  9:13                             ` Sam Ravnborg
2009-06-13  9:51                             ` Russell King - ARM Linux
2009-06-13 10:59                             ` Christoph Hellwig
2009-06-13 19:36                               ` Russell King - ARM Linux
2009-06-15  9:39                                 ` Christoph Hellwig
2009-06-15 12:55                                   ` Pavel Machek
2009-06-15 15:59                                   ` Ian Molton
2009-06-16 15:15                                   ` Jamie Lokier
2009-06-12  1:33                     ` Ryan Mallon
2009-06-12 12:05                       ` Pavel Machek
2009-06-14  9:06                     ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-11 11:42             ` Brian Swetland
2009-06-11 11:18         ` Pavel Machek
2009-06-11 11:34         ` Alan Cox
2009-06-11 17:10       ` Ben Dooks
2009-06-11 17:53     ` Marek Vasut
2009-06-13  0:38     ` Ben Dooks
2009-06-13  2:16       ` David Miller

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=20090611114825.GD7523@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=ibm@android.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rlove@google.com \
    --cc=san@android.com \
    --cc=swetland@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.