Re: [U-Boot] recent tools on FreeBSD

2015-02-08 Thread Jeroen Hofstee
Hello Simon, On 07-02-15 22:02, Simon Glass wrote: If this still fails, you can always build it from source, but needs a bit of patience. Somthing like this should always work: portsnap fetch portsnap extract cd /usr/ports/devel/git make config-recursive make make install Let me know if you s

Re: [U-Boot] [PATCH V2 02/13] lcd: split configuration_get_cmap

2015-02-08 Thread Nikita Kiryanov
Hi Bo, On 02/04/2015 09:25 AM, Bo Shen wrote: Hi Nikita Kiryanov, On 02/03/2015 07:32 PM, Nikita Kiryanov wrote: [..] #ifdef CONFIG_LCD_LOGO void bitmap_plot(int x, int y) diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c index 935ae42..0ce2370 100644 --- a/driver

[U-Boot] [PATCH v3 09/12] common/board_r: allocate bootparams

2015-02-08 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - provide as extra patch, remove from avr32 generic board support Changes in v1: None common/board_r.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/common/board_r.c b/comm

[U-Boot] [PATCH v3 07/12] common/board_f: factor out reserve_stacks

2015-02-08 Thread Andreas Bießmann
Introduce arch_reserve_stacks() to tailor gd->start_addr_sp and gd->irq_sp to the architecture needs. Signed-off-by: Andreas Bießmann --- Changes in v3: - make arch_reserve_stacks weak and adopt ppc/arm versions Changes in v2: - new since v1 Changes in v1: None arch/arm/lib/Makefile |

[U-Boot] [PATCH v3 0/12] avr32: add generic board

2015-02-08 Thread Andreas Bießmann
This is the first attempt to add generic board support to avr32 architecture. It has at least one relevant part for other manual reloc architectures. This series is currently runtime tested on grasshhopper and atstk1002. Waldemar, could you please test the ngw100 device? Boards not converted to ge

[U-Boot] [PATCH v3 08/12] common/board_r: manual relocation for cmd table

2015-02-08 Thread Andreas Bießmann
This is required for architectures still need manual relocation like avr32, m68k microblaze and maybe others. Signed-off-by: Andreas Bießmann Reviewed-by: Simon Glass Tested-by: Michal Simek --- Changes in v3: None Changes in v2: None Changes in v1: None common/board_r.c | 12

Re: [U-Boot] [PATCH v3 07/12] common/board_f: factor out reserve_stacks

2015-02-08 Thread Simon Glass
On 6 February 2015 at 15:06, Andreas Bießmann wrote: > Introduce arch_reserve_stacks() to tailor gd->start_addr_sp and gd->irq_sp to > the architecture needs. > > Signed-off-by: Andreas Bießmann > --- > > Changes in v3: > - make arch_reserve_stacks weak and adopt ppc/arm versions Reviewed-by: Si

[U-Boot] [PATCH v3 10/12] avr32: add generic board support

2015-02-08 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- This version still has the mmu_init_r() in common/board_r. Removing this now is not that easy ... I'd love to get it in as is and change it later to the board_init_f_r() sequence. Changes in v3: - remove unnecessary stack implementation for avr32 - fix bdinfo o

Re: [U-Boot] [RFC PATCH] tools/imagetool: remove linker generated list

2015-02-08 Thread Guilherme Maciel Ferreira
Hi, The code looks fine, and it works on my Linux host. Best regards, 2015-02-07 19:19 GMT-02:00 Andreas Bießmann : > Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated > lists for imagetool which is part of mkimage. It is a nice feature to remove > the annoying register

[U-Boot] MACB TX timeout

2015-02-08 Thread Jason Fu
Hi, I'm working on sama5d36 evaluation kit. From u-boot, I have set mac, ip. When I try to ping a ip address on LAN. I get "TX timeout". I can ping the ip successful with gmac0, but couldn't with macb0. Did anyone find this issue before? Log: U-Boot> ping 192.168.10.11 macb0: PHY present at 0 m

Re: [U-Boot] [PATCH v3 10/12] avr32: add generic board support

