Re: [U-Boot] [PATCH v2 0/3] EXYNOS: Add support for Exynos4x12

2012-10-02 Thread Viresh Kumar
On 3 October 2012 11:04, Chander Kashyap wrote: >> CCing Minkyu > mk7.k...@samsung.com is also Minkyu's ID. >> Tip: Always place a blank line before/after your comments, when replying mails. That makes it much more readable to others. ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 0/3] EXYNOS: Add support for Exynos4x12

2012-10-02 Thread Chander Kashyap
Dear Marek, thanks. On 3 October 2012 05:46, Marek Vasut wrote: > Dear Chander Kashyap, > >> This patch series popultes Register addresses, clock structure and >> gpio structure for Exynos4x12. >> >> Changes in v2: >> - Fixed the GPIO base address macro for exynos4x12_gpio_part3_get_nr >>

[U-Boot] [PATCH] i2c: sh: Remove irq_wait function

2012-10-02 Thread Nobuhiro Iwamatsu
irq_wait function is not referred to from anywhere. Reported-by: Albert ARIBAUD Signed-off-by: Nobuhiro Iwamatsu --- drivers/i2c/sh_i2c.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index fd8cb92..3147123 100644 --- a/drive

[U-Boot] [PATCH] rmobile: Fix build timer driver with BUILD_DIR

2012-10-02 Thread Nobuhiro Iwamatsu
Rmobile common timer driver diverts the same driver as SH architecture. When it builds at the same place with source, it is no problem, but when it builds out of source, it cannot build. This patch revises this problem. Reported-by: Albert ARIBAUD Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/

Re: [U-Boot] [PATCH 05/12] tools/env: Serialize calls to fw_*env

2012-10-02 Thread Joe Hershberger
Hi Mike, Sorry for the delay... I've been distracted. On Wed, Aug 22, 2012 at 10:33 PM, Mike Frysinger wrote: > On Friday 17 August 2012 16:49:39 Joe Hershberger wrote: >> Use a lock file at /var/lock/fw_printenv.lock. > > the lock should be per-MTD, not per-system. I'm not sure that's the case

