4 years agoTBR: Fix var name typo and macro so that build will not fail 0.11.241.B 0.11.257.B 0.11.257.B90 0.12.362.B 0.12.369.B 0.12.392.B 0.12.433.B 0.12.433.B109 0.12.433.B62 0.13.434.B 0.13.509.B 0.13.558.B 0.13.587.B 11.1.241.B master
Che-Liang Chiou [Wed, 3 Nov 2010 06:43:15 +0000 (14:43 +0800)]
TBR: Fix var name typo and macro so that build will not fail

TEST=Build u-boot successfully

Review URL:

Change-Id: I6f6a94bfbcabad4b504f72f81cf415b1d3ec4dfa

4 years agoTegra2: spi: move spi_init up to board_init so UART works OK when loading from SPI...
Tom Warren [Tue, 2 Nov 2010 20:14:31 +0000 (13:14 -0700)]
Tegra2: spi: move spi_init up to board_init so UART works OK when loading from SPI flash chip
Signed-off-by: Tom Warren <>
Only when a BCT/U-Boot.bin image is flashed to SPI and booted, the console
output was corrupted. This was because the spi_init() proc wasn't running
early enough in POST, and the GPIO UART_DISABLE wasn't being gated.

TEST=Create flashable image w/buildimage, write it to SPI, and reset/restart.
No console corruption seen via serial.

Review URL:
Patch from Tom Warren <>.

Change-Id: If4e50125abd289bd81c022eec1cb67aa158c08d5

4 years agoTegra2 u-boot i2c driver: Fixed i2c probe flakiness problem
Yen Lin [Tue, 2 Nov 2010 20:07:09 +0000 (13:07 -0700)]
Tegra2 u-boot i2c driver: Fixed i2c probe flakiness problem
Signed-off-by: Yen Lin <>
TEST=Test i2c probe on both seaboard and harmony boards

Change-Id: I10cf1ccb907fa2b8051a0d358a83baa20b6fa9aa

Review URL:
Patch from Yen Lin <>.

4 years agoSPI: flash: winbond: add Winbond W25Q32BV support (4MB SPI flash)
Tom Warren [Thu, 28 Oct 2010 18:38:16 +0000 (11:38 -0700)]
SPI: flash: winbond: add Winbond W25Q32BV support (4MB SPI flash)
Signed-off-by: Tom Warren <>
TEST=none (no W25Q32BV chips available on Seaboard yet)

Review URL:
Patch from Tom Warren <>.

Change-Id: Ia7e311305bea37f20fab2801fb4fa72c196d8682

4 years agoMove common/chromeos_utility.c to lib_generic/chromeos/utility.c
Che-Liang Chiou [Thu, 28 Oct 2010 01:35:47 +0000 (09:35 +0800)]
Move common/chromeos_utility.c to lib_generic/chromeos/utility.c

Refactor and put as much of code in one place as possible.

Change-Id: Ib8a15b93cbb8dd92b4740dac6ce618df318837b8

TEST=Run emerge successfully

Review URL:

4 years agoImplement boot device r/w functions for vboot
Che-Liang Chiou [Tue, 26 Oct 2010 10:44:47 +0000 (18:44 +0800)]
Implement boot device r/w functions for vboot


Test procedure:
1. Compile with VBOOT_DEBUG flag on successfully
2. Run u-boot on dev board as follows:
(Assume you have mmc device on dev board)
CrOS> mmc init
CrOS> cros bootdev set mmc 1
CrOS> cros bootdev
(info of mmc1)
CrOS> read mmc 1 0x20000000 1 2
CrOS> md.b 0x20000000
(mmc1 content)
CrOS> cros bootdev read 0x20001000 1 2
CrOS> md.b 0x20001000
(mmc1 content)
CrOS> cmp.b 0x20000000 0x20001000 0x400
(compare the blocks, should be identical)

Review URL:

Change-Id: I339f9fb63862993f8b9ced80d4c27d6bef0c1bc6

4 years agoImplement utility functions used by vboot
Che-Liang Chiou [Sun, 24 Oct 2010 07:35:34 +0000 (15:35 +0800)]
Implement utility functions used by vboot

TEST=Build and run u-boot successfully

Change-Id: I3f7643b7d4c193cd6ef6b982ebfb790d56c4d7ab

Review URL:

4 years agoTegra2 u-boot: Clean up debug and uart init
Jimmy Zhang [Fri, 22 Oct 2010 21:35:35 +0000 (14:35 -0700)]
Tegra2 u-boot: Clean up debug and uart init

Sign-off-by: Jimmy Zhang <>
TEST=Test done on both chromeos and tegra2 build

Review URL:
Patch from Jimmy Zhang <>.

Change-Id: I68ab793d2327a7b2a369f48b2e7177b6cec26535

4 years agoTegra2: Seaboard: spi: Add SPI-Flash support for Seaboard
Tom Warren [Thu, 21 Oct 2010 23:14:21 +0000 (16:14 -0700)]
Tegra2: Seaboard: spi: Add SPI-Flash support for Seaboard

Using this code, I was able to probe, erase, and read/write the SPI-FLash
Winbond chip on my Seaboard. I was also able to flash Jimmy's 9/27 bootable
image file from memory (loaded via JTAG) to the Winbond 512K chip and boot
it using the BootROM SPI-FLash boot config jumpers (1000).

I've also successfully tested storing/reading the environment in SPI-FLash.
See CONFIG_ENV_IS_IN_SPI_FLASH in the Seaboard config files, commented out
for now.

Two new commands: sspi for generic SPI commands/results, and sf for probe/erase/read/write.

Harmony configs also build OK (w/o SPI-Flash support).
Signed-off-by: Tom Warren <>
TEST=tested on Seaboard, SPI-FLash probe/erase/read/write work well.