2015-02-08 Thread Simon Glass
Hi Andreas, On 6 February 2015 at 15:06, Andreas Bießmann wrote: > Signed-off-by: Andreas Bießmann > --- > This version still has the mmu_init_r() in common/board_r. Removing this now > is > not that easy ... I'd love to get it in as is and change it later to the > board_init_f_r() sequence. >

[U-Boot] [PATCH 3/3] lsxl: switch from bootm to bootz for boot commands

2015-02-08 Thread Michael Walle
Use the bootz command to load zImages in case of any new boot scripts. Only the legacy one will still use bootm. Apart form the fact, that this will simplify the image generation process, it saves one copy of the kernel image: Common practice is to generate an uImage with a loading address of 0x800

[U-Boot] [PATCH 0/3] lsxl: fix and rework boot scripts

2015-02-08 Thread Michael Walle
This fixes an issue which prevents newer kernels from booting. Also add support for the bootz command. I know I'm too late for the merge window (again, really sorry). But these changes are short and only affect one board and only the environment settings. I hope, these can still make it into the 2

[U-Boot] [PATCH 1/3] lsxl: use default load addresses for legacy boot

2015-02-08 Thread Michael Walle
The load addresses for the bootcmd_legacy script were taken from the original bootloader from Buffalo. But newer kernels are too big and the uncompressing will overwrite parts of the initial ramdisk. Therefore, we switch to the load addresses which are also used by the other boot script. Signed-of

[U-Boot] [PATCH 2/3] lsxl: place the dtb below the inital ramdisk

2015-02-08 Thread Michael Walle
The dtb was loaded at a memory address after the initial ramdisk. Thus a large ramdisk would overwrite the dtb. Move it to "ramdisk_start - 64k". 64k should be enough for the device tree blob. Also the kernel documentation arm/Booting suggests to put the dtb before the initial ramdisk. Signed-off-

Re: [U-Boot] MACB TX timeout

2015-02-08 Thread Andreas Bießmann
Hi Jason, On 08.02.15 07:52, Jason Fu wrote: > Hi, > > I'm working on sama5d36 evaluation kit. From u-boot, I have set mac, ip. When > I try to ping a ip address on LAN. I get "TX timeout". I can ping the ip > successful with gmac0, but couldn't with macb0. > Did anyone find this issue before?

Re: [U-Boot] netconsole: USB Ethernet connection dropping with ping or tftpboot

2015-02-08 Thread Jörg Krause
On Fr, 2015-02-06 at 11:06 -0700, Stephen Warren wrote: > On 02/05/2015 06:06 PM, Jörg Krause wrote: > > On Do, 2015-02-05 at 15:23 -0700, Stephen Warren wrote: > >> > >> b) In ci_bounce(), the bounce buffer is only allocated if the > >> user-buffer is already aligned, and if a large-enough bounce

Re: [U-Boot] [PATCH 0/3] lsxl: fix and rework boot scripts

2015-02-08 Thread Luka Perkov
Hi Michael, On Sun, Feb 08, 2015 at 08:06:04PM +0100, Michael Walle wrote: > This fixes an issue which prevents newer kernels from booting. Also add > support for the bootz command. > > I know I'm too late for the merge window (again, really sorry). But these > changes are short and only affect o

[U-Boot] [PATCH v1] tools/imagetool: remove linker script

2015-02-08 Thread Andreas Bießmann
Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated lists for imagetool which is the base for some host tools (mkimage, dumpimage, et al.). Unfortunately some host tool chains do not support the used type of linker scripts. Therefore this commit broke these host-tools for t

[U-Boot] spi and block bits

2015-02-08 Thread Michael Walle
Hi there, I stumbled across a situation where the SPI flash on my board was write protected and i could not unlock it in the bootloader. This is especially unfortunate because the recovery mechanism relies on the bootloader to be able to erase the environment. So any ideas how to fix this? I

Re: [U-Boot] [PATCH] arm: rmobile: Add SILK board support

