Re: [U-Boot] [PATCH] MIPS: Add initial support for EMMA3SL/LP

2012-04-03 Thread Shinya Kuribayashi
On Sun, Apr 1, 2012 at 4:40 AM, Marek Vasut marek.va...@gmail.com wrote: This patch adds initial support for EMMA3SL/LP board. Network and USB support will be added as follow up patches. Signed-off-by: Serge Ziryukin ftrvxm...@gmail.com Would you care to resubmit updated version of this

Re: [U-Boot] [PATCH 0/3] MIPS: fixes for 2012.04-rc1

2012-04-03 Thread Shinya Kuribayashi
this series collects the bugfix patches from the open patches at patchwork delegated to you. Only these patches should be merged for the release. The other patches are superseeded for now. The series is rebased against v2012.04-rc1 and needs your patch

Re: [U-Boot] [PATCH 2/3] MIPS: fix inconsistency in config option for cache operation mode

2012-04-03 Thread Shinya Kuribayashi
On Wed, Apr 4, 2012 at 1:09 AM, Marek Vasut ma...@denx.de wrote: I only changed start.S and forgot to change this code part too. That is why I created this patch to fix this inconsistency. I see ... so this fixes some other commit. What was Shinya-san's concern, that you only changed this

Re: [U-Boot] [PATCH] MIPS: fix endianess handling

2011-12-04 Thread Shinya Kuribayashi
On 12/4/11 9:02 PM, Daniel Schwierzeck wrote: diff --git a/boards.cfg b/boards.cfg index c83d861..2cd917e 100644 --- a/boards.cfg +++ b/boards.cfg @@ -324,13 +324,13 @@ dbau1000 mipsmips32 dbau1x00- dbau1100 mipsmips32

Re: [U-Boot] [PATCH 05/11] MIPS: add sleep handler for slave CPUs in multi-processor systems

