Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-11-01 Thread Mitch Bradley
On 10/31/2012 1:00 PM, Daniel Mack wrote: cc devicetree-discuss. Here's a reference to the full thread: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/145221/ On 26.10.2012 20:39, Stephen Warren wrote: On 10/24/2012 03:47 AM, Daniel Mack wrote: Hi, a project I'm involved in

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-11-01 Thread David Gibson
On Fri, Oct 26, 2012 at 09:24:11AM +0200, Daniel Mack wrote: On 26.10.2012 02:53, David Gibson wrote: On Thu, Oct 25, 2012 at 10:46:32PM +0200, Wolfgang Denk wrote: Dear Daniel, In message 50893633.6070...@gmail.com you wrote: Overwrites must be addressed in the first place. The most

[U-Boot] [RFC] mmc: Properly determine maximum supported bus width

2012-11-01 Thread Andy Fleming
At some point, a confusion arose about the use of the bit definitions in host_caps for bus widths, and the value in ext_csd. By coincidence, a simple shift could convert between one and the other: MMC_MODE_1BIT = 0, EXT_CSD_BUS_WIDTH_1 = 0 MMC_MODE_4BIT = 0x100, EXT_CSD_BUS_WIDTH_4 = 1

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-11-01 Thread Mitch Bradley
On 10/31/2012 6:36 PM, Stephen Warren wrote: On 10/31/2012 05:56 PM, Mitch Bradley wrote: On 10/31/2012 1:00 PM, Daniel Mack wrote: cc devicetree-discuss. Here's a reference to the full thread: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/145221/ On 26.10.2012 20:39, Stephen

[U-Boot] [PATCH] powerpc/corenet_ds: move SATA config to board configuration

2012-11-01 Thread Roy Zang
board configuration file is included before asm/config_mpc85xx.h. however, CONFIG_FSL_SATA_V2 is defined in asm/config_mpc85xx.h. it will never take effective in the board configuration file for this kind of code : #ifdef CONFIG_FSL_SATA_V2 ... #endif To solve this problem, move

Re: [U-Boot] [PATCH 2/2] WIP: tegra: i2c: Enable new CONFIG_SYS_I2C framework

2012-11-01 Thread Heiko Schocher
Hello Stephen, On 31.10.2012 17:25, Stephen Warren wrote: On 10/31/2012 09:56 AM, Simon Glass wrote: Hi Stephen, On Wed, Oct 31, 2012 at 8:41 AM, Stephen Warrenswar...@wwwdotorg.org wrote: On 10/31/2012 12:00 AM, Heiko Schocher wrote: Hello Stephen, On 30.10.2012 23:32, Stephen Warren

Re: [U-Boot] [RFC] mmc: Properly determine maximum supported bus width

2012-11-01 Thread Jaehoon Chung
Hi Andy, It's working fine on my environment. Tested-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 11/01/2012 02:02 PM, Andy Fleming wrote: At some point, a confusion arose about the use of the bit definitions in host_caps for bus widths, and the value in ext_csd.

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-11-01 Thread Daniel Mack
On 01.11.2012 04:26, David Gibson wrote: On Fri, Oct 26, 2012 at 09:24:11AM +0200, Daniel Mack wrote: I would especially like to know where such a new functionality should live, which data types it should operate on and what would be an appropriate name for it. So.. the first thought I

Re: [U-Boot] [PATCH] fs: zfs: fix illegal use of fp

2012-11-01 Thread Stefan Roese
On 10/31/2012 07:21 PM, Alejandro Mery wrote: the upcoming sunxi (allwinner a10/a13) platform enables zfs by default, and using linaro's hf -msoft-float makes the build fail because this u64 division. Signed-off-by: Alejandro Mery am...@geeks.cl Acked-by: Stefan Roese s...@denx.de Thanks,

[U-Boot] [PATCH] at91: move get_chip_id() and get_extension_chip_id() to cpu.c, which can share with all at91 board.

