[U-Boot] apollon: Fix a OBJCFLAGS typo

2009-06-07 Thread Shinya Kuribayashi
Signed-off-by: Shinya Kuribayashi skuri...@pobox.com --- Hi, I happened to find this typo with the help of vim highlight. onenand_ipl/board/apollon/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/onenand_ipl/board/apollon/Makefile b/onenand_ipl/board/apollon

Re: [U-Boot] [PATCH] Canyonlands SATA harddisk driver

2009-06-01 Thread Shinya Kuribayashi
fine with me. -- Shinya Kuribayashi NEC Electronics ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2 V2] mips: add endianness support

2009-05-23 Thread Shinya Kuribayashi
Hi, Jean-Christophe PLAGNIOL-VILLARD wrote: curently we need to specify the endian of each board in the LDS in order to unify all of them add full endianness support by default the mips platforms will be compiled as big-endian to compile it as little-endian define CONFIG_CPU_LITTLE_ENDIAN

Re: [U-Boot] [PATCH 2/2 V2] mips: unify lds

2009-05-23 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: all mips boards except a few use the same cpu lds so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Looks good,

Re: [U-Boot] [PATCH 1/2 V2] mips: add endianness support

2009-05-23 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: On 00:24 Sun 24 May , Shinya Kuribayashi wrote: Thanks for resubmitting, but there's one thing I'm warried about. when I gave it a try last time, with almost the same patch you did, I had a GNU make problem. I'll look closely into it, so please

Re: [U-Boot] [PATCH] Canyonlands SATA harddisk driver

2009-05-20 Thread Shinya Kuribayashi
Stefan Roese wrote: On Friday 15 May 2009 11:32:26 Kazuaki Ichinohe wrote: This patch adds a SATA harddisk driver for the canyonlands. This patch is kernel driver's porting. This pach corresponded to not cmd_scsi but cmd_sata. Looks good now. Thanks for all your effort here. So:

[U-Boot] [GIT PULL] MIPS updates

2009-05-15 Thread Shinya Kuribayashi
-boot-mips.git master Shinya Kuribayashi (2): MIPS: Make all extern-ed functions in bitops.h static MIPS: lib_mips/board.c: Remove unused variables Thomas Lange (1): MIPS: Implement ethernet halt for au1x00 cpu/mips/au1x00_eth.c |4 +++ include/asm-mips/bitops.h | 64

Re: [U-Boot] [GIT PULL] MIPS updates

2009-05-15 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: Thomas Lange (1): MIPS: Implement ethernet halt for au1x00 [...] diff --git a/cpu/mips/au1x00_eth.c b/cpu/mips/au1x00_eth.c index 6272a3a..5074997 100644 --- a/cpu/mips/au1x00_eth.c +++ b/cpu/mips/au1x00_eth.c @@ -276,6 +276,10 @@ static int au1x00_init

Re: [U-Boot] [PATCH 1/1] mips: unify lds

2009-05-15 Thread Shinya Kuribayashi
the corresponding config.mk Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Shinya Kuribayashi shinya.kuribaya...@necel.com I've double checked that consolidation of u-boot.lds files is ok, and LDSCRIPT part as wll. diff --git a/Makefile b/Makefile index ee09856..2cb0ce2 100644

Re: [U-Boot] [PATCH 1/1] mips: unify lds

2009-05-15 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: Background is, we're going to have a single, unified u-boot.lds, hence OUTPUT_FORMAT(default, big, little) command would be applied across all supported targets as well. Then, we'd like to pass -EL specifier to the linker so that some little-endian builds

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-05-04 Thread Shinya Kuribayashi
Wolfgang Denk wrote: We can easily ignore such boards of course, but it would be very nice for U-Boot if it could provide easy configurable drivers and could support as many hardwares as possible. Currently it seems that all in-tree boards can be accomodated with the construct that I

Re: [U-Boot] [PATCH] MIPS: Implement ethernet halt for au1x00

