Applied.
Thank you,
--Scott
Thomas Chou wrote:
> This is needed for jffs2 support.
>
> Signed-off-by: Thomas Chou
> ---
> include/linux/stat.h |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/stat.h b/include/linux/stat.h
> index 2ce1c25..cef6369 100
Applied.
Thank you,
--Scott
Thomas Chou wrote:
> These are needed to use ubi/ubifs.
>
> Signed-off-by: Thomas Chou
> ---
> include/asm-nios2/bitops.h| 14 +--
> include/asm-nios2/bitops/atomic.h | 189
> +
> include/asm-nios2/bitops/ffs.h
Applied.
Thank you,
--Scott
Thomas Chou wrote:
> Copy from linux header. This is needed for generic bitops.
>
> Signed-off-by: Thomas Chou
> ---
> include/asm-nios2/system.h | 33 +
> 1 files changed, 33 insertions(+), 0 deletions(-)
>
> diff --git a/include/a
Applied.
Thank you,
--Scott
Thomas Chou wrote:
> Just pull in asm-generic.
>
> Signed-off-by: Thomas Chou
> ---
> include/asm-nios2/errno.h |1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> create mode 100644 include/asm-nios2/errno.h
>
> diff --git a/include/asm-nios2/errno.h b/
The standard Altera UART & JTAG UART as well as the OpenCores
YANU driver are now in individual files in drivers/serial
rather than a single file uner cpu/nios2.
Signed-off-by: Scott McNutt
---
cpu/nios2/Makefile|2 +-
cpu/nios2/serial.c| 309 ---
This is needed for jffs2 support.
Signed-off-by: Thomas Chou
---
include/linux/stat.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 2ce1c25..cef6369 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -68,7
Copy from linux header. This is needed for generic bitops.
Signed-off-by: Thomas Chou
---
include/asm-nios2/system.h | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/include/asm-nios2/system.h b/include/asm-nios2/system.h
index ec84f59..bb
These are needed to use ubi/ubifs.
Signed-off-by: Thomas Chou
---
include/asm-nios2/bitops.h| 14 +--
include/asm-nios2/bitops/atomic.h | 189 +
include/asm-nios2/bitops/ffs.h| 41 +++
include/asm-nios2/bitops/non-atomic.h | 108 +
Just pull in asm-generic.
Signed-off-by: Thomas Chou
---
include/asm-nios2/errno.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/errno.h
diff --git a/include/asm-nios2/errno.h b/include/asm-nios2/errno.h
new file mode 100644
index 000..4c82
This patch adds status polling method to offer an alternative to
data toggle method for amd flash chips.
This patch is needed for nios2 cfi flash interface, where the bus
controller performs 4 bytes read cycles for a single byte read
instruction. The data toggle method can not detect chip busy
sta
On Fri, Mar 19, 2010 at 10:49:27AM +0500, Nikolay Petukhov wrote:
> 2010/3/19 Scott Wood :
> > Is the second RNDOUT OK on small page NAND?
> >
>
> I have NAND chip with 2K page size.
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB
> 3,3V 8-bit)
>
> Here, the positive resu
On Fri, Mar 19, 2010 at 04:06:16PM +0100, Florian Fainelli wrote:
> When issuing a nand scrub command, the entered character is not displayed
> this may be confusing. This patch makes the input character being displayed
> if it is a 'y' so that an user knows he is about to scrub his nand.
>
> Sign
Hi Wolfgang,
> > And I'm not entirely sure how you're proposing that a mail client
> > *should* deal with such a thread. It's a tradeoff between displaying
> > less of the subject text, or breaking the display of the thread
> > structure earlier. Either one is going to be worse for certain in
Dear Scott Wood,
In message <4ba3c8f8.5090...@freescale.com> you wrote:
>
> And I'm not entirely sure how you're proposing that a mail client
> *should* deal with such a thread. It's a tradeoff between displaying
> less of the subject text, or breaking the display of the thread
> structure ear
Wolfgang Denk wrote:
> Dear Peter Tyser,
>
> In message <1269010558.3376.5270.ca...@localhost.localdomain> you wrote:
>> When you resubmit, please use the "--no-chain-reply-to" option for git
>> send-email. It will properly thread your patch series to prevent the
>> later patches from creeping of
From: Roy Zang
When we set the read or write watermark in WML we should maintain the
rest of the register as is, rather than using some hard coded value.
Signed-off-by: Roy Zang
Signed-off-by: Kumar Gala
---
* This patch supercededs (fsl_esdhc: Only modify WML[WR] field)
drivers/mmc/fsl_esdh
Hi All,
When an IP block can be shared among several different
architectures, where should the _header_ files be located?
Examples of such blocks would be OpenCores peripherals,
Altera peripherals, etc.
Some peripherals may not need to export any interfaces,
so no header file is necessary. But t
Dear Peter Tyser,
In message <1269010558.3376.5270.ca...@localhost.localdomain> you wrote:
>
> When you resubmit, please use the "--no-chain-reply-to" option for git
> send-email. It will properly thread your patch series to prevent the
> later patches from creeping off the right side of everyone
On Mar 19, 2010, at 10:38 AM, Kumar Gala wrote:
> From: Roy Zang
>
> Maintain the value of the reset of wml register rather than hard coding it
>
> Signed-off-by: Roy Zang
> ---
> drivers/mmc/fsl_esdhc.c |7 ---
> include/fsl_esdhc.h |2 ++
> 2 files changed, 6 insertions(+), 3
On Friday 19 March 2010 03:21:08 Michal Simek wrote:
> Mike Frysinger wrote:
> > On Thursday 18 March 2010 05:29:19 Michal Simek wrote:
> >> Mike Frysinger wrote:
> >>> On Wednesday 17 March 2010 14:36:38 Horst Gall wrote:
> I try to compile an actual version of u-boot for xilinx microblaze.
>
On Mar 18, 2010, at 2:10 PM, stefano babic wrote:
> Kumar Gala wrote:
>>
>> Do you have any time to possible test a few patches to fsl_esdhc on mx51?
>
> Hi Kumar,
>
> I could test your patches next week, I have no possibility to access to
> the imx51evk board before. Should be ok for you ?
N
From: Roy Zang
Maintain the value of the reset of wml register rather than hard coding it
Signed-off-by: Roy Zang
---
drivers/mmc/fsl_esdhc.c |7 ---
include/fsl_esdhc.h |2 ++
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/
From: Jerry Huang
To support multiple block read command we must set abort or use auto
CMD12. If we booted from eSDHC controller neither of these are used
and thus we need to reset the controller to allow multiple block read
to function.
Signed-off-by: Jerry Huang
Signed-off-by: Roy Zang
---
We need to stop the clocks on 83xx/85xx as well as imx. No need to make
this code conditional to just imx.
Signed-off-by: Kumar Gala
---
drivers/mmc/fsl_esdhc.c | 11 +++
include/fsl_esdhc.h |3 +--
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/drivers/mmc/fs
On 03/19/2010 10:55 PM, Peter Tyser wrote:
>>
>> Please disregard these patches. I will resubmit after reorganization.
>>
> Hi Thomas,
> When you resubmit, please use the "--no-chain-reply-to" option for git
> send-email. It will properly thread your patch series to prevent the
> later patch
When issuing a nand scrub command, the entered character is not displayed
this may be confusing. This patch makes the input character being displayed
if it is a 'y' so that an user knows he is about to scrub his nand.
Signed-off-by: Florian Fainelli
---
diff --git a/common/cmd_nand.c b/common/cmd
On Fri, 2010-03-19 at 22:41 +0800, Thomas Chou wrote:
> On 03/19/2010 03:43 PM, Thomas Chou wrote:
> > These patches are for next u-boot release. I udnerstand the merge window is
> > not opened yet. But there are quite a few things to review, so please
> > allow me submit them early.
> >
> > This i
On 03/19/2010 03:43 PM, Thomas Chou wrote:
> These patches are for next u-boot release. I udnerstand the merge window is
> not opened yet. But there are quite a few things to review, so please
> allow me submit them early.
>
> This is a generic approach to port u-boot for nios2 boards. We try to ea
This avoids a possible overwrite of the (end of) ramdisk by u-boot.
The unused memory region for ppc boot currently starts 1k below the
do_bootm->bootm_start->arch_lmb_reserve stack ptr. This isn't enough since
do_bootm->do_bootm_linux->boot_relocate_fdt calls printf which may
very well use more t
Hi all,
I have tried to build u-boot for Beagle board with POST enabled but its
throwing some compilation errors.
What might be the reason? Am I missing some config options? Please help me.
Error messages I got
make[2]: Leaving directory
`/home/anoop/beagleboard-default-u-boot-mainline/com
The patch converts the pk1c20 board to use the common cfi flash
and spi driver.
The addressing of devices is changed to virtual address.
The args to writel() is changed to (val,port) in led.c.
Signed-off-by: Thomas Chou
---
board/psyent/pk1c20/Makefile |2 +-
board/psyent/pk1c20/config.mk
The patch converts the ep1s40 board to use the common cfi flash
driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/altera/ep1s40/Makefile |2 +-
board/altera/ep1s40/config.mk |2 +-
board/altera/ep1s40/u-boot.lds |1 +
include/co
This is needed for jffs2 support.
Signed-off-by: Thomas Chou
---
include/linux/stat.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 2ce1c25..cef6369 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -68,7
The patch converts the pci5441 board to use the common cfi flash
driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/psyent/pci5441/Makefile |2 +-
board/psyent/pci5441/config.mk |2 +-
board/psyent/pci5441/u-boot.lds |1 +
includ
The patch converts the ep1c20 board to use the common cfi flash
and spi driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/altera/ep1c20/Makefile |2 +-
board/altera/ep1c20/config.mk |2 +-
board/altera/ep1c20/u-boot.lds |1 +
in
The patch converts the ep1s10 board to use the common cfi flash
driver.
The addressing of devices is changed to virtual address.
Signed-off-by: Thomas Chou
---
board/altera/ep1s10/Makefile |2 +-
board/altera/ep1s10/config.mk |2 +-
board/altera/ep1s10/u-boot.lds |1 +
include/co
This patch adds the init and reset of cf card controllers.
Signed-off-by: Thomas Chou
---
board/altera/common/cfide.c | 79 +++
1 files changed, 79 insertions(+), 0 deletions(-)
create mode 100644 board/altera/common/cfide.c
diff --git a/board/altera/c
Ths patch adds status led driver based on gpio interface.
The STATUS_LED_BIT specifies the gpio pin number.
Signed-off-by: Thomas Chou
---
board/altera/common/gpioled.c | 31 +++
1 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 board/altera/comm
The args to writel() is changed to (val,port).
The base address is renamed to CONFIG_SYS_LED_PIO_BASE,
which is consistent with the name used in altera example
designs.
Signed-off-by: Thomas Chou
---
board/altera/common/epled.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(
The bootargs passing to nios2 linux is enabled with 'NIOS' magic as
the first argument.
Signed-off-by: Thomas Chou
---
lib_nios2/bootm.c | 19 ---
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/lib_nios2/bootm.c b/lib_nios2/bootm.c
index 675bfac..302f709 100644
This patch adds various initializations for eth, flash protection,
no flash, nand flash and mmc.
Signed-off-by: Thomas Chou
---
lib_nios2/board.c | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/lib_nios2/board.c b/lib_nios2/board.c
index
This patch move the timer handler from interrupt.c to timer.c.
It will be cleaner to seperate time management from interrupt
management.
The registers access is changed from "volatile struct" to readl()/
writel(). This is consistent with Altera HAL and Linux.
The cpu/nios2/Makefile is updated wit
This gpio core is described in http://nioswiki.com/GPIO.
Signed-off-by: Thomas Chou
---
include/asm-nios2/gpio.h | 72 ++
1 files changed, 72 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/gpio.h
diff --git a/include/asm-nios2/g
We will remove the TEXT_BASE def in board config.mk.
And compute the text base in board config header file.
Signed-off-by: Thomas Chou
---
cpu/nios2/start.S |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/cpu/nios2/start.S b/cpu/nios2/start.S
index 31cd5b0..4b4c560
This function return cache-line aligned allocation which is mapped
to uncached io region.
Signed-off-by: Thomas Chou
---
include/asm-nios2/dma-mapping.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/dma-mapping.h
diff --git a/incl
Copy from linux header. This is needed for generic bitops.
Signed-off-by: Thomas Chou
---
include/asm-nios2/system.h | 33 +
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/include/asm-nios2/system.h b/include/asm-nios2/system.h
index ec84f59..bb
Signed-off-by: Thomas Chou
---
include/asm-nios2/byteorder.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/asm-nios2/byteorder.h b/include/asm-nios2/byteorder.h
index 495c823..dbee62e 100644
--- a/include/asm-nios2/byteorder.h
+++ b/include/asm-nios2/byteord
These are needed to use ubi/ubifs.
Signed-off-by: Thomas Chou
---
include/asm-nios2/bitops.h| 14 +--
include/asm-nios2/bitops/atomic.h | 189 +
include/asm-nios2/bitops/ffs.h| 41 +++
include/asm-nios2/bitops/non-atomic.h | 108 +
Just pull in asm-generic.
Signed-off-by: Thomas Chou
---
include/asm-nios2/errno.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 include/asm-nios2/errno.h
diff --git a/include/asm-nios2/errno.h b/include/asm-nios2/errno.h
new file mode 100644
index 000..4c82
This driver supports the altera triple speeds 10/100/1000 ethernet
mac.
Signed-off-by: Thomas Chou
---
drivers/net/Makefile |1 +
drivers/net/altera_tse.c | 969 ++
drivers/net/altera_tse.h | 500
3 files changed, 147
The port address should be mapped to uncached (bypass) io region
before calling these writel()/readl() functions. Similar to the
ioremap() of Linux.
The uncached address mapping is (phyaddr | IO_REGION).
here IO_REGION is
0x8000 for NOMMU,
0xe000 for MMU.
The cache bypass asm macros, ldwi
This driver supports the opencore 10/100 ethernet mac.
Signed-off-by: Thomas Chou
---
drivers/net/Makefile |1 +
drivers/net/ethoc.c | 536 ++
2 files changed, 537 insertions(+), 0 deletions(-)
create mode 100644 drivers/net/ethoc.c
diff --
This patch adds the driver of altera spi controller, which is also
used as epcs/spi flash controller.
With the spi_flash driver, they can replace the epcs driver at
cpu/nios2/epcs.c.
Signed-off-by: Thomas Chou
---
drivers/spi/Makefile |1 +
drivers/spi/altera_spi.c | 103 ++
This patch moves the opencore yanu serial driver to the
drivers/serial directory.
The nios2-yanu.h header is moved to drivers/serial/yanu.h.
The args of writel() are changed to writel(val, port).
Signed-off-by: Thomas Chou
---
drivers/serial/Makefile |1 +
drivers/serial/yanu.c | 187 +++
This is a generic approach to port u-boot for nios2 boards.
It uses a new set of device drivers, such as the cfi flash, spi
lash, nand flash and new ethernet drivers.
You may find the usage of this approach on the nios2 wiki,
http://nioswiki.com/DasUBoot
In order to better support MMU and NOMMU t
This patch moves the altera jtaguart driver from cpu/nios2/serial.c to
drivers/serial/altera_jtaguart.c.
The registers access is changed from "volatile struct" to readl()/
writel(). This is consistent with Altera HAL and Linux.
Signed-off-by: Thomas Chou
---
drivers/serial/Makefile |
This patch moves the altera uart driver from cpu/nios2/serial.c to
drivers/serial/altera_uart.c.
The registers access is changed from "volatile struct" to readl()/
writel(). This is consistent with Altera HAL and Linux.
Signed-off-by: Thomas Chou
---
drivers/serial/Makefile |1 +
drive
This patch adds status polling method to offer an alternative to
data toggle method for amd flash chips.
This patch is needed for nios2 cfi flash interface, where the bus
controller performs 4 bytes read cycles for a single byte read
instruction. The data toggle method can not detect chip busy
sta
These patches are for next u-boot release. I udnerstand the merge window is
not opened yet. But there are quite a few things to review, so please
allow me submit them early.
This is a generic approach to port u-boot for nios2 boards. We try to ease
the porting of a new nios2 design. We will rely o
Mike Frysinger wrote:
> On Thursday 18 March 2010 05:29:19 Michal Simek wrote:
>> Mike Frysinger wrote:
>>> On Wednesday 17 March 2010 14:36:38 Horst Gall wrote:
I try to compile an actual version of u-boot for xilinx microblaze.
The linker ends with the error-message:
... m
60 matches
Mail list logo