2012-11-01 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 12 arch/arm/cpu/arm926ejs/at91/cpu.c| 11 +++ arch/arm/include/asm/arch-at91/at91_dbu.h|4 arch/arm/include/asm/arch-at91/at91sam9x5.h |

[U-Boot] [PATCH v2 0/4] ANSI terminal Bootmenu

2012-11-01 Thread Pali Rohár
This patch series adds ANSI terminal Bootmenu command. It use generic menu code for creating menu structures, but use own functions for drawing menu on ANSI terminal. First patch modify generic menu code for using other functions for printing and choosing menu entry, second patch is bootmenu

[U-Boot] [PATCH v2 1/4] menu: Added support to use user defined functions

2012-11-01 Thread Pali Rohár
* In menu_interactive_choice can be used user specified function item_data_choice (instead hardcoded function which read input from standard input) * Added option to specify user data for menu * menu_display_statusline will pass pointer to user data (instead pointer to menu) * This patch

[U-Boot] [PATCH v2 3/4] New command clear: Clear the ANSI terminal

2012-11-01 Thread Pali Rohár
This patch adding new simple command clear which clear ANSI terminal. Signed-off-by: Pali Rohár pali.ro...@gmail.com Cc: Marcel Mol mar...@mesa.nl --- This patch was in Nokia RX-51 patch series (v2). Changes since RX-51 patch v2: - Removed from include/config_cmd_all.h - Removed ANSI escape

[U-Boot] [PATCH v2 2/4] New command bootmenu: ANSI terminal Boot Menu support

2012-11-01 Thread Pali Rohár
This patch adding ANSI terminal bootmenu command. It is extension to generic menu which provide output for ANSI terminals. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- Changes in v2: - Added commit message - Removed bootmenu from include/config_cmd_all.h - Moved ANSI escape codes from

[U-Boot] [PATCH v2 4/4] RX-51: Add support for bootmenu

2012-11-01 Thread Pali Rohár
* default bootmenu entries: attached kernel, internal eMMC memory, external SD card, u-boot boot order * in CONFIG_PREBOOT try load bootmenu.scr from first FAT partition of internal eMMC memory (also known as MyDocs) which (should) overwrite default bootmenu entries * when keyboard

Re: [U-Boot] [PATCH 1/2] MAKEALL: Fix kill_children

2012-11-01 Thread Marek Vasut
Dear Andy Fleming, On Wed, Oct 31, 2012 at 9:32 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Joe Hershberger, When building in parallel, make sure that we look up the children based on the the actual process group id instead of just assuming that the MAKEALL pid is the process

Re: [U-Boot] [PATCH 1/2] MAKEALL: Fix kill_children

2012-11-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/01/12 07:35, Marek Vasut wrote: Dear Andy Fleming, On Wed, Oct 31, 2012 at 9:32 PM, Marek Vasut marek.va...@gmail.com wrote: [snip] btw. is it possible to improve the u-boot build process parallelization? In what way? I recall

Re: [U-Boot] [PATCH] powerpc/corenet_ds: move SATA config to board configuration

2012-11-01 Thread Tabi Timur-B04825
On Thu, Nov 1, 2012 at 3:13 AM, Roy Zang tie-fei.z...@freescale.com wrote: board configuration file is included before asm/config_mpc85xx.h. however, CONFIG_FSL_SATA_V2 is defined in asm/config_mpc85xx.h. it will never take effective in the board configuration file for this kind of code :

Re: [U-Boot] [PATCH] powerpc/corenet_ds: move SATA config to board configuration

2012-11-01 Thread Tabi Timur-B04825
On Thu, Nov 1, 2012 at 11:20 AM, Tabi Timur-B04825 b04...@freescale.com wrote: To solve this problem, move CONFIG_FSL_SATA_V2 to board configuration header file. http://patchwork.ozlabs.org/patch/126958/ To be clear, I think you should say in the patch description that your patch effectively

[U-Boot] PCIe on the i.MX6?

