public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Prabhakar Lad <prabhakar.lad@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm
Date: Wed, 22 Aug 2012 14:37:08 +0530	[thread overview]
Message-ID: <5034A13C.8080303@ti.com> (raw)
In-Reply-To: <CABkLObqUyGmXFSFAViTR+X3sQu12atpSx38gTN6YQQx0itcmdg@mail.gmail.com>

Hi,

On Wednesday 22 August 2012 01:43 PM, Christian Riesch wrote:
> [cc'd Manjunath Hadli]
> 
> Hi Tom,
> 
> On Mon, Aug 20, 2012 at 6:45 PM, Tom Rini <trini@ti.com> wrote:
>> Add a board-specific README that documents how to write u-boot.ais to
>> the SPI found on this board.
>>
>> Changes-series: 2
>> - Add
>>
>> Signed-off-by: Tom Rini <trini@ti.com>
>> ---
>>
>>  board/davinci/da8xxevm/README.da850_am18xxevm |   53 +++++++++++++++++++++++++
>>  1 file changed, 53 insertions(+)
>>  create mode 100644 board/davinci/da8xxevm/README.da850_am18xxevm
>>
>> diff --git a/board/davinci/da8xxevm/README.da850_am18xxevm b/board/davinci/da8xxevm/README.da850_am18xxevm
>> new file mode 100644
>> index 0000000..382b718
>> --- /dev/null
>> +++ b/board/davinci/da8xxevm/README.da850_am18xxevm
>> @@ -0,0 +1,53 @@
>> +Summary
>> +=======
>> +The README is for the boot procedure used for the LogicPD AM1808 EVM.
>> +
>> +The board is booted in three stages. The initial bootloader which executes
>> +upon reset is the Rom Boot Loader(RBL) which sits in the internal ROM. The
>> +RBL initialises the memory and the SPI controller and reads the AIS image
>> +starting at block 0.  This image can contain both the SPL and U-Boot
>> +binaries.
>> +
>> +AIS is an image format defined by TI for the images that are to be
>> +loaded to memory by the RBL. The image is divided into a series of
>> +sections and the image's entry point is specified. Each section comes
>> +with meta data like the target address the section is to be copied to
>> +and the size of the section, which is used by the RBL to load the
>> +image. At the end of the image the RBL jumps to the image entry
>> +point.
>> +
>> +The secondary stage bootloader(spl) which is loaded by the RBL then loads
>> +the u-boot from a predefined location in SPI to DDR and jumps to the u-boot
>> +entry point.
>> +
>> +
>> +Compilation
>> +===========
>> +To build a SPI-bootable image, run 'make da850_am18xxevm'.  This will build
> 
> da850_am18xxevm is for the Spectrum Digital EVM for the AM1808. For
> the Logic PD board you will need 'make da850evm'. See [1]
> 
  May be having a common README for am18x and omap-l138 would be good ?

Thx,
--Prabhakar

> Regards, Christian
> 
> 
> [1] http://lists.denx.de/pipermail/u-boot/2012-February/117082.html
> 
>> +the u-boot.ais file that needs to be written to SPI flash.
>> +
>> +
>> +Flashing the images to Nand
>> +===========================
>> +The AIS image can be written to SPI flash using the following commands.
>> +Assuming that the network is configured and enabled and the u-boot.ais file
>> +is tftp'able.
>> +
>> +U-Boot > sf probe 0
>> +U-Boot > sf erase 0 +320000
>> +U-Boot > tftp u-boot.ais
>> +U-Boot > sf write c0700000 0 $filesize
>> +
>> +
>> +Recovery
>> +========
>> +
>> +In the case of a "bricked" board, you need to use the TI tools found
>> +here[1] to write a UBL file and u-boot.bin.  Once the system is running
>> +again from these tools a good u-boot.ais may be re-written to SPI flash.
>> +
>> +
>> +Links
>> +=====
>> +[1]
>> + http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L137
>> --
>> 1.7.9.5
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 

  reply	other threads:[~2012-08-22  9:07 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 16:45 [U-Boot] [PATCH v2 0/18] ARM: SPL: Make more generic, merge DaVinci and OMAP Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 01/18] Makefile: Move SPL files to clobber, remove from clean Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 02/18] spl_mmc: Make FAT checks / calls guarded with CONFIG_SPL_FAT_SUPPORT Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 03/18] omap-common: SPL: Add CONFIG_SPL_DISPLAY_PRINT / spl_display_print() Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 04/18] omap-common: Fix typo in save_boot_params() in lowlevel_init.S Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 05/18] ARM: SPL: Rename omap_boot_device to spl_boot_device Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 06/18] ARM: SPL: Rename omap_boot_mode to spl_boot_mode() Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 07/18] ARM: SPL: Remove NAND_MODE_HW_ECC from spl_nand.c Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 08/18] ARM: SPL: Only call mem_malloc_init if configured Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 09/18] ARM: SPL: Add <asm/spl.h> and <asm/arch/spl.h> Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 10/18] ARM: SPL: Make spl_mmc.c more generic Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 11/18] ARM: SPL: Clean up spl.c / spl_nand.c slightly Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 12/18] ARM: SPL: Start hooking in the current SPI SPL support Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 13/18] ARM: SPL: Move gpmc_init() to spl_board_init() Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 14/18] SPL: Move the omap SPL framework to common/spl Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 15/18] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK Tom Rini
2012-08-22 10:04   ` Christian Riesch
2012-08-22 10:13     ` Prabhakar Lad
2012-08-22 17:46     ` Tom Rini
2012-08-22 19:19       ` Tom Rini
2012-08-22 23:14         ` Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 16/18] da850_am18xxevm: Add README.da850_am18xxevm Tom Rini
2012-08-21  5:09   ` Prabhakar Lad
2012-08-21 15:34     ` Tom Rini
2012-08-22  4:46       ` Prabhakar Lad
2012-08-22  6:28         ` Tom Rini
2012-08-22  8:13   ` Christian Riesch
2012-08-22  9:07     ` Prabhakar Lad [this message]
2012-08-22  9:17       ` Christian Riesch
2012-08-22 10:05         ` Prabhakar Lad
2012-08-22 15:09           ` Christian Riesch
2012-08-23  4:51             ` Prabhakar Lad
2012-08-22 17:44           ` Tom Rini
2012-08-22 17:37     ` Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 17/18] SPL: Enhance drivers/mtd/nand/nand_spl_load.c Tom Rini
2012-08-24 21:09   ` Scott Wood
2012-08-24 21:10     ` Scott Wood
2012-08-24 21:17       ` Tom Rini
2012-08-24 21:20     ` Tom Rini
2012-08-24 21:30       ` Scott Wood
2012-08-24 22:56         ` Tom Rini
2012-08-20 16:45 ` [U-Boot] [PATCH v2 18/18] SPL: Enhance spi_spl_load to match the other load functions Tom Rini

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=5034A13C.8080303@ti.com \
    --to=prabhakar.lad@ti.com \
    --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