public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 8/8] board support for palm treo 680
Date: Mon, 8 Apr 2013 08:27:16 +0200	[thread overview]
Message-ID: <201304080827.16433.marex@denx.de> (raw)
In-Reply-To: <1365352865-2137-9-git-send-email-mikedunn@newsguy.com>

Dear Mike Dunn,

> A quick overview of u-boot implementation on the treo 680...
> 
> The treo 680 has a Diskonchip G4 nand flash chip.  This device has a 2k
> region that maps to the system bus at the reset vector in a NOR-like
> fashion so that it can be used as the boot device.  The phone is shipped
> with this 2k region configured as write-protected (can't be modified) and
> programmed with an initial program loader (IPL).  At power-up, this IPL
> loads the contents of two flash blocks to SDRAM and jumps to it.  The
> capacity of the two blocks is not large enough to hold all of u-boot, so a
> u-boot SPL is used.  To conserve flash space, these two blocks and the
> necessary number of subsequent blocks are programmed with a concatenated
> spl + u-boot image.  That way, the IPL will also load a portion of u-boot
> proper, and when the spl runs, it relocates the portion of u-boot that the
> IPL has already loaded, and then resumes loading the remaining part of
> u-boot before jumping to it.
> 
> The default_environment is used (CONFIG_ENV_IS_NOWHERE) because I didn't
> think that having a writable environment was worth the cost of a flash
> block, although adding it would be straightforward.  I abuse the
> CONFIG_EXTRA_ENV_SETTINGS option to specify the usbtty for the console
> (CONFIG_SYS_CONSOLE_IS_IN_ENV).
> 
> Support for the LCD is included, but currently it is only useful for
> displaying the u-boot splash screen.  But if u-boot is built without the
> usbtty console, it does display the auto-boot progress nicely.
> 
> Signed-off-by: Mike Dunn <mikedunn@newsguy.com>

I dunno about the userland too, it might go into tools/ and be unified to all 
DoCG4 devices. And also make sure to use #define[space] isntead of #define[tab] 
in the config file.

      reply	other threads:[~2013-04-08  6:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 16:40 [U-Boot] [PATCH 0/8] palm treo 680 smartphone board support Mike Dunn
2013-04-07 16:40 ` [U-Boot] [PATCH 1/8] pxa_lcd: add the ACX544AKN lcd device Mike Dunn
2013-04-07 16:40 ` [U-Boot] [PATCH 2/8] pxa_lcd: make lcd_enable() a weak pointer Mike Dunn
2013-04-07 19:08   ` Fabio Estevam
2013-04-08 17:49     ` Mike Dunn
2013-04-07 16:41 ` [U-Boot] [PATCH 3/8] pxa_lcd: allow L_BIAS line to be unused Mike Dunn
2013-04-08  5:28   ` Marek Vasut
2013-04-09 17:02     ` Mike Dunn
2013-04-07 16:41 ` [U-Boot] [PATCH 4/8] pxa27x_udc: remove call to unimplemented set_GPIO_mode() Mike Dunn
2013-04-07 16:41 ` [U-Boot] [PATCH 5/8] arm: bootm: call udc_disable() before booting linux Mike Dunn
2013-04-08  5:29   ` Marek Vasut
2013-04-07 16:41 ` [U-Boot] [PATCH 6/8] lib: import bitrev library from linux kernel Mike Dunn
2013-04-08  6:23   ` Marek Vasut
2013-04-08 16:46     ` Mike Dunn
2013-04-08  7:38   ` Wolfgang Denk
2013-04-07 16:41 ` [U-Boot] [PATCH 7/8] mtd: nand: add driver for diskonchip g4 nand flash Mike Dunn
2013-04-08  6:25   ` Marek Vasut
2013-04-08 17:10     ` Mike Dunn
2013-04-08 17:26       ` Marek Vasut
2013-04-09  0:59     ` Scott Wood
2013-04-09 15:36       ` Mike Dunn
2013-04-07 16:41 ` [U-Boot] [PATCH 8/8] board support for palm treo 680 Mike Dunn
2013-04-08  6:27   ` Marek Vasut [this message]

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=201304080827.16433.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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