[U-Boot] [RFC PATCH] ARM: atmel: at91sam9m10g45ek: enable SPL

2014-12-28 Thread Bo Shen
Supports boot up from NAND flash with software ECC eanbled. And supports boot up from SD/MMC card with FAT file system. As the boot from SD/MMC card with FAT file system, the BSS segment is too big to fit into SRAM, so, use the lds to put it into SDRAM. So, we need to initialize the SDRAM as soon

Re: [U-Boot] [PATCH v2 6/7] x86: Use ePAPR defined properties for x86-uart

2014-12-28 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 9:55 AM, Simon Glass wrote: > On 27 December 2014 at 05:10, Bin Meng wrote: >> Use ePAPR defined properties for x86-uart: clock-frequency and >> current-speed. Assign the value of clock-frequency in device tree >> to plat->clock of x86-uart instead of using hard

[U-Boot] coreboot uboot qemu x86

2014-12-28 Thread Ajoy Das
Hi Need Help I want to run U-BOOT as coreboot payload on QEMU platform I am on uboot-x86 git Compiled U-BOOT with make coreboot-x86_defconfig and make all Running qemu with qemu-system-i386 -bios ../coreboot/build/coreboot.rom -hda disk.img -nographic -m 1g But The system crashes with the fol

Re: [U-Boot] [PATCH 8/9] [v3] hash: Add function to find hash_algo struct with progressive hash

2014-12-28 Thread Ruchika Gupta
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Wednesday, December 24, 2014 6:20 AM > To: Gupta Ruchika-R66431 > Cc: U-Boot Mailing List; Sun York-R58495 > Subject: Re: [PATCH 8/9] [v3] hash: Add function to find hash_algo s

Re: [U-Boot] [PATCH 7/9] [v3] lib/rsa: Add Kconfig option for HW accelerated RSA

2014-12-28 Thread Ruchika Gupta
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Wednesday, December 24, 2014 6:20 AM > To: Gupta Ruchika-R66431 > Cc: U-Boot Mailing List; Sun York-R58495 > Subject: Re: [PATCH 7/9] [v3] lib/rsa: Add Kconfig option for HW acc

[U-Boot] [PATCH 5/9] [v3] lib/rsa: Modify rsa to use DM driver if available

2014-12-28 Thread Ruchika Gupta
Resending as the message bounced from u-boot mailing list. Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Wednesday, December 24, 2014 6:19 AM > To: Gupta Ruchika-R66431 > Cc: U-Boot Mailing List; Sun York-R58495 > Subject

Re: [U-Boot] [PATCH v2 5/7] serial: ns16550: Support ns16550 compatible pci uart devices

2014-12-28 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 9:55 AM, Simon Glass wrote: > Hi Bin, > > On 27 December 2014 at 05:10, Bin Meng wrote: >> There are many pci uart devices which are ns16550 compatible. We can >> describe them in the board dts file and use it as the U-Boot serial >> console as specified in the

Re: [U-Boot] [PATCH 1/5] x86: Remove include directory in arch/x86/dts

2014-12-28 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 9:02 AM, Simon Glass wrote: > Hi Bin, > > On 23 December 2014 at 22:06, Bin Meng wrote: >> The include directory in arch/x86/dts is not used, so remove it. >> >> Signed-off-by: Bin Meng >> --- > > Actually we do need this - the Chrome OS keyboard .dtsi will use

Re: [U-Boot] [PATCH 5/5] x86: Only compile dts file for a specific board

2014-12-28 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 9:07 AM, Simon Glass wrote: > Hi Bin, > > On 23 December 2014 at 22:06, Bin Meng wrote: >> Right now all dts files under arch/x86/dts are compiled. This is >> not necessary so update the Makefile to only compile dts file for >> a specific board. > > I'd rather t

[U-Boot] [PATCH 3/9] [v3] DM: crypto/rsa: Add rsa Modular Exponentiation DM driver

2014-12-28 Thread Ruchika Gupta
Re-sending as delivery to uboot mailing list failed last time... Hi Simon, Thanks for the review comments. > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Wednesday, December 24, 2014 6:19 AM > To: Gupta Ruchika-R66431 > Cc: U-Boot

Re: [U-Boot] [PATCH] devkit8000: convert to use generic board code

2014-12-28 Thread Anthoine Bourgeois
Hi, Anthoine Bourgeois wrote: > Signed-off-by: Anthoine Bourgeois > --- > > include/configs/devkit8000.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h > index 930b08e..77e2f58 100644 > --- a/include/configs/devkit8000.h >

[U-Boot] [PATCH 2/2] sunxi: clock_sun6i: Remove "magic" m and k params from clock_set_pll5

2014-12-28 Thread Hans de Goede
Let clock_set_pll5 pick the optimal m and k values itself based on the requested rate, rather then passing them in as magic constants. Suggested-by: Siarhei Siamashka Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c| 9 - arch/arm/cpu/armv7/sunxi/dram_sun6

