Dear u-boot Nios Developers,
Please welcome Thomas Chou as our new Nios custodian.
Over the past several months, my personal work load has
increased significantly. While this is great for me
both professionally and personally, it interferes with
my open source activity. In the best interest of th
Dear Joachim,
Please be patient.
Regards,
--Scott
Joachim Foerster wrote:
> Hi all,
>
> Did anybody get a chance to review those 5 small patches? I would like
> to get some feedback and work on it, if needed - to get them upstream.
>
> On 10/17/2011 05:24 PM, Joachim Foerster wrote:
>> This p
Hi rhabarber1848,
A patch was recently submitted:
http://patchwork.ozlabs.org/patch/116180
Thanks,
--Scott
rhabarber1848 wrote:
> Hi,
>
> compiling U-Boot 2011.09-rc2 with gcc-3.4.6 fails with this error:
>
> In file included from u-boot-2011.09-rc2/include/linux/compiler.h:40,
>
When include/linux/compiler.h is included, the associated gcc3
header is required for older build environments.
Signed-off-by: Scott McNutt
---
include/linux/compiler-gcc3.h | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 include/linux
Dear Albert,
Albert ARIBAUD wrote:
> Custodians should remove this tag from their respective repos, except
> Scott McNutt of course, who owns The Vote as far as keeping NIOS2-5_0_0
> in u-boot-nios is concerned. :)
The tag no longer serves any practical purpose.
Regards
Dear Wolfgang
Wolfgang Denk wrote:
> What exactly is the reason that we cannot have better timer
> resolutions in NIOS?
You _can_ have better timer resolutions in Nios. However, there
are legacy systems that implement timer(s) with a fixed period
of 10 msec. The use of such implementations is ve
Dear Wolfgang,
The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a:
Wolfgang Denk (1):
Prepare v2011.06
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Mike Frysinger (1):
nios2: move generic config to boards.cfg
MA
Mike,
Applied to: git://git.denx.de/u-boot-nios.git 'next'
Thanks,
--Scott
Mike Frysinger wrote:
> I can't build test this, but just looking at the config files written
> and it seems OK ...
>
> Tested-by: Thomas Chou
> Signed-off-by: Mike Frysinger
> ---
> v2
> - rebased onto master
>
J. William Campbell wrote:
> On 5/27/2011 6:07 AM, Scott McNutt wrote:
>> Graeme Russ wrote:
>>> Hi Wolfgang
>>>
>>> On Friday, May 27, 2011, Wolfgang Denk wrote:
>>>> Dear Graeme Russ,
>>>>
>>>> In message you
>
Graeme Russ wrote:
> Hi Wolfgang
>
> On Friday, May 27, 2011, Wolfgang Denk wrote:
>> Dear Graeme Russ,
>>
>> In message you wrote:
>>> Besides, Nios can return an increment of 10 (presumably ms) between
>>> two immediately consecutive calls. This causes early timeouts in CFI
>>> driver
>> Now t
Graeme Russ wrote:
> Hi Scott,
>
> On Wednesday, May 25, 2011, Scott McNutt wrote:
>> Graeme Russ wrote:
>>
>> Hi Scott,
>>
>> On 25/05/11 22:36, Scott McNutt wrote:
>>
>> Graeme Russ wrote:
>>
>> OK, let's wind back - My origin
Graeme Russ wrote:
> Hi Scott,
>
> On 25/05/11 22:36, Scott McNutt wrote:
>> Graeme Russ wrote:
>>> OK, let's wind back - My original suggestion made no claim towards changing
>>> what the API is used for, or how it looks to those who use it (for all
Graeme Russ wrote:
> OK, let's wind back - My original suggestion made no claim towards changing
> what the API is used for, or how it looks to those who use it (for all
> practical intents and purposes). I suggested:
> - Removing set_timer() and reset_timer()
> - Implement get_timer() as a platf
Graeme Russ wrote:
> Dear Reinhard,
>
> On Tue, May 24, 2011 at 3:31 PM, Reinhard Meyer
> wrote:
>> I know its futile to repeat what I suggested about 9 months ago...
>>
>> Since get_timer() is only used (to my knowledge) to break out of
>> loops that do not terminate normally because an expected
Dear Graeme,
Graeme Russ wrote:
> On 23/05/11 22:19, Scott McNutt wrote:
>> Hi Graeme,
>>
>> Graeme Russ wrote:
>>> There is no need to use get_timer() and reset_timer() and there are build
>> I must have missed something WRT reset_timer() -- my apologies
>&
Hi Graeme,
Graeme Russ wrote:
> There is no need to use get_timer() and reset_timer() and there are build
I must have missed something WRT reset_timer() -- my apologies
if I'm covering old ground.
When the timestamp is incremented using an interrupt that occurs with
a period greater than 1 ms, w
Dear Wolfgang,
The following changes since commit 535abb96fb665402894b820f934deaca61ce3d3e:
Wolfgang Denk (1):
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Thomas Chou (1):
nios2
Thomas,
Applied to git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> Follow commit 8ae86b76c648d8bef97241c78e2fddb1c4f164d3
> which changed the variable name.
>
> Fix this error,
> nios2-elf-ld: invalid hex number `-o'
>
> Signed-off-by: Thomas Chou
> ---
> for u-boo
Dear Wolfgang,
The following changes since commit 4db2fa7f9446d0f2fe8db3d62184b1212fe22707:
Wolfgang Denk (1):
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Thomas Chou (1):
nios2: r
Applied to:
git://git.denx.de/u-boot-nios next
Thanks,
--Scott
Thomas Chou wrote:
> Flash might be in unknown state when u-boot is started with jtag.
> And got wrong env data. So reset it in board early init.
>
> We cannot use generic cfi flash routines, because flash_init() is
> not run yet.
Moffett, Kyle D wrote:
> Hi!
>
> On Mar 08, 2011, at 19:13, Scott McNutt wrote:
>> Hi Kyle,
>>
>> Kyle Moffett wrote:
>>> The Nios-II port appears to use no generic hardware capability for
>>> performing a CPU reset. Since all of the supported boards
Hi Kyle,
Kyle Moffett wrote:
> The Nios-II port appears to use no generic hardware capability for
> performing a CPU reset. Since all of the supported boards use the exact
> same code to perform a jump-to-flash it goes into __arch_restart().
>
> This means that Nios-II has a no-op __arch_emergen
Dear Wolfgang,
The following changes since commit 8d4addc3c3fe1a9ea160a5a1a20a1f934ff3fe97:
Wolfgang Denk (1):
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Thomas Chou (4):
nios2: a
Added to: git://git.denx.de/u-boot-nios.git 'next'
Thank you,
--Scott
Thomas Chou wrote:
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/include/asm/gpio.h |6 ++
> board/altera/nios2-generic/gpio.c |5 +
> 2 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a
Added to: git://git.denx.de/u-boot-nios.git 'next'
Thank you,
--Scott
Thomas Chou wrote:
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/include/asm/gpio.h|6 ++
> board/altera/nios2-generic/custom_fpga.h |1 +
> board/altera/nios2-generic/gpio.c|6 ++
>
Added to: git://git.denx.de/u-boot-nios.git 'next'
Thank you,
--Scott
Thomas Chou wrote:
> This is consistent with nios2-linux. And resolved the warning,
>
> cmd_nvedit.c: In function `do_env_export':
> cmd_nvedit.c:660: warning: size_t format, ssize_t arg (arg 3)
>
> Signed-off-by: Thomas Ch
Added to: git://git.denx.de/u-boot-nios.git 'next'
Thank you,
--Scott
Thomas Chou wrote:
> Added this for mmc_spi driver. Though altera spi core does not
> support programmable speed. It is fixed when configured in
> sopc-builder.
>
> Signed-off-by: Thomas Chou
> ---
> drivers/spi/altera_spi
Wolfgang Denk wrote:
> For now, I would like to ask all CUSTODIANS to register as users at
> patchwork.ozlabs.org, so we can arrange that the appropriate
> privileges will be granted to you.
Registered as "smcnutt"
Regards,
--Scott
___
U-Boot mai
Dear Wolfgang,
The following changes since commit bd2313078114c4b44c4a5ce149af43bcb7fc8854:
Wolfgang Denk (1):
Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Thomas Chou (2):
ni
Thomas,
Applied to: git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> There is a limitation (or bug?) of nios2 toolchain. The nios2 gcc
> didn't generate correct code when the reset vector is passed as a
> constant. It just generated a direct "call", which was wrong whe
Applied to branch 'next' at:
git://git.denx.de/u-boot-nios.git
Regards,
--Scott
Thomas Chou wrote:
> We should check argv[3] only if there are enough args. Otherwise,
> it might cause invalid memory access fault.
>
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/lib/bootm.c |2 +-
> 1
Dear Wolfgang,
The following changes since commit 54841ab50c20d6fa6c9cc3eb826989da3a22d934:
Wolfgang Denk (1):
Make sure that argv[] argument pointers are not modified.
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Thomas Chou (6):
nios2: u
00644 board/altera/ep1s40/Makefile
> delete mode 100644 board/altera/ep1s40/config.mk
> delete mode 100644 board/altera/ep1s40/ep1s40.c
> delete mode 100644 include/configs/EP1C20.h
> delete mode 100644 include/configs/EP1S10.h
> delete mode 100644 include/configs/EP1S40.h
>
&
Applied to: git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch adds the gpio usage request. The polarity is changed to
> positive as suggested by Mike Frysinger.
>
> Signed-off-by: Thomas Chou
> ---
> v2: fix typo, change led polarity
>
> drivers/misc/gpio_l
Applied to: git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This will be used by nand_plat.
>
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/include/asm/gpio.h |6 ++
> board/altera/nios2-generic/gpio.c |5 +
> 2 files changed, 11 insertions(+),
Applied to: git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch adds fdt support to boot linux, followed Michal's
> work on microblaze.
>
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/lib/bootm.c | 21 +
> 1 files changed, 21 insertions
Applied to: git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> Follow the discussion of Charles Manning and Mike Frysinger.
> Using gc_sections helps reduce image size.
>
> Configuring for nios2-generic board...
> Before,
>textdata bss dec hex filename
> Ian Abbott wrote:
>> On 28/05/2010 05:08, Thomas Chou wrote:
>>> Follow the discussion of Charles Manning and Mike Frysinger.
>>> Using gc_sections helps reduce image size.
>> Hi Thomas,
>>
>> Will that stop it working with the gcc3-based nios2 nommu toolchain?
>> The version of 'ld' in that tool
Dear Wolfgang,
The following changes since commit 01f03bda5b22e5aeae5f02fd537da97a41485c73:
Wolfgang Denk (1):
Prepare v2010.06-rc1
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Thomas Chou (8):
nios2: add gpio support
misc: add gpio
Wolfgang Denk wrote:
> In message <4bff1e99.8020...@wytron.com.tw> you wrote:
>> But old nios-32 arch is broken and will be removed soon. Shall I perform
>> the removal based on current head or after these patches applied?
>
> I don't really care - the chages are simple enough.
>
> I see your p
Thomas,
> The old nios arch is obsolete and the build has been broken for a long
> time. Shall we remove it from u-boot?
I'm in favor of removing the nios-32 code. It's been a very long
time since I had a customer using nios-32 -- never mind nios-32 u-boot.
If nobody objects, let's get rid of i
Applied to:
git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch allows users to override default STANDALONE_LOAD_ADDR.
> The gcclibdir path was duplicated in the standalone Makefile and
> can be removed.
>
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/c
Applied to:
git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch fixes the run-time error on div64 when built with
> gcc4, which was reported by jhwu0625 on nios forum. It merges
> math support from libgcc of gcc4. This patch is copied from
> nios2-linux.
>
Applied to:
git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> The "-ffixed-r15" option doesn't work well for gcc4. Since we
> don't use gp for small data with option "-G0", we can use gp
> as global data pointer. This allows compiler to use r15. It
> is necessary for
Thomas,
I applied this to:
git://git.denx.de/u-boot-nios.git testing
after merging with Mike's 'sf' branch at:
git://git.denx.de/u-boot-blackfin
so we can pickup:
[PATCH 5/6 v3] spi_flash: support old STMicro parts with RES
I'll merge once Mike's changes are available upstream. In
Applied to:
git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch adds the driver of altera spi controller, which is
> used as epcs/spi flash controller. It also works with mmc_spi
> driver.
>
> This driver support more than one spi bus, with base list decla
Applied to:
git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch adds gpio support of Altera PIO component to the
> nios2-generic board. Though it drives only gpio_led at the
> moment, it supports bidirectional port to control bit-banging
> I2C, NAND flash b
Applied to:
git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch adds a status led driver followed the GPIO access
> conventions of Linux. The led mask is used to specify the gpio pin.
>
> Signed-off-by: Thomas Chou
> ---
> v2: moved to drivers/misc.
>
>
Applied to:
git://git.denx.de/u-boot-nios.git next
Thanks,
--Scott
Thomas Chou wrote:
> This patch adds driver for a trivial gpio core, which is described
> in http://nioswiki.com/GPIO. It is used for gpio led and nand flash
> interface in u-boot.
>
> When CONFIG_SYS_GPIO_BASE is not defined
Wolfgang Denk wrote:
> Ah. With "USE_PRIVATE_LIBGCC=yes" I see this one:
>
> undefined reference to `__aeabi_uldivmod'
>
> Note that this is __aeabi_uldivmod, not __udivdi3.
>
>
> Which version of compiler / which tool chain are you using?
gcc 4.1.2
--Scott
Wolfgang Denk wrote:
> In message <4be42048.7000...@ge.com> you wrote:
>> This did not happen when I last updated on March 22nd and
>> I have not updated my tools at all.
>
> Then you are in an excellent position to run git bisect and find out
> which exact commit is responsible for the changed be
Dear Wolfgang,
Wolfgang Denk wrote:
> Dear Thomas Chou,
>
> In message <4bd7b0b3.3010...@wytron.com.tw> you wrote:
>> I sent a patch to enable some peripherals on the nios2-generic board.
>>
>> 04/28 [PATCH v2] nios2: add epcs, gpio led and mmc_spi to nios2-generic
>>
>> This patch should be appl
Thomas Chou wrote:
> On 04/30/2010 10:24 PM, Scott McNutt wrote:
>> Thomas Chou wrote:
>>> This patch adds gpio support of Altera PIO component to the
>>> nios2-generic board. Though it drives only gpio_led at the
>>> moment, it supports bidirectional port
Thomas Chou wrote:
> This patch adds gpio support of Altera PIO component to the
> nios2-generic board. Though it drives only gpio_led at the
> moment, it supports bidirectional port to control bit-banging
> I2C, NAND flash busy status or button switches, etc.
>
> Signed-off-by: Thomas Chou
> ---
Hi Wolfgang,
Thomas Chou wrote:
> On 04/25/2010 06:32 AM, Wolfgang Denk wrote:
>>
>> I mean, which board in U-Boot uses this code? I didn't find any.
I think the most accurate answer is both "all" and "none" ... and
I'm not trying to be funny or disrespectful in any way. It's just
so very easy to
Dear Wolfgang,
The following changes since commit 6e5fb4eec3702a13770769a5a48a9423aa68ee9c:
Wolfgang Denk (1):
Merge branch 'master' of git://git.denx.de/u-boot-mmc
are available in the git repository at:
git://git.denx.de/u-boot-nios.git next
Thomas Chou (8):
nios2: allow
Hi Thomas,
Thomas Chou wrote:
>>> With nios2-generic approach, the fpga parameter header file can
>>> be generated from hardware designs using tools. Porting u-boot for
>>
>> What tools are you referring to?
> 2. sopc-create-config-files
>
> The script is available at
>
> http://sopc.et.ntust
Applied. Thanks.
--Scott
Thomas Chou wrote:
> This patch fixes error when CONFIG_SYS_NO_FLASH. And adds
> nand flash and mmc initialization, which should go before
> env initialization.
>
> Signed-off-by: Thomas Chou
> ---
> v3 include mmc.h and nand.h.
> v2 arch dir reorganized.
>
> arch/nios
Applied. Thanks.
--Scott
Thomas Chou wrote:
> Global interrupt should be disabled from the beginning.
>
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/cpu/start.S |9 -
> 1 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/star
Applied. Thanks.
--Scott
Thomas Chou wrote:
> This patch adds an option to bypass output waiting when there
> is no jtag connection. This allows the jtag uart work similar
> to a serial uart, ie, boot even without connection.
>
> This option is enabled with,
>
> Signed-off-by: Thomas Chou
> ---
Wolfgang Denk wrote:
>
> Um... Scott, I have a few other NIOS2 related patches in my queue
> that seem to be pending, could you please have a look at these?
>
> 03/25 Thomas Chou [PATCH v2] nios2: add dma_alloc_coherent with
> asm-nios2/dma-mapping.h
Applied resubmission:
04/16 Thomas Chou [PA
Applied. Thanks.
--Scott
Thomas Chou wrote:
> This function return cache-line aligned allocation which is mapped
> to uncached io region.
>
> Signed-off-by: Thomas Chou
> ---
> arch dir reorganized.
>
> arch/nios2/include/asm/dma-mapping.h | 23 +++
> 1 files changed, 23
Applied. Thanks.
--Scott
Thomas Chou wrote:
> This patch adds 64 bits swab support. Most 32 bits processors use
> this. We need 64 bits swab for UBI.
>
> Signed-off-by: Thomas Chou
> ---
> arch dir reorganized.
>
> arch/nios2/include/asm/byteorder.h |6 ++
> 1 files changed, 6 insertio
Applied. Thanks.
--Scott
Thomas Chou wrote:
> This patch toggles power to reset the cf card.
>
> Signed-off-by: Thomas Chou
> ---
> more checkpatch.pl fixes
>
> board/altera/common/cfide.c | 33 +
> 1 files changed, 33 insertions(+), 0 deletions(-)
> create m
Applied. Thanks.
--Scott
Thomas Chou wrote:
> This patch allow boards to override the default link script.
>
> Signed-off-by: Thomas Chou
> ---
> arch/nios2/config.mk |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk
> in
Hi Thomas,
Thomas Chou wrote:
> The example configuration files of nios2-generic board can generated
> binary to run on the EP1C20, EP1S10, and EP1S40 boards. So the three
> boards can be removed.
>
> With nios2-generic approach, the fpga parameter header file can
> be generated from hardware des
Hi Chris,
Ira W. Snyder wrote:
>> My problem:
>> If I have an in-memory filesystem on my board (the ramdisk), and I have the
>> entire 256MB of memory accessible to the host over the PCI bus, you'd think
>> I could write a tool (or find a tool) that I could point at a block of
>> physical memory a
Thomas Chou wrote:
> On 04/20/2010 09:19 PM, Scott McNutt wrote:
>>> +void __led_init(led_id_t mask, int state)
>>> +{
>>> +gpio_direction_output(mask, (state == STATUS_LED_ON) ? 0 : 1);
>>
>>
>> The direction register only exists when the PIO
Thomas,
Thomas Chou wrote:
> This patch adds a gpio based status led driver. The led mask
> is used to specify the gpio pin.
>
> Signed-off-by: Thomas Chou
> ---
> board/altera/common/gpioled.c | 30 ++
> 1 files changed, 30 insertions(+), 0 deletions(-)
> create
Wolfgang,
Wolfgang Denk wrote:
> Um... Scott, I have a few other NIOS2 related patches in my queue
> that seem to be pending, could you please have a look at these?
>
> 03/25 Thomas Chou [PATCH v2] nios2: add dma_alloc_coherent with
> asm-nios2/dma-mapping.h
> 03/27 Thomas Chou [PATCH] nios2:
Rev. A support
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Scott McNutt (1):
nios2: Move individual board linker scripts to common script in
cpu tree.
arch/nios2/config.mk |2 +
{board/altera/ep1c20 => a
Signed-off-by: Scott McNutt
---
arch/nios2/config.mk|2 +
arch/nios2/cpu/u-boot.lds | 135 ++
board/altera/ep1c20/u-boot.lds | 135 --
board/altera/ep1s10/u-boot.lds | 135
Wolfgang,
The following changes since commit ffa37fc98d71ef930bccd4e9eed37f6ce6b4d6af:
Wolfgang Denk (1):
Merge branch 'next'
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Scott McNutt (7):
nios2: Move serial drivers to indivi
Michal,
>> It would indeed be more efficient -- perhaps a common header for
>> the Altera boards when time permits.
>
> :-) It is not just to be more efficient.
> 1. Save u-boot size
> 2. If is only one place where it is defined than you don't need to spend
> time to fix all boards which are ver
Michal Simek wrote:
> Scott McNutt wrote:
>>CONFIG_SYS_HZ was being calculated (incorrectly) in nios2
>> configuration
>>headers. Updated comments to accurately describe timebase macros.
>>
>> Signed-off-by: Scott McNutt
>> -
establishing
the base timestamp with get_timer(0), provided reset_timer()
resets the hardware timer (rather than simply resetting only the
timestamp). This has the effect of synchronizing the interrupts
(and the advance of the timestamp) with the timing loop.
Signed-off-by: Scott McNutt
Hi Thomas,
Thomas Chou wrote:
> On 03/31/2010 10:09 AM, Scott McNutt wrote:
>>> So it might be cleaner to let user define the HZ as the actual tick rate
>>> and increase the tick count by one in the tmr_isr.
>>>
>> This was discussed/debated thoroughly
Hi Wolfgang,
Do we have a network drivers custodian? ... or should I just handle
this patch through the nios repository? I'm guessing that this will
only be used with nios2 in the near term. I'm not sure if any Microblaze
(Xilinx) folks have worked with this -- perhaps Michal can comment?
Regards
Thomas,
Applied.
Theank you,
--Scott
Thomas Chou wrote:
> This patch adds bootargs passing to nios2 linux.
>
> The args passing is enabled with,
> r4 : 'NIOS' magic
> r5 : pointer to initrd start
> r6 : pointer to initrd end
> r7 : pointer to command line
>
> Signed-off-by: Thomas Chou
> ---
> So it might be cleaner to let user define the HZ as the actual tick rate
> and increase the tick count by one in the tmr_isr.
This was discussed/debated thoroughly over the past year:
CONFIG_SYS_HZ at 1000 is mandatory.
>
> -timestamp += CONFIG_SYS_NIOS_TMRMS;
> +timestamp++;
This me
Signed-off-by: Scott McNutt
---
board/altera/common/AMDLV065D.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/altera/common/AMDLV065D.c b/board/altera/common/AMDLV065D.c
index 72b0a9f..7a1b4d3 100644
--- a/board/altera/common/AMDLV065D.c
+++ b/board/altera
CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 configuration
headers. Updated comments to accurately describe timebase macros.
Signed-off-by: Scott McNutt
---
include/configs/EP1C20.h | 14 --
include/configs/EP1S10.h | 14 --
include/configs
Thomas,
Please test your patches _before_ you post them. When you post
three versions of the same patch all within thirty minutes, you
do little to build any confidence in their quality or your
reputation.
Regards,
--Scott
___
U-Boot mailing list
U-Boo
Hi Thomas,
Patch is reject.
> diff --git a/cpu/nios2/start.S b/cpu/nios2/start.S
> index 31cd5b0..61784d8 100644
> --- a/cpu/nios2/start.S
> +++ b/cpu/nios2/start.S
> @@ -98,6 +98,17 @@ _cur: movhi r5, %hi(_cur - _start)
> stwio r7, 0(r5)
^
The existing code uses stxi
> On Monday 22 March 2010 23:36:19 Thomas Chou wrote:
>> +#include
>> +#include
>> +#include
>> +#include
>> +#include
>
> side note, but am i the only one who thinks nios headers in include/ is bad
> mojo ?
No. It's definitely bad mojo ... and has been for years (along with
many other head
Applied.
Thanks,
--Scott
Thomas Chou wrote:
> 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/Makefi
Signed-off-by: Scott McNutt
---
lib_nios2/board.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/lib_nios2/board.c b/lib_nios2/board.c
index 41d3297..8ec66a3 100644
--- a/lib_nios2/board.c
+++ b/lib_nios2/board.c
@@ -139,6 +139,13 @@ void board_init (void
The outx/writex macros were using writex(addr, val) rather than
the standard writex(val, addr), resulting in incompatibilty with
architecture independent components. This change set uses standard
parameter order.
Signed-off-by: Scott McNutt
---
board/altera/common/AMDLV065D.c
Signed-off-by: Scott McNutt
---
cpu/nios2/epcs.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/cpu/nios2/epcs.c b/cpu/nios2/epcs.c
index 483b249..a2e3fe3 100644
--- a/cpu/nios2/epcs.c
+++ b/cpu/nios2/epcs.c
@@ -207,6 +207,8 @@ static void epcs_status_wr
Mike Frysinger wrote:
> On Sunday 21 March 2010 13:37:53 Scott McNutt wrote:
>> +WATCHDOG_RESET ();
>> +puts ("Net: ");
>
> considering serial drivers' putc() should be calling watchdog reset, does
> this
> really make sense here ?
No
Signed-off-by: Scott McNutt
---
lib_nios2/board.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/lib_nios2/board.c b/lib_nios2/board.c
index 41d3297..311d66c 100644
--- a/lib_nios2/board.c
+++ b/lib_nios2/board.c
@@ -139,6 +139,14 @@ void board_init (void
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|
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
Wolfgang,
The following changes since commit f1fdc42e5efb9e3b6d0dd3b605d0848d3ca8a039:
Wolfgang Denk (1):
Merge branch 'master' of git://git.denx.de/u-boot-video
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Renato Andreola (1):
nios2: Ad
Renato,
Patch applied to the nios2 tree.
I think it's time to consider moving the nios2 header files
into include/asm-nios before the top-level include gets
too polluted.
Regards,
--Scott
Renato Andreola wrote:
> From d7a79fc4e5a3ebc6a1ca5c23500e3f2f1c3b33c2 Mon Sep 17 00:00:00 2001
> From: Re
Applied.
Best Regards,
--Scott
Thomas Chou wrote:
> The patch follows the asm-generic/unaligned.h patch from
> Mike Frysigner.
>
> Signed-off-by: Thomas Chou
> ---
> include/asm-nios2/unaligned.h |1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> create mode 100644 include/asm-nio
1 - 100 of 116 matches
Mail list logo