2012-11-01 Thread Carolyn Smith
Hello, Does anyone have any experience with PCIe on an i.MX6 processor (in particular the i.MX6 Solo)? I can access the config space of my PCIe device but can't seem to get its BARs mapped in properly. I thought I had the viewports set up but when I try to access the space, I just get a

[U-Boot] [PATCH v3 09/18] env: Add a bootfile env handler

2012-11-01 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_nvedit.c| 9 - include/env_callback.h | 1 + net/net.c | 17 + 3 files changed, 18 insertions(+), 9 deletions(-)

[U-Boot] [PATCH v3 18/18] env: Handle write-once ethaddr and serial# generically

2012-11-01 Thread Joe Hershberger
Use the variable access flags to implement the protection for ethaddr and serial# instead of hard-coding them. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/env_flags.c | 19 --- include/env_flags.h | 22 ++ tools/env/fw_env.c | 17

[U-Boot] [PATCH v3 10/18] env: Add a baudrate env handler

2012-11-01 Thread Joe Hershberger
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_nvedit.c | 47 - drivers/serial/serial.c | 70 + include/env_callback.h |

[U-Boot] [PATCH v3 0/18] Add environment call-back and flags capability

2012-11-01 Thread Joe Hershberger
When a variable with a registered callback is inserted, deleted, or overwritten the callback is called and gives the system an opportunity to do something in response to the change. It also has the opportunuty to reject the change by returning non-zero. The flags on variables can control their

[U-Boot] [PATCH v3 01/18] Make linux kernel string funcs available to tools

2012-11-01 Thread Joe Hershberger
isspace() and strim() are not in the typical user-mode string.h, so put them in a separate compilation unit so that they can be built into tools that need them independent of the other common string functions. This allows code shared by u-boot and the linux user-mode tools to link.

[U-Boot] [PATCH v3 16/18] env: Add a command to display details about env flags

2012-11-01 Thread Joe Hershberger
Similar to the env callback command, this will show details about the options available, the static list, and the currently active variables. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- README | 1 + common/cmd_nvedit.c | 56

[U-Boot] [PATCH v3 13/18] env: Add a silent env handler

2012-11-01 Thread Joe Hershberger
The silent variable now updates the global data flag anytime it is changed as well as after the env relocation (in case its value is different from the default env in such cases as NAND env) Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/console.c | 23

[U-Boot] [PATCH v3 08/18] env: Add a command to view callbacks

2012-11-01 Thread Joe Hershberger
The callbacks can be bound, but are otherwise invisible. Add a command to show what callbacks are available. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- README | 1 + common/cmd_nvedit.c | 77 + 2 files changed, 78

[U-Boot] [PATCH v3 12/18] env: Add a console env handler

2012-11-01 Thread Joe Hershberger
Remove the hard-coded console handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_nvedit.c| 33 +++-- common/console.c | 44 include/env_callback.h | 1 + 3

[U-Boot] [PATCH v3 04/18] env: Refactor apply into change_ok

2012-11-01 Thread Joe Hershberger
Move the read of the old value to inside the check function. In some cases it can be avoided all together and at the least the code is only called from one place. Also name the function and the callback to more clearly describe what it does. Pass the ENTRY instead of just the name for direct

[U-Boot] [PATCH v3 15/18] tools/env: Add environment variable flags support

2012-11-01 Thread Joe Hershberger
Currently just validates variable types as decimal, hexidecimal, boolean, ip address, and mac address. Call env_acl_validate_setenv_params() from setenv() in fw_env.c. If the entry is not found in the env .flags, then look in the static one. This allows the env to override the static

[U-Boot] [PATCH v3 06/18] env: Hide '.' variables in env print by default

2012-11-01 Thread Joe Hershberger
When printing all variables with env print, don't print variables that begin with '.'. If env print is called with a '-a' switch, then include variables that begin with '.' (just like the ls command). Variables printed explicitly will be printed even without the -a. Signed-off-by: Joe

[U-Boot] [PATCH v3 11/18] env: Add a loadaddr env handler