[U-Boot] [PATCH 1/2] sunxi: video: Add a hpd_delay parameter to configure hpd delay

2014-12-28 Thread Hans de Goede
In some extreme cases it may be necessary to wait 1.5 seconds or more for a hpd signal to show up (and be able to read edid info), but we do not want to penalize all headless boots with an extra second boot delay, so add a hpd_delay parameter which can be set through the video-mode env. variable.

[U-Boot] [PATCH 1/2] Change e-mail address of Stefan Herbrechtsmeier

2014-12-28 Thread Stefan Herbrechtsmeier
Signed-off-by: Stefan Herbrechtsmeier --- board/d-link/dns325/MAINTAINERS | 2 +- board/d-link/dns325/Makefile | 2 +- board/d-link/dns325/dns325.c | 2 +- board/d-link/dns325/dns325.h | 2 +- board/d-link/dns325/kwbimage.cfg | 2 +- include/configs/dns325.h | 2 +- 6 files

[U-Boot] [PATCH 2/2] ARM: kirkwood: dns325: Add generic board support

2014-12-28 Thread Stefan Herbrechtsmeier
Signed-off-by: Stefan Herbrechtsmeier --- include/configs/dns325.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/dns325.h b/include/configs/dns325.h index e8ce8db..379e6c7 100644 --- a/include/configs/dns325.h +++ b/include/configs/dns325.h @@ -26,6 +26,7 @@ #define CONFIG

Re: [U-Boot] [PATCH] ARM: bootm: do not add PSCI to fdt when booting in secure mode.

2014-12-28 Thread Hans de Goede
Hi, On 21-12-14 10:45, Ian Campbell wrote: Commit 8bc347e2ec17 "ARM: bootm: Allow booting in secure mode on hyp capable systems" added the capability to select nonsec vs sec mode boot via an environment var. There is a subtle gotcha with this functionality, which is that the PSCI nodes are stil

[U-Boot] [PATCH v2] sunxi: video: Improve monitor video-mode option handling

2014-12-28 Thread Hans de Goede
Add a sunxi_monitor enum and parse the monitor option string into this enum once, rather then doing strcmp-s on it in various places. This also adds checking for it being a valid value. This also adds new "none" and "lcd" values in preparation for lcd support. Signed-off-by: Hans de Goede --- Ch

Re: [U-Boot] [PATCH 05/17] sunxi: video: Improve monitor video-mode option handling

2014-12-28 Thread Hans de Goede
Hi, On 28-12-14 10:40, Ian Campbell wrote: On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: +enum sunxi_monitor { + sunxi_monitor_none, + sunxi_monitor_dvi, + sunxi_monitor_hdmi, + sunxi_monitor_lcd, + sunxi_monitor_vga, +}; [...] + const char *mon_

Re: [U-Boot] [PATCH 03/17] sunxi: gpio: Add support for gpio pins on the AXP209 pmic