Re: [U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Marek Vasut
Dear Łukasz Dałek, > On 03.10.2012 02:25, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 03.10.2012 02:18, Marek Vasut wrote: > >>> Dear Łukasz Dałek, > >>> > On 03.10.2012 02:06, Marek Vasut wrote: > > Dear Lukasz Dalek, > > > >> Add support for ethernet over USB which

[U-Boot] Fwd: [PULL] u-boot-pxa/next

2012-10-02 Thread Marek Vasut
> The following changes since commit > c7ee66a8222660b565e9240775efa4c82cb348c2: > > Merge branch 'next' of git://www.denx.de/git/u-boot-ppc4xx into next > (2012-10-02 10:16:40 -0700) > > are available in the git repository at: > > > git://git.denx.de/u-boot-pxa.git next > > for you to fet

Re: [U-Boot] [PATCH v3 6/8] fdt: cmd_fdt: Call fdt_chosen() from "fdt boardsetup"

2012-10-02 Thread McClintock Matthew-B29882
On Tue, Oct 2, 2012 at 5:26 AM, Stefan Roese wrote: > On 09/27/2012 10:43 PM, McClintock Matthew-B29882 wrote: >> By calling fdt_chosen(), the chosen node will be updated / >> created by the "fdt boardsetup" command. This is useful for >> setting of the kernel commandline via the "boot

Re: [U-Boot] [PATCH V4] i.MX6: mx6qsabrelite: Add splash screen support

2012-10-02 Thread Eric Nelson
On 09/23/2012 03:53 PM, Eric Nelson wrote: On 09/22/2012 10:19 AM, Eric Nelson wrote: On 09/22/2012 10:02 AM, Fabio Estevam wrote: Hi Eric, On Sat, Sep 22, 2012 at 1:51 PM, Eric Nelson wrote: Interestingly, I saw U-Boot display on HDMI during my testing, so I'm pretty certain that all we ne

Re: [U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Łukasz Dałek
On 03.10.2012 02:25, Marek Vasut wrote: Dear Łukasz Dałek, On 03.10.2012 02:18, Marek Vasut wrote: Dear Łukasz Dałek, On 03.10.2012 02:06, Marek Vasut wrote: Dear Lukasz Dalek, Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp client

Re: [U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Marek Vasut
Dear Łukasz Dałek, > On 03.10.2012 02:18, Marek Vasut wrote: > > Dear Łukasz Dałek, > > > >> On 03.10.2012 02:06, Marek Vasut wrote: > >>> Dear Lukasz Dalek, > >>> > Add support for ethernet over USB which can be used for e.g. booting > process. It works with tftp and dhcp clients code

Re: [U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Łukasz Dałek
On 03.10.2012 02:18, Marek Vasut wrote: Dear Łukasz Dałek, On 03.10.2012 02:06, Marek Vasut wrote: Dear Lukasz Dalek, Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek --- Changes for v5:

Re: [U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Marek Vasut
Dear Łukasz Dałek, > On 03.10.2012 02:06, Marek Vasut wrote: > > Dear Lukasz Dalek, > > > >> Add support for ethernet over USB which can be used for e.g. booting > >> process. It works with tftp and dhcp clients code. > >> > >> Signed-off-by: Lukasz Dalek > >> --- > >> > >> Changes for v5: > >>

Re: [U-Boot] [PATCH v2 0/3] EXYNOS: Add support for Exynos4x12

2012-10-02 Thread Marek Vasut
Dear Chander Kashyap, > This patch series popultes Register addresses, clock structure and > gpio structure for Exynos4x12. > > Changes in v2: > - Fixed the GPIO base address macro for exynos4x12_gpio_part3_get_nr > in arch/arm/include/asm/arch-exynos/gpio.h > Chander Kashyap (3): >

Re: [U-Boot] Please pull u-boot-ppc4xx/next

2012-10-02 Thread Marek Vasut
Dear Stefan Roese, > Hi Tom, > > Please pull the following mostly removal patches for "next": > > The following changes since commit > d05eb7acf0f6ad5682ab75c25af52921e9fa5863: > > MAINTAINERS: Move dbau1x00 to orphaned. (2012-09-27 13:04:42 -0700) > > are available in the git repository at:

Re: [U-Boot] [PATCH] AP1000: Inline local 'get_device'

2012-10-02 Thread Marek Vasut
Dear Tom Rini, > On Tue, Oct 02, 2012 at 03:14:30PM +0200, Stefan Roese wrote: > > Hi Tom, > > > > On 10/01/2012 05:41 PM, Tom Rini wrote: > > > The AP1000 defines a 'get_device' function to determine what board > > > revision we are on. Inline that checking as it conflicts with the > > > get_de

Re: [U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Łukasz Dałek
On 03.10.2012 02:06, Marek Vasut wrote: Dear Lukasz Dalek, Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek --- Changes for v5: - Surrendered #include with CONFIGs board/h2200/h2200.c

Re: [U-Boot] [PATCH 5/7] Tegra30: Cardhu: Add DT files

2012-10-02 Thread Lucas Stach
Am Dienstag, den 02.10.2012, 15:45 -0700 schrieb Tom Warren: > These are stripped down for bringup, They'll be filled out later > to match-up with the kernel DT contents, and/or as devices are > brought up (mmc, usb, spi, etc.). > > Signed-off-by: Tom Warren > --- > arch/arm/dts/tegra30.dtsi

Re: [U-Boot] [PATCH 0/6] bootstage: Add a number of new features

2012-10-02 Thread Simon Glass
Hi Anatolij, On Tue, Oct 2, 2012 at 4:02 PM, Anatolij Gustschin wrote: > Hi Simon, > > On Fri, 28 Sep 2012 11:56:34 -0700 > Simon Glass wrote: > >> It is useful to be able to communicate the bootstage information to another >> program, such as the kernel, either by putting it in memory or the de

Re: [U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Marek Vasut
Dear Lukasz Dalek, > Add support for ethernet over USB which can be used for e.g. booting > process. It works with tftp and dhcp clients code. > > Signed-off-by: Lukasz Dalek > --- > Changes for v5: > - Surrendered #include with CONFIGs > > board/h2200/h2200.c | 17 +++

[U-Boot] [PULL] u-boot-pxa/next

2012-10-02 Thread Marek Vasut
The following changes since commit c7ee66a8222660b565e9240775efa4c82cb348c2: Merge branch 'next' of git://www.denx.de/git/u-boot-ppc4xx into next (2012-10-02 10:16:40 -0700) are available in the git repository at: git://git.denx.de/u-boot-pxa.git next for you to fetch changes up to 7b9b0e

Re: [U-Boot] Please pull u-boot-ti/master

2012-10-02 Thread Albert ARIBAUD
Hi Tom, On Mon, 1 Oct 2012 17:12:58 -0700, Tom Rini wrote: > Hello, > > The following changes since commit 1c27059a2f7158a9c9a8778535b030935d75179d: > > Merge remote-tracking branch 'u-boot/master' (2012-09-30 23:49:17 +0200) > > are available in the git repository at: > > > git://git.d

Re: [U-Boot] [PATCH 5/5] common: Discard the __u_boot_cmd section

2012-10-02 Thread Joe Hershberger
Hi Marek, On Sat, Sep 29, 2012 at 7:17 PM, Marek Vasut wrote: > The command declaration now uses the new LG-array method to generate > list of commands. Thus the __u_boot_cmd section is now superseded and > redundant and therefore can be removed. Also, remove externed symbols > associated with th

Re: [U-Boot] [PATCH 4/5] common: Convert the U-Boot commands to LG-arrays

2012-10-02 Thread Joe Hershberger
Hi Marek, On Sat, Sep 29, 2012 at 7:17 PM, Marek Vasut wrote: > This patch converts the old method of creating a list of command > onto the new LG-arrays code. The old u_boot_cmd section is converted > to new u_boot_list_cmd subsection and LG-array macros used as needed. > > Minor adjustments had

Re: [U-Boot] [PATCH 3/5] common: Add .u_boot_list into all linker files

2012-10-02 Thread Joe Hershberger
Marek, On Sat, Sep 29, 2012 at 7:17 PM, Marek Vasut wrote: > Add section for the linker-generated lists into all possible linker > files, so that everyone can easily use these lists. This is mostly > a mechanical adjustment. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Mike Frysin

Re: [U-Boot] [PATCH 1/5] common: Add symbol handling for generic lists into Makefile

2012-10-02 Thread Joe Hershberger
Hi Marek, On Sat, Sep 29, 2012 at 7:17 PM, Marek Vasut wrote: > This patch adds essential components for generation of the contents of > the linker section that is used by the linker-generated array. All of > the contents is held in a separate file, u-boot.lst, which is generated > at runtime jus

Re: [U-Boot] [PATCH 2/5] common: Implement support for linker-generated arrays

2012-10-02 Thread Joe Hershberger
Hi Marek, On Sat, Sep 29, 2012 at 7:17 PM, Marek Vasut wrote: > This patch adds support for linker-generated array. These arrays > are a generalization of the U-Boot command declaration approach. > > Basically, the idea is to generate an array, where elements of the > array are statically initial

Re: [U-Boot] [PATCH 0/6] bootstage: Add a number of new features

2012-10-02 Thread Anatolij Gustschin
Hi Simon, On Fri, 28 Sep 2012 11:56:34 -0700 Simon Glass wrote: > It is useful to be able to communicate the bootstage information to another > program, such as the kernel, either by putting it in memory or the device > tree. This makes the information accessible after boot so that it can easily

[U-Boot] [PATCH v5 1/3] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Lukasz Dalek
Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated Wi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped with Windows CE 4.2 operating system. Signed-off-by: Lukasz Dalek --- Changes for v5:

[U-Boot] [PATCH v5 3/3] h2200: Add USB CDC ethernet support

2012-10-02 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek --- Changes for v5: - Surrendered #include with CONFIGs board/h2200/h2200.c | 17 + boards.cfg |1 +

[U-Boot] [PATCH v5 2/3] pxa: Add code to examine cpu model and revision

2012-10-02 Thread Lukasz Dalek
Add function which return CPU model and revision which can be used for cpu detection. Signed-off-by: Lukasz Dalek --- Changes for v5: - Changed commit message arch/arm/cpu/pxa/cpuinfo.c | 11 +-- arch/arm/include/asm/arch-pxa/pxa.h | 13 + 2 files change

[U-Boot] [PATCH 7/7] Tegra30: Add/enable Cardhu build (T30 reference board)

2012-10-02 Thread Tom Warren
This build is stripped down. It boots to the command prompt. GPIO is the only peripheral supported. Others TBD. Signed-off-by: Tom Warren --- board/nvidia/{whistler => cardhu}/Makefile |4 ++ .../cpu/cpu.c => board/nvidia/cardhu/cardhu.c |8 ++-- boards.cfg

[U-Boot] [PATCH 6/7] Tegra30: Add generic Tegra30 build support

2012-10-02 Thread Tom Warren
This patch adds basic Tegra30 (T30) build support - no specific board is targeted. Signed-off-by: Tom Warren --- Makefile|6 +++--- arch/arm/cpu/armv7/Makefile |2 +- arch/arm/cpu/armv7/start.S |4 ++-- board/nvidia/common/board.c | 26 -

[U-Boot] [PATCH 5/7] Tegra30: Cardhu: Add DT files

2012-10-02 Thread Tom Warren
These are stripped down for bringup, They'll be filled out later to match-up with the kernel DT contents, and/or as devices are brought up (mmc, usb, spi, etc.). Signed-off-by: Tom Warren --- arch/arm/dts/tegra30.dtsi | 30 ++ board/nvidia/dts/tegra30-card

[U-Boot] [PATCH 3/7] Tegra30: Add common CPU (shared) files

2012-10-02 Thread Tom Warren
These files are used by both SPL and main U-Boot. Also made minor changes to shared Tegra code to support T30 differences. Signed-off-by: Tom Warren --- arch/arm/cpu/tegra-common/ap.c | 22 +- arch/arm/cpu/tegra-common/board.c | 25 +- arch/arm/cpu/tegra-

[U-Boot] [PATCH 1/7] Tegra30: Add AVP (arm720t) files

2012-10-02 Thread Tom Warren
This provides SPL support for T30 boards - AVP early init, plus CPU (A9) init/jump to main U-Boot. Signed-off-by: Tom Warren --- arch/arm/cpu/arm720t/tegra-common/cpu.h| 48 +-- arch/arm/cpu/arm720t/tegra-common/spl.c|3 +- .../arm/cpu/arm720t/tegra30}/Makefile

[U-Boot] [PATCH 2/7] Tegra30: Add CPU (armv7) files

2012-10-02 Thread Tom Warren
These files are for code that runs on the CPU (A9) on T30 boards. At this time, it's only the RCM (Recovery Mode) cmd file, which is in tegra-common. As T30-specific run-time code is added, it'll go here. Signed-off-by: Tom Warren --- arch/arm/cpu/{arm720t => armv7}/tegra30/Makefile | 13

[U-Boot] [PATCH 0/7] Add T30 Cardhu support

2012-10-02 Thread Tom Warren
This patch series adds basic (boot to cmd prompt) support for Tegra30. This is based on the Tegra20 SPL, which inits the AVP (ARM7TDMI boot proc) first, then control is transferred to the CPU (A9 quad core). It is based on current u-boot-tegra/next. Future patches will add support/drivers for MMC/

Re: [U-Boot] [PATCHv5] ARM: Add Altera SOCFPGA Cyclone5

2012-10-02 Thread Tom Rini
On Tue, Oct 02, 2012 at 04:45:24PM -0600, dingu...@altera.com wrote: > From: Dinh Nguyen > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. > > Signed-off-by: Dinh Nguyen > Signed-off-by: Chin Liang See > Signed-off-by: Pavel Machek > Reviewed-by: Marek Vasut > Cc: Tom Trini

Re: [U-Boot] TNETV107X: Change tnetv107x_evm maintainer

2012-10-02 Thread Tom Rini
On Tue, Oct 02, 2012 at 05:21:28AM -, Chan-Taek Park wrote: > --- > MAINTAINERS |8 > 1 files changed, 4 insertions(+), 4 deletions(-) Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] MAINTAINERS: New maintainer for Samsung's Trats development board.

2012-10-02 Thread Tom Rini
On Tue, Oct 02, 2012 at 06:32:07AM -, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > > --- > MAINTAINERS |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital s

Re: [U-Boot] [U-Boot,v3] README: Add handy kermit primer

2012-10-02 Thread Tom Rini
On Mon, Oct 01, 2012 at 05:11:56AM -, Karl O. Pinc wrote: > Signed-off-by: Karl O. Pinc > > --- > README |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] mpc52xx/motionpro: fix monitor size and update default environment

2012-10-02 Thread Tom Rini
On Sat, Sep 29, 2012 at 09:27:00AM -, Wolfgang Grandegger wrote: > Since a while, the size of the u-boot.bin image is larger than > 256kB. This requires moving the environment sectors by one. As > we are at it, we also update a few other custom settings. > > Signed-off-by: Wolfgang Grandegger

Re: [U-Boot] TQM8xx: adjust linker script to grown code size

2012-10-02 Thread Tom Rini
On Wed, Sep 26, 2012 at 10:30:08PM -, Wolfgang Denk wrote: > Some of the previous changes caused the code to grow, which causes > errors like > > u-boot.lds:76 cannot move location counter backwards (from 4000828c to > 40008000) > > when building with some older tool chains (like ELDK 4.2).

Re: [U-Boot] openrisc: implement get_ticks and get_tbclk

2012-10-02 Thread Tom Rini
On Wed, Feb 22, 2012 at 07:10:10AM -, Stefan Kristiansson wrote: > Signed-off-by: Stefan Kristiansson Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://list

Re: [U-Boot] [U-Boot,1/2] openrisc/bitops: add hweightX defines

2012-10-02 Thread Tom Rini
On Wed, Feb 22, 2012 at 07:10:09AM -, Stefan Kristiansson wrote: > Signed-off-by: Stefan Kristiansson Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://list

[U-Boot] [PATCHv5] ARM: Add Altera SOCFPGA Cyclone5

2012-10-02 Thread dinguyen
From: Dinh Nguyen Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Signed-off-by: Dinh Nguyen Signed-off-by: Chin Liang See Signed-off-by: Pavel Machek Reviewed-by: Marek Vasut Cc: Tom Trini Cc: Wolfgang Denx Cc: Albert Aribaud Cc: Stefan Roese V4 of this patch was appli

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-02 Thread Måns Rullgård
Albert ARIBAUD writes: > Under option -munaligned-access, gcc can perform local char > or 16-bit array initializations using misaligned native > accesses which will throw a data abort exception. Fix files > where these array initializations were unneeded, and for > files known to contain such ini

[U-Boot] [PATCH] mx6qsabreauto: Pass the board revision to the kernel

2012-10-02 Thread Fabio Estevam
The kernel from Freescale expects that the bootloader passes the board revision. Read the board revision and pass it via get_board_rev(). Without passing the board revision the kernel does not operate properly as the initialization of peripherals are different in revA versus revB boards. Signed-

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-02 Thread Albert ARIBAUD
Hi Stephen, On Tue, 02 Oct 2012 14:06:53 -0600, Stephen Warren wrote: > > +c) Relax the -munified-access rule globally. This will prevent native > > I assume that's meant to say -munaligned-access? > > + until the target gets compiled with m-unaligned-access. > > s/m-/-m/ > > +d) Relax the

Re: [U-Boot] [PATCH v4 1/8] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Łukasz Dałek
On 02.10.2012 22:19, Marek Vasut wrote: hint: you're missing $(obj) all around here so the resulting files are still in the source tree, not the BUILD_DIR, which is wrong of course. Can you recommend board which has proper Makefile? All of them should, did you detect such problem elsewhere? No

Re: [U-Boot] [PATCH 0/4] Keyboard input improvements

2012-10-02 Thread Simon Glass
Hi Tom On Mon, Oct 1, 2012 at 10:21 AM, Tom Rini wrote: > On Thu, Sep 27, 2012 at 06:18:39PM -0700, Simon Glass wrote: > >> This is a small series of patches to improve keyboard input for matrix >> keyboards: >> >> - Fix an fdt decoding bug which breaks seaboard >> - Permit key repeat/delay to be

Re: [U-Boot] [PATCH v4 1/8] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Marek Vasut
Dear Łukasz Dałek, > On 02.10.2012 21:35, Marek Vasut wrote: > > Dear Lukasz Dalek, > > > >> Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted > >> to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated > >> Wi-Fi nor Ethernet. Based on Intel PXA255 processor

Re: [U-Boot] [PATCH v4 1/8] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Łukasz Dałek
On 02.10.2012 21:35, Marek Vasut wrote: Dear Lukasz Dalek, Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated Wi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped with Windows CE 4.2 opera

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-10-02 Thread Scott Wood
On 10/02/2012 05:20:54 AM, Stefan Roese wrote: On 09/29/2012 01:13 AM, Scott Wood wrote: > On 09/26/2012 04:01:08 AM, Stefan Roese wrote: >> This patch enables the SPL framework to be used on powerpc platforms >> and not only ARM. >> >> Signed-off-by: Stefan Roese >> --- >> Changes in v2: >>

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-02 Thread Stephen Warren
On 10/02/2012 12:46 PM, Albert ARIBAUD wrote: > Under option -munaligned-access, gcc can perform local char > or 16-bit array initializations using misaligned native > accesses which will throw a data abort exception. Fix files > where these array initializations were unneeded, and for > files know

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-02 Thread Albert ARIBAUD
Hi Joakim, On Tue, 2 Oct 2012 21:13:39 +0200, Joakim Tjernlund wrote: > > > > */ > > void display_board_info(u32 btype) > > { > > - char cpu_2420[] = "2420"; /* cpu type */ > > - char cpu_2422[] = "2422"; > > - cha

Re: [U-Boot] [PATCH v4 2/8] pxa: Add some stuff to examine cpu model and rev

2012-10-02 Thread Łukasz Dałek
On 02.10.2012 21:36, Marek Vasut wrote: Dear Lukasz Dalek, Add function which return CPU model and revision which can be used for cpu detection. Signed-off-by: Lukasz Dalek [...] s/some stuff/code/ would be really nicer. I think the rest of the patches are ok ... unless they changed? Noth

Re: [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box

2012-10-02 Thread Fabio Estevam
On Tue, Oct 2, 2012 at 4:22 PM, Otavio Salvador wrote: > The mmcroot setting vary between mx6qsabreauto and mx6qsabresd so we > move this to the board configuration file. > > Signed-off-by: Otavio Salvador Acked-by: Fabio Estevam ___ U-Boot mailing li

[U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box

2012-10-02 Thread Otavio Salvador
The mmcroot setting vary between mx6qsabreauto and mx6qsabresd so we move this to the board configuration file. Signed-off-by: Otavio Salvador --- include/configs/mx6qsabre_common.h |2 +- include/configs/mx6qsabreauto.h|3 ++- include/configs/mx6qsabresd.h |1 + 3 files cha

Re: [U-Boot] [PATCH v4 2/8] pxa: Add some stuff to examine cpu model and rev

2012-10-02 Thread Marek Vasut
Dear Lukasz Dalek, > Add function which return CPU model and revision which can be used for > cpu detection. > > Signed-off-by: Lukasz Dalek [...] s/some stuff/code/ would be really nicer. I think the rest of the patches are ok ... unless they changed? Best regards, Marek Vasut __

Re: [U-Boot] [PATCH v4 1/8] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Marek Vasut
Dear Lukasz Dalek, > Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted > to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated > Wi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped with > Windows CE 4.2 operating system. > > Signed-off-by: Lu

[U-Boot] [PATCH REPOST] ARM: tegra: use standard variables to define load addresses

2012-10-02 Thread Stephen Warren
From: Stephen Warren Currently, Tegra's default environment uses non-standard variables to define where boot scripts should load the kernel, FDT, and initrd. This change both changes the variable names to match those described in U-Boot's README, and shuffles their values around a little so that

Re: [U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-02 Thread Joakim Tjernlund
> */ > void display_board_info(u32 btype) > { > - char cpu_2420[] = "2420"; /* cpu type */ > - char cpu_2422[] = "2422"; > - char cpu_2423[] = "2423"; > - char db_men[] = "Menelaus"; /* board type */ > - char db_i

[U-Boot] [RFC] ARM: prevent misaligned array inits

2012-10-02 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option -m

Re: [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel

2012-10-02 Thread Tom Rini
On Sun, Sep 30, 2012 at 02:21:31AM +0200, Marek Vasut wrote: > This patch series implants slightly modified kernel-doc documentation > generator from Linux kernel into U-Boot. First patch pulls in all the > necessary components with minor modifications made to them to work with > the layout of U-B

Re: [U-Boot] [PULL] u-boot-testing / dm-stringify

2012-10-02 Thread Tom Rini
On Sat, Sep 29, 2012 at 02:34:06AM +0200, Marek Vasut wrote: > Please apply to u-boot/next. They are now compile tested on arm and ppc. > Albert's comment addresses and patches are assigned to Tom in PW. > > > > The following changes since commit d05eb7acf0f6ad5682ab75c25af52921e9fa5863: > >

Re: [U-Boot] [PATCH 00/72 V3] serial: Massive rework of the serial subsystem

2012-10-02 Thread Tom Rini
On Sat, Sep 29, 2012 at 11:51:53PM +0200, Marek Vasut wrote: > This patchset is a STAGE 1 of preparation of the stdio and serial subsys > for the driver model. > > The idea of this patchset is: > > 1) Clean up the struct serial_device >Do a coding style cleanup. > 2) Replace .init and .unini

Re: [U-Boot] Please pull u-boot-ppc4xx/next

2012-10-02 Thread Tom Rini
On Tue, Oct 02, 2012 at 03:36:25PM +0200, Stefan Roese wrote: > Hi Tom, > > Please pull the following mostly removal patches for "next": > > The following changes since commit d05eb7acf0f6ad5682ab75c25af52921e9fa5863: > > MAINTAINERS: Move dbau1x00 to orphaned. (2012-09-27 13:04:42 -0700) >

[U-Boot] [PATCH] TNETV107X: Change tnetv107x_evm maintainer

2012-10-02 Thread Chan-Taek Park
--- MAINTAINERS |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index aa54fe1..03e2bba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -78,10 +78,6 @@ Holger Brunck tuge1 MPC8321 tuxx1 MPC8321 -Cyril Che

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions - RESEND

2012-10-02 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On Mon, Sep 3, 2012 at 2:28 AM, Lukasz Majewski > wrote: > > Hi Stephen, > > > > I'm writing to you, since I've posted a patch series regarding GPT > > support for Samsung Trats board (you were on the CC). > > I'm not sure if Stephen got that - try "Stephen Warren" >

[U-Boot] [PATCH] MAINTAINERS: New maintainer for Samsung's Trats development board.

2012-10-02 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index aa54fe1..eb96035 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -727,7 +727,7 @@ Chander Kashyap SMDKV310

Re: [U-Boot] [PATCH] AP1000: Inline local 'get_device'

2012-10-02 Thread Tom Rini
On Tue, Oct 02, 2012 at 03:14:30PM +0200, Stefan Roese wrote: > Hi Tom, > > On 10/01/2012 05:41 PM, Tom Rini wrote: > > The AP1000 defines a 'get_device' function to determine what board > > revision we are on. Inline that checking as it conflicts with the > > get_device() in and is only used on

[U-Boot] [PATCH v4 7/8] usb.h: Add udc_disconnect prototype to usb.h

2012-10-02 Thread Lukasz Dalek
PXA25x gadget implements common function usb_disconnect(). This patch adds this function prototype into usb.h for boards using it. Signed-off-by: Lukasz Dalek --- include/usb.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/usb.h b/include/usb.h index

[U-Boot] [PATCH v4 8/8] h2200: Add USB CDC ethernet support

2012-10-02 Thread Lukasz Dalek
Add support for ethernet over USB which can be used for e.g. booting process. It works with tftp and dhcp clients code. Signed-off-by: Lukasz Dalek --- board/h2200/h2200.c | 15 +++ boards.cfg |1 + include/configs/h2200.h | 27 +++ 3

[U-Boot] [PATCH v4 5/8] usbether: Removed DEV_CONFIG_{CDC,SUBSET}

2012-10-02 Thread Lukasz Dalek
Removed DEV_CONFIG_CDC and DEV_CONFIG_SUBSET and replaced it with CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET. Signed-off-by: Lukasz Dalek --- drivers/usb/gadget/ether.c | 75 +-- 1 files changed, 30 insertions(+), 45 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH v4 4/8] usbether: Define CONFIG_USB_ETH_{CDC, SUBSET}

2012-10-02 Thread Lukasz Dalek
Introduced CONFIG_USB_ETH_CDC and CONFIG_USB_ETH_SUBSET as preparation for removal DEV_CONFIG_CDC and DEV_CONFIG_SUBSET Signed-off-by: Lukasz Dalek --- drivers/usb/gadget/ether.c | 19 ++- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/ether.

[U-Boot] [PATCH v4 1/8] h2200: Add support for iPAQ h2200 palmtop

2012-10-02 Thread Lukasz Dalek
Add basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targeted to general consumers. It has 64 MB of RAM, 32 MB flash. No intergrated Wi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped with Windows CE 4.2 operating system. Signed-off-by: Lukasz Dalek --- board/h2200/Mak

[U-Boot] [PATCH v4 3/8] usbether: Fixed bug when using with PXA25X chips

2012-10-02 Thread Lukasz Dalek
PXA25X chips don't support alternate settings so driver uses non-CDC driver. But only code defined between DEV_CONFIG_CDC signals that network is up. This patch is fixing this bug by signaling that network is up after USB SET_INTERFACE request. Signed-off-by: Lukasz Dalek --- drivers/usb/gadget/

[U-Boot] [PATCH v4 2/8] pxa: Add some stuff to examine cpu model and rev

2012-10-02 Thread Lukasz Dalek
Add function which return CPU model and revision which can be used for cpu detection. Signed-off-by: Lukasz Dalek --- arch/arm/cpu/pxa/cpuinfo.c | 11 +-- arch/arm/include/asm/arch-pxa/pxa.h | 13 + 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions - RESEND

2012-10-02 Thread Simon Glass
Hi Lukasz, On Mon, Sep 3, 2012 at 2:28 AM, Lukasz Majewski wrote: > Hi Stephen, > > I'm writing to you, since I've posted a patch series regarding GPT > support for Samsung Trats board (you were on the CC). I'm not sure if Stephen got that - try "Stephen Warren" . Regards, Simon > > e.g. http:

[U-Boot] Please pull u-boot-ppc4xx/next

2012-10-02 Thread Stefan Roese
Hi Tom, Please pull the following mostly removal patches for "next": The following changes since commit d05eb7acf0f6ad5682ab75c25af52921e9fa5863: MAINTAINERS: Move dbau1x00 to orphaned. (2012-09-27 13:04:42 -0700) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.

[U-Boot] [PATCH v2 3/3] EXYNOS: EXYNOS4X12: Add gpio structure for EXYNOS4X12

2012-10-02 Thread Chander Kashyap
This patch adds gpio structure for Exynos4x12. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/gpio.h | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h inde

[U-Boot] [PATCH v2 2/3] EXYNOS: EXYNOS4X12: Add clock structure for EXYNOS4X12

2012-10-02 Thread Chander Kashyap
This patch adds clock structure for Exynos4x12. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/clock.h | 276 ++ 1 file changed, 276 insertions(+) diff --git a/arch/arm/include/asm/arch-exynos/clock.h b/arch/arm/include/asm/arch-exynos/clock.h

[U-Boot] [PATCH v2 1/3] EXYNOS: EXYNOS4X12: Populate Exynos4x12 register addresses

2012-10-02 Thread Chander Kashyap
This patch populates base addresses of Exynos4x12 registers. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/cpu.h | 48 +++- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/includ

[U-Boot] [PATCH v2 0/3] EXYNOS: Add support for Exynos4x12

2012-10-02 Thread Chander Kashyap
This patch series popultes Register addresses, clock structure and gpio structure for Exynos4x12. Changes in v2: - Fixed the GPIO base address macro for exynos4x12_gpio_part3_get_nr in arch/arm/include/asm/arch-exynos/gpio.h Chander Kashyap (3): EXYNOS: EXYNOS4X12: Populate Exy

Re: [U-Boot] [PATCH] AP1000: Inline local 'get_device'

2012-10-02 Thread Stefan Roese
Hi Tom, On 10/01/2012 05:41 PM, Tom Rini wrote: > The AP1000 defines a 'get_device' function to determine what board > revision we are on. Inline that checking as it conflicts with the > get_device() in and is only used once. I plan to remove AP1000 board support completely. Board seems to be u

[U-Boot] [PATCH 1/3] EXYNOS: EXYNOS4X12: Populate Exynos4x12 register addresses

2012-10-02 Thread Chander Kashyap
This patch populates base addresses of Exynos4x12 registers. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/cpu.h | 48 +++- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/includ

[U-Boot] [PATCH 2/3] EXYNOS: EXYNOS4X12: Add clock structure for EXYNOS4X12

2012-10-02 Thread Chander Kashyap
This patch adds clock structure for Exynos4x12. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/clock.h | 276 ++ 1 file changed, 276 insertions(+) diff --git a/arch/arm/include/asm/arch-exynos/clock.h b/arch/arm/include/asm/arch-exynos/clock.h

[U-Boot] [PATCH 0/3] EXYNOS: Add support for Exynos4x12

2012-10-02 Thread Chander Kashyap
This patch series popultes Register addresses, clock structure and gpio structure for Exynos4x12. Chander Kashyap (3): EXYNOS: EXYNOS4X12: Populate Exynos4x12 register addresses EXYNOS: EXYNOS4X12: Add clock structure for EXYNOS4X12 EXYNOS: EXYNOS4X12: Add gpio structure for EXYNOS4X12 arc

[U-Boot] [PATCH 3/3] EXYNOS: EXYNOS4X12: Add gpio structure for EXYNOS4X12

2012-10-02 Thread Chander Kashyap
This patch adds gpio structure for Exynos4x12. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-exynos/gpio.h | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h inde

Re: [U-Boot] [PATCH 08/16] pmic:muic: Support for MUIC built into MAX8997 device

2012-10-02 Thread Lukasz Majewski
Hi Stefano, > On 14/09/2012 17:40, Lukasz Majewski wrote: > > Support for MUIC (Micro USB Integrated Circuit) built into the > > MAX8997 power management device. > > > > The MUIC device will work with redesigned PMIC framework. > > > > Signed-off-by: Lukasz Majewski > > Signed-off-by: Kyungmin

Re: [U-Boot] Has anyone gotten the mmc commands to work on the NOVSOMTMi.MX6Q-SL-1-D, on the NOVPEK board by Novtech?

2012-10-02 Thread Greg Topmiller
Thanks for the response Merek. I got it working. I forgot to set the pad setting for the sdhc pins. Thanks, Greg -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Tuesday, October 02, 2012 6:18 AM To: u-boot@lists.denx.de Cc: Greg Topmiller Subject: Re: [U-Boot] Has a

[U-Boot] mmc Status Error: 0x01FBB4D0

2012-10-02 Thread victor
Hi All. I change legacy sd/mmc driver to generic mmc structure, then I run the u-boot "mmc rescan" command. All looks fine except the: status reg 0x8c00 0x0 resp1_reg 0x0 Status Error: 0x01FBB4D8 Please help me on the meaning of the status error in mmc.c code. Thanks, Victor ===

Re: [U-Boot] include: fix mips64 build warning

2012-10-02 Thread Zhi-zhou Zhang
On Mon, Oct 1, 2012 at 7:06 PM, Daniel Schwierzeck wrote: > Hi Zhi-zhou, > > 2012/9/29 Zhi-zhou Zhang : >> fix warnings when building mips64, we define CONFIG_MIPS64 in config file. >> And this macro decides size_t. >> hashtable.c: In function 'hexport_r': >> hashtable.c:495:2: warning: format '%

Re: [U-Boot] [PATCH v3 6/8] fdt: cmd_fdt: Call fdt_chosen() from "fdt boardsetup"

2012-10-02 Thread Stefan Roese
On 09/27/2012 10:43 PM, McClintock Matthew-B29882 wrote: > By calling fdt_chosen(), the chosen node will be updated / > created by the "fdt boardsetup" command. This is useful for > setting of the kernel commandline via the "bootargs" > env variable. > > With this change, th

Re: [U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

2012-10-02 Thread Stefan Roese
On 09/29/2012 01:13 AM, Scott Wood wrote: > On 09/26/2012 04:01:08 AM, Stefan Roese wrote: >> This patch enables the SPL framework to be used on powerpc platforms >> and not only ARM. >> >> Signed-off-by: Stefan Roese >> --- >> Changes in v2: >> - Rebased on Tom's SPL framework patches v4 >> - Add

Re: [U-Boot] Has anyone gotten the mmc commands to work on the NOVSOMTMi.MX6Q-SL-1-D, on the NOVPEK board by Novtech?

2012-10-02 Thread Marek Vasut
Dear Greg Topmiller, > I am using release 2012.07 of u-boot with board type freescale/mx6qarm2. > The mx6qarm2 is what is used as the board type in the freescale u-boot > delivered with the board. We want to use the main line u-boot 2012.07. > To get it working I had to change the serial port a

Re: [U-Boot] [PATCH 39/71] serial: arm: Implement CONFIG_SERIAL_MULTI into altera_jtag serial driver

2012-10-02 Thread Marek Vasut
Dear Thomas Chou, > On 10/01/2012 10:41 PM, Marek Vasut wrote: > >> Please include the following headers. > >> > >> --- a/drivers/serial/altera_jtag_uart.c > >> +++ b/drivers/serial/altera_jtag_uart.c > >> @@ -25,6 +25,8 @@ > >> > >>#include > >>#include > >>#include > >> > >> +#

[U-Boot] [PATCH] EXYNOS: Clock: Add common function for pll rate calculation

2012-10-02 Thread Chander Kashyap
Moved the common code to calculate pll clock rate to new funtion exynos_get_pll_clk(). Signed-off-by: Chander Kashyap --- arch/arm/cpu/armv7/exynos/clock.c | 102 ++--- 1 file changed, 38 insertions(+), 64 deletions(-) diff --git a/arch/arm/cpu/armv7/exynos/cloc

  1   2   >