/sf, it will be another story..
Best regards,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
the code twice. Right? :)
Best regards
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Marek,
On 09/05/2015 08:51 PM, Marek Vasut wrote:
That's a common code you're modifying, so it has to be done right, sorry,
this patch cannot be accepted in this form.
I understand. I will use (u64) and print_lnum().
Best regards,
Thomas Chou
Hi Marek,
On 09/05/2015 09:11 PM, Marek Vasut wrote:
Idea: Maybe you can add a __weak hook into the generic timer code to
blink the LED ?
Thanks for the idea. I will look into it later.
Cheers,
Thomas Chou
___
U-Boot mailing list
U-Boot
nios2: Switch to generic timer", with the
removal of call to status_led_tick(), nios2 can not blink LED.
But it doesn't really matter, because U-Boot usually runs a very
short time. It should be enough to turn boot LED on and off
during boot process.
Signed-off-by: Thomas Chou <tho...@
Since commit 44c6e6591cb451ae606f8bde71dd5fb7b4002544
"rename _end to __bss_end__" , the _end was removed.
But we need it now for separated device tree control,
ie, CONFIG_OF_SEPARATE .
The _end is used by fdtdec_setup() to find the blob.
Signed-off-by: Thomas Chou <tho...@
Show fdt blob address in board info command.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
common/cmd_bdinfo.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index ed3b935..74ff229 100644
--- a/common/cmd_bdinfo.c
+++ b/
This patch adds device tree control of U-Boot to nios2 boards.
The example dts is taken from Linux kernel.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
Reviewed-by: Simon Glass <s...@chromium.org>
---
arch/nios2/dts/.gitignore | 1 +
arch/nios2/dts/3c120_devboar
As we will use u-boot-dtb.bin, the code relocation range
should be adjusted to accommodate the additional dtb.
It might be overkilled to look into dtb header to find the
dtb size, so we will simply use CONFIG_SYS_MONITOR_LEN.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
arch/nio
As dtb in u-boot-dtb.bin overlapped the BSS section,
we should delay the clearing of BSS until dtb is relocated
in board_init_f().
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
arch/nios2/cpu/start.S | 29 +++--
1 file changed, 15 insertions(+), 14 del
Enable this in the Kconfig so that nios2 boards can use device
tree to configure U-Boot.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
Reviewed-by: Simon Glass <s...@chromium.org>
---
arch/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/Kconfig b/arch/Kconfig
i
Since we don't use gp for small data with option "-G0",
we use gp as global data pointer. The _gp location is
not needed.
The ALIGN(16) was for gp only. It is removed, so that we
can get correct address of dtb in u-boot-dtb.bin image.
Signed-off-by: Thomas Chou <tho...@wytron.com.
These patches add device tree control of U-Boot to nios2 boards.
v2
use SPDX license header.
use fdt relocation in board_init_f.
Thomas Chou (8):
nios2: permit device tree control of U-Boot
nios2: move altera_pio_init to board_early_init_r
nios2: BSS should be cleared only after
As altera_pio_init() uses BSS, it should be moved to
board_early_init_r().
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
board/altera/nios2-generic/nios2-generic.c | 13 +
include/configs/nios2-generic.h| 1 +
2 files changed, 10 insertions(+), 4 del
.c due to conflict in
commit 2e88bb28d8061286d2f1cabcac224df15b941b82
NDS32: Generic Board Support and Unsupport
Tested on 3c120 devboard with qsys ghrd. But the status led didn't blink.
Best regards,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.d
1 file changed, 2 deletions(-)
Tested-by: Thomas Chou <tho...@wytron.com.tw>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Model for
Altera jtaguart, uart, spi and ethernet?
Best regards,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
the earlier patches,
[PATCH] nios2: move command line configuration to Kconfig, Aug,28
[PATCH] nios2: enable CONFIG_NET_RANDOM_ETHADDR, Aug,29
And perhaps,
[PATCH] mmc_spi: fix big-endian support error on be_to_cpu16, Aug,31
Cheers,
Thomas Chou
___
U-Boot
Hi Marek,
On 09/04/2015 09:55 PM, Marek Vasut wrote:
On Friday, September 04, 2015 at 02:22:17 PM, Thomas Chou wrote:
As altera_pio_init() uses BSS, it should be moved to
board_early_init_r().
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
Shouldn't this be part of arch_cp
a bit old though. Maybe you can ask one from Altera.
https://www.altera.com/products/boards_and_kits/dev-kits/altera/kit-cyc3.html
Best regards,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Since commit 44c6e6591cb451ae606f8bde71dd5fb7b4002544
"rename _end to __bss_end__" , the _end was removed.
But we need it now for separated device tree control,
ie, CONFIG_OF_SEPARATE .
The _end is used by fdtdec_setup() to find the blob.
Signed-off-by: Thomas Chou <tho...@wytron.
Hi Marek,
On 09/04/2015 10:01 PM, Marek Vasut wrote:
+ print_num("fdt_blob", (ulong)gd->fdt_blob);
I think this will not work on 64bit machines.
I'd agree that it won't work on 64bits machines, but it is enough for a
soft-core 32btis fpga processor. :)
Best regards
/sf along with their nios2
jtag flash programmer, which will load the image to the linked address
in sdram. The relocating loop in start.S works only if such Altera boot
loader is not used, ie, booting directly from cfi flash.
Best regards,
Thomas Chou
Since we don't use gp for small data with option "-G0",
we use gp as global data pointer. The _gp location is
not needed.
The ALIGN(16) was for gp only. It is removed, so that we
can get correct address of dtb in u-boot-dtb.bin image.
Signed-off-by: Thomas Chou <tho...@wytron.
the problem is in the current nios2
startup code start.S. The BSS is cleared before board_init_f(). I will
rework the startup code to make use of the board_init code.
Best regards,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de
The relocation of nios2 is different. We will need to move
dtb at the end of u-boot-dtb.bin image away from BSS sections.
Otherwise it will be zeroed during startup.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
arch/nios2/cpu/fdt.c | 20 +++-
arch/nios2/cpu/s
These patches add device tree control of U-Boot to nios2 boards.
In case of separated device tree blob, the blob is relocated
from the end of u-boot-dtb.bin image.
Thomas Chou (5):
nios2: permit device tree control of U-Boot
nios2: enable device tree control of U-Boot
nios2: revert _end
Enable this in the Kconfig so that nios2 boards can use device
tree to configure U-Boot.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
arch/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/Kconfig b/arch/Kconfig
index 4f73819..207c778 100644
--- a/arch/Kconfig
+++
This patch adds device tree control of U-Boot to nios2 boards.
The example dts is taken from Linux kernel.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
arch/nios2/dts/.gitignore | 1 +
arch/nios2/dts/3c120_devboard.dts | 164 +
arch
. It will be easier to handle fdt in C than ASM.
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
arch/nios2/cpu/start.S | 45 ++---
1 file changed, 22 insertions(+), 23 deletions(-)
diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/start.S
index 6
ot-dtb.bin
here to be used by fdtdec_setup().
Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
---
arch/nios2/cpu/u-boot.lds | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/arch/nios2/cpu/u-boot.lds b/arch/nios2/cpu/u-boot.lds
index 6e174be..2d43602 1
u-boot/drivers/mmc/mmc_spi.c:94: undefined reference to
`be_to_cpu16'
It should be cpu_to_be16.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Cc: Yoshinori Sato ys...@users.sourceforge.jp
Cc: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/mmc/mmc_spi.c | 2 +-
1 file changed, 1
Enable CONFIG_NET_RANDOM_ETHADDR to generate a random MAC address
when ETHADDR is not set.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Cc: Joe Hershberger joe.hershber...@ni.com
---
configs/nios2-generic_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/nios2
This patch moves command line configuration from board header
file to board defconfig in the way of Kconfig. The change passed
savedefconfig.
This fixes warnings such as : CONFIG_SYS_HUSH_PARSER redefined,
when Use hush shell is selected with menuconfig, etc.
Signed-off-by: Thomas Chou tho
This fixes the error when STATUS_LED_BOOT is not defined.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
net/bootp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/bootp.c b/net/bootp.c
index 43466af..ab17869 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -349,7
, and is not always up-to-date.
Please use u-boot.git instead.
BTW. which version of nios2-elf-gcc did you use? I've tested with v3.4.6
and v4.9.1.
Cheers,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
*/
Acked-by: Thomas Chou tho...@wytron.com.tw
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 08/30/2014 05:47 PM, Thomas Chou wrote:
Though nios2-generic board meant to be a template, it is helpful
to be able to test on a real hardware. As the nios2 linux is
developed and tested on a 3c120 FPGA based Golden Hardware Reference
Design, it makes sense to rebase nios2-generic
Hi Tom,
Please pull
The following changes since commit 6defdc0b5552ab1af4a66a8abac8196cbb6b9e15:
Merge branch 'master' of git://git.denx.de/u-boot-ti (2014-08-29 13:47:42
-0400)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Thomas Chou (6):
nios2
Though nios2-generic board meant to be a template, it is helpful
to be able to test on a real hardware. As the nios2 linux is
developed and tested on a 3c120 FPGA based Golden Hardware Reference
Design, it makes sense to rebase nios2-generic on this FPGA design.
Signed-off-by: Thomas Chou tho
Hi Thomas,
On 08/25/2014 04:05 PM, Thomas Chou wrote:
The epled driver was replaced by altera_pio and gpio_led.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Applied.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman
Hi Thomas,
On 08/25/2014 04:53 PM, Thomas Chou wrote:
The nios2-io.h defines hardware registers and bits of several FPGA
IP cores. It could be divided in to the specific drivers, including
altera timer, altera sysid, altera uart and altera jtag uart. The
altera pio and altera spi drivers use
On 08/25/2014 05:48 PM, Thomas Chou wrote:
The nios2-yanu.h contains hardware registers and bits of
opencores yanu. As there is no other user of this header
, it should be moved into the driver.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
CC: Renato Andreola renato.andre...@imagos.it
On 08/25/2014 05:10 PM, Thomas Chou wrote:
The nios2.h is nios2 cpu specific, and should go arch asm
directory.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Applied.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman
On 08/28/2014 05:35 PM, Thomas Chou wrote:
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE.
Then we can remove the text_base hook in nios2-generic board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
Changes in v2:
- Remove text_base_hook() proto in nios2-generic.c
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE.
Then we can remove the text_base hook in nios2-generic board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
Changes in v2:
- Remove text_base_hook() proto in nios2-generic.c
arch/nios2/cpu/u-boot.lds
Chou tho...@wytron.com.tw
---
doc/README.scrapyard | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
Thanks a lot.
Thomas Chou
Acked-by: Thomas Chou tho...@wytron.com.tw
___
U-Boot mailing list
U-Boot@lists.denx.de
http
The epled driver was replaced by altera_pio and gpio_led.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
board/altera/common/epled.c | 46 ---
board/altera/nios2-generic/Makefile |1 -
2 files changed, 0 insertions(+), 47 deletions(-)
delete
will help modularity and maintenance.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/cpu/cpu.c |1 -
arch/nios2/cpu/interrupts.c | 20 +-
arch/nios2/cpu/sysid.c|8 ++-
drivers/serial/altera_jtag_uart.c | 20 +-
drivers/serial
The nios2.h is nios2 cpu specific, and should go arch asm
directory.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/cpu/cpu.c |2 +-
arch/nios2/cpu/interrupts.c|2 +-
arch/nios2/include/asm/nios2.h | 40
include
The nios2-yanu.h contains hardware registers and bits of
opencores yanu. As there is no other user of this header
, it should be moved into the driver.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
CC: Renato Andreola renato.andre...@imagos.it
---
drivers/serial/opencores_yanu.c | 87
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE.
Then we can remove the text_base hook in nios2-generic board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/cpu/u-boot.lds |2 +
board/altera/nios2-generic/Makefile|1 -
board
Applied.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Applied.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Applied.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Tom,
Please pull
The following changes since commit 7f6b8315d18f683c5181d0c3694818c1b2a20dcd:
buildman: refactor help message (2014-08-22 10:42:36 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Thomas Chou (3):
nios2: remove obsolete
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Signed-off-by: Scott McNutt smcn...@psyent.com
Reviewed-by: Stefan Roese s...@denx.de
---
Changes in v2:
- Coding style clean up
Changes in v3:
- Add display
The Altera EPCS is SPI flash. We have been using SPI flash driver
to access EPCS for years. The old EPCS driver could be removed.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/cpu/Makefile |2 +-
arch/nios2/cpu/epcs.c | 717
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Signed-off-by: Scott McNutt smcn...@psyent.com
---
arch/nios2/config.mk|2 +
arch/nios2/cpu/cpu.c| 12 +++-
arch/nios2/cpu/start.S
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Signed-off-by: Scott McNutt smcn...@psyent.com
---
arch/nios2/config.mk|2 +
arch/nios2/cpu/cpu.c| 12 +++-
arch/nios2/cpu/start.S
This patch implements the generic board init as described in
doc/README.generic-board.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Signed-off-by: Scott McNutt smcn...@psyent.com
Reviewed-by: Stefan Roese s...@denx.de
---
Changes in v2:
- Coding style clean up
arch/nios2/config.mk
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/Kconfig |8 --
board/psyent/common/AMDLV065D.c | 170
board/psyent/pci5441/Kconfig | 15 ---
board/psyent/pci5441/MAINTAINERS |6 -
board/psyent/pci5441/Makefile|8
on different architectures.
This patch limits itself to the nios2 architecture.
Applied. Thanks a lot.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
NIOS2 maintainers so far.
Maybe you can pick up this serial
(or at least pick up this one which fixes build error).
Applied to nios branch. Thanks and sorry for late response.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de
.
Applied to nios branch. Thanks and sorry for late response.
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
oc_serial_setbrg() implementation
drivers/serial/opencores_yanu.c | 52 +
1 file changed, 11 insertions(+), 41 deletions(-)
Best regards,
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http
I have checked with Altera. This is a toolchain change. We will keep
this and follow mostly the types in
linux-2.6/include/uapi/asm-generic/posix_types.h .
- Thomas
___
U-Boot mailing list
U-Boot@lists.denx.de
to 1a05b5f91e12845cf06f4b1ef34096861bf718b5:
nios2: fix missing comment terminator from SPDX License commit (2013-09-06
11:03:42 +0800)
Thomas Chou (1):
nios2: fix missing comment terminator from SPDX License commit
arch/nios2/lib/longlong.h | 1
The commit 1a4596601fd395f3afb8f82f3f840c5e00bdd57a
Add GPL-2.0+ SPDX-License-Identifier to source files
generated a warning due to a missing comment terminator.
longlong.h:7:1: warning: /* within comment
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/lib/longlong.h | 1 +
1
', but argument 2 has type 'long unsigned int' [-Wformat]
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/include/asm/posix_types.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/nios2/include/asm/posix_types.h
b/arch/nios2/include/asm/posix_types.h
index
Hi Mike,
On 09/03/2013 10:38 AM, Thomas Chou wrote:
The gcc-4.7.3 in lastest nios2 toolchain generated lots of warning on
type mismatch. So change typedef of size_t to unsigned int, followed
those of arm and mips arch.
spi_flash.c: In function 'spi_flash_read_write':
spi_flash.c:42:3: warning
On 11/17/2012 05:20 AM, Simon Glass wrote:
Move nios2 over to use generic global_data.
Hi Simon,
Built and tested on nios2 board.
Acked-by: Thomas Chou tho...@wytron.com.tw
- Thomas
___
U-Boot mailing list
U-Boot@lists.denx.de
http
)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
for you to fetch changes up to db71964235c1dfa13ec398da483b0bdbbf31d5b7:
nios2: remove asm/status_led.h (2012-11-10 19:45:58 +0800)
Thomas Chou (2
instead.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
Cc: Marek Vasut ma...@denx.de
---
include/nios2.h | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/include/nios2.h b/include/nios2.h
index df8126a..5da7c87 100644
--- a/include/nios2.h
+++ b/include/nios2.h
The file has a wrong inline keyword of __led_toggle(), which causes
compilation error. And its content is defined in common status_led.h.
So define CONFIG_BOARD_SPECIFIC_LED in board config files and remove
this header file.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
arch/nios2/include
data bss dec hex filename
1354503254 23181 161885 2785d /home/thomas/tmp/u-boot/u-boot
Thank you very much.
Best regards
Thomas Chou
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
. Also, add a weak implementation
of default_serial_console() returning this driver.
Signed-off-by: Marek Vasut ma...@denx.de
Cc: Marek Vasut marek.va...@gmail.com
Cc: Tom Rini tr...@ti.com
Cc: Thomas Chou tho...@wytron.com.tw
---
common/serial.c |2 ++
drivers/serial
+#include linux/compiler.h
+#include serial.h
DECLARE_GLOBAL_DATA_PTR;
Otherwise,
Acked-by: Thomas Chou tho...@wytron.com.tw
Best regards,
Thomas Chou
diff --git a/common/serial.c b/common/serial.c
index 24879ec..e6566da 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -70,6 +70,7
On 04/24/2012 09:38 AM, thomas wrote:
The following changes since commit 61ddce07f8b96c5df7d00466b4da9edaecb0eff1:
sandbox: Use the new run_command() (2012-04-23 22:53:54 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Thomas Chou (1
Dear Wolfgang,
On 04/02/2012 10:50 AM, Thomas Chou wrote:
I hit more build error after rc1. I will send new pull request after I
fix them.
The problem was solved with Marek's recent patch as Mike Frysinger said.
http://patchwork.ozlabs.org/patch/149924/
So please pull the u-boot-nios
Dear Wolfgang,
On 03/31/2012 05:58 AM, Wolfgang Denk wrote:
Just one note:
After you have pulled these patches, we should also apply two
other patches of the series from from Stefan Kristiansson:
http://patchwork.ozlabs.org/patch/123622/ 1/3
http://patchwork.ozlabs.org/patch/123623/
Dear Wolfgang,
On 04/02/2012 10:40 AM, Thomas Chou wrote:
Dear Wolfgang,
On 03/31/2012 05:58 AM, Wolfgang Denk wrote:
Just one note:
After you have pulled these patches, we should also apply two
other patches of the series from from Stefan Kristiansson:
http://patchwork.ozlabs.org/patch
As suggested by Graeme Russ, move gd and bd data structrures
to BSS instead of calculating the locations around the stack
and heap.
Signed-off-by: Thomas Chou tho...@wytron.com.tw
---
For u-boot.
v2, mark gd/bd static
arch/nios2/lib/board.c | 12 +---
include/configs/nios2
As suggested by Graeme Russ, move gd and bd data structrures
to BSS instead of calculating the locations around the stack
and heap.
CC: Graeme Russ graeme.r...@gmail.com
CC: Mike Frysinger vap...@gentoo.org
CC: Alex Hornung a...@alexhornung.com
Signed-off-by: Thomas Chou tho...@wytron.com.tw
On 02/20/2012 03:45 PM, Alex Hornung wrote:
On 20/02/12 07:33, Alex Hornung wrote:
* Before, the normal altera UART driver was compiled in unconditionally
and the JTAG UART was missed out.
* Work around this by conditionalizing the driver to use based on the
UART choice in the
On 02/21/2012 07:45 AM, Alex Hornung wrote:
* Adjust the GBL_DATA_OFFSET to account for the fact that we'll be
using the space between that offset and the start of the malloc
region to allocate both a gd structure and a board info structure.
* This fixes a memory corruption bug due
Dear Wolfgang,
The following changes since commit 2acca35ce4604dcef933f07d90aa9c9c930e1049:
Merge branch 'master' of git://git.denx.de/u-boot-mmc (2012-02-17 23:54:46
+0100)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Alex Hornung (2):
nios2:
On 02/20/2012 03:34 PM, Alex Hornung wrote:
* Copy over Blackfin's get_ticks and get_tbclk - they work just fine on
Nios2.
Signed-off-by: Alex Hornunga...@alexhornung.com
---
arch/nios2/cpu/interrupts.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
14 files changed, 15 insertions(+), 120 deletions(-)
Tested on nios2 boards.
Tested-by: Thomas Chou tho...@wytron.com.tw
Best regards,
Thomas
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Dear Wolfgang,
The following changes since commit bfcc40bb09b05c90cc3b1496abb270eb8aa72134:
Merge branch 'next' of ../next (2011-12-23 20:53:58 +0100)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Stefan Kristiansson (1):
nios2: add
have tested cmd_sf and fat.
Tested-by: Thomas Chou tho...@wytron.com.tw
I would suggest splitting this patch into three, as they related to
different custodians.
Best regards,
Thomas
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de
Hi Mike,
I got this warning on cmd_sf.c,
cmd_sf.c: In function `spi_flash_update_block':
cmd_sf.c:130: warning: unsigned int format, size_t arg (arg 4)
cmd_sf.c:135: warning: unsigned int format, size_t arg (arg 3)
It was related to our arch/avr32|blackfin|nios2/asm/posix_types.h
typedef
On 10/31/2011 02:13 PM, Purushothamrao wrote:
Kindly guide me how to configure u-boot to generate u-boot.bin for
NIOS-2 processor.
Dear Purushothamrao,
Please follow the wiki page,
http://alterawiki.com/wiki/DasUBoot
Best regards,
Thomas
___
On 11/04/2011 08:38 PM, Stefan Kristiansson wrote:
exposes functionality to flush dcache according to
the common.h API
Signed-off-by: Stefan Kristianssonstefan.kristians...@saunalahti.fi
Cc: Thomas Choutho...@wytron.com.tw
---
arch/nios2/lib/cache.S | 10 ++
1 files changed,
/net/ethoc.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Acked-by: Thomas Chou tho...@wytron.com.tw
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
index 7ac9025..cb79753 100644
--- a/drivers/net/ethoc.c
+++ b/drivers/net/ethoc.c
@@ -272,7 +272,7 @@ static int
/net/altera_tse.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
Acked-by: Thomas Chou tho...@wytron.com.tw
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index 5b00717..0e6aac7 100644
--- a/drivers/net/altera_tse.c
+++ b/drivers/net/altera_tse.c
On 11/01/2011 02:32 AM, Mike Frysinger wrote:
On Monday 31 October 2011 03:56:25 Stefan Kristiansson wrote:
so my gut feeling is that nios2 and the 2 ethernet drivers should be
changed to use for example flush_dcache_range(?)
correct
Thanks. I will fix the nios2 and the two net drivers to
The following changes since commit ce5207e191c59b3135303fd03b98dd2ac3701ba2:
e1000: Allow direct access to the E1000 SPI EEPROM device (2011-10-28
00:37:01 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-nios.git master
Joachim Foerster (4):
nios2: Pseudo
On 10/26/2011 08:25 PM, Joachim Foerster wrote:
The main motivation is, to have the local-mac-address property of the
ethernet peripherals fixed/synced with U-Boot's environment settings.
Signed-off-by: Joachim Foersterjoachim.foers...@missinglinkelectronics.com
---
arch/nios2/cpu/Makefile
On 10/20/2011 04:28 PM, Joachim Foerster wrote:
AFAIK the NIOS2 architecture does not have any possibility to
dynamically switch off the data cache. So _status() always reports 1 and
_enable/_disable() just issue a flush of everything.
For example, common/cmd_elf.c depends on these symbols.
601 - 700 of 946 matches
Mail list logo