2014-12-28 Thread Hans de Goede
Hi, On 28-12-14 10:34, Ian Campbell wrote: On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: @@ -27,6 +32,17 @@ enum axp209_reg { #define AXP209_POWEROFF (1 << 7) +#define AXP209_GPIO_OUTPUT_LOW 0x00 +#define AXP209_GPIO_OUTPUT_HIGH0x01 +#

[U-Boot] [PATCH v2] sunxi: gpio: Add support for gpio pins on the AXP209 pmic

2014-12-28 Thread Hans de Goede
Some boards use GPIO-s on the pmic, one example of this is the A13-OLinuXino board, which uses gpio0 of the axp209 for the lcd-power signal. This commit adds support for gpio pins on the AXP209 pmic, the sunxi_gpio.c changes are universal, adding gpio support for the other AXP pmics (when necessar

Re: [U-Boot] [PATCH V2] add README.distro file

2014-12-28 Thread Ian Campbell
On Mon, 2014-12-22 at 13:46 -0700, Stephen Warren wrote: > [...] > + > +The U-Boot "syslinux" and "pxe boot" commands require a number of environment > +variables be set. Default values for these variables are often hard-coded > into > +CONFIG_EXTRA_ENV_SETTINGS in the board's U-Boot configuration

Re: [U-Boot] [PATCH 06/17] sunxi: video: Prepare for lcd support

2014-12-28 Thread Ian Campbell
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: > Refactor sunxi_mode_set into a bunch of helpers, and make it do a switch > case on sunxi_display.monitor to decide what to do. > > Also rename sunxi_lcdc_mode_set to sunxi_lcdc_tcon1_mode_set, as it sets the > timings for tcon1, and for lcd

Re: [U-Boot] [PATCH 05/17] sunxi: video: Improve monitor video-mode option handling

2014-12-28 Thread Ian Campbell
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: > +enum sunxi_monitor { > + sunxi_monitor_none, > + sunxi_monitor_dvi, > + sunxi_monitor_hdmi, > + sunxi_monitor_lcd, > + sunxi_monitor_vga, > +}; [...] > + const char *mon_desc[] = { "none", "dvi", "hdmi", "lcd", "vga

Re: [U-Boot] [PATCH 04/17] sunxi: video: Drop disabling of backend / lcdc / hdmi encoder on modeset

2014-12-28 Thread Ian Campbell
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: > The enable flags are initialized to 0 already by engines_init, so now that > we no longer retry the mode-set, the disabling of the blocks in > sunxi_mode_set() is a no-op. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___

Re: [U-Boot] [PATCH 03/17] sunxi: gpio: Add support for gpio pins on the AXP209 pmic

2014-12-28 Thread Ian Campbell
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: > @@ -27,6 +32,17 @@ enum axp209_reg { > > #define AXP209_POWEROFF (1 << 7) > > +#define AXP209_GPIO_OUTPUT_LOW 0x00 > +#define AXP209_GPIO_OUTPUT_HIGH 0x01 > +#define AXP209_GPIO_INPUT

Re: [U-Boot] [PATCH 02/17] sunxi: gpio: Properly sort mux defines by port number

2014-12-28 Thread Ian Campbell
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: > Move a few mux defines around so that all the mux defines are properly sorted > by port number. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH V2] add README.distro file

2014-12-28 Thread Ian Campbell
On Mon, 2014-12-22 at 13:46 -0700, Stephen Warren wrote: > From: Dennis Gilmore > > Add documentation on how to setup a system to use the generic distro > configs and boot commands. This spells out what is needed to make a > system conformant, but does not limit the board to only the defaults. >

Re: [U-Boot] [PATCH 01/17] videomodes: Add support for refresh and pclk_khz to video_get_params()

2014-12-28 Thread Ian Campbell
On Wed, 2014-12-24 at 20:06 +0100, Hans de Goede wrote: > Add support to video_get_params() for setting the new refresh and pixclock_khz > struct ctfb_res_modes members. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell (needs Anatolij's though I think) > --- > drivers/video/videomodes.

Re: [U-Boot] [PATCH 2/9] sunxi: Move SPL s_init() code to board_init_f()

2014-12-28 Thread Ian Campbell
On Tue, 2014-12-23 at 12:04 -0700, Simon Glass wrote: > +void board_init_f(ulong dummy) > +{ [...] > + /* Clear the BSS. */ > + memset(__bss_start, 0, __bss_end - __bss_start); > + > + board_init_r(NULL, 0); The previous (__weak) version of board_init_f also sets gd, which you've also

Re: [U-Boot] [PATCH 0/9] Remove use of gdata for global_data

2014-12-28 Thread Ian Campbell
On Tue, 2014-12-23 at 12:04 -0700, Simon Glass wrote: > Some ARM boards use global_data in SPL before it set up by crt0.S. To > achieve this they use a separate global_data variable called gdata which > resides in the data section. The one set up by crt0.S is generally ignored. > > This prevents c

Re: [U-Boot] [PATCH 3/9] sunxi: Drop use of lowlevel_init()

2014-12-28 Thread Ian Campbell
On Tue, 2014-12-23 at 12:04 -0700, Simon Glass wrote: > This does nothing now, so drop it. We have SPL anyway to do our low-level > init. > > Signed-off-by: Simon Glass Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

[U-Boot] [PATCH 0/22] x86: Add support for MTRRs

2014-12-28 Thread Simon Glass
One of the four items left to fix up for bare ivybridge support in U-Boot is MTRRs. These are an important part of the x86 platform since they provide a means to control the cache behaviour for areas of memory. Memory areas can be marked as uncacheable or cacheable. For cacheable the write behavio

Re: [U-Boot] [PATCH] sunxi: Fix PLL1 running at half speed on sun8i

2014-12-28 Thread Hans de Goede
Hi, On 28-12-14 09:56, Ian Campbell wrote: On Sat, 2014-12-27 at 18:02 +0100, Hans de Goede wrote: PLL1 on sun6i / sun8i also has a p factor which divides the clock by 2^p (to the power p). On sun6i the p factor is ignored, but on sun8i it is used and we were setting it to 1, resulting in the C

Re: [U-Boot] [PATCH] sunxi: Fix PLL1 running at half speed on sun8i

2014-12-28 Thread Ian Campbell
On Sat, 2014-12-27 at 18:02 +0100, Hans de Goede wrote: > PLL1 on sun6i / sun8i also has a p factor which divides the clock by > 2^p (to the power p). On sun6i the p factor is ignored, but on sun8i it is > used and we were setting it to 1, resulting in the CPU running at 504 MHz > instead of 1008 M

Re: [U-Boot] [PATCH 5/6] sunxi: video: Give hotplug-detect (hpd) signal some time to show up

2014-12-28 Thread Hans de Goede
Hi, On 24-12-14 19:29, B.R. Oake wrote: On 24/12/14 16:13, Hans de Goede wrote:> On 24-12-14 03:25, B.R. Oake wrote: Would it be acceptable to increase the wait from 300ms to about 1500ms? That means delaying the boot by another 1.2 seconds on all machines which have hdmi without a cable plug