- 16 3月, 2018 3 次提交
-
-
由 Greentime Hu 提交于
OUTPUT_FORMAT is not necessary here and the elf toolchain doesn't support these formats. Since kernel should be built pass with elf or Linux toolchain. This can be removed from vdso.ld.S These are the built failed messages. VDSOL arch/nds32/kernel/vdso/vdso.so.dbg /home/users/greentime/tmp/nds32le-elf-newlib-v3-upstream-b224/bin/../lib/gcc/nds32le-elf/8.0.1/../../../../nds32le-elf/bin/ld: target elf32-nds32le-linux not found collect2: error: ld returned 1 exit status make[1]: *** [arch/nds32/kernel/vdso/vdso.so.dbg] Error 1 make: *** [vdso_prepare] Error 2 Signed-off-by: NGreentime Hu <greentime@andestech.com>
-
由 Greentime Hu 提交于
A commit for the nds32 architecture bootstrap("asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that in order to suppress re-definition errors we need to setup #define's before importing asm-generic/io.h. Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NTobias Klauser <tklauser@distanz.ch>
-
由 Greentime Hu 提交于
It will be built failed because these options are not supported by older version gcc. Signed-off-by: NGreentime Hu <greentime@andestech.com>
-
- 22 2月, 2018 37 次提交
-
-
由 Rick Chen 提交于
Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: NRick Chen <rickchen36@gmail.com> Signed-off-by: NGreentime Hu <green.hu@gmail.com> Acked-by: NRob Herring <robh@kernel.org> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Rick Chen 提交于
VDSO needs real-time cycle count to ensure the time accuracy. Unlike others, nds32 architecture does not define clock source, hence VDSO needs atcpit100 offering real-time cycle count to derive the correct time. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NRick Chen <rickchen36@gmail.com> Signed-off-by: NGreentime Hu <green.hu@gmail.com>
-
由 Rick Chen 提交于
ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set channel 1 32-bit timer0 as clock source and count downwards until underflow and restart again. It also set channel 0 32-bit timer0 as clock event and count downwards until condition match. It will generate an interrupt for handling periodically. Signed-off-by: NRick Chen <rickchen36@gmail.com> Signed-off-by: NGreentime Hu <green.hu@gmail.com> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Add andestech atcpit100 timer
-
由 Greentime Hu 提交于
This patch is used to support nds32 architecture to use these faraday mac IP. Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds the Andestech Internal Vector Interrupt Controller driver. You can find the spec here. Ch4.9 of AndeStar SPA V3 Manual. http://www.andestech.com/product.php?cls=9Signed-off-by: NRick Chen <rick@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NMarc Zyngier <marc.zyngier@arm.com>
-
由 Greentime Hu 提交于
This patch adds an irqchip driver document for the Andestech Internal Vector Interrupt Controller. Signed-off-by: NRick Chen <rick@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NRob Herring <robh@kernel.org> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds nds32 SoC(AE3XX and AG101P) binding documents. Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NRob Herring <robh@kernel.org> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds nds32 L2 cache controller binding documents. Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NRob Herring <robh@kernel.org> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds nds32 CPU binding documents. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NRick Chen <rick@andestech.com> Signed-off-by: NZong Li <zong@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NRob Herring <robh@kernel.org>
-
由 Greentime Hu 提交于
Add a maintainer information for the nds32(Andes) architecture. Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building an nds32 kernel. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds nds32 defconfig. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch introduces some miscellaneous header files. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds support for device tree. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds support for timer. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds support for loadable modules. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds L2 cache support. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds ptrace support. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch add support for various library functions. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds support for signal handling. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com>
-
由 Greentime Hu 提交于
This patch adds VDSO support. The VDSO code is currently used for sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter). Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds support for system calls. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Reviewed-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds definitions for the ELF format, relocation types, vdso locations and EXEC_PAGESIZE. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch adds support for the DMA mapping API. It uses dma_map_ops for flexibility. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch introduces ioremap implementations. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes the atomic and futex operations. Many atomic operations use the load-lock word(llw) and store-condition word(scw) operations. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes irq related functions and irqchip_init(). Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes copy_thread(), start_thread() implementation and cpu_context structure definition. nds32 uses $r25 to get current task_struct. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch contains cache and TLB maintenance functions. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes page fault handler, mmap and fixup implementations. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes memory initializations and highmem supporting. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It also includes the 4KB/8KB page size configurations and pte operations. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes the exception/interrupt entries, pt_reg structure and related accessors. /* Unaligned accessing handling*/ Andes processors cannot load/store information which is not naturally aligned on the bus, i.e., loading a 4 byte data whose start address must be divisible by 4. If unaligned data accessing is happened, data unaligned exception will be triggered and user will get SIGSEGV or kernel oops according to the unaligned address. In order to make user be able to load/store data from an unaligned address, software load/store emulation is implemented in arch/nds32/mm/alignment.c to address data unaligned exception. Unaligned accessing handling is disabled by default because it is not a normal case. User can enable this feature by following steps. A. Compile time: 1. Enable kernel config CONFIG_ALIGNMENT_TRAP B. Run time: 1. Enter /proc/sys/nds32/unaligned_acess folder 2. Write 1 to file enable_mode to enable unaligned accessing handling. User can disable it by writing 0 to this file. 3. Write 1 to file debug to show which unaligned address is under processing. User can disable it by writing 0 to this file. However, unaligned accessing handler cannot work if this unaligned address is not accessible such as protection violation. On this condition, the default behaviors for addressing data unaligned exception still happen Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes the kernel startup code. It can get dtb pointer passed from bootloader. It will create a temp mapping by tlb instructions at beginning and goto start_kernel. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
This patch includes assembly macros, bit field definitions used in .S files across arch/nds32/. Signed-off-by: NVincent Chen <vincentc@andestech.com> Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Greentime Hu 提交于
nds32 does not support VGA console, so prevent that kconfig symbol from being enabled for nds32, thus fixing these build errors: drivers/video/console/vgacon.o: In function `vgacon_save_screen': /NOBACKUP/sqa2/greentime/contrib/src_pkg/linux-nds32/drivers/video/console/vgacon.c:1327: undefined reference to `screen_info' /NOBACKUP/sqa2/greentime/contrib/src_pkg/linux-nds32/drivers/video/console/vgacon.c:1327: undefined reference to `screen_info' /NOBACKUP/sqa2/greentime/contrib/src_pkg/linux-nds32/drivers/video/console/vgacon.c:1328: undefined reference to `screen_info' /NOBACKUP/sqa2/greentime/contrib/src_pkg/linux-nds32/drivers/video/console/vgacon.c:1328: undefined reference to `screen_info' drivers/video/console/vgacon.o: In function `vgacon_init': /NOBACKUP/sqa2/greentime/contrib/src_pkg/linux-nds32/drivers/video/console/vgacon.c:591: undefined reference to `screen_info' drivers/video/console/vgacon.o:/NOBACKUP/sqa2/greentime/contrib/src_pkg/linux-nds32/drivers/video/console/vgacon.c:591: more undefined references to `screen_info' follow make: *** [vmlinux] Error 1 Signed-off-by: NGreentime Hu <greentime@andestech.com>
-
由 Greentime Hu 提交于
It will get the wrong virtual address because port->mapbase is not added the correct reg-offset yet. We have to update it before earlycon_map() is called Signed-off-by: NGreentime Hu <greentime@andestech.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NRob Herring <robh@kernel.org> Cc: Peter Hurley <peter@hurleysoftware.com> Cc: stable@vger.kernel.org Fixes: 088da2a1 ("of: earlycon: Initialize port fields from DT properties")
-