2012-11-01 Thread Joe Hershberger
Remove the hard-coded loadaddr handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_nvedit.c| 12 common/image.c | 21 + include/env_callback.h | 1 + 3 files changed, 22 insertions(+), 12

[U-Boot] [PATCH v3 03/18] env: Consolidate common code in hsearch_r()

2012-11-01 Thread Joe Hershberger
The same chunk of code was replicated in two places and the following changes will make that chunk grow a bit, so combine into a static func. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- lib/hashtable.c | 71 ++--- 1 file changed,

[U-Boot] [PATCH v3 14/18] env: Add environment variable flags

2012-11-01 Thread Joe Hershberger
Currently just validates variable types as decimal, hexidecimal, boolean, ip address, and mac address. If the entry is not found in the env .flags, then look in the static one. This allows the env to override the static definitions, but prevents the need to have every definition in the

[U-Boot] [PATCH v3 05/18] env: Use getenv_yesno() more generally

2012-11-01 Thread Joe Hershberger
Move the getenv_yesno() to env_common.c and change most checks for 'y' or 'n' to use this helper. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- arch/arm/lib/board.c| 4 +--- arch/m68k/lib/board.c | 3 +-- arch/microblaze/lib/board.c | 4 +---

[U-Boot] [PATCH v3 02/18] env: Refactor do_apply to a flag

2012-11-01 Thread Joe Hershberger
Use a flag in hsearch_r for insert mode passed from import to allow the behavior be different based on use. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: - Rebase onto Gerlando Falauto's env patches - Refactor himport_r() and hsearch_r()'s parameters

[U-Boot] [PATCH v3 17/18] env: Add support for access control to .flags

2012-11-01 Thread Joe Hershberger
Add support for read-only, write-once, and change-default. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- README| 13 - common/cmd_nvedit.c | 31 -- common/env_common.c | 18 ++ common/env_flags.c| 153

[U-Boot] [PATCH v3 07/18] env: Add support for callbacks to environment vars

2012-11-01 Thread Joe Hershberger
Add support for per-variable callbacks to the hashtable functions. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: - Use Marek's linker lists instead of implementing it directly - Rebase onto latest master - Add flags parameter to callbacks - Implement reverse search in

Re: [U-Boot] [PATCH 2/2] WIP: tegra: i2c: Enable new CONFIG_SYS_I2C framework

2012-11-01 Thread Stephen Warren
On 11/01/2012 01:42 AM, Heiko Schocher wrote: Hello Stephen, On 31.10.2012 17:25, Stephen Warren wrote: On 10/31/2012 09:56 AM, Simon Glass wrote: Hi Stephen, On Wed, Oct 31, 2012 at 8:41 AM, Stephen Warrenswar...@wwwdotorg.org wrote: On 10/31/2012 12:00 AM, Heiko Schocher wrote: Hello

Re: [U-Boot] PCIe on the i.MX6?

2012-11-01 Thread Fabio Estevam
On Thu, Nov 1, 2012 at 2:32 PM, Carolyn Smith carolynsm...@gmail.com wrote: Hello, Does anyone have any experience with PCIe on an i.MX6 processor (in particular the i.MX6 Solo)? I can access the config space of my PCIe device but can't seem to get its BARs mapped in properly. I thought I

[U-Boot] [PATCH 2/2] powerpc/85xx: implement check for erratum A-004580 work-around

2012-11-01 Thread Timur Tabi
The work-around for erratum A-004580 (Internal tracking loop can falsely lock causing unrecoverable bit errors) is implemented via the PBI (pre-boot initialization code, typically attached to the RCW binary). This is because the work-around is easier to implement in PBI than in U-Boot itself. It

Re: [U-Boot] PCIe on the i.MX6?

2012-11-01 Thread Carolyn Smith
Yes, I have the PCI clocks on. I can read the config space and can see the PCIe bus traffic using a logic analyzer when I do so. When I try reading memory or I/O space, I don't see any bus traffic. Thanks, Carolyn On Thu, Nov 1, 2012 at 11:18 AM, Fabio Estevam feste...@gmail.com wrote: On Thu,