2009-05-02 Thread Shinya Kuribayashi
eth_device* dev){ + volatile u32 *macen = (volatile u32*)MAC0_ENABLE; + + /* Put MAC0 in reset */ + *macen = 0; } int au1x00_enet_initialize(bd_t *bis){ Acked-by: Shinya Kuribayashi skuri...@pobox.com Wolfgang-san, could you please pick up this patch directly? Thanks

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-30 Thread Shinya Kuribayashi
Hi, Detlev Zundel wrote: Thinking about it some more, I wonder about the following. You said, this would work for you: struct NS16550 { unsigned long rbr; unsigned long postpad_rbr[3]; while struct NS16550 { unsigned char rbr; unsigned char

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-30 Thread Shinya Kuribayashi
Hi, Detlev Zundel wrote: I see. Actually I was looking a lot at the Linux driver but was hoping that we could away without introducing serial_{in,out}... In my horrible opinion, the combinations of base addres + reg_shift + iotype (char, long, or whatever), are simpler, more configurable,

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-30 Thread Shinya Kuribayashi
Hi Jerry-san, Jerry Van Baren wrote: I might be unclear. I used to use REG_SIZE = -16, as 16550 registers are located at 0, +0x10, +0x20, ..., . 16 byte stride. That is seriously odd. Well, 8 or 16 byte stride is not so odd, IMHO. I don't know much about precise hardware logics, but the

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-30 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: As for my hardware, however, this still doesn't work. My processor (MIPS 4KEc) of couse supports byte read/write, on the other hand, the address decoder at UART module can not handle byte addresses properly; all byte read/write accesses with +1/+2/+3 offset

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-29 Thread Shinya Kuribayashi
Detlev Zundel wrote: As I said, I understand now why there were different data-types involved although this was kind of non-obvious. So I take it, you had a working configuration with REG_SIZE = 4, correct? I might be unclear. I used to use REG_SIZE = -16, as 16550 registers are located at 0,

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-29 Thread Shinya Kuribayashi
Shinya Kuribayashi wrote: Detlev Zundel wrote: As I said, I understand now why there were different data-types involved although this was kind of non-obvious. So I take it, you had a working configuration with REG_SIZE = 4, correct? I might be unclear. I used to use REG_SIZE = -16

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-27 Thread Shinya Kuribayashi
Detlev Zundel wrote: To be honest, I did not expect such problems, as I saw no hints from comments on why this code was needed. Thinking afresh, it now makes at least some sense why the code was. It nevertheless was inconsistent, as the word access was only done in an asymmetric way

Re: [U-Boot] [PATCH] include/ns16550.h: Unify structure declaration for registers

2009-04-24 Thread Shinya Kuribayashi
Detlev-san, Detlev Zundel wrote: Instead of special casing the different access patterns, use common code with light macros sprinkled in to accomodate for the different layouts of the register structure. Note that this also changes the types of the registers for the positively packed (1)

Re: [U-Boot] [PATCH] mips/vcth: Use generic 16550 uart driver

2009-04-23 Thread Shinya Kuribayashi
not take care of this :-) -- Shinya Kuribayashi NEC Electronics ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Remove sa1100.h

2009-04-15 Thread Shinya Kuribayashi
sa1100.h is not used anywhere, then remove it. $ find . -name '*.h' -empty -print ./include/sa1100.h $ git grep 'sa1100.h' . $ Signed-off-by: Shinya Kuribayashi shinya.kuribaya...@necel.com --- include/sa1100.h |0 1 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644

Re: [U-Boot] Porting uboot to Broadcom 47xx (MIPS)

2009-04-07 Thread Shinya Kuribayashi
purpose for Wolfgang. Nothing interesting is there, please use git://git.denx.de/u-boot.git, instead. Thanks, -- Shinya Kuribayashi NEC Electronics ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] MIPS build status (Re: CUSTODIANS: Urgent boarding call for flight 2009.03)

2009-03-19 Thread Shinya Kuribayashi
Hello, Wolfgang Denk wrote: If anything should still be missing, please respond *now*. My intention is to push out the 2009.03 release on schedule, i. e. on Saturday, March 21, 2009. At the moment I am not planning for another release candidate. * With GCC 4.2.3, all MIPS targets

[U-Boot] MIPS: Fix GCC-4.2 'discards qualifiers from pointer target type' warnings

2009-02-21 Thread Shinya Kuribayashi
, so gcc warns about it. Confirmed with ELDK 4.2 (GCC 4.2.2) and Sourcey G++ 4.2 (GCC 4.2.3). To fix this, we add a volatile attribute to the argument in question. The virt_to_phys function in Linux kernel also does the same thing. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Shinya

[U-Boot] MIPS: cpu/mips/Makefile: Add a missing START line

2009-02-01 Thread Shinya Kuribayashi
In the commit 79b51ff8205f0354d5300570614c1d2db499679c ([MIPS] cpu/mips/ Makefile: Split [CS]OBJS onto separate lines), I wrongly deleted a START line. This patch puts it back. Signed-off-by: Shinya Kuribayashi shinya.kuribaya...@necel.com --- cpu/mips/Makefile |1 + 1 files changed, 1

Re: [U-Boot] [PATCH] MIPS: Fix compile warning in au1x00_eth.c

2009-01-28 Thread Shinya Kuribayashi
Stefan Roese wrote: This patch fixes this compilation warning: ./MAKEALL dbau1000 Configuring for dbau1x00 board... au1x00_eth.c: In function 'au1x00_send': au1x00_eth.c:158: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type ... Seens with

Re: [U-Boot] [PATCH 1/3 v3] MIPS: Add VCT board series support (Part 1/3)

2009-01-27 Thread Shinya Kuribayashi
Wolfgang Denk wrote: Stefan, I'm going to fold all patches into sinble commit, ok? That's ok with me. Not sure if Wolfgang has an objection though, since he might have problems tracking the status of the patches. Wolfgang, an objections from you? Yes, indeed. I like to see commits

[U-Boot] [GIT PULL] MIPS updates

2009-01-27 Thread Shinya Kuribayashi
Hi Wolfgang, please pull U-Boot/MIPS repository to pick up the following changes. Thanks in advance, Shinya --- The following changes since commit 8f86a3636ef88427f880610638e80991adc41896: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx are available

Re: [U-Boot] [PATCH] MIPS: Add flush_dcache_range() and invalidate_dcache_range()

2009-01-26 Thread Shinya Kuribayashi
Stefan Roese wrote: This patch adds flush_/invalidate_dcache_range() to the MIPS architecture. Those functions are needed for the upcoming dcache support for the USB EHCI driver. I chose this API because those cache handling functions are already present in the PPC architecture.

Re: [U-Boot] [PATCH 1/3 v3] MIPS: Add VCT board series support (Part 1/3)

2009-01-26 Thread Shinya Kuribayashi
Stefan Roese wrote: Signed-off-by: Stefan Roese s...@denx.de --- v3: - Added USB EHCI support - Added performance enhanced OneNAND read support v2: - Fixed issues in u-boot.lds mentioned by Andrew Dyer board/micronas/vct/Makefile| 57 board/micronas/vct/bcu.h

Re: [U-Boot] [PATCH] move README.nios_CONFIG_SYS_NIOS_CPU to doc

2009-01-16 Thread Shinya Kuribayashi
Ping? This should go into the v2009.01 release. Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- .../README.nios_CONFIG_SYS_NIOS_CPU|0 1 files changed, 0 insertions(+), 0 deletions(-) rename

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-25 Thread Shinya Kuribayashi
Joakim Tjernlund wrote: Checking for NULL before invocation won't work unless you fix the relocation routine not to relocate NULL values. That is what I have been trying to say several times now. That fix should be performed regardless so no nasty surprises will happen in the future. Perhaps

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-24 Thread Shinya Kuribayashi
Joakim Tjernlund wrote: - There is no purely weak functions and therfore no longer code like: if (do_something) do_somthing(); All instances have been replaced by empty functions with an alias. e.g. void __do_something (args) {} do_something(args) __atttribute__((weak,

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-24 Thread Shinya Kuribayashi
in the same manner. -- Shinya Kuribayashi NEC Electronics ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-23 Thread Shinya Kuribayashi
it is mandatory but it is in the majority in u-boot. If it's not mandatory, please drop all aliases. That saves source code size (not generated u-boot image size) a little bit. Majority or not does not make sense here. -- Shinya Kuribayashi NEC Electronics

Re: [U-Boot] [PATCH 2/2] qemu_mips: update doc to use all disk and boot linux kernel

2008-12-17 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- doc/README.qemu_mips | 37 - 1 files changed, 36 insertions(+), 1 deletions(-) Applied and pushed out, thanks. One comment bellow. diff

Re: [U-Boot] [PATCH 1/1] qemu_mips: update doc to generate and to use qemu flash, ide file

2008-12-17 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- doc/README.qemu_mips | 67 +++-- 1 files changed, 58 insertions(+), 9 deletions(-) Applied and pushed out, thanks. By the way, let

[U-Boot] [GIT PULL] MIPS updates

2008-12-17 Thread Shinya Kuribayashi
Hi Wolfgang, please pull U-Boot/MIPS repository to pick up the following changes. Thanks in advance, Shinya --- The following changes since commit aced78d852d0b009e8aaa1445af8cb40861ee549: Wolfgang Denk (1): Prepare 2009.01-rc1 are available in the git repository at:

[U-Boot] nios: Move README.nios_CONFIG_SYS_NIOS_CPU to doc/ dir

2008-12-11 Thread Shinya Kuribayashi
Signed-off-by: Shinya Kuribayashi [EMAIL PROTECTED] --- Hi Jean, in the commit 6d0f6bcf (rename CFG_ macros to CONFIG_SYS), this README file was added into ${TOPDIR} dir. Was this intended? Thanks, Shinya README.nios_CONFIG_SYS_NIOS_CPU | 140 --- doc

[U-Boot] [GIT PULL] MIPS updates

2008-12-10 Thread Shinya Kuribayashi
Hi Wolfgang, please pull U-Boot/MIPS repository to pick up the following changes. Thanks in advance, Shinya --- The following changes since commit 2145188bea2df8f2b47a87ec3071b55027e8d0ae: Ben Warren (1): Fix compile error in building MBX860T. are available in the git repository

Re: [U-Boot] [PATCH 1/1] qemu_mips: update doc to generate and to use qemu flash, ide file

2008-12-09 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: On 22:27 Mon 08 Sep , Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- doc/README.qemu_mips | 67 +++-- 1 files changed, 58 insertions(+),

Re: [U-Boot] [PATCH V2] qemu_mips: move env storage just after u-boot

2008-12-09 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- Use CFG_MONITOR_LEN instead of value include/configs/qemu-mips.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/qemu-mips.h

Re: [U-Boot] [PATCH] MIPS: Add CONFIG_SKIP_LOWLEVEL_INIT

2008-11-19 Thread Shinya Kuribayashi
[EMAIL PROTECTED] Acked-by: Shinya Kuribayashi [EMAIL PROTECTED] --- cpu/mips/start.S |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/cpu/mips/start.S b/cpu/mips/start.S index 0a69109..57db589 100644 --- a/cpu/mips/start.S +++ b/cpu/mips/start.S @@ -243,9

Re: [U-Boot] [PATCH] MIPS: Add board_early_init_f() to init_sequence

2008-11-18 Thread Shinya Kuribayashi
Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:18 Wed 12 Nov , Stefan Roese wrote: diff --git a/lib_mips/board.c b/lib_mips/board.c index 77e1cc8..01dda69 100644 --- a/lib_mips/board.c +++ b/lib_mips/board.c @@ -70,6 +70,15 @@ static ulong mem_malloc_brk; */ unsigned long

Re: [U-Boot] [PATCH] MIPS: Add board_early_init_f() to init_sequence

2008-11-17 Thread Shinya Kuribayashi
, because I don't want to have a dummy empty function just for the `alias'. int __attribute__((weak)) board_early_init_f(void) { return 0; } But that's not a big deal. Using weak function is ok, of course. Sorry for the noise. Thanks, -- Shinya Kuribayashi NEC Electronics

Re: [U-Boot] [PATCH] MIPS: Add CONFIG_SKIP_LOWLEVEL_INIT and flush dcache upon relocation

2008-11-17 Thread Shinya Kuribayashi
Stefan Roese wrote: @@ -243,9 +243,11 @@ reset: mtc0zero, CP0_COUNT mtc0zero, CP0_COMPARE +#if !defined(CONFIG_SKIP_LOWLEVEL_INIT) /* CONFIG0 register */ li t0, CONF_CM_UNCACHED mtc0t0, CP0_CONFIG +#endif /* !CONFIG_SKIP_LOWLEVEL_INIT */ /*

Re: [U-Boot] [PATCH] MIPS: Add board_early_init_f() to init_sequence

2008-11-15 Thread Shinya Kuribayashi
know why people prefers alias, though :-) Acked-by: Shinya Kuribayashi [EMAIL PROTECTED] ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] MIPS: Add onenand_init() to board.c and move nand_init()

2008-11-15 Thread Shinya Kuribayashi
no warns/errors. Signed-off-by: Stefan Roese [EMAIL PROTECTED] Acked-by: Shinya Kuribayashi [EMAIL PROTECTED] ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH rev2] net: Move initialization of Au1x00 SoC ethernet MAC to cpu_eth_init

2008-10-18 Thread Shinya Kuribayashi
This patch will move au1x00_eth_initialize from net/eth.c to cpu_eth_init as a part of ongoing eth_initialize cleanup work. The function ret value is also fixed as it should be negative on fail. Signed-off-by: Shinya Kuribayashi [EMAIL PROTECTED] --- Changes in rev2: * cpu/mips/cpu.c: Include

Re: [U-Boot] CUSTODIANS: Final boarding call for flight 2008-10

2008-10-17 Thread Shinya Kuribayashi
Wolfgang Denk wrote: can you please check if all urgent patches have been added to the U-Boot master branch? If anything should still be missing, please respond *now*. My intention is to push out the 2008-10 release tomorrow, i. e. in approximately 30 hours from now. I tried ./MAKEALL

Re: [U-Boot] [PATCH] i.MX31: document timer precision option

2008-09-18 Thread Shinya Kuribayashi
with the maintainance policy of README and doc/*, but is there any reasone this README.imx31 is sitting on the top of tree? Should be marged into $(TOPDIR)/README, or moved to doc/ directory? Noticed a few minutes ago, so just let you know... -- Shinya Kuribayashi NEC Electronics

Re: [U-Boot] phys_size_t not defined in mips arch.

2008-09-11 Thread Shinya Kuribayashi
Luigi 'Comio' Mantellini wrote: or I have some problem on my u-boot tree? It seems you do. http://git.denx.de/?p=u-boot.git;a=blob;f=include/asm-mips/types.h;hb=HEAD#l89 http://git.denx.de/?p=u-boot.git;a=commit;h=e99ccb488181d012248c6be30b2093e950319fc5 BTW, is your Reply-To: field correct?

Re: [U-Boot] [PATCH] make: Remove redundant __ARM__ addition when cross-compiling on *BSD

2008-09-11 Thread Shinya Kuribayashi
Ping. [ I should have let you know, Wolfgang. Sorry. ] Shinya Kuribayashi wrote: __ARM__ is given by arm_config.mk automatically. Signed-off-by: Shinya Kuribayashi [EMAIL PROTECTED] --- config.mk |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git

Re: [U-Boot] [PATCH V2] doc/qemu_mips: add doc howto debug u-boot with gdb

2008-09-03 Thread Shinya Kuribayashi
Hi Jean, Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- diff with V1 remove unrelated changement doc/README.qemu_mips | 64 +- 1 files changed, 63 insertions(+), 1 deletions(-)

[U-Boot] [GIT PULL] MIPS updates

2008-09-03 Thread Shinya Kuribayashi
Hi Wolfgang, please pull MIPS repository to pick up the following change: --- The following changes since commit 628ffd73bcff0c9f3bc5a8eeb2c7455fe9d28a51: Jean-Christophe PLAGNIOL-VILLARD (1): device: make device_register() clone the device are available in the git repository at:

Re: [U-Boot] [OT] lack of Reference field (was Re: WELCOME to the new mailing list)

2008-08-08 Thread Shinya Kuribayashi
Wolfgang Denk wrote: in message [EMAIL PROTECTED] you wrote: I don't know what is the culprit, but Wolfgang's mails always lack of Reference: field, thus they always break my thread view of Thunderbird. I confirmed this behavior with [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED]

<    1   2