2015-02-08 Thread Vladimir Barinov
Hi Nobuhiro, I apologize for missed qos.h header file in this commit. Please do find it in upcoming patch. Regards, Vladimir On 06.02.2015 08:10, Nobuhiro Iwamatsu wrote: Hi, Vladimir. Applied, thanks. Best regards, Nobuhiro 2015-01-13 1:17 GMT+09:00 Vladimir Barinov : SILK is an entry

[U-Boot] [PATCH] arm: rmobile: Add missed header file for Silk board

2015-02-08 Thread Vladimir Barinov
This file was missed in the commit https://patchwork.ozlabs.org/patch/427801/ Signed-off-by: Vladimir Barinov --- board/renesas/silk/qos.h | 13 + 1 file changed, 13 insertions(+) create mode 100644 board/renesas/silk/qos.h diff --git a/board/renesas/silk/qos.h b/board/renesas/sil

[U-Boot] [PATCH sunxi-tools v2 2/2] fel: New command for loading U-Boot SPL binaries in eGON format

2015-02-08 Thread Siarhei Siamashka
Now it is possible to load and execute the same U-Boot SPL, as used for booting from SD cards. Just a different delivery method (a USB OTG cable instead of an SD card) for handling exactly the same content. The only argument for this new command is the name of the SPL binary file (with a eGON head

[U-Boot] [PATCH sunxi-tools v2 0/2] Support unified u-boot SPL for SD cards and FEL mode

2015-02-08 Thread Siarhei Siamashka
An updated variant of the older patch http://lists.denx.de/pipermail/u-boot/2015-February/204024.html These patches are not for the u-boot code (unless u-boot decides to cannibalize the 'fel' tool later) but still provide a glue layer between the Allwinner BROM code and the u-boot SPL code. An

[U-Boot] [PATCH sunxi-tools v2 1/2] fel: Split 'aw_fel_get_version' into 'get' and 'print' variants

2015-02-08 Thread Siarhei Siamashka
Now aw_fel_get_version() can get the SoC ID for internal usage from the other functions. And aw_fel_print_version() is used to print the formatted string to stdout. Signed-off-by: Siarhei Siamashka --- Changes in v2: - This code has been isolated into a separate patch. No other changes. fel.c

Re: [U-Boot] [PATCH v2 12/19] dm: at91: snapper: Move driver model CONFIGs to Kconfig

2015-02-08 Thread Masahiro Yamada
Hi Simon, On Thu, 5 Feb 2015 21:41:43 -0700 Simon Glass wrote: > Remove driver model CONFIGs from the board config headers and use Kconfig > instead. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/arm/include/asm/arch-at91/at91_pio.h | 12 > configs/snap

Re: [U-Boot] [PATCH V2 02/13] lcd: split configuration_get_cmap

2015-02-08 Thread Bo Shen
Hi Nikita Kiryanov, On 02/08/2015 07:35 PM, Nikita Kiryanov wrote: Hi Bo, On 02/04/2015 09:25 AM, Bo Shen wrote: Hi Nikita Kiryanov, On 02/03/2015 07:32 PM, Nikita Kiryanov wrote: [..] #ifdef CONFIG_LCD_LOGO void bitmap_plot(int x, int y) diff --git a/drivers/video/atmel_hlcdfb.c b/dr

Re: [U-Boot] [PATCH v2 04/19] dm: Expand and complete Kconfig in drivers/

2015-02-08 Thread Masahiro Yamada
Hi Simon, On Thu, 5 Feb 2015 21:41:35 -0700 Simon Glass wrote: > Expand the help messages for each driver. Add missing Kconfig for I2C, > SPI flash and thermal. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move subsystem Kconfigs out of drivers/core > - Split out patch to exp

Re: [U-Boot] [PATCH v2 03/19] dm: Add Kconfig for driver/demo

2015-02-08 Thread Masahiro Yamada
On Thu, 5 Feb 2015 21:41:34 -0700 Simon Glass wrote: > Add a suitable Kconfig for this directory. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Split out patch to add Kconfig for driver/demo Reviewed-by: Masahiro Yamada ___ U-Boo

Re: [U-Boot] [PATCH v2 06/19] dm: test: Add a Kconfig file

2015-02-08 Thread Masahiro Yamada
On Thu, 5 Feb 2015 21:41:37 -0700 Simon Glass wrote: > Add a file to control driver model test features. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Split out patch to add a Kconfig file for test/ Reviewed-by: Masahiro Yamada __

Re: [U-Boot] [PATCH 17/17] sunxi: Hookup OTG USB controller support

2015-02-08 Thread Siarhei Siamashka
On Sat, 31 Jan 2015 04:54:47 +0200 Siarhei Siamashka wrote: > On Sun, 11 Jan 2015 20:34:55 +0100 > Hans de Goede wrote: > > > Hookup OTG USB controller support and enable the otg controller + USB-keyb > > on various tablets. > > > > This allows tablet owners to interact with u-boot without nee

Re: [U-Boot] [PATCH v2 07/19] dm: Add CMD_DM and CMD_DEMO to Kconfig

2015-02-08 Thread Masahiro Yamada
On Thu, 5 Feb 2015 21:41:38 -0700 Simon Glass wrote: > Add Kconfig settings for these two options. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Fix 'procides' typo > - Split out patch to add CMD_DM and CMD_DEMO to Kconfig I still doubt if these two commands are "Device acces

[U-Boot] Please pull u-boot-x86

2015-02-08 Thread Simon Glass
Hi Tom, This is the MinnowMax board support patches and also the Quark support. The following changes since commit 7f641d53bbb3a426a3bfb132d8346153e86a9d08: Merge branch 'master' of git://git.denx.de/u-boot-ubi (2015-02-04 13:30:00 -0500) are available in the git repository at: http://git.denx

Re: [U-Boot] [PATCH v3 10/12] avr32: add generic board support

2015-02-08 Thread Simon Glass
Hi Andreas, On 8 February 2015 at 14:21, Andreas Bießmann wrote: > > Hi Simon, > > On 07.02.15 01:28, Simon Glass wrote: > > On 6 February 2015 at 15:06, Andreas Bießmann > > wrote: > >> Signed-off-by: Andreas Bießmann > >> --- > >> This version still has the mmu_init_r() in common/board_r. Rem

Re: [U-Boot] [PATCH sunxi-tools] WIP: fel: Add a command for loading U-Boot SPL binaries in eGON format

2015-02-08 Thread Siarhei Siamashka
On Sat, 07 Feb 2015 10:21:46 +0100 Hans de Goede wrote: > Hi, > > On 02/07/2015 04:17 AM, Siarhei Siamashka wrote: > > On Thu, 5 Feb 2015 22:49:39 -0700 > > Simon Glass wrote: > > > >> Hi Siarhei, > >> > >> On 5 February 2015 at 02:36, Siarhei Siamashka > >> wrote: > >>> !!! Works only on All

Re: [U-Boot] [PATCH v2 13/19] dm: omap3: Move driver model CONFIGs to Kconfig

2015-02-08 Thread Masahiro Yamada
Hi Simon, On Thu, 5 Feb 2015 21:41:44 -0700 Simon Glass wrote: > Remove driver model CONFIGs from the board config headers and use Kconfig > instead. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/arm/cpu/armv7/omap3/Kconfig | 9 + > board/compulab/cm

[U-Boot] spi: ftssp010_spi: Use to_ftssp010_spi() to ensure free correct address

2015-02-08 Thread Axel Lin
Don't assume slave is always the first member of struct ftssp010_spi. Use to_ftssp010_spi() to ensure free correct address in spi_free_slave(). Signed-off-by: Axel Lin --- drivers/spi/ftssp010_spi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/spi/ftssp010_spi.c

Re: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

2015-02-08 Thread Stefan Roese
Hi, (added Marek to Cc) On 07.02.2015 01:11, Simon Glass wrote: Hi Dinh, On 6 February 2015 at 16:36, Dinh Nguyen wrote: Hi Simon, On 02/05/2015 10:41 PM, Simon Glass wrote: Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: Simon Glass ---