[U-Boot] [PATCH 1/2] powerpc/85xx: update the work-around for P4080 erratum SERDES-9

2012-11-01 Thread Timur Tabi
The documented work-around for P4080 erratum SERDES-9 has been updated. It is now compatible with the work-around for erratum A-4580. This requires adding a few bitfield macros for the BnTTLCRy0 register. Signed-off-by: Timur Tabi ti...@freescale.com ---

[U-Boot] hashtable lib and escaping

2012-11-01 Thread Mats Kärrman
Hi, I used to have a working setup using U-Boot 2009.03 before upgrading to U-Boot 2012.07. The problem I'm facing is related to the escaping policies of lib/hashtable.c. What I did before was for example having something like this in my default environment: bootcmd=run first_boot

Re: [U-Boot] hashtable lib and escaping

2012-11-01 Thread Wolfgang Denk
Dear Mats Kärrman, In message ed3e0bcacd909541ba94a34c4a164d4c425ce...@post.tritech.se you wrote: I used to have a working setup using U-Boot 2009.03 before upgrading to U-Boot 2012.07. The problem I'm facing is related to the escaping policies of lib/hashtable.c. What I did before was

Re: [U-Boot] [PATCH 1/2] WIP: Changes to patman libraries

2012-11-01 Thread Simon Glass
Hi Wolfgang, On Wed, Oct 31, 2012 at 5:04 PM, Simon Glass s...@chromium.org wrote: Hi Wolfgang, On Wed, Oct 31, 2012 at 4:40 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon, In message capnjgz3us4yoeqohxozq6vphxhakjdlwfb0hpwhwvnnuaz0...@mail.gmail.com you wrote: These changes are

Re: [U-Boot] [PATCH 2/2] WIP: Test version of buildman - U-Boot builder

2012-11-01 Thread Simon Glass
Hi Andy / Tom, On Wed, Oct 31, 2012 at 9:17 PM, Andy Fleming aflem...@gmail.com wrote: On Wed, Oct 31, 2012 at 8:18 PM, Tom Rini tr...@ti.com wrote: On Wed, Oct 31, 2012 at 05:11:51PM -0700, Simon Glass wrote: [snip] Also rather than running with 'make -j40' or whatever, it uses 'make -j1'

[U-Boot] [PATCH 2/2] serial: Make nulldev a serial device

2012-11-01 Thread Joe Hershberger
This allows the default console to be specified as the nulldev. This is specifically helpful when the real serial console's init() cannot run early in the boot process. When the init can be run, then the console can be switched to the real device using the std* env vars. Signed-off-by: Joe

[U-Boot] [PATCH 1/2] serial: Remove the serial console device

2012-11-01 Thread Joe Hershberger
Each serial device is added as a console device. There was also the serial device that points to the most-recently-assigned-to-some- console-handle device. This can be confusing. Instead, only show the actual serial devices. Signed-off-by: Joe Hershberger joe.hershber...@ni.com ---

Re: [U-Boot] [PATCH v4 6/6] tegra: Enable NAND on Seaboard

2012-11-01 Thread Stephen Warren
On 07/30/2012 12:53 AM, Simon Glass wrote: This enables NAND support for the Seaboard. diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h #include tegra20-common-post.h +/* NAND support */ +#define CONFIG_CMD_NAND +#define CONFIG_TEGRA_NAND + +/* Max number of NAND

