[U-Boot] [PATCH v2] Fix loading freeze when netconsole is active

2013-09-10 Thread Frédéric Leroy
, we just unregister the current network device before booting. It does work because nc_send_packet() verifies that the current network device is not null. Signed-off-by: Frédéric Leroy fr...@starox.org --- Sorry, I was dumb. I don't know why I removed call to eth_halt(). eth_unregister() don't

Re: [U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-09-08 Thread Frédéric Leroy
Le 02/07/2013 00:24, Prafulla Wadaskar a écrit : -Original Message- From: Frédéric Leroy [mailto:fr...@starox.org] Sent: 01 July 2013 18:28 To: u-boot@lists.denx.de Cc: Wolfgang Denk; Prafulla Wadaskar; Albert ARIBAUD; Simon Guinot Subject: [PATCH v3 0/3] arm: add support

[U-Boot] [PATCH] Fix loading freeze when netconsole is active

2013-09-08 Thread Frédéric Leroy
, we just unregister the current network device before booting. It does work because nc_send_packet() verifies that the current network device is not null. Signed-off-by: Frédéric Leroy fr...@starox.org --- common/cmd_bootm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Hello Tom

Re: [U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-08-03 Thread Frédéric Leroy
Hello Prafulla, Le 02/07/2013 00:24, Prafulla Wadaskar a écrit : -Original Message- From: Frédéric Leroy [mailto:fr...@starox.org] Sent: 01 July 2013 18:28 To: u-boot@lists.denx.de Cc: Wolfgang Denk; Prafulla Wadaskar; Albert ARIBAUD; Simon Guinot Subject: [PATCH v3 0/3] arm

[U-Boot] [PATCH] Enable serial console only before booting

2013-07-07 Thread Frédéric Leroy
When netconsole is active, some boards fail to boot. This patch enables only the serial console before control is handed by another operating system. Signed-off-by: Frédéric Leroy fr...@starox.org --- Hello, I am facing the same problem with LaCie kirkwood boards. I took a simple approach

[U-Boot] [PATCH] Enable serial console only before booting

2013-07-07 Thread Frédéric Leroy
When netconsole is active, some boards fail to boot. This patch enables only the serial console before control is handed over to another operating system. Signed-off-by: Frédéric Leroy fr...@starox.org --- Sorry for the noise, I tend to post faster than my own swadow ... Changes in v2

Re: [U-Boot] [PATCH v2 4/4] arm: add machine ID for CloudBox

2013-07-01 Thread Frédéric Leroy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 01/07/2013 00:53, Simon Guinot a écrit : On Sun, Jun 30, 2013 at 12:12:29PM +0200, Frédéric Leroy wrote: CloudBox device is device tree compliant, but older LaCie kernel uses machine ID method to boot. Signed-off-by: Frédéric Leroy fr

[U-Boot] [PATCH v3 3/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Frédéric Leroy
-off-by: Frédéric Leroy fr...@starox.org --- MAINTAINERS | 4 + board/LaCie/cloudbox/Makefile | 46 +++ board/LaCie/cloudbox/cloudbox.c | 94 + board/LaCie/cloudbox/cloudbox.h | 36 board/LaCie/cloudbox/kwbimage.cfg | 167

[U-Boot] [PATCH v3 2/3] LaCie/common: Uses #defines for ethernet phy leds setup

2013-07-01 Thread Frédéric Leroy
The CloudBox device have a different ethernet phy setup than other ns2 devices. Prepare source to use different init registers Signed-off-by: Frédéric Leroy fr...@starox.org --- board/LaCie/common/common.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/board

[U-Boot] [PATCH v3 1/3] lacie_kw: sort #ifdef lists by CONFIG_ identifiers

2013-07-01 Thread Frédéric Leroy
Signed-off-by: Frédéric Leroy fr...@starox.org --- include/configs/lacie_kw.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h index e2b3b21..cac616a 100644 --- a/include/configs/lacie_kw.h

[U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-07-01 Thread Frédéric Leroy
empty misc_init_r() - add Machine ID - Use #define values for ethernet phy init - checkpatch compliant Frédéric Leroy (3): lacie_kw: sort #ifdef lists by CONFIG_ identifiers LaCie/common: Uses #defines for ethernet phy leds setup arm: add support for LaCie CloudBox MAINTAINERS

[U-Boot] [PATCH v2 4/4] arm: add machine ID for CloudBox

2013-06-30 Thread Frédéric Leroy
CloudBox device is device tree compliant, but older LaCie kernel uses machine ID method to boot. Signed-off-by: Frédéric Leroy fr...@starox.org --- arch/arm/include/asm/mach-types.h | 14 ++ board/LaCie/cloudbox/cloudbox.c | 7 ++- include/configs/lacie_kw.h| 1 + 3

[U-Boot] [PATCH v2 3/4] LaCie/common: Fix cloudbox ethernet leds

2013-06-30 Thread Frédéric Leroy
The cloudbox device have a different ethernet phy setup than other ns2 devices. We get initialization value from the GPL LaCie source Signed-off-by: Frédéric Leroy fr...@starox.org --- board/LaCie/common/common.c | 13 ++--- include/configs/lacie_kw.h | 5 + 2 files changed, 15

[U-Boot] [PATCH v2 1/4] lacie_kw: sort #ifdef lists by CONFIG_ identifiers

2013-06-30 Thread Frédéric Leroy
Signed-off-by: Frédéric Leroy fr...@starox.org --- include/configs/lacie_kw.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h index e2b3b21..cac616a 100644 --- a/include/configs/lacie_kw.h

[U-Boot] [PATCH v2 0/4] arm: add support for LaCie CloudBox

2013-06-30 Thread Frédéric Leroy
Frédéric Leroy (4): lacie_kw: sort #ifdef lists by CONFIG_ identifiers arm: add support for LaCie CloudBox LaCie/common: Fix cloudbox ethernet leds arm: add machine ID for CloudBox MAINTAINERS | 4 + arch/arm/include/asm/mach-types.h | 14 board/LaCie/cloudbox

[U-Boot] [PATCH v2 2/4] arm: add support for LaCie CloudBox

2013-06-30 Thread Frédéric Leroy
-off-by: Frédéric Leroy fr...@starox.org --- Changes in v2: - sort unsorted #ifdef list in lacie_kw.h - add entry to MAINTAINERS - remove unused GPIO definitions - remove empty misc_init_r() - add Machine ID - Use #define values for ethernet phy init - checkpatch compliant MAINTAINERS

[U-Boot] [PATCH v2] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-06-26 Thread Frédéric Leroy
calling ext4fs_devread(), we need to cast the sector parameter. Signed-off-by: Frédéric Leroy fr...@starox.org --- Changes in v2 : - Fix warning in disk/part_efi.c by Sascha Silbe - Fix lines over 80 characters - Move LBAFu to LBAFU to avoid camel case common/cmd_disk.c

Re: [U-Boot] [PATCH] Fix block device accesses beyond 2TiB

2013-06-24 Thread Frédéric Leroy
Le 22/06/2013 17:31, Albert ARIBAUD a écrit : Hi Frédéric, However, the patch issues no warning at compile time and fixes the ide block layer. OK -- anyone has any idea why Sasha's patch fixes reading from far blocks but does not fix ex2ls? Frankly, I'd prefer it if the patch fixed it

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk 2TB

2013-06-13 Thread Frédéric Leroy
Le 13/06/2013 13:33, Albert ARIBAUD a écrit : With gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) this patch causes the following warning for all boards: cmd_ide.c:992:4: warning: right shift count = width of type [enabled by default] Amicalement, I will convert every ide block number

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk 2TB

2013-06-13 Thread Frédéric Leroy
Le 13/06/2013 15:21, Albert ARIBAUD a écrit : I guess CONFIG_LBA48 is also broken in common/cmd_ide.c : ulong ide_write(int device, ulong blknr, lbaint_t blkcnt, const void *buffer) { ulong n = 0; unsigned char c; #ifdef CONFIG_LBA48 unsigned char lba48 = 0;

Re: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk 2TB

2013-06-10 Thread Frédéric Leroy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 10/06/2013 15:44, Simon Guinot a écrit : On Mon, Jun 10, 2013 at 03:30:53PM +0200, Frederic Leroy wrote: From: Frédéric Leroy fr...@starox.org For big disk support, we need LBA addressing on 64 bits --- include/configs/lacie_kw.h | 1