2011-11-28 Thread Shinya Kuribayashi
On 11/24/11 10:57 PM, Daniel Schwierzeck wrote: diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips/cpu/mips32/start.S index 9c1b2f7..b6cb4be 100644 --- a/arch/mips/cpu/mips32/start.S +++ b/arch/mips/cpu/mips32/start.S @@ -224,6 +224,14 @@ reset: setup_c0_status_reset + /* Set

Re: [U-Boot] [PATCH 08/11] MIPS: add additional reserved vectors for MIPS24K and MIPS34K cores

2011-11-28 Thread Shinya Kuribayashi
On 11/24/11 10:57 PM, Daniel Schwierzeck wrote: @@ -206,11 +206,28 @@ _start: RVECENT(romReserved,125) RVECENT(romReserved,126) RVECENT(romReserved,127) + XVECENT(romExcHandle,0x400); + RVECENT(romReserved,129); + RVECENT(romReserved,130); +

[U-Boot] [PATCH v8 0/3] those series patches for add ben nanonote board

2011-10-12 Thread Shinya Kuribayashi
Hi, v8 -- Fix all checkpatch errors/warnings except for known false positives. I'll make a pull-request shortly. total: 0 errors, 0 warnings, 2105 lines checked jz4740-v8/0001-MIPS-Ingenic-XBurst-Jz4740-processor-support.patch has no obvious style problems and is ready for submission.

[U-Boot] [PATCH v8 2/3] MIPS: Jz4740: Add NAND driver

2011-10-12 Thread Shinya Kuribayashi
for 2GiB NAND chip mounted in Qi LB60. We'll bring up boot-from-NAND support in nand_spl/ in the future. Signed-off-by: Xiangfu Liu xian...@openmobilefree.net Acked-by: Daniel z...@ingenic.cn Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Changes since v7: * Fix checkpatch errors/warnings

[U-Boot] [PATCH v8 3/3] MIPS: Jz4740: Add qi_lb60 board support

2011-10-12 Thread Shinya Kuribayashi
package named xburst-tools. Signed-off-by: Xiangfu Liu xian...@openmobilefree.net Acked-by: Daniel z...@ingenic.cn Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Changes since v7: * Fix checkpatch errors/warnings Changes since v6: * nanonote.h config files is folded into qi_lb60.h

[U-Boot] [GIT PULL] MIPS patch

2011-10-12 Thread Shinya Kuribayashi
Hi Wolfgang, please pull the following patchset from Xiangfu introducing NanoNote initial support. The device is one of most easy-to-get MIPS devices and active people and communities are there in the world. The Linux kernel also has been supporting it since v2.6.36. It's about time to support

[U-Boot] [PATCH v7 0/3] those series patches for add ben nanonote board

2011-10-02 Thread Shinya Kuribayashi
Hi, Here's seventh patchset for Ben NanoNote initial support. I've been working with Xiangfu past six months to polish v6 patches. We have addressed all comments from Wolfgang and Scott so far, drop nand_spl and USB_boot functions to make the initial bring-up minimum and simple. I think the

[U-Boot] [PATCH v7 2/3] MIPS: Jz4740: Add NAND driver

2011-10-02 Thread Shinya Kuribayashi
for 2GiB NAND chip mounted in Qi LB60. We'll bring up boot-from-NAND support in nand_spl/ in the future. Signed-off-by: Xiangfu Liu xian...@openmobilefree.net Acked-by: Daniel z...@ingenic.cn Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Changes since v6: * Remove NAND-boot stuff. Those

[U-Boot] [PATCH v7 3/3] MIPS: JZ4740: Add qi_lb60 board support

2011-10-02 Thread Shinya Kuribayashi
package named xburst-tools. Signed-off-by: Xiangfu Liu xian...@openmobilefree.net Acked-by: Daniel z...@ingenic.cn Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Changes since v6: * nanonote.h config files is folded into qi_lb60.h * Following configs are deleted

Re: [U-Boot] Is it necessary that uboot(mips) should read status register($12) before setting it

2011-09-30 Thread Shinya Kuribayashi
On 09/28/2011 06:09 PM, RdrouterUboot Router wrote: 2.Is it right?I can delete this code mfc0 $10,$12 from uboot. You can delete that MFC0 instruction in this case and save one word. Presumably the original code used to update the Status register value in read-modify-write manner, and at some

[U-Boot] [GIT PULL] MIPS patche

2011-09-02 Thread Shinya Kuribayashi
Hi Wolfgang, please pull the following patch from Yao, thanks in advance. The following changes since commit a1118d60423c1fe25afc9df9015f72739f96fd67: MPC8xx: fix build problem for ETX094 board (2011-08-31 22:38:20 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH v3] mips32: fix wrong loop bound in flush_cache()

2011-08-11 Thread Shinya Kuribayashi
Hi, On 08/10/2011 04:11 PM, Yao Cheng wrote: The issue is found when calling flush_cache() with zero size argument. The bound of loop is miscalculated in this case and flush_cache() enters a wrong flushing loop. To fix this issue I skipped the operations when size is found to be zero. It

Re: [U-Boot] Interrupt handler in U-Boot for MIPS based platform

2011-05-27 Thread Shinya Kuribayashi
On 5/27/11 2:44 AM, Pandurang Kale wrote: Has any one implemented it for MIPS based platform? If not, any hint to get it working. https://www.ibm.com/developerworks/mydeveloperworks/blogs/ddou/entry/implementing_mips_interrupts_for_u_boot28?lang=en

[U-Boot] [GIT PULL] MIPS patches

2011-05-09 Thread Shinya Kuribayashi
Daniel Schwierzeck (1): MIPS: Introduce --gc-sections for MIPS Shinya Kuribayashi (3): MIPS: Remove mips_cache_lock() feature MIPS: Coding style cleanups on common assembly files MIPS: Move timer code to arch/mips/cpu/$(CPU)/ arch/mips/config.mk |2 + arch

Re: [U-Boot] [PATCH] MIPS: Introduce --gc-sections for MIPS

2011-05-09 Thread Shinya Kuribayashi
...@googlemail.com Cc: Shinya Kuribayashi skuri...@pobox.com Cc: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de Cc: Thomas Lange tho...@corelatus.se Cc: Vlad Lungu vlad.lu...@windriver.com --- Tested with ELDK-4.1 and self-built gcc-4.3.3/binutils-2.19.1 on my boards. I could not test

[U-Boot] [PATCH] MIPS: Move timer code to arch/mips/cpu/$(CPU)/

2011-05-03 Thread Shinya Kuribayashi
registers as time keeping resources. And some MIPS variant processors might come with different hardware specs with genuine MIPS32 CP0 registers. This patch makes each $(CPU) can have its own timer code. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- arch/mips/cpu/mips32/Makefile

Re: [U-Boot] [PATCH] MIPS: Introduce --gc-sections for MIPS

2011-04-15 Thread Shinya Kuribayashi
: Shinya Kuribayashi skuri...@pobox.com Cc: Wolfgang Denk w...@denx.de Cc: Stefan Roese s...@denx.de Cc: Thomas Lange tho...@corelatus.se Cc: Vlad Lungu vlad.lu...@windriver.com --- Tested with ELDK-4.1 and self-built gcc-4.3.3/binutils-2.19.1 on my boards. I could not test the other boards so

Re: [U-Boot] [PATCH 2/2] MIPS: Coding style cleanups on common assembly files

2011-04-12 Thread Shinya Kuribayashi
On 04/12/2011 12:35 AM, Daniel Schwierzeck wrote: diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips/cpu/mips32/start.S index 0a9d9d5..f1e3447 100644 --- a/arch/mips/cpu/mips32/start.S +++ b/arch/mips/cpu/mips32/start.S @@ -62,11 +62,11 @@ .globl _start .text _start: -

[U-Boot] [MIPS 0/2] Trivial cleanups

2011-04-09 Thread Shinya Kuribayashi
Two boring patches for common MIPS area. Build tested on gth2, and verified no logical changes are incorporated. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2] MIPS: Remove mips_cache_lock() feature

2011-04-09 Thread Shinya Kuribayashi
As requested in commit e1390801a3c1a2b6d12fa90be368efc19f5b9bfd ([MIPS] Request for the 'mips_cache_lock()' removal), such feature is no longer needed for current MIPS implementation of U-Boot, and no one in the tree use it for years. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- arch

[U-Boot] [PATCH 2/2] MIPS: Coding style cleanups on common assembly files

2011-04-09 Thread Shinya Kuribayashi
-by: Shinya Kuribayashi skuri...@pobox.com --- arch/mips/cpu/mips32/cache.S | 81 ++--- arch/mips/cpu/mips32/start.S | 117 +++-- 2 files changed, 92 insertions(+), 106 deletions(-) diff --git a/arch/mips/cpu/mips32/cache.S b/arch/mips

[U-Boot] [GIT PULL] MIPS patches

2011-04-02 Thread Shinya Kuribayashi
Hi, Please pull the MIPS updates, thanks in advance. --- 8 --- The following changes since commit 67a490d60d70f2b01d55976440ba30154af96965: atmel_nand: don't require CONFIG_SYS_NAND_ENABLE_PIN (2011-04-01 14:49:08 -0500) are available in the git repository at:

[U-Boot] MIPS: tb0229 build error caused by asm/ppc4xx.h reference

2011-03-30 Thread Shinya Kuribayashi
Hi Komiya-san, Since the commit below, tb0229 target has been broken for months because ppc4xx.h and ppc405.h can not be easily included as used to by MIPS ports any more. commit b36df561154bdd0a41bb77e09c5575ca2cf48013 Author: Stefan Roese s...@denx.de Date: Thu Sep 9 19:18:00 2010 +0200

Re: [U-Boot] [PATCH v3 0/5] MIPS: Refactoring and cleanup of CPU and SoC code

2011-03-30 Thread Shinya Kuribayashi
On 03/29/2011 01:33 AM, daniel.schwierz...@googlemail.com wrote: This patch series refactors the Mips CPU directory and put all current code into an own mips32 subdirectory. Furthermore the SoC specific code of IncaIP and Au1x00 is moved to separate SoC subdirectories. The support for Purple

Re: [U-Boot] [PATCH v2 3/5] MIPS: Optimize the setup of endianess and CPU optimization flags

2011-03-28 Thread Shinya Kuribayashi
Sorry for being late, On 03/24/2011 01:37 AM, Daniel Schwierzeck wrote: 2011/3/23 Shinya Kuribayashi skuri...@pobox.com: Following changes have been introduced to ld in binutils-2.16: [...] I'd claim that all toolchains with binutils lesser than 2.16 are not working anymore. [...] I suggest

Re: [U-Boot] [PATCH v2 3/5] MIPS: Optimize the setup of endianess and CPU optimization flags

2011-03-28 Thread Shinya Kuribayashi
On 3/29/11 12:27 AM, Daniel Schwierzeck wrote: Ok if we drop toolchain support for binutils lesser than 2.16 than I can simplify the this patch to one line because the assembler check is obsolete too: MIPSFLAGS = $(call cc-option,-march=mips32r2) Do you agree? It sounds you're

Re: [U-Boot] [PATCH v2 3/5] MIPS: Optimize the setup of endianess and CPU optimization flags

2011-03-23 Thread Shinya Kuribayashi
On 03/21/2011 09:42 PM, Daniel Schwierzeck wrote: I did some researching and testing with ELDK-4.1, ELDK-4.0 and ELDK-3.1.1. Thanks, much appreciated. In ELDK-3.1.1 we have: - mips_4KC-gcc (GCC) 3.3.3 (DENX ELDK 3.1.1 3.3.3-9) - GNU assembler 2.14 20030612 Therefore mips32r2 is already

Re: [U-Boot] [PATCH v2 3/5] MIPS: Optimize the setup of endianess and CPU optimization flags

2011-03-17 Thread Shinya Kuribayashi
On 03/16/2011 11:41 PM, Daniel Schwierzeck wrote: Is my approach with -march acceptable? This is more important to me for supporting new SoCs with 24k and 34k CPU cores. I think its a clean approach to use a default Mips32 architecture optimization plus a per CPU optimization configured in the

Re: [U-Boot] [PATCH v2 3/5] MIPS: Optimize the setup of endianess and CPU optimization flags

2011-03-16 Thread Shinya Kuribayashi
On 3/15/11 10:20 PM, Daniel Schwierzeck wrote: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/81572/focus=81735 sorry, I missed that discussion You can find a lot more in the list archive. Do we need this endianess flag stuff at all? Each toolchain that is built with a specific

Re: [U-Boot] [PATCH v2 3/5] MIPS: Optimize the setup of endianess and CPU optimization flags

2011-03-14 Thread Shinya Kuribayashi
On 3/15/11 6:14 AM, daniel.schwierz...@googlemail.com wrote: Replace the current MIPSFLAGS code by cc-option macro and use -march=mips32r2 as default optimization level for all Mips32 CPUs. Replace the endianess determination code from toolchain prefix by a more generic one inspired by the

Re: [U-Boot] [PATCH v6 1/7] those files are jz4740 base files

2011-03-14 Thread Shinya Kuribayashi
On 02/28/2011 03:57 PM, Xiangfu Liu wrote: diff --git a/arch/mips/cpu/xburst/jz_serial.c b/arch/mips/cpu/xburst/jz_serial.c new file mode 100644 index 000..65ce993 --- /dev/null +++ b/arch/mips/cpu/xburst/jz_serial.c [...] +/* + * serial_init - initialize a channel + * + * This

Re: [U-Boot] [PATCH v6 2/7] this is jz4740 head file

2011-03-14 Thread Shinya Kuribayashi
On 02/28/2011 03:57 PM, Xiangfu Liu wrote: this is jz4740 base head file Signed-off-by: Xiangfu Liu xian...@openmobilefree.net Acked-by: Daniel z...@ingenic.cn --- Changes for v2: - remove useless code, prepare for using io.h - delete all base + offset. using C struct

Re: [U-Boot] [PATCH v6 1/7] those files are jz4740 base files

2011-03-14 Thread Shinya Kuribayashi
On 02/28/2011 03:57 PM, Xiangfu Liu wrote: arch/mips/cpu/xburst/Makefile| 50 +++ arch/mips/cpu/xburst/config.mk | 33 ++ arch/mips/cpu/xburst/cpu.c | 160 arch/mips/cpu/xburst/jz4740.c| 264 arch/mips/cpu/xburst/jz_serial.c | 114 +

Re: [U-Boot] [PATCH v6 7/7] modify files for ben nanonote board

2011-03-14 Thread Shinya Kuribayashi
On 02/28/2011 03:57 PM, Xiangfu Liu wrote: diff --git a/Makefile b/Makefile index dc2e3d8..758daf2 100644 --- a/Makefile +++ b/Makefile @@ -1093,6 +1093,19 @@ smdk6400_config: unconfig @echo CONFIG_NAND_U_BOOT = y $(obj)include/config.mk

Re: [U-Boot] [RFC PATCH 2/6] Mips: Purple: Adapt u-boot.lds to changed CPU directory layout

2011-03-12 Thread Shinya Kuribayashi
On 3/9/11 10:16 PM, daniel.schwierz...@googlemail.com wrote: This fixes a linker error introduced by the previous commit. If so, such fix should be made along with that previous commit. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [RFC PATCH 1/6] Mips: Move content of arch/mips/cpu to arch/mips/cpu/mips32

2011-03-12 Thread Shinya Kuribayashi
On 3/9/11 10:16 PM, daniel.schwierz...@googlemail.com wrote: All current CPUs and SoCs are based on Mips32 arch. The complete Is that true? What about purple SoC? IIUC It's based on MIPS 5Kc and capable of 64-bit, which MIPS32 is 32-bit only architecture. code resides in the global

Re: [U-Boot] [RFC PATCH 0/6] Mips: Refactoring of CPU and SoC code

2011-03-12 Thread Shinya Kuribayashi
On 3/9/11 10:16 PM, daniel.schwierz...@googlemail.com wrote: This patch series refactors the Mips CPU directory and put all current code into an own mips32 subdirectory. Furthermore the SoC specific code of IncaIP, Purple and Au1x00 is moved to separate SoC subdirectories. Personally I'm not a

Re: [U-Boot] [RFC PATCH 0/6] Mips: Refactoring of CPU and SoC code

2011-03-12 Thread Shinya Kuribayashi
By the way, please use MIPS: next time, not Mips: Thanks in advance, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [GIT PULL] MIPS patches

2011-02-11 Thread Shinya Kuribayashi
driver stub Shinya Kuribayashi (5): cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intended MIPS: Move Alchemy Au1x00 based boards to boards.cfg MIPS: Move Qemu MIPS target to boards.cfg MIPS: Move Inca-IP targets to boards.cfg MIPS: Move VCT boards

Re: [U-Boot] [PATCH 2/3] MIPS: Purple: Fix multiple definition error on final linking of u-boot binary

2011-02-05 Thread Shinya Kuribayashi
On 02/03/2011 08:59 PM, daniel.schwierz...@googlemail.com wrote: The linker of recent toolchains complains about multiple definitions on final linking of u-boot binary. This patch removes all redundant object files from u-boot.lds those are already added to .text section by the linker.

Re: [U-Boot] [PATCH v2 0/3] MIPS: Fix failed run of MAKEALL mips script

2011-02-05 Thread Shinya Kuribayashi
On 02/03/2011 10:17 PM, daniel.schwierz...@googlemail.com wrote: Currently MAKEALL mips covers 21 boards and 15 of them have compile errors with gcc-4.3.3. This patch series fixes these boards. Changes for v2: - make brace style consistent in vct.h - delete unused board/dbau1x00/flash.c

[U-Boot] Move MIPS boards to boards.cfg

2011-02-05 Thread Shinya Kuribayashi
Along with applying Daniel's patches, I prepared these misc patches, trying to move all MIPS boards left in the top Makefile to boards.cfg. Compile tested using GCC4.4-based toolchain. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 1/5] cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intended

2011-02-05 Thread Shinya Kuribayashi
commit 8bde63eb3f79d68f693201528dafc8ae7aa087de ([MIPS] Rename Alchemy processor configs into CONFIG_SOC_*) forgot to pick up this one. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- common/cmd_ide.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/common

[U-Boot] [PATCH 2/5] MIPS: Move Alchemy Au1x00 based boards to boards.cfg

2011-02-05 Thread Shinya Kuribayashi
CONFIG_GTH2 is already provided by configs/gth2.h, so we don't generate it using the options fields in boards.cfg. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Makefile | 39 --- boards.cfg |7 +++ 2 files changed, 7 insertions(+), 39

[U-Boot] [PATCH 3/5] MIPS: Move Qemu MIPS target to boards.cfg

2011-02-05 Thread Shinya Kuribayashi
CONFIG_QEMU_MIPS is already provided by configs/qemu-mips.h, so we don't generate it using the options fields in boards.cfg. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Makefile |5 - boards.cfg |1 + 2 files changed, 1 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 4/5] MIPS: Move Inca-IP targets to boards.cfg

2011-02-05 Thread Shinya Kuribayashi
At the same time, fix up CPU_CLOCK_RATE to have the CONFIG_ prefix to work with boards.cfg. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Makefile | 13 - board/incaip/lowlevel_init.S |2 +- boards.cfg |4 include

[U-Boot] [PATCH 5/5] MIPS: Move VCT boards to boards.cfg

2011-02-05 Thread Shinya Kuribayashi
Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Makefile | 32 boards.cfg | 12 2 files changed, 12 insertions(+), 32 deletions(-) diff --git a/Makefile b/Makefile index 3fe0596..6133160 100644 --- a/Makefile +++ b/Makefile @@ -1092,38

Re: [U-Boot] [PATCH v5 0/8] those series patches for add ben nanonote board

2011-01-10 Thread Shinya Kuribayashi
Thanks for keeping on working on jz4740 patchset. On 01/10/2011 01:18 AM, Xiangfu Liu wrote: Hi Wolfgang those patches are for add xburst jz4740 and Ben NanoNote(named qi_lb60) to U-Boot some info about xburst jz4740: the xburst jz4740 is recently added to linux 2.6.36 and it's

Re: [U-Boot] [RFC 0/2] Add support for bootstrap stage and compressed U-Boot image

2010-12-03 Thread Shinya Kuribayashi
Hi, On 11/30/2010 11:35 PM, Luigi 'Comio' Mantellini wrote: Look the following benchmark (qemu-mips board): U-Boot Vanilla 179600 bytes u-boot.bin Bootstrap code w/o compresion (memcpy) 189224 bytes u-boot-bootstrap.bin -- size 105% Bootstrap code using BZIP2 compression 114388

Re: [U-Boot] [RFC 0/2] Add support for bootstrap stage and compressed U-Boot image

2010-12-03 Thread Shinya Kuribayashi
On 12/04/2010 11:32 AM, Shinya Kuribayashi wrote: Once this bootstrap feature approved as general U-Boot feature, I'd like to take MIPS-related changes. Thanks, Ralf Not Ralf! Needs two cups of coffee to wake up... Shinya ___ U-Boot

Re: [U-Boot] [STATUS] Using Patchwork

2010-11-19 Thread Shinya Kuribayashi
On 11/18/10 9:54 PM, Wolfgang Denk wrote: the U-Boot Patchwork setup is now mostly complete (except that Shinya Kuribayashi has not registered yet). Sorry I'm late, registered as skuribay. By the way, maybe good opportunity to drop the leading [U-Boot] tag from Subject: line? Still slightly

Re: [U-Boot] [PATCH 1/5] those files are jz4740 base files

2010-11-14 Thread Shinya Kuribayashi
On 11/11/2010 12:37 PM, Xiangfu Liu wrote: From: Xiangfu Liu xian...@sharism.cc If possible, please describe what Jz4740 SoC is, an overview of JzRISC processor, where this patch is from or where to get the original work, and so on. It also would be nice we could have Signed-off-by: or

Re: [U-Boot] MIPS relocation?

2010-10-04 Thread Shinya Kuribayashi
discussions precisely. Any MIPS tool chain experts out there to try and follow-up for MIPS what Albert is doing for ARM right now? I'll have a look at what's discussed, then think about what to do. -- Shinya Kuribayashi Renesas Electronics ___ U-Boot

[U-Boot] [GIT PULL] MIPS patch

2010-09-03 Thread Shinya Kuribayashi
The following changes since commit bd2313078114c4b44c4a5ce149af43bcb7fc8854: Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master (2010-08-18 21:16:35 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-mips.git master Xiangfu Liu (1): MIPS: update

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-31 Thread Shinya Kuribayashi
On 8/31/2010 10:36 AM, Shinya Kuribayashi wrote: As said in the previous mail the patch is tentative and won't work with ELDK, and as fas as I could see nothing has been changed since my version. So I'm overlooking something, will have to think about it. Oh, I remember now. The aim

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Shinya Kuribayashi
On 8/30/10 6:53 PM, Xiangfu Liu wrote: can we apply those patch to MIPS-branch first?? [PATCH 1/2] update the MIPS u-boot.lds I'll push 1/2 to u-boot-mips and request pull later. [PATCH 2/2] change the way of build little endian board but this 2/2 looks problematic. As said in the previous

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Shinya Kuribayashi
On 8/30/10 10:43 PM, Xiangfu Liu wrote: [PATCH 2/2] change the way of build little endian board but this 2/2 looks problematic. As said in the previous mail the patch is tentative and won't work with ELDK, and as fas as I could see nothing has been changed since my version. Let me make

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Shinya Kuribayashi
with ELDK, and as fas as I could see nothing has been changed since my version. So I'm overlooking something, will have to think about it. -- Shinya Kuribayashi Renesas Electronics ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Shinya Kuribayashi
On 8/31/2010 10:00 AM, Xiangfu Liu wrote: xian...@openmobilefree:~/u-boot/u-boot.git$ file u-boot u-boot: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, not stripped My bad sorry. Could you provide output from readelf? $ readelf u-boot -- Shinya Kuribayashi

Re: [U-Boot] [PATCH 00/26] arm: add full relocation / cache support

2010-08-13 Thread Shinya Kuribayashi
On 8/13/10 5:17 AM, Wolfgang Denk wrote: http://elinux.org/CELF_Project_Proposal/Rework_ARM_architecture_support_in_U-Boot Yes, this is the one. [snip[ If you read the thread you can see that both Heikos tests and other testers who tried that code see dramatic speed improvements due to

Re: [U-Boot] [PATCH 00/26] arm: add full relocation / cache support

2010-08-12 Thread Shinya Kuribayashi
On 08/12/2010 03:15 AM, Heiko Schocher wrote: This patch series add full relocation and cache support for arm based boards. I test this for arm1136, arm_cortexa8 and arm926ejs based boards. Relocation support: !! This change is not compatible to old code !! If you want to compile in

Re: [U-Boot] [PATCH 00/26] arm: add full relocation / cache support

2010-08-12 Thread Shinya Kuribayashi
On 08/12/2010 09:50 PM, Shinya Kuribayashi wrote: It would be gratefull if someone could expalain a bit about this big change. What's the primary motivation for full relocation? Forgot to mention; the reason why I'd like to know is, because I'm an ARM newbie, and interested in such topics

Re: [U-Boot] [PATCH] update the MIPS u-boot.lds

2010-08-03 Thread Shinya Kuribayashi
(_start) SECTIONS According to MAKEALL script, pb1000_config is only used in Little- endian, so its default endian should be set to LE as well. I too missed this point in my previous patch. With fixing above nits, feel free to add: Acked-by: Shinya Kuribayashi skuri...@pobox.com Wolfgang

Re: [U-Boot] [PATCH] update the MIPS u-boot.lds

2010-08-03 Thread Shinya Kuribayashi
On 08/04/2010 12:29 AM, Xiangfu Liu wrote: On 08/03/2010 07:36 PM, Shinya Kuribayashi wrote: Aconfccording to MAKEALL script, pb1000_ig is only used in Little- endian, so its default endian should be set to LE as well. I too missed this point in my previous patch. thanks. You still forgot

Re: [U-Boot] [PATCH] [mips] add $(ENDIANNESS) option when link hello_world example

2010-07-26 Thread Shinya Kuribayashi
On 7/27/10 12:06 AM, Xiangfu Liu wrote: what about split this patch to two: one is all *.lds files, the other one is for the argument, Sounds good. I have one question here. if we decete the board cpu by CONFIG_CPU_LITTLE_ENDIAN. why we need check the toolchina again. The answer is

Re: [U-Boot] [PATCH] [mips] add $(ENDIANNESS) option when link hello_world example

2010-07-21 Thread Shinya Kuribayashi
On 07/21/2010 07:27 PM, Xiangfu Liu wrote: form the document about OUTPUT_FORMAT(default, big, little) If neither -EB nor -EL are used, output format will be the first argument. If -EB is used, the output format will be the second argument. If -EL is used, the output format will be the third

[U-Boot] [GIT PULL] MIPS updates

2010-01-20 Thread Shinya Kuribayashi
://git.denx.de/u-boot-mips.git master Shinya Kuribayashi (1): MIPS: qemu_mips: Import asm/unaligned.h from the Linux kernel include/asm-mips/unaligned.h | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 include/asm-mips/unaligned.h

[U-Boot] [PATCH 1/2] MIPS: qemu_mips: Import asm/unaligned.h from the Linux kernel

2010-01-10 Thread Shinya Kuribayashi
make[1]: Leaving directory `/home/skuribay/git/u-boot.git/lib_generic' make: *** [lib_generic/libgeneric.a] Error 2 Reported-by: Himanshu Chauhan himan...@symmetricore.com Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- include/asm-mips/unaligned.h | 26 ++ 1 files

[U-Boot] [PATCH 2/2] MIPS: lib_mips/board.c: Fix undefined getenv_IPaddr build error

2010-01-10 Thread Shinya Kuribayashi
have CONFIG_CMD_NET and suffer from this issue at this moment. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Note that arm/avr32/i386/m68k/nios/nios2/ppc/sparc have the same issue, while blackfin/microblaze/sh don't. lib_mips/board.c |2 ++ 1 files changed, 2 insertions(+), 0

[U-Boot] Flex-OneNAND related build breakage (was Re: MIPS: build status (2010.01))

2010-01-10 Thread Shinya Kuribayashi
Hi Rohit, Amul, and Kyungmin (Samsung people), Shinya Kuribayashi wrote: Build warnings / errors could be categorized into five groups: 3) env_onenand.c: CONFIG_ENV_{ADDR,SIZE}_FLEX undeclared build error In the following commit, Flex-OneNAND support was introduced: commit

[U-Boot] MIPS: build status (2010.01)

2010-01-10 Thread Shinya Kuribayashi
Hi, here's a build summary of the latest git with GCC 4.4.1: $ ./MAKEALL mips mips_el - SUMMARY Boards compiled: 23 Boards with warnings or errors: 11 ( qemu_mips vct_platinum_onenand vct_platinum_onenand_small vct_platinumavc_onenand

Re: [U-Boot] Flex-OneNAND related build breakage (was Re: MIPS: build status (2010.01))

2010-01-10 Thread Shinya Kuribayashi
On 1/11/10 1:09 PM, AMIT KUMARSHARMA wrote: HI Shinya, Please go thorugh below link , issue is already resolved, Ah, thanks. I missed that. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] MIPS: lib_mips/board.c: Fix undefined getenv_IPaddr build error

2010-01-10 Thread Shinya Kuribayashi
On 1/11/10 11:00 AM, Shinya Kuribayashi wrote: In the commit 6ac59c55 (net: pull CONFIG checks out of source and into makefile), net/net.o is changed to be built-in only when CONFIG_CMD_NET is enabled, while lib_mips/board.c has a reference to getenv_IPaddr() left as-is. And now Micronas VCT

Re: [U-Boot] [PATCH][RESEND]: Fix for U-Boot build failure with CONFIG_SYS_NO_FLASH defined for qemu-mips.

2009-12-20 Thread Shinya Kuribayashi
should it be compiled? No. In U-Boot, in general, drivers should be predefined through configs/boardname.h. If we don't use CFI driver, just disable it in top-level board config file. This is to avoid #ifdef mess, and prevent the drivers from being clobbered. -- Shinya Kuribayashi NEC

Re: [U-Boot] [PATCH][RESEND]: Fix for U-Boot build failure with CONFIG_SYS_NO_FLASH defined for qemu-mips.

2009-12-19 Thread Shinya Kuribayashi
Hi, On 12/19/09 3:57 PM, Himanshu Chauhan wrote: U-Boot hangs with qemu-system-mips with ##unknown flash error. Do you have any idea what's the root cause of that unknown flash error? Is this U-Boot CFI driver issue, or Qemu-side problem? Using CONFIG_SYS_NO_FLASH is a quick, enough

Re: [U-Boot] [PATCH] MIPS: qemu_mips: Fix a build failure caused by missing asm/unaligned.h

2009-12-19 Thread Shinya Kuribayashi
On 12/18/09 10:06 PM, Stefan Roese wrote: Don't get me wrong. I'm not NACK'ing the patch. I'm just pointing out that it's different from the Linux version. I'm afraid 'LMO' needlessly makes you confused. Or am I missing something? Yes, LMO was confusing me. Sorry for that, and thanks for

[U-Boot] [PATCH] MIPS: qemu_mips: Fix a build failure caused by missing asm/unaligned.h

2009-12-18 Thread Shinya Kuribayashi
: *** [lib_generic/libgeneric.a] Error 2 Import relevant header file from LMO tree (slightly modified to U-Boot). Reported-by: Himanshu Chauhan himan...@symmetricore.com Signed-off-by: Shinya Kuribayashi shinya.kuribaya...@necel.com --- Himanshu Chauhan wrote: I see that in include directory asm

Re: [U-Boot] [PATCH] MIPS: qemu_mips: Fix a build failure caused by missing asm/unaligned.h

2009-12-18 Thread Shinya Kuribayashi
Stefan Roese wrote: On Friday 18 December 2009 13:04:59 Himanshu Chauhan wrote: Import relevant header file from LMO tree (slightly modified to U-Boot). Why don't you import this file from the Linux tree? This should work without modifications. And that's what we've done for PPC and ARM as

Re: [U-Boot] [PATCH] MIPS: qemu_mips: Fix a build failure caused by missing asm/unaligned.h

2009-12-18 Thread Shinya Kuribayashi
Himanshu Chauhan wrote: Himanshu Chauhan wrote: I see that in include directory asm points to asm-mips. Inside asm-mips there is another link arch-arch-mips which is a dead link. THere is no directory named arch-mips there. This is another topic, let's ignore here. Is arch-mips scheduled

[U-Boot] [PATCH] qemu_mips: Fix CONFIG_NET_MULTI build warning

2009-10-19 Thread Shinya Kuribayashi
eth.c:497:2: warning: #warning Ethernet driver is deprecated. Please update to use CONFIG_NET_MULTI Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- I have a few concerns about this fix: First. I'm not sure why CONFIG_NET_MULTI is undefed for qemu_mips, while CONFIG_DRIVER_NE2000

Re: [U-Boot] [PATCH] qemu_mips: Fix CONFIG_NET_MULTI build warning

2009-10-19 Thread Shinya Kuribayashi
Hi Ben, Ben Warren wrote: Shinya Kuribayashi wrote: First. I'm not sure why CONFIG_NET_MULTI is undefed for qemu_mips, while CONFIG_DRIVER_NE2000 has been enabled for qemu_mips at an early stage. I don't follow recent changes around eth.c and CONFIG_NET_MULTI, but it's probably

[U-Boot] [PATCH v2] MIPS: VCT: Remove read_spareram reference

2009-09-12 Thread Shinya Kuribayashi
: ebi_onenand.c: In function 'onenand_board_init': ebi_onenand.c:196: error: 'struct onenand_chip' has no member named 'read_spareram' make[1]: *** [ebi_onenand.o] Error 1 make[1]: *** Waiting for unfinished jobs make: *** [board/micronas/vct/libvct.a] Error 2 Signed-off-by: Shinya Kuribayashi skuri

[U-Boot] [PATCH] MIPS: VCT: Remove read_spareram reference

2009-09-11 Thread Shinya Kuribayashi
: In function 'onenand_board_init': ebi_onenand.c:196: error: 'struct onenand_chip' has no member named 'read_spareram' make[1]: *** [ebi_onenand.o] Error 1 make[1]: *** Waiting for unfinished jobs make: *** [board/micronas/vct/libvct.a] Error 2 Signed-off-by: Shinya Kuribayashi skuri

Re: [U-Boot] PATCH mtd CFI flash: timeout calculation underflow if imprecise 1kHz timer: fix

2009-08-25 Thread Shinya Kuribayashi
Renato Andreola wrote: From 21d84ab72266f118794233176bd356d8b1cfdf35 Mon Sep 17 00:00:00 2001 From: Renato Andreola renato.andre...@imagos.it Date: Fri, 21 Aug 2009 18:05:51 +0200 Subject: [PATCH] drivers/mtd/cfi_flash: precision and underflow problem in tout calculation With old

Re: [U-Boot] [PATCH 1/7] qemu-mips: Fix Qemu website

2009-08-21 Thread Shinya Kuribayashi
mon...@monstr.eu wrote: From: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek michal.si...@petalogix.com --- board/qemu-mips/README |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Wolfgang, please take this one directly

Re: [U-Boot] [STATUS] v2009.08-rc2 is out

2009-08-11 Thread Shinya Kuribayashi
Hi, Ben Warren wrote: I found qemu_mips_config is spotted by it: Configuring for qemu-mips board... eth.c:497:2: warning: #warning Ethernet driver is deprecated. Please update to use CONFIG_NET_MULTI But I don't follow the recent changes including that CONFIG_NET_MULTI migration, nor I

Re: [U-Boot] [STATUS] v2009.08-rc2 is out

2009-08-10 Thread Shinya Kuribayashi
Wolfgang Denk wrote: Summary of current status: * Many boards now throw the (expected) #warning Ethernet driver is deprecated. Please update to use CONFIG_NET_MULTI messages. I found qemu_mips_config is spotted by it: Configuring for qemu-mips board... eth.c:497:2: warning:

Re: [U-Boot] [U-Boot-Users] MIPS: accessing flash 8MB

2009-07-26 Thread Shinya Kuribayashi
Chetan Nanda wrote: We have a MIPS-4KEC based SoC and running an older version of U-Boot (1.1.3) on it. It is working perfectly fine. Board has 8MB AMD flash and starting address of that flash is 0xBFC0 (reset vector for MIPS). Problem is that we are not able to access full 8MB of

Re: [U-Boot] [PATCH] OneNAND IPL: Move u-boot-onenand linker script to common use

2009-07-16 Thread Shinya Kuribayashi
have appreciated finding hardcoded powerpc assumptions when they tried to add their boards. Heh, we're already using onenand_ipl on our MIPS machines ;-) -- Shinya Kuribayashi NEC Electronics ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v2 0/6] Clean up top-level directory structure

2009-07-10 Thread Shinya Kuribayashi
Hi, Peter Tyser wrote: This series moves api_examples to api/examples and moves all lib* directories into a common lib/ directory. It also moves the ARCH_config.mk files into their corresponding lib directory. Seeing 12 lib_ARCH directories and 12 ARCH_config.mk files in U-Boot's top

Re: [U-Boot] [PATCH v2 0/6] Clean up top-level directory structure

2009-07-10 Thread Shinya Kuribayashi
Peter Tyser wrote: Before verifying MIPS builds, I'd like to make sure that why you take lib/$(ARCH)/ alternative, not $(ARCH)/lib/. If there were any discussion on #IRC, is there any chance we could share the summary or decision to follow? There was no discussion, /lib/$(ARCH) just made

Re: [U-Boot] [PATCH] config.mk: Remove unused HPATH

2009-06-24 Thread Shinya Kuribayashi
Hi Detlev, Detlev Zundel wrote: This variable is not unused anywhere. Makes my brain twist and after carefully applying boolean equivalence operations contradicts the title ;) Oops, thanks for pointing out. Will correct it later. ___ U-Boot

Re: [U-Boot] [PATCH 1/3] fix: missing autoconfig.mk from general Makefile

2009-06-23 Thread Shinya Kuribayashi
Hi Jean, or someone who understands U-Boot's build system well, Jean-Christophe PLAGNIOL-VILLARD wrote: at the first run of make we generate the autoconf.mk and autoconf.mk.dep if not already the case and we currently include only to .dep in order to use these autogenerated value we need to

Re: [U-Boot] [PATCH 1/3] fix: missing autoconfig.mk from general Makefile

2009-06-23 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: | ifneq (,$(CONFIG_CPU_LITTLE_ENDIAN)) | PLATFORM_CPPFLAGS += $(shell $(CC) -dumpmachine |... | else | PLATFORM_CPPFLAGS += $(shell $(CC) -dumpmachine |... | endif | | PLATFORM_LDFLAGS += -EL does work. ??? you compile it as big endian to link

[U-Boot] [PATCH] config.mk: Remove $(PCI_CLOCK) reference

2009-06-20 Thread Shinya Kuribayashi
independent from $(BOARD) as much as possible. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- config.mk |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/config.mk b/config.mk index 7fc0453..f2c2c6c 100644 --- a/config.mk +++ b/config.mk @@ -194,10 +194,6 @@ BFD_ROOT_DIR

[U-Boot] [PATCH] config.mk: Remove unused HPATH

2009-06-20 Thread Shinya Kuribayashi
This variable is not unused anywhere. Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- config.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/config.mk b/config.mk index f2c2c6c..a9973a4 100644 --- a/config.mk +++ b/config.mk @@ -196,7 +196,7 @@ endif

  1   2   >