Review URL:
Patch from Tom Warren <>.

Change-Id: I4025768cc3f43628f0c0fd9697b6a76e6e1fae1b

4 years agoSPI: sspi: show usage info if no 'sspi' args given
Tom Warren [Thu, 21 Oct 2010 20:50:25 +0000 (13:50 -0700)]
SPI: sspi: show usage info if no 'sspi' args given
Signed-off-by: Tom Warren <>
TEST=Enter 'sspi' with no args; usage info is returned

Review URL:
Patch from Tom Warren <>.

Change-Id: Id3a425c12fa6d2ef36f6f61f410af7279d924e34

4 years agoinput: all: CMDLINE_EDITING: Handle spurious NULL char in buffer
Tom Warren [Thu, 21 Oct 2010 20:49:03 +0000 (13:49 -0700)]
input: all: CMDLINE_EDITING: Handle spurious NULL char in buffer

Also fixed a couple of buffer #defines to match U-Boot TOT
Signed-off-by: Tom Warren <>
TEST=build/load on Seaboard, use SF/SSPI cmds, cmd history AOK

Review URL:
Patch from Tom Warren <>.

Change-Id: I0ad18019f816b1c40ff5fade7ea62d56da251030

4 years agoCleanup newly allocated device nodes in case of configuration failure.
Milind Choudhary [Wed, 13 Oct 2010 17:42:57 +0000 (10:42 -0700)]
Cleanup newly allocated device nodes in case of configuration failure.

If probe of a newly connected device fails for some reason, clean up
the allocated entry in usb_dev array.

Change-Id: I90fc5dde3bffb95cee19da2423fe3ff9ac546214
Signed-off-by: Milind Choudhary <>
Review URL:
Patch from Milind Choudhary <>.

4 years agoMSM8x60: Update params passed to kernel for qrdc
Amol Jadi [Tue, 12 Oct 2010 15:36:30 +0000 (09:36 -0600)]
MSM8x60: Update params passed to kernel for qrdc
mem atags: from 510 to 1022M
pmem: from 32 to 96M

Change-Id: I10601eb32c47d0c31d995eb8312e6ff1de5c2215


Review URL:
Patch from Amol Jadi <>.

4 years agoAdd chromeos_qemu_recovery_config
Che-Liang Chiou [Tue, 12 Oct 2010 01:34:18 +0000 (09:34 +0800)]
Add chromeos_qemu_recovery_config

This CL adds a new target chromeos_qemu_recovery_config that, as its name
suggests, supports qemu emulation.

It would let you emulate u-boot image:
$ qemu-system-arm -M versatilepb -cpu cortex-a9 -kernel u-boot.bin

Note: qemu 0.12.5 is known to crash; 0.13.50 or newer should work fine.

Change-Id: Ibf04dc6fe20064fb8b1ac60b0cbe1390c25d9dbc

TEST=Build target chromeos_qemu_recovery_config and emulate successfully

Review URL:

4 years agoAdd VBOOT to top-level Makefile
Che-Liang Chiou [Thu, 7 Oct 2010 02:08:43 +0000 (10:08 +0800)]
Add VBOOT to top-level Makefile

This CL adds argument "VBOOT" to top-level Makefile and that points
to a verify boot implementation.

Change-Id: Ib468cc7a6a7c3ce3db56b90d73c6022ac30fa046

TEST=Run "make all" successfully

Review URL:

4 years agoSimplify Tegra2 keyboard initialization.
Anton Staaf [Wed, 6 Oct 2010 21:35:28 +0000 (14:35 -0700)]
Simplify Tegra2 keyboard initialization.

Change-Id: I0a4ac2862f0bb6695ce7e7d1bb0ba15e9688ca55

TEST=Build and run u-boot on Seaboard with keyboard enabled.

Review URL:

4 years agoTegra2: input: Add tegra keyboard support.
Rakesh Iyer [Wed, 6 Oct 2010 19:57:51 +0000 (12:57 -0700)]
Tegra2: input: Add tegra keyboard support.

Added Tegra keyboard driver sources. The driver will be enabled in a seperate commit.

Change-Id: I1aa49341af62c0927fa3051cad274ce9d2795eaa
Signed-off-by: Rakesh Iyer <>
TEST=Works well on seaboard.

Review URL:
Patch from Rakesh Iyer <>.

4 years agoTegra2 u-boot: Add I2C driver
Yen Lin [Wed, 6 Oct 2010 19:41:41 +0000 (12:41 -0700)]
Tegra2 u-boot: Add I2C driver

Signed-off-by: Yen Lin <>
TEST=build test and boot for both Seaboard and Harmony

Change-Id: I92257928105c8daada55b1d42fdad09afe8b7862

Review URL:
Patch from Yen Lin <>.

4 years agoAdding a new board variant for UBOOT
Phani Avadhanam [Tue, 28 Sep 2010 00:30:00 +0000 (18:30 -0600)]
Adding a new board variant for UBOOT

Created a new machine type for QRDC board.
Modified Make file to have QRDC specific revoery config

Added common.h, fast.h and stub.h into qrdc board variant.
Currently these are not different from MSM8x60 --but in future they might differ to some extent.

Added a new target for QRDC Board in UBOOT Make file.
Created a new UBOOT target configuration for chromeos_qrdc_recovery_config
All the board specific files for QRDC Board bring up.
Machine id is different.
These files will be used in the QRDC specific build variant.
UBOOT's makefile has a corresponding target to build for QRDC board.

TEST=Buildonly test for QRDC and modifying the machine ID, build and test for 8660 FFA.

Review URL:
Patch from Phani Avadhanam <>.

