Re: [U-Boot] [PATCH] avr32/bootm: remove unused variable 'ret'

2008-11-13 Thread Haavard Skinnemoen
Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] Acked-by: Haavard Skinnemoen [EMAIL PROTECTED] I'm a bit out of sync at the moment. Wolfgang, can you apply it directly? diff --git a/lib_avr32/bootm.c

Re: [U-Boot] [PATCH] cmd_bdinfo: move implementation to arch instead of common

2008-11-13 Thread Haavard Skinnemoen
Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] wrote: This patch trades off the removal of most of the #ifdef ugly for a lot of duplication. Which is the lesser of two evils? Only 4 archs share actually the same code avr32, i386, mips and sh which actually I've plan to modify for sh

[U-Boot] [PATCH] bios_emulator: only build when CONFIG_BIOSEMU

2008-11-13 Thread Mike Frysinger
Convert the bios_emulator subdir over to COBJS-y style to avoid pointless compilation for the majority of boards. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- drivers/bios_emulator/Makefile |6 +++--- drivers/bios_emulator/atibios.c |4

[U-Boot] [PATCH] bug fix for the delay function of ARM s3c44b0

2008-11-13 Thread Chaofu Chen
The original implementation of delay function of ARM s3c44b0 doesnt' cooperate with U-Boot kernel well, which will cause fake-time-out. What is important is to keep timestamp in unit of millisecond. diff -purN old/cpu/s3c44b0/interrupts.c new/cpu/s3c44b0/interrupts.c ---

[U-Boot] [PATCH] 85xx: Fix relocation of CCSRBAR

2008-11-13 Thread Kumar Gala
If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR virt address + 4k as a temp virt address to access the old CCSRBAR to relocate it. Signed-off-by: Kumar Gala

Re: [U-Boot] [PATCH] bios_emulator: only build when CONFIG_BIOSEMU

2008-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 04:03 Thu 13 Nov , Mike Frysinger wrote: Convert the bios_emulator subdir over to COBJS-y style to avoid pointless compilation for the majority of boards. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- drivers/bios_emulator/Makefile |6 +++---

[U-Boot] [PATCH 3/6] AVR32: Use SRAM as main memory on the atevk1100 board