[U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-01 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com TrimSlice's USB1 port has two purposes; it either acts as a device port hosting Tegra's USB recovery protocol, or acts as a host port connected to the internal USB-SATA bridge chip, which may in turn be connected to an SSD or HDD. Add the appropriate device

[U-Boot] [PATCH 1/2] ubi: Only read the actual size of the VID header

2012-11-01 Thread Joe Hershberger
If sub-page reads are supported, this will save reading unneeded data Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- drivers/mtd/ubi/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index 8423894..23660e3 100644 ---

[U-Boot] [PATCH 2/2] nand: Move the sub-page read support enable to a flag

2012-11-01 Thread Joe Hershberger
Use a flag instead of a hard-coded macro so that sub-page reads can be enabled in other cases (such as on-die ecc). Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- drivers/mtd/nand/nand_base.c | 9 +++-- include/linux/mtd/nand.h | 7 --- 2 files changed, 11 insertions(+), 5

Re: [U-Boot] [PATCH v4 6/6] tegra: Enable NAND on Seaboard

2012-11-01 Thread Lucas Stach
Am Donnerstag, den 01.11.2012, 15:57 -0600 schrieb Stephen Warren: On 07/30/2012 12:53 AM, Simon Glass wrote: This enables NAND support for the Seaboard. diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h #include tegra20-common-post.h +/* NAND support */

Re: [U-Boot] [PATCH v4 6/6] tegra: Enable NAND on Seaboard

2012-11-01 Thread Simon Glass
Hi, On Thu, Nov 1, 2012 at 4:13 PM, Lucas Stach d...@lynxeye.de wrote: Am Donnerstag, den 01.11.2012, 15:57 -0600 schrieb Stephen Warren: On 07/30/2012 12:53 AM, Simon Glass wrote: This enables NAND support for the Seaboard. diff --git a/include/configs/seaboard.h

Re: [U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-01 Thread Lucas Stach
Hi Stephen, Am Donnerstag, den 01.11.2012, 16:14 -0600 schrieb Stephen Warren: From: Stephen Warren swar...@nvidia.com TrimSlice's USB1 port has two purposes; it either acts as a device port hosting Tegra's USB recovery protocol, or acts as a host port connected to the internal USB-SATA

Re: [U-Boot] [PATCH 2/2] WIP: Test version of buildman - U-Boot builder

2012-11-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/01/12 14:01, Simon Glass wrote: Hi Andy / Tom, On Wed, Oct 31, 2012 at 9:17 PM, Andy Fleming aflem...@gmail.com wrote: On Wed, Oct 31, 2012 at 8:18 PM, Tom Rini tr...@ti.com wrote: On Wed, Oct 31, 2012 at 05:11:51PM -0700, Simon Glass

Re: [U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-01 Thread Stephen Warren
On 11/01/2012 05:17 PM, Lucas Stach wrote: Hi Stephen, Am Donnerstag, den 01.11.2012, 16:14 -0600 schrieb Stephen Warren: From: Stephen Warren swar...@nvidia.com TrimSlice's USB1 port has two purposes; it either acts as a device port hosting Tegra's USB recovery protocol, or acts as a host

Re: [U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-01 Thread Lucas Stach
Am Donnerstag, den 01.11.2012, 17:30 -0600 schrieb Stephen Warren: On 11/01/2012 05:17 PM, Lucas Stach wrote: Hi Stephen, Am Donnerstag, den 01.11.2012, 16:14 -0600 schrieb Stephen Warren: From: Stephen Warren swar...@nvidia.com TrimSlice's USB1 port has two purposes; it either acts

[U-Boot] [PATCH] tegra: add CONSOLE_MUX support to tegra-kbc

2012-11-01 Thread Allen Martin
Add support for CONSOLE_MUX to tegra-kbc driver. This requires adding a flag to struct keyb to know the driver has already been initialized so if we try to initialize it again we can just return success. Also call into iomux_doenv() from drv_keyboard_init to re-evaluate the stdin string.

[U-Boot] [PATCH 01/10] arm: Compile cache_disable() with -O2 to avoid failure

2012-11-01 Thread Simon Glass
It is good to have these functions written in C instead of assembler, but with -O0 the cache_disable() function doesn't return. Rather than revert to assembler, this fix just forces this to be built with -O2. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/lib/cache-cp15.c | 10

[U-Boot] [PATCH 03/10] arm: Keep track of the tlb size as well as its location

2012-11-01 Thread Simon Glass
From: Gabe Black gabebl...@chromium.org It may be necessary to know where the TLB area ends as well as where it starts. This allows board code to complete a secure memory erase without destroying the page tables. Signed-off-by: Gabe Black gabebl...@google.com Signed-off-by: Simon Glass

[U-Boot] [PATCH 06/10] arm: Add CONFIG_DISPLAY_BOARDINFO_LATE to display board info on LCD

2012-11-01 Thread Simon Glass
This option displays board info after stdio is running, so that it will appear on the LCD. If it is displayed earlier, the board info will appear on the serial console but not on the LCD. Signed-off-by: Simon Glass s...@chromium.org --- README |9 +

[U-Boot] [PATCH 05/10] arm: Add CONFIG_DELAY_ENVIRONMENT to delay environment loading

2012-11-01 Thread Simon Glass
This option delays loading of the environment until later, so that only the default environment will be available to U-Boot. This can address the security risk of untrusted data being used during boot. When CONFIG_DELAY_ENVIRONMENT is defined, it is convenient to have a run-time way of enabling

[U-Boot] [PATCH 08/10] arm: Make interrupts.o and reset.o in libarm also appear in SPL

2012-11-01 Thread Simon Glass
From: Tom Wai-Hong Tam waih...@chromium.org SPL u-boot may call do_reset() which depends on interrupts.o and reset.o. So make them also appear in SPL. Signed-off-by: Tom Wai-Hong Tam waih...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/lib/Makefile |5 +++-- 1

[U-Boot] [PATCH 04/10] arm: Move fdt check earlier so that board_early_init_f() can use it

2012-11-01 Thread Simon Glass
We want to use the fdt inside board_early_init_f(), so check for its presence earlier in the pre-reloc init sequence. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/lib/board.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/lib/board.c

[U-Boot] [PATCH 02/10] arm: move flush_dcache_all() to just before disable cache

2012-11-01 Thread Simon Glass
From: Arun Mankuzhi aru...@samsung.com In Cortex-A15 architecture, when we run cache invalidate the cache clean operation executes automatically. So if there are any dirty cache lines before disabling the L2 cache these will be synchronized with the main memory when invalidate_dcache_all() runs

[U-Boot] [PATCH 10/10] arm: Tabify code for MMC initialization

2012-11-01 Thread Simon Glass
From: Taylor Hutt th...@chromium.org The two modified lines were indented with spaces. They are now indented with tabs. Signed-off-by: Taylor Hutt th...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/lib/board.c |4 ++-- 1 files changed, 2 insertions(+), 2

[U-Boot] [PATCH 09/10] arm: Move bootstage record for board_init_f() to after arch_cpu_init()

2012-11-01 Thread Simon Glass
The timer may be inited in arch_cpu_init() so it is not safe to make a bootstage mark before this is called. Arrange the code to fix this. We now get a correct time for board_init_f: Timer summary in microseconds: MarkElapsed Stage 0 0 reset 100,000100,000

[U-Boot] [PATCH 07/10] arm: Add option to display customised memory information

2012-11-01 Thread Simon Glass
Some boards want to report more than just memory size. For example, it might be useful to display the memory type (DDR2, DDR3) or manufacturer. Add a weak function to support this requirement. Any example of the DRAM: output is below, just for illustration: U-Boot 2011.12-02470-gd64a0f8-dirty

Re: [U-Boot] [PATCH] tegra: add CONSOLE_MUX support to tegra-kbc

2012-11-01 Thread Marek Vasut
Dear Allen Martin, Add support for CONSOLE_MUX to tegra-kbc driver. This requires adding a flag to struct keyb to know the driver has already been initialized so if we try to initialize it again we can just return success. Also call into iomux_doenv() from drv_keyboard_init to re-evaluate

Re: [U-Boot] [PATCH] powerpc/esdhc: force the bus width to 4bit

2012-11-01 Thread Huang Changming-R66093
Best Regards Jerry Huang -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Andy Fleming Sent: Thursday, November 01, 2012 12:09 PM To: Lukasz Majewski Cc: Jaehoon Chung; Marek Vasut; Lei Wen; u-boot@lists.denx.de Subject:

Re: [U-Boot] [PATCH] powerpc/esdhc: force the bus width to 4bit

2012-11-01 Thread Jaehoon Chung
Hi, Andy has sent the patch related with this problem. Check the patch [RFC] mmc: Properly determine maximum supported bus width Best Regards, Jaehoon Chung decide the best workaround was to cripple our controller by eliminating support for 8-bit? I see 12bit width when using mmcinfo, then

Re: [U-Boot] [PATCH] ARM: tegra: TrimSlice: add support for USB1 port

2012-11-01 Thread Simon Glass
On Thu, Nov 1, 2012 at 3:14 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com TrimSlice's USB1 port has two purposes; it either acts as a device port hosting Tegra's USB recovery protocol, or acts as a host port connected to the internal USB-SATA bridge

Re: [U-Boot] [PATCH] powerpc/esdhc: force the bus width to 4bit

2012-11-01 Thread Huang Changming-R66093
Thanks, Jaehoon, I saw it. Best Regards Jerry Huang -Original Message- From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] Sent: Friday, November 02, 2012 10:03 AM To: Huang Changming-R66093 Cc: Andy Fleming; Lukasz Majewski; Jaehoon Chung; Marek Vasut; u- b...@lists.denx.de; Wen;

[U-Boot] [PATCH v2] Add a simple load option to setexpr

2012-11-01 Thread Joe Hershberger
Make setexpr accept a 2 parameter variant that will simply load a value into a variable. This is useful for loading a value from memory. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: - Replaced memory get command with option to setexpr common/cmd_setexpr.c | 19

Re: [U-Boot] [PATCH] WIP: cbfs: Add docbook template

2012-11-01 Thread Simon Glass
Hi Marek, On Wed, Oct 31, 2012 at 4:39 PM, Marek Vasut ma...@denx.de wrote: Dear Simon Glass, This adds a docbook template for fs, and makes CBFS use it. Problems (advise please as I have enough 500pp books in my bookshelf): 1. It requires the function names to be repeated. I would like to

Re: [U-Boot] [PATCH 6/7] fs: Add a Coreboot Filesystem (CBFS) driver and commands

2012-11-01 Thread Simon Glass
Hi, On Wed, Oct 31, 2012 at 6:22 PM, Tom Rini tr...@ti.com wrote: On Wed, Oct 31, 2012 at 11:41:20PM +0100, Wolfgang Denk wrote: Dear Simon Glass, In message 1350087972-1581-6-git-send-email-...@chromium.org you wrote: From: Gabe Black gabebl...@chromium.org This change adds CBFS

[U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-01 Thread Joe Hershberger
UBI can mount volumes by name or number The current code forces you to name the volume by prepending every name with ubi:. From fs/ubifs/super.c * There are several ways to specify UBI volumes when mounting UBIFS: * o ubiX_Y- UBI device number X, volume Y; * o ubiY - UBI device

[U-Boot] [PATCH] net: Fix endianness bug in link-local

2012-11-01 Thread Joe Hershberger
The ip is stored in network order, so we can't test it in host order. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- net/link_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/link_local.c b/net/link_local.c index d52f13a..8a8f605 100644 ---

Re: [U-Boot] [PATCH] WIP: cbfs: Add docbook template

2012-11-01 Thread Marek Vasut
Dear Simon Glass, Hi Marek, On Wed, Oct 31, 2012 at 4:39 PM, Marek Vasut ma...@denx.de wrote: Dear Simon Glass, This adds a docbook template for fs, and makes CBFS use it. Problems (advise please as I have enough 500pp books in my bookshelf): 1. It requires the function names

Re: [U-Boot] [PATCH] powerpc/esdhc: force the bus width to 4bit

2012-11-01 Thread Marek Vasut
Dear Huang Changming-R66093, Thanks, Jaehoon, I saw it. Best Regards Jerry Huang I wonder if you're just making fun of all of us or what you're actually trying to acomplish here with the constant top-posting ... I'm really stunned :-( -Original Message- From: Jaehoon Chung