4 years agoTegra: Add Nvidia seaboard build configs and seaboard directory under board/tegra2...
Jimmy Zhang [Fri, 24 Sep 2010 22:48:19 +0000 (15:48 -0700)]
Tegra: Add Nvidia seaboard build configs and seaboard directory under board/tegra2. The board specific code will be added into harmony.c and seaboard.c respectively.

Signed-off-by: Jimmy Zhang <>
TEST=build and boot for both harmony and seaboard.

Review URL:
Patch from Jimmy Zhang <>.

Change-Id: Iba4ee8342c0034646cbd061257553a65d8171091

4 years agoTegra2 u-boot: Update boot options for verity.
Kenneth Waters [Thu, 23 Sep 2010 18:10:15 +0000 (11:10 -0700)]
Tegra2 u-boot: Update boot options for verity.

- Disable HUSH shell, it's quoting is so broken we cannot pass '"' in the
  kernel command line.

TEST=Booted tegra2_dev-board

Review URL:

Change-Id: I395fe8ed5e5af3e7d561dbc0001128a23f70ce3a

4 years agoU-Boot: Add a command to read raw blocks from a partition.
Kenneth Waters [Tue, 21 Sep 2010 17:24:17 +0000 (10:24 -0700)]
U-Boot: Add a command to read raw blocks from a partition.

- I don't know how this doesn't exist.  I'm going to use this to move
  the kernel + a U-Boot script to the kernel partition.

TEST=Used "read" command to successfully load a U-Boot script off of MMC
partition 2.

Review URL:

Change-Id: If8a3497e6c284ff466434b80238fe9dfb6914aa8

4 years agoCHROMIUM: tegra2: Init PMC scratch memory.
Jimmy Zhang [Thu, 16 Sep 2010 21:59:58 +0000 (14:59 -0700)]
CHROMIUM: tegra2: Init PMC scratch memory.

TEST=unit test done both on harmony and seaboard and built with nvidia and chromeos configs.
Signed-off-by: Jimmy Zhang <>
Signed-off-by: Olof Johansson <>
Review URL:

4 years agoCHROMIUM: tegra2: set the CPU clock to 1GHz.
Jimmy Zhang [Wed, 15 Sep 2010 02:37:51 +0000 (21:37 -0500)]
CHROMIUM: tegra2: set the CPU clock to 1GHz.

TEST=build and boot for seaboard
Signed-off-by: Jimmy Zhang <>
Signed-off-by: Olof Johansson <>
Review URL:

4 years agoU-Boot: Update tegra2 boot to use scripts on ESP.
Kenneth Waters [Tue, 14 Sep 2010 19:58:16 +0000 (12:58 -0700)]
U-Boot: Update tegra2 boot to use scripts on ESP.

TEST=Booted on MMC and USB on tegra2

Review URL:

Change-Id: I0bd91e5d43edc6905ac96ccfccf850575d0004dd

4 years agoCHROMIUM: tegra: seaboard: enable 1GB mem
Olof Johansson [Sat, 11 Sep 2010 03:35:06 +0000 (22:35 -0500)]
CHROMIUM: tegra: seaboard: enable 1GB mem

Change-Id: I28c74ca9b96553ff61523e1a60e2d01f1d23ccb4
Signed-off-by: Olof Johansson <>
TEST=build and boot 1GB seaboard

Review URL:

4 years agoTegra2: GPIO: fix GPIO offset calc, use port & bit for input/output args
Olof Johansson [Fri, 10 Sep 2010 15:58:38 +0000 (10:58 -0500)]
Tegra2: GPIO: fix GPIO offset calc, use port & bit for input/output args