2008-11-13 Thread Gunnar Rangoy
This patch makes u-boot use SRAM instead of SDRAM as main memory. This is done due to a bug in the current revsions of the at32uc3a0xxx series microcontrollers, which makes it unreliable to run code from SDRAM. Signed-off-by: Gunnar Rangoy [EMAIL PROTECTED] Signed-off-by: Paul Driveklepp [EMAIL

[U-Boot] [PATCH 6/6] AVR32: Set boot parameters for atevk1100

2008-11-13 Thread Gunnar Rangoy
This patch sets resonable boot parameters for the atevk1100. (Load kernel via tftp/dhcp and use nfs rootfs.) Signed-off-by: Gunnar Rangoy [EMAIL PROTECTED] Signed-off-by: Paul Driveklepp [EMAIL PROTECTED] Signed-off-by: Olav Morken [EMAIL PROTECTED] --- include/configs/atevk1100.h |8

[U-Boot] [PATCH 1/6] AVR32: Make GPIO implmentation cpu dependent

2008-11-13 Thread Gunnar Rangoy
There are some differences in the implementation of GPIO in the at32uc chip compared to the ap700x series. Signed-off-by: Gunnar Rangoy [EMAIL PROTECTED] Signed-off-by: Paul Driveklepp [EMAIL PROTECTED] Signed-off-by: Olav Morken [EMAIL PROTECTED] --- cpu/at32uc/portmux-gpio.c

[U-Boot] [PATCH 5/6] AVR32: Support for writing to internal flash on at32uc3

2008-11-13 Thread Gunnar Rangoy
This patch enables writing (the environment) to the internal flash in the microcontroller. Signed-off-by: Gunnar Rangoy [EMAIL PROTECTED] Signed-off-by: Paul Driveklepp [EMAIL PROTECTED] Signed-off-by: Olav Morken [EMAIL PROTECTED] --- cpu/at32uc/flashc.c | 69

[U-Boot] [PATCH 2/6] AVR32: Support for external SRAM on at32uc3

2008-11-13 Thread Gunnar Rangoy
This patch adds support for external SRAM connected to the EBI bus on the at32uc3a0xxx. Signed-off-by: Gunnar Rangoy [EMAIL PROTECTED] Signed-off-by: Paul Driveklepp [EMAIL PROTECTED] Signed-off-by: Olav Morken [EMAIL PROTECTED] --- cpu/at32uc/Makefile |1 + cpu/at32uc/smc.c |

[U-Boot] [PATCH 0/6] Updates for atevk1100 support

2008-11-13 Thread Gunnar Rangoy
These patches makes it possible to load code into external SRAM on the atevk1100. Also included is a patch to use the internal flash. Before this can be done, U-Boot must be relocated to SRAM. The GPIO implementation is made cpu dependent due to differences between at32uc and ap700x. Gunnar

[U-Boot] [PATCH 4/6] AVR32: Enable relocation of code for at32uc3

2008-11-13 Thread Gunnar Rangoy
Since we now have working SRAM, we can relocate the code to SRAM. Signed-off-by: Gunnar Rangoy [EMAIL PROTECTED] Signed-off-by: Paul Driveklepp [EMAIL PROTECTED] Signed-off-by: Olav Morken [EMAIL PROTECTED] --- board/atmel/atevk1100/u-boot.lds |2 -- cpu/at32uc/start.S | 15

Re: [U-Boot] [PATCH] 85xx: Fix relocation of CCSRBAR

2008-11-13 Thread Peter Tyser
On Thu, 2008-11-13 at 06:30 -0600, Kumar Gala wrote: If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR virt address + 4k as a temp virt address to access

Re: [U-Boot] [PATCH] bug fix for the delay function of ARM s3c44b0

2008-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 05:11 Thu 13 Nov , Chaofu Chen wrote: The original implementation of delay function of ARM s3c44b0 doesnt' cooperate with U-Boot kernel well, which will cause fake-time-out. What is important is to keep timestamp in unit of millisecond. SOB please diff -purN

Re: [U-Boot] [PATCH] 85xx: Fix relocation of CCSRBAR

2008-11-13 Thread Kumar Gala
On Nov 13, 2008, at 9:30 AM, Peter Tyser wrote: On Thu, 2008-11-13 at 06:30 -0600, Kumar Gala wrote: If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR

Re: [U-Boot] [patch V2] U-Boot Firetux board support

2008-11-13 Thread Jürgen Schöw
Hi Jean-Christophe PLAGNIOL-VILLARD, sorry to answer late. I've been on the CELF Conference last week and being busy this week delays so much. Am Thu, 6 Nov 2008 21:53:29 +0100 schrieb Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]: On 12:48 Wed 05 Nov , Juergen Schoew wrote: Hi

Re: [U-Boot] [PATCH-OMAP3] OMAP3: Update ARM's if then else logic in examples Makefile

2008-11-13 Thread Dirk Behme
Dear Wolfgang, Wolfgang Denk wrote: Dear [EMAIL PROTECTED], In message [EMAIL PROTECTED] you wrote: Update ARM's if then else logic. --- examples/Makefile |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Hm... wouldn't it make sense to explicitely state against

Re: [U-Boot] mini-pci wireless driver

2008-11-13 Thread John W. Linville
On Thu, Nov 13, 2008 at 02:58:51AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 09:56 Thu 13 Nov , Lance Zhang wrote: With the Ralink chip it's not too much complicate to add wifi support. You need to upload the firmware and manage the wifi configuration via the firmware.

[U-Boot] [PATCH 1/6] jffs2: fix searching for latest version in jffs2_1pass_list_inodes()

2008-11-13 Thread Ilya Yanok
We need to update i_version inside cycle to find really latest version inside jffs2_1pass_list_inodes(). With that fixed we can use isize inside dump_inode() instead of calling expensive jffs2_1pass_read_inode(). Signed-off-by: Alexey Neyman [EMAIL PROTECTED] Signed-off-by: Ilya Yanok [EMAIL

[U-Boot] [PATCH 2/6] jffs2: add sector_size field to part_info structure

2008-11-13 Thread Ilya Yanok
This patch adds sector_size field to part_info structure (used by new JFFS2 code). Signed-off-by: Ilya Yanok [EMAIL PROTECTED] --- common/cmd_jffs2.c | 20 +--- include/jffs2/load_kernel.h |1 + 2 files changed, 18 insertions(+), 3 deletions(-) diff --git

[U-Boot] [RFC PATCH 0/6] Some speed improvements to U-Boot JFFS2 code (updated)

2008-11-13 Thread Ilya Yanok
Hello everybody, here is a set of changes we made to improve U-Boot JFFS2 code performance. We still can't reach Linux's performance but improvements are significant. Patches are againt current u-boot git tree. Any comments are welcome. Regards, Ilya.

[U-Boot] [PATCH 3/6] jffs2: rewrite jffs2 scanning code based on Linux one

2008-11-13 Thread Ilya Yanok
Rewrites jffs2_1pass_build_lists() function in style of Linux's jffs2_scan_medium() and jffs2_scan_eraseblock(). This includes: - Caching flash acceses - Smart dealing with free space Signed-off-by: Alexey Neyman [EMAIL PROTECTED] Signed-off-by: Ilya Yanok [EMAIL PROTECTED] ---

[U-Boot] [PATCH 4/6] jffs2: add buffer to cache flash accesses

2008-11-13 Thread Ilya Yanok
With this patch JFFS2 code allocates memory buffer of max_totlen size (size of the largest node, calculated during scan time) and uses it to store entire node. Speeds up loading. If malloc fails we use old ways to do things. Signed-off-by: Alexey Neyman [EMAIL PROTECTED] Signed-off-by: Ilya Yanok

[U-Boot] [PATCH 5/6] jffs2: summary support

2008-11-13 Thread Ilya Yanok
This patch adds support for reading fs information from summary node instead of scanning full eraseblock. Signed-off-by: Ilya Yanok [EMAIL PROTECTED] --- fs/jffs2/jffs2_1pass.c | 187 +++- fs/jffs2/summary.h | 163

Re: [U-Boot] [patch V2] U-Boot Firetux board support

2008-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
diff --git a/include/configs/firetux.h b/include/configs/firetux.h new file mode 100644 index 000..efa27af --- /dev/null +++ b/include/configs/firetux.h +/* we can have nand _or_ nor flash */ +/* #define CONFIG_NANDFLASH 1 */ + +/* #define

[U-Boot] [PATCH] 85xx: socrates: fix DDR SDRAM tlb entry configuration

2008-11-13 Thread Anatolij Gustschin
since commit be0bd8234b9777ecd63c4c686f72af070d886517 tlb entry for socrates DDR SDRAM will be reconfigured by setup_ddr_tlbs() from initdram() causing an inconsistency with previously configured DDR SDRAM tlb entry from tlb_table: socratesl2cam 7 9 IDX PID EPN SIZE V TS RPN

Re: [U-Boot] [PATCH 4/5] powerpc: keymile: Add a check for the PIGGY debug board

2008-11-13 Thread Ben Warren
Heiko Schocher wrote: Hello Ben Ben Warren wrote: Heiko Schocher wrote: Check the presence of the PIGGY on the keymile boards mgcoge, mgsuvd and kmeter1. If the PIGGY is not present, dont register this Ethernet device. Signed-off-by: Heiko Schocher [EMAIL PROTECTED] ---

Re: [U-Boot] [PATCH 2/6] jffs2: add sector_size field to part_info structure

2008-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:49 Thu 13 Nov , Ilya Yanok wrote: This patch adds sector_size field to part_info structure (used by new JFFS2 code). Signed-off-by: Ilya Yanok [EMAIL PROTECTED] --- common/cmd_jffs2.c | 20 +--- include/jffs2/load_kernel.h |1 + 2 files changed,

Re: [U-Boot] [PATCH 3/6] jffs2: rewrite jffs2 scanning code based on Linux one

2008-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
/* start at the beginning of the partition */ - while (offset max) { - if ((oldoffset SPIN_BLKSIZE) != (offset SPIN_BLKSIZE)) { - printf(\b\b%c , spinner[counter++ % sizeof(spinner)]); - oldoffset = offset; - }

Re: [U-Boot] [PATCH 2/6] jffs2: add sector_size field to part_info structure

2008-11-13 Thread Ben Warren
Jean-Christophe PLAGNIOL-VILLARD wrote: On 19:49 Thu 13 Nov , Ilya Yanok wrote: This patch adds sector_size field to part_info structure (used by new JFFS2 code). Signed-off-by: Ilya Yanok [EMAIL PROTECTED] --- common/cmd_jffs2.c | 20 +---

Re: [U-Boot] Hangs up after transferring control to kernel

2008-11-13 Thread eliad lubovsky
On Wed, Nov 12, 2008 at 8:14 PM, Kumar Gala [EMAIL PROTECTED]wrote: On Nov 12, 2008, at 5:48 PM, eliad lubovsky wrote: I am trying to boot kernel 2.6.23 on an MPC8572DS board. It hangs on a bootm command after decompressing the kernel and the rootfs. I added some printings to u-boot where

Re: [U-Boot] [PATCH RFC] at91sam9/at91cap: move common initialisation to cpu

2008-11-13 Thread Stelian Pop
Le vendredi 07 novembre 2008 à 20:38 +0100, Jean-Christophe PLAGNIOL-VILLARD a écrit : Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- The idea is to reduce common code initialisation which is actually in board. as done on afeb9260 and Ronetix eval board for 9260 9263

Re: [U-Boot] [PATCH RFC] at91sam9/at91cap: move common initialisation to cpu

2008-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:28 Thu 13 Nov , Stelian Pop wrote: Le vendredi 07 novembre 2008 à 20:38 +0100, Jean-Christophe PLAGNIOL-VILLARD a écrit : Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- The idea is to reduce common code initialisation which is actually in board. as done

Re: [U-Boot] Hangs up after transferring control to kernel

2008-11-13 Thread Kumar Gala
On Nov 13, 2008, at 1:36 PM, eliad lubovsky wrote: On Wed, Nov 12, 2008 at 8:14 PM, Kumar Gala [EMAIL PROTECTED] wrote: On Nov 12, 2008, at 5:48 PM, eliad lubovsky wrote: I am trying to boot kernel 2.6.23 on an MPC8572DS board. It hangs on a bootm command after decompressing the