, and ask Greg to merge into next
uClinux-dist release.
Thomas Chou
(Hippo on Nios2 forum)
Robert P. J. Day wrote:
On Wed, 24 Oct 2007, Michael Schnell wrote:
Robert P. J. Day wrote:
given that there are other forums to discuss the nios2 soft-core
processor
Yes, it should be updated as the latest kernel changes. I will run some
disk IO to verify it.
I did BORROW them mostly from SH or MIPS.
Thomas
Robert P. J. Day wrote:
i'm about to go off and drink beer, but here's the most recent
(albeit minor) obstacle -- the asm/scatterlist.h file for
The kernel is a non-stop moving target. :)
There are always some changes that stop the build or crash during boot.
I used to migrate the kernel core step by step. Change a little, then
check if it works.
If there are too many changes at once, it is difficult to identify the
source of problem.
I think the preferred way to distribute kernel projects is through a git
repository.
I am setting up a git server for Nios2 projects, which should be online
within one or two days.
You are welcome to publish the Micro32 port as a branch on this server,
since we call the server 'sopc' rather
I've run through some exercises of git. I've tried
branch-edit-commit-push. It works.
So you can work on a clone from Linus' git. Then branch, add your
patches, and commit. Later on, when our git server is online, you can
push your branch onto the server.
About the naming?
The git server is online now.
Please read the wiki page, http://nioswiki.jot.com/WikiHome/GitServer .
It is almost empty at the moment, waiting for input to grow.
Cheer,
Thomas
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
Sorry, the server went down last night. It is up now.
Please check again.
Thomas
Ben Twijnstra wrote:
Hi Thomas,
The git server is online now.
Please read the wiki page, http://nioswiki.jot.com/WikiHome/GitServer .
It is almost empty at the moment, waiting for input to grow.
Update vendor config files to v2.6.23 for nios2nommu.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/vendors/Altera/nios2nommu/config.linux-2.6.x
b/vendors/Altera/nios2nommu/config.linux-2.6.x
index 363e7f9..5161b1c 100644
--- a/vendors/Altera/nios2nommu/config.linux-2.6.x
+++ b
relocate linux/usb_isp1362.h to linux/usb/isp1362.h
remove bandwidth related code from isp1362 driver for upstream API
change
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/linux-2.6.x/drivers/usb/host/isp1362-hcd.c
b/linux-2.6.x/drivers/usb/host/isp1362-hcd.c
index e672a99..676dab1
The clock check does not work on DE2.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/linux-2.6.x/drivers/usb/host/isp1362-hcd.c
b/linux-2.6.x/drivers/usb/host/isp1362-hcd.c
index 676dab1..f08955e 100644
--- a/linux-2.6.x/drivers/usb/host/isp1362-hcd.c
+++ b/linux-2.6.x/drivers/usb
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/linux-2.6.x/arch/nios2nommu/kernel/usb.c
b/linux-2.6.x/arch/nios2nommu/kernel/usb.c
index 65655b6..c9d8f25 100644
--- a/linux-2.6.x/arch/nios2nommu/kernel/usb.c
+++ b/linux-2.6.x/arch/nios2nommu/kernel/usb.c
@@ -271,7 +271,7
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/lib/Makefile b/lib/Makefile
index 2c99955..1f43181 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -166,6 +166,7 @@ LINKLIBS=\
$(ROOTDIR)/lib/libatm/src/lib/.libs/*.a \
$(ROOTDIR)/lib/libdes/*.a \
$(ROOTDIR)/lib
As suggested by David McCullough, make vendor_hwselect create the romfs dir.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/vendors/Altera/nios2nommu/Makefile
b/vendors/Altera/nios2nommu/Makefile
index 40064ce..cce4d76 100644
--- a/vendors/Altera/nios2nommu/Makefile
+++ b/vendors
FIXME: tftp uses legacy bcopy,bzero
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/netflash/tftpmain.c b/user/netflash/tftpmain.c
index 14e6a92..ee13029 100644
--- a/user/netflash/tftpmain.c
+++ b/user/netflash/tftpmain.c
@@ -41,6 +41,7 @@ static char sccsid[] = @(#)main.c5.8
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/linux-2.6.x/include/asm-nios2nommu/fb.h
b/linux-2.6.x/include/asm-nios2nommu/fb.h
new file mode 100644
index 000..c7df380
--- /dev/null
+++ b/linux-2.6.x/include/asm-nios2nommu/fb.h
@@ -0,0 +1,12 @@
+#ifndef _ASM_FB_H_
+#define
Hi Greg,
Yes, it is. But please apply the depending patch first,
[PATCH] isp1362: merge updates in blackfin linux
Sorry, I will add number option to git format-patch to avoid such
confusion in the future.
Best regards,
Thomas
Greg Ungerer 提到:
Hi Thomas,
Thomas Chou wrote:
The clock check
Greg Ungerer wrote:
Try manually enabling the libz config in the applications/library
config options. Maybe the mtd-tools options need to select libz
in the Kconfig.
The obj of libz is compiled, but the symlink in lib/ to libz is missing.
Apply the submitted patch should fix this issue,
Wolfgang Wegner wrote:
several missing commands (files). Generating an initramfs image from
the romfs still fails, but I can live with that.
We have been using initramfs generated from romfs dir on nios2 boards.
We use a file to name the dev nodes. We think it is easier than romfs
alone.
flow control function (option)
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/linux-2.6.x/drivers/net/Space.c b/linux-2.6.x/drivers/net/Space.c
index ac9b789..e0a921b 100644
--- a/linux-2.6.x/drivers/net/Space.c
+++ b/linux-2.6.x/drivers/net/Space.c
@@ -71,7 +71,7 @@ extern struct
Update clean rules, because files in arch/nios2nommu/boot/compressed were not
cleaned.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/linux-2.6.x/arch/nios2nommu/Makefile
b/linux-2.6.x/arch/nios2nommu/Makefile
index ca139b6..632f049 100644
--- a/linux-2.6.x/arch/nios2nommu/Makefile
The files created in romfs/bin do not have execute mode set for others. They
should set for non-root users to execute.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/vendors/Altera/nios2nommu/Makefile
b/vendors/Altera/nios2nommu/Makefile
index 798ddd5..a2ac239 100644
--- a/vendors
bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/init/simpleinit.c b/user/init/simpleinit.c
index 6b31bba..b044339 100644
--- a/user/init/simpleinit.c
+++ b/user/init/simpleinit.c
bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/inetd/inetd.c b/user/inetd/inetd.c
index 0baf77a..e7c18cc 100644
--- a/user/inetd/inetd.c
+++ b/user/inetd/inetd.c
@@ -580,7 +580,7
bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/ftp/ftp/cmds.c b/user/ftp/ftp/cmds.c
index a98dfa3..cdf101d 100644
--- a/user/ftp/ftp/cmds.c
+++ b/user/ftp/ftp/cmds.c
@@ -243,9 +243,9
This is a gdbserver helper for nios2 user space application debug. It
traps to kernel to flag current process for debugging. It is imported
from Microtronix Nios II Linux v1.4 release.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/Kconfig b/user/Kconfig
index 2e1c81e..213ea23
bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/ftpd/config.h b/user/ftpd/config.h
index b3c9fb9..4265d50 100644
--- a/user/ftpd/config.h
+++ b/user/ftpd/config.h
@@ -44,13 +44,13
bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/sash/sash.c b/user/sash/sash.c
index 24fbddb..b14c7f5 100644
--- a/user/sash/sash.c
+++ b/user/sash/sash.c
@@ -502,7 +502,7 @@ command
bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/boa/src/auth.c b/user/boa/src/auth.c
index e8f000e..12c16f3 100644
--- a/user/boa/src/auth.c
+++ b/user/boa/src/auth.c
@@ -21,7 +21,7
bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3.
They are replaced as proposed by SuSv3.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/user/dhcpcd/arp.c b/user/dhcpcd/arp.c
index efbe458..524db35 100644
--- a/user/dhcpcd/arp.c
+++ b/user/dhcpcd/arp.c
@@ -53,7 +53,7
Greg Ungerer wrote:
Why not just enable legacy support for these in uClibc?
Easier than modify all those legacy packages.
Regards
Greg
Please find the message below, that Atle wrote me,
- Thomas
Atle Nissestad wrote:
I proposed a fix (added selection in menuconfig) for this, but the
Greg Ungerer wrote:
Hi Thomas,
Thomas Chou wrote:
Igor Opencore Ethernet driver needs this.
Are these really neccessary. With appropriate module_init()
calls in the drivers you shouldn't need these.
Regards
Greg
We will need these to compile in kernel, rather than using modules.
Best
Greg Ungerer wrote:
Thomas Chou wrote:
Greg Ungerer wrote:
Hi Thomas,
Thomas Chou wrote:
Igor Opencore Ethernet driver needs this.
Are these really neccessary. With appropriate module_init()
calls in the drivers you shouldn't need these.
Regards
Greg
We will need these to compile
Greg Ungerer wrote:
Thomas Chou wrote:
Greg Ungerer wrote:
Hi Thomas,
Thomas Chou wrote:
Igor Opencore Ethernet driver needs this.
Are these really neccessary. With appropriate module_init()
calls in the drivers you shouldn't need these.
Regards
Greg
We will need these to compile
,
Thomas Chou
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Source Kconfig.hz so that we have higher clock tick rate.
You will need to update uClibc to get correct sysconf() and clock().
Also update Kconfig following those of m68knommu and i386.
The default configs are updated, too.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch
Michael Schnell wrote:
You can use EPCS MTD chip driver, which accesses SPI flash through
FPGA configuration port.
That is what I hoped. I'm not sure whether the data chip should be
attached to the same SPI bus as well, or if a second SPI interface
should be provided for same.
Before you
Michael Schnell wrote:
I read about this in the Altera appnotes, Of course we will use the
FPGA configuration remote upgrade feature. I understand that you
should have a fixed workable FPGA configuration on address 0 and in
that there is a pointer to some other address where the FPGA bitstream
Michael Schnell wrote:
You can find all the details in nios wiki.
Hmm , I suppose it's there, but how to find _anything_ there ?
Michael
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
Make sure the init_task is aligned to the kernel thread size so we can
locate the kernel stack properly and quickly.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
diff --git a/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
b/linux-2.6.x/arch/nios2nommu/kernel/vmlinux.lds.S
index 491901c
Michael Schnell wrote:
However, (1) contains FPGA cofniguration + recovery software, which
will help you write to recovery.
What do you mean by recovery software ? Upgrades are done via
Ethernet-TCP/IP and/or via serial interface. I suppose when an upgrade
fails, it should be possible to do
Robert P. J. Day wrote:
is the macro THREAD_SIZE not defined so that it can be used instead of
hardcoding the value 8192?
rday
You are right. We should have used a macro.
Most arch define THREAD_SIZE in thread_info.h . But currently nios2nommu
and x86_64 define it in page.h .
We shall
-2.6.git
test-lm32
cd test-lm32
git remote add sopc git://sopc.et.ntust.edu.tw/git/linux-2.6.git
git fetch sopc
git checkout -b test-lm32 sopc/test-lm32
Thank you very much for your cooperation and helps.
Cheer,
Thomas Chou
___
uClinux-dev mailing list
User space udev is installed to romfs/sbin/.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
vendors/Altera/nios2nommu/Makefile |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/vendors/Altera/nios2nommu/Makefile
b/vendors/Altera/nios2nommu/Makefile
index a2ac239
are redirected to inthandler at sdram.
FIXME: It won't work if the exception slave is not writable. An error
should be generated then.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/asm-offsets.c |4 +++
linux-2.6.x/arch/nios2nommu/kernel/head.S
The previous code does not work for bus width larger than 128 bits. This
patch replace the limited test cases, and should work without bus width
limitation.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
.../nios2nommu/scripts/PTF/SystemPTF/Module.pm | 17 ++---
1 files
The check of software_exception is incorrect. If any disabled irq line
is active, software_exception won't work. And the system will hang.
We must check ienable before handling hardware interrupts.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/entry.S
From: Atle Nissestad [EMAIL PROTECTED]
All of this was just copied from m68knommu at some point, and the code was not
even
converted for nios2 arch.
Signed-off-by: Atle Nissestad [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/nios2_ksyms.c |1 -
From: Atle Nissestad [EMAIL PROTECTED]
The ptrace syscall (at least when it comes to register/memory read/write)
should now
for the 1st time in history actually work for nios2.
Signed-off-by: Atle Nissestad [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/ptrace.c | 86
From: Atle Nissestad [EMAIL PROTECTED]
This is an initial attempt of enabling gdb/gdbserver application debug support
on the nios2 platform. To distinguish a gdb breakpoint from a system call, we
put
an immediate value of 1 into the trap instruction. In the instruction set the
immediate
value
The breakpoint entry code has moved the PC on by 4 bytes, so we must
move it back. This could be done on the host but we do it here because
monitor.S of JATG gdbserver does it.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/traps.c |8 +++-
1 files
The user registers number are reverted to those of Altera gdb, so that
they are compatible and eased future updates.
The single step handler in ptrace is removed, because nios2 does not
have single step instruction and we use software single step simulation
from gdb host.
Signed-off-by: Thomas
, and then
to instruction master.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/ptrace.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/kernel/ptrace.c
b/linux-2.6.x/arch/nios2nommu/kernel/ptrace.c
index
Greg Ungerer wrote:
Seeing as the patch is coming through you, you would normally
put your signed-off-by as well. (so the submission path can
be tracked).
Thanks a lot. I will add my sign-off next time.
Best regards,
Thomas
___
uClinux-dev mailing
The check of software_exception is incorrect. If any disabled irq line
is active, software_exception won't work. And the system will hang.
We must check ienable before handling hardware interrupts.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
Greg Ungerer wrote:
I missed this one earlier, can
As cfi flash and romfs are not required when we run initramfs,the
dependency of cfi flash is cleaned.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/asm-offsets.c |2 --
linux-2.6.x/arch/nios2nommu/kernel/setup.c | 10 ++
.../arch
The prepare in arch Makefile should be spelled as archprepare. This
fixes the compilation error caused by asm-offsets.h dependency.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
with KBUILD_CFLAGS all over the
tree and enabling one to use:
make CFLAGS=...
to specify additional gcc commandline options.
One usecase is when trying to find gcc bugs but other
use cases has been requested too.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/Makefile | 22
bits masked off.
- Bit 1 set: this is the final entry in the sg entry. sg_next() will
return
NULL when passed such an entry.
It's thus important that sg table users use the proper accessors to get
and set the page member.
Originated-by: Jens Axboe [EMAIL PROTECTED]
Signed-off-by: Thomas Chou
Some dev boards does not have eerom to read eth MAC address. We can
set the MAC regs and pass it to drivers.
The previous eth MAC hooks in net drivers are removed.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/setup.c | 13 -
1 files changed
with KBUILD_AFLAGS all over
the tree.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/Makefile |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/Makefile
b/linux-2.6.x/arch/nios2nommu/Makefile
index 114ef77..fe0afb7 100644
Add SHMAT, SHMDT, SHMGET and SHMCTL support in sys_ipc().
(copied from m68k)
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/sys_nios2.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu
Replaced with linux/blkdev.h.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/setup.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/kernel/setup.c
b/linux-2.6.x/arch/nios2nommu/kernel/setup.c
index
The NO_MM flag is not used in 2.6 kernels.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/Makefile |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/Makefile
b/linux-2.6.x/arch/nios2nommu/Makefile
index fe0afb7
Follow the patch from Adrian Bunk [EMAIL PROTECTED],
All asm/ipc.h files do only #include asm-generic/ipc.h.
This patch therefore removes all include/asm-*/ipc.h files and moves the
contents of include/asm-generic/ipc.h to include/linux/ipc.h.
Signed-off-by: Thomas Chou [EMAIL PROTECTED
for the real clock input to the system timer.
na_cpu_clock_freq is added to display correct /proc/cpuinfo.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/setup.c |4 ++--
.../arch/nios2nommu/scripts/PTF/SystemPTF.pm | 16 +---
.../arch
A M wrote:
Can someone point me to a FAQ for embedded sw
development on an NIOS cpu running Linux ?
Please follow Nios Wiki at
http://nioswiki.jot.com/%C2%B5Clinux
- Thomas
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
for buffer.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/lib/memcpy.c | 237 +++---
1 files changed, 182 insertions(+), 55 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/lib/memcpy.c
b/linux-2.6.x/arch/nios2nommu/lib/memcpy.c
index
Some apps such as e2fsprogs need elf2flt in ldopts to create flt
objects.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
vendors/Altera/nios2nommu/config.arch |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vendors/Altera/nios2nommu/config.arch
b/vendors/Altera
David McCullough wrote:
Jivin Thomas Chou lays it down ...
Some apps such as e2fsprogs need elf2flt in ldopts to create flt
objects.
Perhaps we should consider having ucfront deal with this. That way all !MMU
can easily turn on -elf2flt ?
The config.arch could set with something like
The ucfront wrapper was missing. Some apps need this to configure.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
vendors/Altera/nios2nommu/config.arch | 61 +++-
1 files changed, 14 insertions(+), 47 deletions(-)
diff --git a/vendors/Altera/nios2nommu
David McCullough wrote:
Jivin Thomas Chou lays it down ...
The ucfront wrapper was missing. Some apps need this to configure.
Sorry to do this to you, but you should create a:
vendors/config/niosnommu/config.arch
that can be used by all nios targets, but overriden where needed
The current NiosII f-core supports write-back data cache. This patch
adds uncached mapping with address bit 31 setting to bypass data cache.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/mm/ioremap.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions
range for cache_invalidate_lines() is limited to the cache
size, so that the time spent can be reduced.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/mm/memory.c | 33 ---
1 files changed, 17 insertions(+), 16 deletions(-)
diff --git
This fixed the bug when I changed the flushd instruction to flushda.
The address range to flush should be changed accordingly.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/mm/memory.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git
Hi Greg,
Please find the busybox v1.10.1 patches based on your 20070130-20071107 patches.
http://sopc.et.ntust.edu.tw/pub/testing/busybox/
0001-busybox-mode-x-for-scripts.patch
0002-busybox-define-BB_NOMMU-if-__uClinux__.patch
0003-Revert-busybox-define-BB_NOMMU-if-__uClinux__.patch
Need this patch to run configure for nios2.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
lib/libgmp/configfsf.sub |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib/libgmp/configfsf.sub b/lib/libgmp/configfsf.sub
index faffa7a..432a44a 100644
--- a/lib/libgmp
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/drivers/net/open_eth.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-2.6.x/drivers/net/open_eth.c
b/linux-2.6.x/drivers/net/open_eth.c
index 0bde24f..f9672c0 100644
--- a/linux-2.6.x/drivers/net
can search mii address during initialization. The mii interrupt
can be handled.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/drivers/net/open_eth.c | 248 +--
1 files changed, 149 insertions(+), 99 deletions(-)
diff --git a/linux-2.6.x/drivers/net
definition)
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/drivers/net/open_eth.c | 73 ---
1 files changed, 58 insertions(+), 15 deletions(-)
diff --git a/linux-2.6.x/drivers/net/open_eth.c
b/linux-2.6.x/drivers/net/open_eth.c
index f9672c0..dce6c52 100644
/getroute.c
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
user/net-tools/hostname.c |4 +-
user/net-tools/include/mii.h |9 -
user/net-tools/lib/af.c |6 +--
user/net-tools/lib/getroute.c |2 +-
user/net-tools/mii-tool.c | 77
update from Jake, it handles
unaligned buffers and can work without XXBUFF_PREALLOC.
FIXME: This driver is not SMP-safe.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/drivers/net/open_eth.c | 59
1 files changed, 26 insertions(+), 33 deletions
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/drivers/net/open_eth.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/linux-2.6.x/drivers/net/open_eth.c
b/linux-2.6.x/drivers/net/open_eth.c
index 0bde24f..f2d9834 100644
--- a/linux-2.6.x/drivers/net
Title: [uClinux-dev] [PATCH 2/5] open_eth: remove useless set_module_owner
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/drivers/net/open_eth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-2.6.x/drivers/net/open_eth.c b/linux-2.6.x/drivers
* user/net-tools/netstat.c
* user/net-tools/lib/af.c
* user/net-tools/lib/getroute.c
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
user/net-tools/hostname.c | 4 +-
user/net-tools/include/mii.h | 9 -
user/net-tools/lib/af.c | 6 +--
user/net-tools/lib/getroute.c | 2 +-
user/net-tools
Cannot support DMA API.
FIXME: The DMA driver needs update.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/Kconfig |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/Kconfig
b/linux-2.6.x/arch/nios2nommu/Kconfig
The __get_free_pages and ioremap can replace this interface.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/mm/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/mm/Makefile
b/linux-2.6.x/arch/nios2nommu
From: Jai Dhar [EMAIL PROTECTED]
Amended romfs_list to make device nodes for mmcblk devices. Thes are
required for using nios_mmc.
Signed-off-by: Jai Dhar [EMAIL PROTECTED]
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
vendors/Altera/nios2nommu/romfs_list |5 +
1 files changed, 5
From: Jai Dhar [EMAIL PROTECTED]
Added udhcpc script and edited Altera vendor-specific Makefile to
include default.script into filesystem tree.
Signed-off-by: Jai Dhar [EMAIL PROTECTED]
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
vendors/Altera/nios2nommu/Makefile |5
Commit 2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4 (CONFIG_HIGHPTE vs.
sub-page page tables) caused some build breakage due to pgtable_t.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/include/asm-nios2nommu/page.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
Follow commit 72a7fe3967dbf86cb34e24fbf1d957fe24d2f246,
The patchset adds a flags variable to reserve_bootmem() and uses the
BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect
collisions between crashkernel area and already used memory.
Signed-off-by: Thomas Chou [EMAIL PROTECTED
From: Jai Dhar [EMAIL PROTECTED]
Modified driver to read WP status bit from nios_mmc core and report back
in get_ro driver function
Signed-off-by: Jai Dhar [EMAIL PROTECTED]
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/drivers/mmc/host/nios_mmc.c |4
linux-2.6.x
Follow commit b0b933c08bd5fd053bbba8ba6387f543be03d49f,
Mark arches that support A.OUT format by including the following in
their master Kconfig files:
config ARCH_SUPPORTS_AOUT
def_bool y
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/Kconfig |3
This patch is needed to generate nios2_system.h correctly when using
FIFOed Avalon Uart.
Contributed by Heing.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
.../scripts/nios2_system.h/fifoed_avalon_uart.pm | 44
1 files changed, 44 insertions(+), 0 deletions
Follow commit 4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0,
A userspace program may wish to set the mark for each packets its send
without using the netfilter MARK target. Changing the mark can be used
for mark based routing without netfilter or for packet filtering.
Signed-off-by: Thomas Chou
Since start_kernel() comes with __init, so the caller _start() must be
with __init.
The start.c is not in use and is removed from Makefile.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/Makefile |2 +-
linux-2.6.x/arch/nios2nommu/kernel/head.S | 14
The init_task section is renamed to .init_task.data , in order to
match the link script.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/init_task.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/kernel
Revert the commit nios2: fix section mismatch.
We want _start() located at the beginning.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/head.S | 11 +++
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu
nios2nommu does not support KVM.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/include/asm-nios2nommu/kvm.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 linux-2.6.x/include/asm-nios2nommu/kvm.h
diff --git a/linux-2.6.x/include/asm-nios2nommu
The update_process_times() should go outside xtime_lock. Otherwise it
will run into deadlock.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/kernel/time.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu
Remove unused local gettimeofday functions, now that we are using
GENERIC_TIME.
Signed-off-by: Thomas Chou [EMAIL PROTECTED]
---
linux-2.6.x/arch/nios2nommu/Kconfig |4 ++
linux-2.6.x/arch/nios2nommu/kernel/time.c | 66 -
2 files changed, 4 insertions
1 - 100 of 121 matches
Mail list logo