Signed-off-by Tom Warren (

Review URL:

Change-Id: I4e8b9d8fe83e584bc8f5cbaf741d3b5443a4b23e

4 years agoCHROMIUM: Add hacky autoboot for tegra
Olof Johansson [Tue, 7 Sep 2010 19:42:36 +0000 (14:42 -0500)]
CHROMIUM: Add hacky autoboot for tegra

To be replaced with script-based goodness later.

Change-Id: I3c35b3b19d808a144bb03feb2771b5d37d8ee60f

Signed-off-by: Olof Johansson <>
TEST=Built, booted from USB on seaboard. No MMC boot there yet, so didn't test that side.

Review URL:

4 years agoCHROMIUM: tegra2: select linux machine type in config headers
Olof Johansson [Tue, 7 Sep 2010 18:35:49 +0000 (13:35 -0500)]
CHROMIUM: tegra2: select linux machine type in config headers

Change-Id: Id9cb49e0a4ab616f41646031e1dd0d7644c5132e
Signed-off-by: Olof Johansson <>
TEST=build and boot for seaboard

Review URL:

4 years agoChromeOS: Tegra2: fix VSPRINTF warning message in recovery builds
Olof Johansson [Fri, 3 Sep 2010 23:21:10 +0000 (18:21 -0500)]
ChromeOS: Tegra2: fix VSPRINTF warning message in recovery builds

Signed-off-by: Tom Warren <>
Review URL:

Change-Id: I5e1627df7a7950cc8ef832564acb51737f87f5e4

4 years agoCHROMIUM: tegra2: push CONFIG_EXTRA_ENV_SETTINGS out per-board
Olof Johansson [Fri, 3 Sep 2010 17:46:32 +0000 (10:46 -0700)]
CHROMIUM: tegra2: push CONFIG_EXTRA_ENV_SETTINGS out per-board

Since memory amount is different, etc.

Also update with nvmem as needed by newer kernel.

Change-Id: I75b00fa3e417dc3527f184934422a1fb4913993f

Signed-off-by: Olof Johansson <>
TEST=build, flash, boot seaboard, check environment

Review URL:

4 years agoAdded cache configuration in CPU init.
Olof Johansson [Fri, 3 Sep 2010 01:45:29 +0000 (18:45 -0700)]
Added cache configuration in CPU init.

Signed-off-by: Jimmy Zhang <>
Review URL:

Change-Id: I222953c09b9e6bc2937a7970829af2127145eab6

4 years agoRedefined the tegra2 harmony board machine id
Olof Johansson [Fri, 3 Sep 2010 00:23:02 +0000 (17:23 -0700)]
Redefined the tegra2 harmony board machine id

Use MACH_TYPE_HARMONY instead of MACH_TYPE_TEGRA_HARMONY as the machine id.

Signed-off-by: Jimmy Zhang <>
Review URL:

Change-Id: I3d5dc16fd8398b0367a0ddcbf1139dc674316356

4 years agoChanged the U-Boot entry address back to 0x0e08000 (from 0x0108000).
Olof Johansson [Thu, 2 Sep 2010 23:00:38 +0000 (18:00 -0500)]
Changed the U-Boot entry address back to 0x0e08000 (from 0x0108000).

Signed-off-by: Jimmy Zhang <>
Review URL:

Change-Id: I599311c6d0d009e21ac6e5af2f0404e2aa5a79e8

4 years agoAdd Seaboard config and make target.
Anton Staaf [Tue, 31 Aug 2010 16:28:36 +0000 (09:28 -0700)]
Add Seaboard config and make target.

Change-Id: Ia545fe7e6f0e64ea25889226ce6fa985867a62b4


Review URL:

4 years agoUSB patches backported from U-boot upstream on
Milind Choudhary [Thu, 26 Aug 2010 23:44:24 +0000 (16:44 -0700)]
USB patches backported from U-boot upstream on


Change-Id: Ia877fb4a11c28f2f6d0658217d52ded202ecb80b
Signed-off-by: Milind Choudhary <>
Review URL:
Patch from Milind Choudhary <>.

4 years agoThis is the beginnings of a common mechanism to configure U-Boot for ChromeOS. It...
Anton Staaf [Thu, 26 Aug 2010 23:09:49 +0000 (16:09 -0700)]
This is the beginnings of a common mechanism to configure U-Boot for ChromeOS.  It includes some Tegra2 support in the form of a recovery configuration.

Review URL:

Change-Id: Ifca7f4fd142d6c6ddd4fad179a9da4077f436cea

4 years agoHarmony: Tegra2: cleanup extra include files
Tom Warren [Thu, 26 Aug 2010 21:48:42 +0000 (14:48 -0700)]
Harmony: Tegra2: cleanup extra include files

Review URL:
Patch from Tom Warren <>.

Change-Id: Ia3c0abaacf759abe4bf862923c75a5ccbc3bacc9

4 years agoTegra2: GPIO: add GPIO device, in, out, info support
Tom Warren [Wed, 25 Aug 2010 23:15:51 +0000 (16:15 -0700)]
Tegra2: GPIO: add GPIO device, in, out, info support

Review URL:
Patch from Tom Warren <>.

Change-Id: I48347b5bd21e540c3e6a5302872bf54291a1501b

4 years agoAdded code to enable USB storage.
Jim Zhang [Wed, 25 Aug 2010 22:42:42 +0000 (15:42 -0700)]
Added code to enable USB storage.

Review URL:
Patch from Jim Zhang <>.

Change-Id: Ic686a7aeecc436515d44cc64a162d03aefabca16

4 years agoCHROMIUM: add partition support to tegra_mmc
Olof Johansson [Wed, 25 Aug 2010 22:00:16 +0000 (17:00 -0500)]
CHROMIUM: add partition support to tegra_mmc

Also bump up the hard-coded device size to be able to read the parititons.

Signed-off-by: Olof Johansson <>
Review URL:

Change-Id: Iccac552fbd9451bf801c83b6225d3b0d0687709f

4 years agoTegra2: Harmony: fix build error (nand struct) & whitespace issues
Tom Warren [Wed, 25 Aug 2010 21:34:34 +0000 (14:34 -0700)]
Tegra2: Harmony: fix build error (nand struct) & whitespace issues

Review URL:
Patch from Tom Warren <>.

Change-Id: I196a90b266bbce9cfa84a367e5bf490392663905

4 years agoTegra2: console: enable command-line edit, history and autocomplete
Tom Warren [Wed, 25 Aug 2010 21:28:47 +0000 (14:28 -0700)]
Tegra2: console: enable command-line edit, history and autocomplete

Review URL:
Patch from Tom Warren <>.

Change-Id: If06f534af1076f8b7255d01bd1014b0e6b1aef86

4 years agoAdded eMMC driver for eMMC4 controller
Jim Zhang [Mon, 23 Aug 2010 17:27:35 +0000 (10:27 -0700)]
Added eMMC driver for eMMC4 controller

Review URL:
Patch from Jim Zhang <>.

Change-Id: I4a64eed110ccba8afcbabfed4f805f628db1a811

4 years agou-boot: add olofj to watchlist
Olof Johansson [Fri, 20 Aug 2010 20:38:39 +0000 (15:38 -0500)]
u-boot: add olofj to watchlist

Change-Id: I62116ca2d0c8e63ab131d08b282aacdace1d995c
Signed-off-by: Olof Johansson <>
Review URL:

4 years agoAdd the cpu init and uart init functions to bring up Tegra2.
Jim Zhang [Thu, 19 Aug 2010 17:25:54 +0000 (10:25 -0700)]
Add the cpu init and uart init functions to bring up Tegra2.

       modified:   board/tegra2/harmony/    // changed the u-boot entry point from 0x00e08000 to 0x00108000
       modified:   cpu/arm_cortexa9/start.S          // call tegra2_init
       modified:   cpu/arm_cortexa9/tegra2/Makefile  // add ap20.c file
       modified:   cpu/arm_cortexa9/tegra2/cpu.h     // added more constant definitions
       modified:   cpu/arm_cortexa9/tegra2/interrupts.c // always disable interrupt
       cpu/arm_cortexa9/tegra2/ap20.c                // init cpu and start
       modified:   include/asm-arm/arch-tegra2/nvcommon.h
       modified:   include/asm-arm/arch-tegra2/tegra2.h   // more low level supports for bringing up cpu.
       modified:   include/serial.h                 // enable tegra2 serial console
       modified:   common/serial.c                  // enable serial port

Review URL:
Patch from Jim Zhang <>.

Change-Id: I32ae57973661754185d758982d8047e6d9c4c1ac

4 years agoTegra2 Harmony first chunk - simple changes, no effect on any build yet
Tom Warren [Fri, 13 Aug 2010 18:58:35 +0000 (11:58 -0700)]
Tegra2 Harmony first chunk - simple changes, no effect on any build yet

Review URL:
Patch from Tom Warren <>.

4 years agoFormatting changes to board.c
Ezra Godfrey [Mon, 9 Aug 2010 22:23:42 +0000 (16:23 -0600)]
Formatting changes to board.c

Change-Id: I5cccea6148387841b8e2a8eccc64b70124f89fc6

Review URL:
Patch from Ezra Godfrey <>.

4 years agoCHROMIUM: Update mach-types.h
Olof Johansson [Thu, 5 Aug 2010 22:32:36 +0000 (15:32 -0700)]
CHROMIUM: Update mach-types.h

Signed-off-by: Olof Johansson <>
Review URL:

4 years agoCHROMIUM: Add partition support to mmc
Olof Johansson [Thu, 5 Aug 2010 22:12:52 +0000 (15:12 -0700)]
CHROMIUM: Add partition support to mmc

Signed-off-by: Olof Johansson <>
Review URL:

4 years agoAdded sdmmc driver support for tegra2 harmony board.
Jim Zhang [Thu, 5 Aug 2010 19:09:10 +0000 (12:09 -0700)]
Added sdmmc driver support for tegra2 harmony board.

Review URL:
Patch from Jim Zhang <>.

4 years agoAttempt to fix formatting issues.
Ezra Godfrey [Wed, 4 Aug 2010 22:25:36 +0000 (16:25 -0600)]
Attempt to fix formatting issues.

Change-Id: I5c75ea15fc52ad037957fc69449132be4bded49a

Added carriage return to new line character for printing using dcc.

Change-Id: I3decc8b196c1c6de6a6d4bf1de0dab8b8fc0caab

Review URL:
Patch from Ezra Godfrey <>.

4 years agoFixed 48MHz Clock for SDC3 on FFA.
Ezra Godfrey [Wed, 4 Aug 2010 22:11:03 +0000 (16:11 -0600)]
Fixed 48MHz Clock for SDC3 on FFA.

Change-Id: Iee132661831febac3e27d0a8d88567ecd0249bc0

Review URL:
Patch from Ezra Godfrey <>.

4 years agoPatch to add SDC/eMMC support for 8x60. Fix for datamover bug. Closely related to...
Christopher Herrington [Mon, 26 Jul 2010 18:44:16 +0000 (12:44 -0600)]
Patch to add SDC/eMMC support for 8x60. Fix for datamover bug. Closely related to issues 2897009 and 2985001.

Change-Id: Ib7eec7f8fea66f2801c4771e207693ebfcd7849d

Review URL:
Patch from Christopher Herrington <>.

4 years agoChange entry point to the kernel to be a command line arguement instead of a hard...
Christopher Herrington [Mon, 26 Jul 2010 18:42:39 +0000 (12:42 -0600)]
Change entry point to the kernel to be a command line arguement instead of a hard coded value.

Change-Id: I14639faa962a1873fa7d9f97769ec6d855740689

Review URL:
Patch from Christopher Herrington <>.

4 years agoClosely related to Issue 2897009. This code won't be built without the top level...
Christopher Herrington [Mon, 26 Jul 2010 18:41:38 +0000 (12:41 -0600)]
Closely related to Issue 2897009. This code won't be built without the top level Makefile change from that issue. Defines register mappings and cpu specific implementations of gpio/timer/datamover/sdc functionality.

Change-Id: Iadf1dccf54cc5cdcfb0a7b766d270c6e9ddffc19

Review URL:
Patch from Christopher Herrington <>.

4 years agoConfiguration .h files, board specific implementations and top level Makefile changes...
Christopher Herrington [Mon, 26 Jul 2010 17:32:00 +0000 (11:32 -0600)]
Configuration .h files, board specific implementations and top level Makefile changes in order to support MSM8x60 as a platform in u-boot. Closely related to Issue 2985001.

Change-Id: Ibd266eb7626253eab6358db88d210126b38415bc

Review URL:
Patch from Christopher Herrington <>.

4 years agoFix a debug print statement that was longer than 80 characters
Christopher Herrington [Mon, 26 Jul 2010 17:30:10 +0000 (11:30 -0600)]
Fix a debug print statement that was longer than 80 characters

Change gpt_entry **pgpt_pte in print_part_efi() and get_partition_info_efi() to a single pointer and then passing the address of the pointer instead of a double pointer as an arguement to function calls. This was done because the existing code assigned the value of NULL to **pgpt_pte and then dereferenced it in is_gpt_valid() before doing any kind of memory allocation. Making it a single pointer and then passing it's address ensures that dereferencing it is safe.

Change-Id: I1f7a9e6da01724c0bcb29d851f0a0e33ecf8f8a6

Change gpt_entry **pgpt_pte to a single pointer

Change-Id: I31ea308d74e9851f1f0ff58d3aee84e01d337cd3

Review URL:
Patch from Christopher Herrington <>.

4 years agoUpdate Watchlists
Anush Elangovan [Tue, 8 Jun 2010 08:33:22 +0000 (01:33 -0700)]
Update Watchlists

Change-Id: Ie8860976ddd4819547629de5d0f78f0cef743e92

4 years agoSetup code review inheritance
Anush Elangovan [Sat, 5 Jun 2010 20:12:31 +0000 (13:12 -0700)]
Setup code review inheritance

Change-Id: I9282436bcd526220eaf82b4d0804fa52aa97fe98

5 years agoST1.5 uboot: Un-Revert "ST1.5: LCD enabled."
Kenneth Waters [Fri, 21 May 2010 20:07:22 +0000 (13:07 -0700)]
ST1.5 uboot: Un-Revert "ST1.5: LCD enabled."

TEST=Built and booted ST1.5q

Review URL:

5 years agoRevert "ST1.5: LCD enabled."
Kenneth Waters [Wed, 19 May 2010 22:19:07 +0000 (15:19 -0700)]
Revert "ST1.5: LCD enabled."

This reverts commit 9b25e339e9f25a10baab880074b340806e63909a.

Commit 9b25e339 causes the ST1.5q to not boot.

TEST=Booted on ST1.5q

Review URL:

5 years agoST1.5: Export nand partition information to kernel.
Amol Jadi [Wed, 19 May 2010 22:13:42 +0000 (15:13 -0700)]
ST1.5: Export nand partition information to kernel.

Adds "mtdparts=" to the bootarg environment var so that
kernel can access nand partitions. The partition information
is gathered from smem.

Change-Id: I2dcb9beef1fcde768c749d2cd4f8c073bd003995
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoAdditional PROC COMM command for Boot Performance Improvement
Phani Avadhanam [Wed, 19 May 2010 19:15:04 +0000 (13:15 -0600)]
Additional PROC COMM command for Boot Performance Improvement

Implemented a new "Special PROC COMM Command" to be sent by the Uboot before loading/running the Kernel. This is needed to signal the Modem Boot loader that is handling all the PROC COMM Command requests from the UBoot. This will trigger next sequence to follow on the Modem Boot loader.

Details of the change list:

-The API proc_comm_end_cmds() is invoked from cleanup_platform_before_linux()

-Declaration of the new API proc_comm_end_cmds()

Defined the PROC_COMM_END_CMDS to be 0xFFFF

Resequenced the PROC COMM command structure such that when the Command field is
written, both Data 1 and Data 2 fields are already populated before the
Command field is written. This avoids the race condition where modem proc comm
engine starts processing the command written in the proc comm buffer, but data
fields are being written by apps processor

Implemenation of new API proc_comm_end_cmds()
This function sends the new PROC COMM Command PROC_COMM_END_CMDS to the Modem

Change-Id: I76d68a0a10805d6e0e967a76ef6920ccc2010d38
Signed-off-by: Phani Avadhanam <>
Review URL:
Patch from Phani Avadhanam <>.

5 years agommc: MMC card capacity calculation fix.
Amol Jadi [Fri, 14 May 2010 22:30:47 +0000 (15:30 -0700)]
mmc: MMC card capacity calculation fix.

MMC card capacity calculation was truncated to 32 bits.
This resulted in incorrect values being reported
for large MMC cards.

Change-Id: Id3fe5ff54f161e69dbda10433d2922f29b0c3ca9
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoAnother fix for improving the Uboot Performance
Phani Avadhanam [Fri, 14 May 2010 22:28:31 +0000 (15:28 -0700)]
Another fix for improving the Uboot Performance

Another Uboot Performance Improvement

Setting the capability of MMC capacity based on Host Controller's capability.
For Version 4 and above, if Host Controller supports  8 Bit capability,
we need to use 8 bit support.

Change-Id: I3a64907b6ab08720fb4a61767ff1c3b5d8ffa74c
Signed-off-by: Phani Avadhanam <>
Minor changes to removed additional spaces
Change-Id: I596d5d33bc2e631dea4c9d60141b42c800c85694
Signed-off-by: Phani Avadhanam <>
Review URL:
Patch from Phani Avadhanam <>

5 years agoAdd support for Voguev210 board
Jiun Yu [Thu, 13 May 2010 23:00:23 +0000 (16:00 -0700)]
Add support for Voguev210 board
Signed-off-by: Jiun Yu < >
Review URL:
Patch from Jiun Yu <>.

5 years agoST1.5: Fixes for external SD/MMC interface.
Amol Jadi [Mon, 10 May 2010 20:19:10 +0000 (13:19 -0700)]
ST1.5: Fixes for external SD/MMC interface.

Board failed to boot from some SD cards. This
patch reduces the chances of such errors.

Change-Id: If86ef3371aae16199737b4e25792b31a6213e3be
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoST1.5: LCD enabled.
Amol Jadi [Mon, 10 May 2010 20:16:40 +0000 (13:16 -0700)]
ST1.5: LCD enabled.
- Default console output set to LCD.
- Default console input  set to DCC.

Change-Id: I05f06f90b2986e1d0a9ed45257c8f0d79bed3df2
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoAdd support for Samsung S5PV210
Jiun Yu [Mon, 10 May 2010 18:22:38 +0000 (11:22 -0700)]
Add support for Samsung S5PV210

Signed-off-by: Jiun Yu < >
Review URL:
Patch from Jiun Yu <>.

5 years agoST1.5: Update to kernel command line.
Amol Jadi [Wed, 5 May 2010 17:13:20 +0000 (10:13 -0700)]
ST1.5: Update to kernel command line.

- Removed vmalloc and pmem gpu1 size and added adsp size.
- Increased pmem_kernel_ebi1_size from 32M to 96M

Change-Id: Iff69c18cda1fe705b3551eee6f88b3e49cdc9a7a
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoqsd_sdcc: print error info.
Amol Jadi [Tue, 27 Apr 2010 20:13:37 +0000 (14:13 -0600)]
qsd_sdcc: print error info.

Print error info when SDCC driver returns failure.

Change-Id: I3128e50adf866dbbbd8fffb457eff9d0853e1438
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoST1.5: Updated bootcmd to be able to select eMMC vs SD boot
Amol Jadi [Tue, 27 Apr 2010 20:06:46 +0000 (14:06 -0600)]
ST1.5: Updated bootcmd to be able to select eMMC vs SD boot

Before this, the only way to boot from eMMC was to
recompile uboot. This change makes it easier to boot
either from SD or eMMC with the same uboot binary.

This will greatly help develper workflow to easily
switch from SD vs eMMC boot without reflashing the
uboot image.

If SD card is inserted, boot from SD.
Else, boot from eMMC.

Also adds an option of executing a boot script instead of
booting with default options.

Change-Id: Ie083f2ce80b7e7a829e11e39a89f6fba76967315
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoThe 2nd batch of the minimal files to bring up u-boot on tegra2 harmony board.
Jim Zhang [Tue, 27 Apr 2010 18:30:40 +0000 (11:30 -0700)]
The 2nd batch of the minimal files to bring up u-boot on tegra2 harmony board.

Add additional supporting functions to bring up u-boot on tegra2 harmony board.

new file:   board/tegra2/harmony/Makefile
new file:   board/tegra2/harmony/
new file:   board/tegra2/harmony/harmony.c
new file:   board/tegra2/harmony/harmony.h
new file:   cpu/arm_cortexa9/tegra2/Makefile
new file:   cpu/arm_cortexa9/tegra2/board.c
new file:   cpu/arm_cortexa9/tegra2/
new file:   cpu/arm_cortexa9/tegra2/cpu.h
new file:   cpu/arm_cortexa9/tegra2/interrupts.c
new file:   cpu/arm_cortexa9/tegra2/lowlevel_init.S
new file:   cpu/arm_cortexa9/tegra2/sys_info.c
new file:   include/asm-arm/arch-tegra2/nv_drf.h
new file:   include/asm-arm/arch-tegra2/nv_hardware_access.h
new file:   include/asm-arm/arch-tegra2/nvcommon.h
new file:   include/asm-arm/arch-tegra2/nverror.h
new file:   include/asm-arm/arch-tegra2/nverrval.h
new file:   include/asm-arm/arch-tegra2/sys_proto.h
new file:   include/asm-arm/arch-tegra2/tegra2.h

TEST=unit test done.

Review URL:
Patch from Jim Zhang <>.

5 years agoTegra2 Harmony board initial u-boot code checkin.
Jim Zhang [Mon, 26 Apr 2010 18:23:58 +0000 (11:23 -0700)]
Tegra2 Harmony board initial u-boot code checkin.
This is working in progress. More check in will be made shortly.

Add the entry point function for tegra2 cpu.

        new file:   cpu/arm_cortexa9/Makefile
        new file:   cpu/arm_cortexa9/cpu.c
        new file:   cpu/arm_cortexa9/start.S
        new file:   cpu/arm_cortexa9/

Review URL:
Patch from Jim Zhang <>.

5 years agoFix mmcinfo cmd to return correct status.
Amol Jadi [Thu, 15 Apr 2010 23:37:53 +0000 (16:37 -0700)]
Fix mmcinfo cmd to return correct status.

Change-Id: Idcde3f2b164bd754a93648794f6f82af719f782f
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoFix MMC card capacity calculation.
Amol Jadi [Thu, 15 Apr 2010 23:33:45 +0000 (16:33 -0700)]
Fix MMC card capacity calculation.

Card capacity calculation for high capacity MMC cards (>2G)
was not according to the MMC spec.

This prevented booting from eMMC device on ST1.5 platform since GPT partition code in U-Boot uses device capacity for initial validation.

Also fixed incorrect capacity being displayed by mmcinfo command.

Change-Id: I18619521153ef6ad885f4c656e989b273153c386
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoMulti-block read support on MMC interface.
Amol Jadi [Wed, 14 Apr 2010 20:33:08 +0000 (13:33 -0700)]
Multi-block read support on MMC interface.

- Existing MMC framework is doing only single block
  reads. This patch adds support for multi-block read which
  almost doubles the read speed.

Change-Id: I7ddbc1b4252c79639e05bc6041cb72f9843ba0f0
Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agou-boot: Remove codereview.settings from u-boot.
Kenneth Waters [Fri, 2 Apr 2010 21:30:40 +0000 (14:30 -0700)]
u-boot: Remove codereview.settings from u-boot.

- This matches codereview.settings in the root of the project.  No need to
  duplicate files.


Review URL:

5 years agou-boot: Switch from supporting DOS partitions to GPT partitions on Qualcomm.
Kenneth Waters [Fri, 2 Apr 2010 21:30:12 +0000 (14:30 -0700)]
u-boot: Switch from supporting DOS partitions to GPT partitions on Qualcomm.

TEST=Built for and booted on an ST1q

Review URL:

5 years agoPython script to generate the appsboot.mbn for st15q
robotboy [Fri, 2 Apr 2010 18:57:15 +0000 (11:57 -0700)]
Python script to generate the appsboot.mbn for st15q

Signed-off-by: Amol Jadi <>
Review URL:
Patch from Amol Jadi <>.

5 years agoAdds support for ST1.5 board.
robotboy [Tue, 30 Mar 2010 21:07:12 +0000 (14:07 -0700)]
Adds support for ST1.5 board.

Features tested/verified:
- Boot from external SD verified.

Not tested/working on ST1.5:
        - USB
        - LCD
        - KBD
        - I2C
        - NAND support
        - Any other thing not mentioned in working/verified section.

Needs this to build without errors:

Review URL:
Patch from Contributor: Amol Jadi <>.

5 years agoEnables using new MMC framework on ST1.0.
Brian Daugherty [Mon, 29 Mar 2010 15:59:19 +0000 (09:59 -0600)]
Enables using new MMC framework on ST1.0.

Review URL:

5 years agoKernel expects ATAGS at an offset of 0x100.
Brian Daugherty [Fri, 26 Mar 2010 23:40:53 +0000 (17:40 -0600)]
Kernel expects ATAGS at an offset of 0x100.

Review URL:

5 years agoMake the kernel boot noisy for now.
robotboy [Fri, 26 Mar 2010 21:09:18 +0000 (14:09 -0700)]
Make the kernel boot noisy for now.

Review URL:

5 years agoAssign credit for the previous commit to: Jadi, Amol <>
robotboy [Fri, 26 Mar 2010 20:52:04 +0000 (13:52 -0700)]
Assign credit for the previous commit to: Jadi, Amol <>

Review URL:

5 years agoMinor SDCC cleanup.
Amol Jadi [Fri, 26 Mar 2010 20:44:06 +0000 (14:44 -0600)]
Minor SDCC cleanup.

Does not change any functional behaviour. Clock enable code is
in preparation of ST1.5 modem behaviour.
Also removed mmc_initialize() call since that is called from
lib_arm/board.c file.

Review URL:

5 years agosdcc stack corruption fix.
Amol Jadi [Fri, 26 Mar 2010 20:24:38 +0000 (14:24 -0600)]
sdcc stack corruption fix.

The rx data available bit in SDCC h/w block does not get cleared
immidiately after reading data from fifo. Added a check to limit
the bytes read from fifo to the requested size.

5 years agoAllows console access via JTAG, if enabled.
robotboy [Fri, 26 Mar 2010 20:06:14 +0000 (13:06 -0700)]
Allows console access via JTAG, if enabled.

Review URL:

5 years agoAdds support for eMMC interface for ST1 board.
robotboy [Wed, 3 Mar 2010 21:10:35 +0000 (13:10 -0800)]
Adds support for eMMC interface for ST1 board.

Also, replaces legacy mmc code with new Generic MMC framework.

Signed-off-by: Amol Jadi <>
Review URL:
Patch from

5 years agoChanged builtin boot args root partition to partition-3 instead of partition-1.
Amit Singh [Mon, 22 Feb 2010 17:38:37 +0000 (09:38 -0800)]
Changed builtin boot args root partition to partition-3 instead of partition-1.

Review URL:

5 years agoBoot from partition 3.
robotboy [Wed, 17 Feb 2010 02:29:01 +0000 (18:29 -0800)]
Boot from partition 3.

Review URL:

5 years agoChanges for fast(er) booting of the Beagleboard. To be used in conjunction with
Amit Singh [Wed, 17 Feb 2010 02:18:59 +0000 (18:18 -0800)]
Changes for fast(er) booting of the Beagleboard. To be used in conjunction with
a fast(er) booting X-Loader for the Beagleboard.

The changes apply only to the Beagleboard for now. You can build the fast(er)
booting version by passing the "fastboot" USE flag to the ebuild. If "fastboot"
is not specified, the build is unchanged.

Credit to for ideas.

Review URL:

5 years agoMove configuration of LCDC panel info to the board configuration files.
robotboy [Mon, 8 Feb 2010 19:05:55 +0000 (11:05 -0800)]
Move configuration of LCDC panel info to the board configuration files.

Also, create board_lcd_enable and board_lcd_disable functions to allow
for board specific code to enable and disable the LCD.  Use these two
new features to add support for the st1q LCD panel.

This issue depends on issue 580005

Review URL:

5 years agoCreate a new board for the st1q and add three configurations.
robotboy [Mon, 8 Feb 2010 19:03:22 +0000 (11:03 -0800)]
Create a new board for the st1q and add three configurations.

The three new configurations are for building U-Boot for the st1q
board in the stub, fast and recovery modes.

Review URL:

5 years agoUse the GPIO led's on the QSD8x50 surf development board to time firmware bootup.
robotboy [Mon, 8 Feb 2010 18:51:35 +0000 (10:51 -0800)]
Use the GPIO led's on the QSD8x50 surf development board to time firmware bootup.

Review URL:

5 years agoCall overwrite_console before searching for console devices.
robotboy [Fri, 5 Feb 2010 17:28:22 +0000 (09:28 -0800)]
Call overwrite_console before searching for console devices.

Move the overwrite_console function call to before the search for
the console devices.  This lets the board specific function
replace the environment variables and have that picked up by the
console code.

Review URL:

5 years agoAdd QSD8x50 24bpp LCD support.
robotboy [Fri, 5 Feb 2010 17:25:30 +0000 (09:25 -0800)]
Add QSD8x50 24bpp LCD support.

Review URL:

5 years agoDisable networking on the QSD8x50 surf board.
robotboy [Fri, 5 Feb 2010 17:22:48 +0000 (09:22 -0800)]
Disable networking on the QSD8x50 surf board.

The rebase forward to 2009.11 broke the networking support.  This should be
fixed before upstreaming, but since we don't plan on using networking in
the firmware we are OK for now.

Review URL:

5 years agoAdd support for accelerated NAND page reading.
robotboy [Thu, 4 Feb 2010 23:34:56 +0000 (15:34 -0800)]
Add support for accelerated NAND page reading.

This is a QSD8X50 specific feature that can be turned on by defining

Review URL: