Cleanup Lemote FuLoong2e Support
Subsystems (2)
v4 cover Cleanup Lemote FuLoong2e Support
From: Wu Zhangjin <[email protected]>
This patch series is the -v4 version of the loongson-PATCH-v3 series, but it only include the cleanup for fuloong2e support and necessary preparation for future fuloong-2f and yeeloong-2f support.
The git branch of this patch series is:
git://dev.lemote.com/rt4ls.git linux-loongson/dev/fuloong2e
or
http://dev.lemote.com/cgit/rt4ls.git/log/?h=linux-loongson/dev/fuloong2e
Wu Zhangjin (16):
[loongson] eary_printk: Remove existing implementation [loongson] kgdb: Remove out-of-date board-specific source code [loongson] early_printk: add new implmentation [loongson] pm: Remove redundant source code [loongson] pm: clean up the reboot support [loongson] pci: use existing mips_io_port_base [loongson] split the implementation of prom,setup parts [loongson] clean up the coding style
[loongson] pci: clean up pcimap setup
[loongson] rtc: enable legacy RTC driver on fulong [loongson] add oprofile support
[loongson] change naming methods
[loongson] split common loongson source code out [loongson] add a machtype kernel command line argument [loongson] add gcc 4.4 support for Loongson2E [loongson] update the default config file for fuloong2e
Documentation/kernel-parameters.txt | 4 + arch/mips/Kconfig | 52 +- arch/mips/Makefile | 15 +- arch/mips/configs/fulong_defconfig | 1912 -------------------- arch/mips/configs/fuloong2e_defconfig | 1819 +++++++++++++++++++ arch/mips/include/asm/bootinfo.h | 12 + .../asm/mach-lemote/cpu-feature-overrides.h | 59 - arch/mips/include/asm/mach-lemote/dma-coherence.h | 68 - arch/mips/include/asm/mach-lemote/mc146818rtc.h | 36 - arch/mips/include/asm/mach-lemote/pci.h | 30 - arch/mips/include/asm/mach-lemote/war.h | 25 - .../asm/mach-loongson/cpu-feature-overrides.h | 59 + .../mips/include/asm/mach-loongson/dma-coherence.h | 68 + arch/mips/include/asm/mach-loongson/loongson.h | 67 + arch/mips/include/asm/mach-loongson/machine.h | 22 + arch/mips/include/asm/mach-loongson/mc146818rtc.h | 36 + arch/mips/include/asm/mach-loongson/mem.h | 30 + arch/mips/include/asm/mach-loongson/pci.h | 37 + arch/mips/include/asm/mach-loongson/war.h | 25 + arch/mips/include/asm/mips-boards/bonito64.h | 2 +- arch/mips/lemote/lm2e/Makefile | 7 - arch/mips/lemote/lm2e/bonito-irq.c | 74 - arch/mips/lemote/lm2e/dbg_io.c | 146 -- arch/mips/lemote/lm2e/irq.c | 143 -- arch/mips/lemote/lm2e/mem.c | 23 - arch/mips/lemote/lm2e/pci.c | 97 - arch/mips/lemote/lm2e/prom.c | 97 - arch/mips/lemote/lm2e/reset.c | 41 - arch/mips/lemote/lm2e/setup.c | 111 -- arch/mips/loongson/Kconfig | 31 + arch/mips/loongson/Makefile | 11 + arch/mips/loongson/common/Makefile | 11 + arch/mips/loongson/common/bonito-irq.c | 51 + arch/mips/loongson/common/cmdline.c | 52 + arch/mips/loongson/common/early_printk.c | 38 + arch/mips/loongson/common/env.c | 58 + arch/mips/loongson/common/init.c | 30 + arch/mips/loongson/common/irq.c | 74 + arch/mips/loongson/common/machtype.c | 50 + arch/mips/loongson/common/mem.c | 35 + arch/mips/loongson/common/pci.c | 83 + arch/mips/loongson/common/reset.c | 39 + arch/mips/loongson/common/setup.c | 60 + arch/mips/loongson/common/time.c | 27 + arch/mips/loongson/fuloong-2e/Makefile | 7 + arch/mips/loongson/fuloong-2e/irq.c | 71 + arch/mips/loongson/fuloong-2e/reset.c | 24 + arch/mips/oprofile/Makefile | 1 + arch/mips/oprofile/common.c | 4 + arch/mips/oprofile/op_model_loongson2.c | 177 ++ arch/mips/pci/Makefile | 2 +- arch/mips/pci/fixup-fuloong2e.c | 224 +++ arch/mips/pci/fixup-lm2e.c | 242 --- arch/mips/pci/ops-bonito64.c | 4 +- 54 files changed, 3372 insertions(+), 3151 deletions(-) delete mode 100644 arch/mips/configs/fulong_defconfig create mode 100644 arch/mips/configs/fuloong2e_defconfig delete mode 100644 arch/mips/include/asm/mach-lemote/cpu-feature-overrides.h delete mode 100644 arch/mips/include/asm/mach-lemote/dma-coherence.h delete mode 100644 arch/mips/include/asm/mach-lemote/mc146818rtc.h delete mode 100644 arch/mips/include/asm/mach-lemote/pci.h delete mode 100644 arch/mips/include/asm/mach-lemote/war.h create mode 100644 arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h create mode 100644 arch/mips/include/asm/mach-loongson/dma-coherence.h create mode 100644 arch/mips/include/asm/mach-loongson/loongson.h create mode 100644 arch/mips/include/asm/mach-loongson/machine.h create mode 100644 arch/mips/include/asm/mach-loongson/mc146818rtc.h create mode 100644 arch/mips/include/asm/mach-loongson/mem.h create mode 100644 arch/mips/include/asm/mach-loongson/pci.h create mode 100644 arch/mips/include/asm/mach-loongson/war.h delete mode 100644 arch/mips/lemote/lm2e/Makefile delete mode 100644 arch/mips/lemote/lm2e/bonito-irq.c delete mode 100644 arch/mips/lemote/lm2e/dbg_io.c delete mode 100644 arch/mips/lemote/lm2e/irq.c delete mode 100644 arch/mips/lemote/lm2e/mem.c delete mode 100644 arch/mips/lemote/lm2e/pci.c delete mode 100644 arch/mips/lemote/lm2e/prom.c delete mode 100644 arch/mips/lemote/lm2e/reset.c delete mode 100644 arch/mips/lemote/lm2e/setup.c create mode 100644 arch/mips/loongson/Kconfig create mode 100644 arch/mips/loongson/Makefile create mode 100644 arch/mips/loongson/common/Makefile create mode 100644 arch/mips/loongson/common/bonito-irq.c create mode 100644 arch/mips/loongson/common/cmdline.c create mode 100644 arch/mips/loongson/common/early_printk.c create mode 100644 arch/mips/loongson/common/env.c create mode 100644 arch/mips/loongson/common/init.c create mode 100644 arch/mips/loongson/common/irq.c create mode 100644 arch/mips/loongson/common/machtype.c create mode 100644 arch/mips/loongson/common/mem.c create mode 100644 arch/mips/loongson/common/pci.c create mode 100644 arch/mips/loongson/common/reset.c create mode 100644 arch/mips/loongson/common/setup.c create mode 100644 arch/mips/loongson/common/time.c create mode 100644 arch/mips/loongson/fuloong-2e/Makefile create mode 100644 arch/mips/loongson/fuloong-2e/irq.c create mode 100644 arch/mips/loongson/fuloong-2e/reset.c create mode 100644 arch/mips/oprofile/op_model_loongson2.c create mode 100644 arch/mips/pci/fixup-fuloong2e.c delete mode 100644 arch/mips/pci/fixup-lm2e.c
PATCH v4 1/16 eary_printk: Remove existing implementation
From: Wu Zhangjin <[email protected]>
This patch will remove the existing implementation of early_printk in fulong. for this old implementation is based on the board-specific source code(dbg_io.c), but dbg_io.c is out-of-date:
as the commit: 8d60a903d986ffa26c41f0092320a3b9da20bfaf shows, dbg_io.c is not needed. it will be removed in the next patch, and the new implementation of early_printk will be added later.
--- arch/mips/lemote/lm2e/prom.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
arch/mips/lemote/lm2e/prom.c +0 -6
@@ -21,7 +21,6 @@extern unsigned long bus_clock;extern unsigned long cpu_clock_freq;extern unsigned int memsize, highmemsize; -extern int putDebugChar (unsigned char byte);static int argc;/* pmon passes arguments in 32bit pointers */
@@ -90,8 +89,3 @@ do { \void __init prom_free_prom_memory (void ) { } - -void prom_putchar (char c) -{ -putDebugChar (c); -}
Signature · 1 line
1.6.2.1
PATCH v4 2/16 kgdb: Remove out-of-date board-specific source code
In reply to WuFrom: Wu Zhangjin <[email protected]>
as the commit: 8854700115ecf8aa6f087aa915b7b6cf18090d39 shows, the new mips-specific kgdb implementation not need this board-specific source code, just remove it.
--- arch/mips/lemote/lm2e/Makefile | 2 +- arch/mips/lemote/lm2e/dbg_io.c | 146 ---------------------------------------- 2 files changed, 1 insertions(+), 147 deletions(-) delete mode 100644 arch/mips/lemote/lm2e/dbg_io.c
arch/mips/lemote/lm2e/Makefile +1 -1
@@ -2,6 +2,6 @@ # Makefile for Lemote Fulong mini-PC board. # -obj-y += setup.o prom.o reset.o irq.o pci.o bonito-irq.o dbg_io.o mem.o +obj-y += setup.o prom.o reset.o irq.o pci.o bonito-irq.o mem.o EXTRA_CFLAGS += -Werror
arch/mips/lemote/lm2e/dbg_io.c deleted +0 -146
146 lines not on this page · raw message
Signature · 1 line
1.6.2.1
Re: [PATCH v4 02/16] [loongson] kgdb: Remove out-of-date board-specific source code
Quoted 8 lines · Wu Zhangjin
From: Wu Zhangjin <[email protected]>
as the commit:
8854700115ecf8aa6f087aa915b7b6cf18090d39shows, the new mips-specific kgdb implementation not need this board-specific source code, just remove it.Signed-off-by Wu Zhangjin <[email protected]>
That should be the last of the dbg_io.c files.
Looks good to me.
Thanks,
Jason.
PATCH v4 3/16 early_printk: add new implmentation
In reply to WuFrom: Wu Zhangjin <[email protected]>
This patch is based on the implementation in the lm2e-fixes branch of Philippe's git://git.linux-cisco.org/linux-mips.git and the malta-specific early_printk implementation.
--- arch/mips/lemote/lm2e/Makefile | 5 ++++ arch/mips/lemote/lm2e/early_printk.c | 41 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 0 deletions(-) create mode 100644 arch/mips/lemote/lm2e/early_printk.c
arch/mips/lemote/lm2e/Makefile +5 -0
@@ -4,4 +4,9 @@ obj-y += setup.o prom.o reset.o irq.o pci.o bonito-irq.o mem.o +# +# Early printk support +# +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + EXTRA_CFLAGS += -Werror
arch/mips/lemote/lm2e/early_printk.c new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
1.6.2.1
Re: [PATCH v4 03/16] [loongson] early_printk: add new implmentation
Quoted 4 lines · Wu Zhangjin
arch/mips/lemote/lm2e/early_printk.c new file +4
-0+#include <asm/mips-boards/bonito64.h> + +#define UART_BASE (BONITO_PCIIO_BASE + 0x3f8) +
arch/mips/lemote/lm2e/early_printk.c line 29
Quoted 10 lines
arch/mips/lemote/lm2e/early_printk.c new file +10
-0+#define PORT (base, offset) (u8 *)(base + offset) + +static inline unsigned int serial_in (phys_addr_t base,int offset) +{ +return readb (PORT (base, offset)); +} + +static inline void serial_out (phys_addr_t base,int offset,int value) +{ +writeb (value,PORT (base, offset));
Why not inb(0x3f8, + offset) rsp. outb()?
arch/mips/lemote/lm2e/early_printk.c line 35
Quoted 6 lines
arch/mips/lemote/lm2e/early_printk.c new file +6
-0+} + +void prom_putchar (char c) +{ +phys_addr_t uart_base = + (phys_addr_t )ioremap_nocache (UART_BASE ,8 );
ioremap_nocache returns a virtual address, not a physical address, so this type should probably be unsigned char *.
arch/mips/lemote/lm2e/early_printk.c line 37
Quoted 1 line
arch/mips/lemote/lm2e/early_printk.c new file +1
-0+while ((serial_in (uart_base,UART_LSR ) &UART_LSR_THRE ) ==0 )
Ralf
Re: [PATCH v4 03/16] [loongson] early_printk: add new implmentation
Quoted 19 lines · Ralf Baechle
Quoted 4 lines · Wu Zhangjin
arch/mips/lemote/lm2e/early_printk.c new file +4
-0+#include <asm/mips-boards/bonito64.h> + +#define UART_BASE (BONITO_PCIIO_BASE + 0x3f8) +arch/mips/lemote/lm2e/early_printk.c line 29
Quoted 10 lines
arch/mips/lemote/lm2e/early_printk.c new file +10
-0+#define PORT (base, offset) (u8 *)(base + offset) + +static inline unsigned int serial_in (phys_addr_t base,int offset) +{ +return readb (PORT (base, offset)); +} + +static inline void serial_out (phys_addr_t base,int offset,int value) +{ +writeb (value,PORT (base, offset));Why not
inb(0x3f8, + offset)rsp.outb()?
because yeeloong laptop use the serial port of cpu, which have different base address: 0x1ff000000 + 0x3f8, to share the same source code between yeeloong, fuloong2f(0x1fd00000 + 0x2f8) and fuloong2e(0x1fd00000 + 0x3f8), I use PORT(base, offset) here and use readb/writeb instead of inb/outb. so, here is only a preparation for future yeeloong2f support.
Quoted 10 lines
arch/mips/lemote/lm2e/early_printk.c line 35
Quoted 6 lines
arch/mips/lemote/lm2e/early_printk.c new file +6
-0+} + +void prom_putchar (char c) +{ +phys_addr_t uart_base = + (phys_addr_t )ioremap_nocache (UART_BASE ,8 );
ioremap_nocachereturns a virtual address, not a physical address, so this type should probably be unsigned char *.
okay, I will change it.
Thanks!
Wu Zhangjin
PATCH v4 4/16 pm: Remove redundant source code
In reply to WuFrom: Wu Zhangjin <[email protected]>
the implmentation of loongson2e_power_off and loongson2e_halt is almostly the same, just reserve one of them.
--- arch/mips/lemote/lm2e/reset.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
arch/mips/lemote/lm2e/reset.c +1 -6
@@ -28,14 +28,9 @@ static void loongson2e_halt(void)while (1 ) ; } -static void loongson2e_power_off (void ) -{ -loongson2e_halt (); -} -void mips_reboot_setup (void ) { _machine_restart = loongson2e_restart; _machine_halt = loongson2e_halt; - pm_power_off = loongson2e_power_off; + pm_power_off = loongson2e_halt; }
Signature · 1 line
1.6.2.1
PATCH v4 5/16 pm: clean up the reboot support
In reply to WuFrom: Wu Zhangjin <[email protected]>
several magic numbers have been replaced by relative macros, which will be more readable and understandable.
--- arch/mips/lemote/lm2e/reset.c | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-)
arch/mips/lemote/lm2e/reset.c +10 -8
@@ -6,21 +6,23 @@* * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology * Author: Fuxin Zhang, [email protected] +* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology +* Author: Zhangjin Wu, [email protected] */ #include <linux/pm.h> +#include <linux/io.h> #include <asm/reboot.h> +#include <asm/mips-boards/bonito64.h> static void loongson2e_restart (char *command) { -#ifdef CONFIG_32BIT - *(unsigned long *)0xbfe00104 &= ~(1 <<2 ); - *(unsigned long *)0xbfe00104 |= (1 <<2 ); -#else - *(unsigned long *)0xffffffffbfe00104 &= ~(1 <<2 ); - *(unsigned long *)0xffffffffbfe00104 |= (1 <<2 ); -#endif - __asm__ __volatile__("jr\t%0" ::"r" (0xbfc00000 )); +/* do preparation for reboot */ +BONITO_BONGENCFG &= ~(1 <<2 ); +BONITO_BONGENCFG |= (1 <<2 ); + +/* reboot via jumping to boot base address */ + ((void (*)(void ))ioremap_nocache (BONITO_BOOT_BASE ,4 )) (); }static void loongson2e_halt (void )
Signature · 1 line
1.6.2.1
PATCH v4 6/16 pci: use existing mips_io_port_base
In reply to WuFrom: Wu Zhangjin <[email protected]>
mips_io_port_base is initialized via set_io_port_base() in arch/mips/lemote/lm2e/setup.c, we can use it directly here.
--- arch/mips/lemote/lm2e/pci.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
arch/mips/lemote/lm2e/pci.c +1 -4
@@ -84,10 +84,7 @@ static int __init pcibios_init(void) {ict_pcimap (); - loongson2e_pci_controller.io_map_base = - (unsigned long )ioremap (LOONGSON2E_IO_PORT_BASE , - loongson2e_pci_io_resource.end - - loongson2e_pci_io_resource.start +1 ); + loongson2e_pci_controller.io_map_base = mips_io_port_base;register_pci_controller (&loongson2e_pci_controller);
Signature · 1 line
1.6.2.1
PATCH v4 7/16 split the implementation of prom,setup parts
In reply to WuFrom: Wu Zhangjin <[email protected]>
This patch split the old initilization and setup implementation to several file, one file one logic function.
the other main changes include:
1. as the script/checkpatch.pl suggests, use strict_strtol instead of simple_strtol in arch/mips/lemote/lm2e/cmdline.c
2. use the existed macros in asm/mips-boards/bonito64.h as the arguments of set_io_port_base() and remove the un-needed ones in asm/mach-lemote/pci.h
--- arch/mips/include/asm/mach-lemote/pci.h | 1 - arch/mips/lemote/lm2e/Makefile | 3 +- arch/mips/lemote/lm2e/cmdline.c | 53 ++++++++++++++++++ arch/mips/lemote/lm2e/env.c | 60 ++++++++++++++++++++ arch/mips/lemote/lm2e/init.c | 34 ++++++++++++ arch/mips/lemote/lm2e/machtype.c | 15 +++++ arch/mips/lemote/lm2e/mem.c | 13 +++++ arch/mips/lemote/lm2e/prom.c | 91 ------------------------------- arch/mips/lemote/lm2e/setup.c | 33 +----------- arch/mips/lemote/lm2e/time.c | 30 ++++++++++ 10 files changed, 208 insertions(+), 125 deletions(-) create mode 100644 arch/mips/lemote/lm2e/cmdline.c create mode 100644 arch/mips/lemote/lm2e/env.c create mode 100644 arch/mips/lemote/lm2e/init.c create mode 100644 arch/mips/lemote/lm2e/machtype.c delete mode 100644 arch/mips/lemote/lm2e/prom.c create mode 100644 arch/mips/lemote/lm2e/time.c
arch/mips/include/asm/mach-lemote/pci.h +0 -1
@@ -25,6 +25,5 @@#define LOONGSON2E_PCI_MEM_START 0x14000000UL#define LOONGSON2E_PCI_MEM_END 0x1fffffffUL#define LOONGSON2E_PCI_IO_START 0x00004000UL -#define LOONGSON2E_IO_PORT_BASE 0x1fd00000UL#endif /* !_LEMOTE_PCI_H_ */
arch/mips/lemote/lm2e/Makefile +2 -1
@@ -2,7 +2,8 @@ # Makefile for Lemote Fulong mini-PC board. # -obj-y += setup.o prom.o reset.o irq.o pci.o bonito-irq.o mem.o +obj-y += setup.o init.o reset.o irq.o pci.o bonito-irq.o mem.o \ + env.o cmdline.o time.o machtype.o # # Early printk support
arch/mips/lemote/lm2e/cmdline.c new file +53 -0
53 lines not on this page · raw message
arch/mips/lemote/lm2e/env.c new file +60 -0
60 lines not on this page · raw message
arch/mips/lemote/lm2e/init.c new file +34 -0
@@ -0,0 +1,34 @@ +/* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +#include <linux/init.h> +#include <linux/bootmem.h> + +#include <asm/bootinfo.h> +#include <asm/mips-boards/bonito64.h> + +extern void __init prom_init_cmdline (void ); +extern void __init prom_init_env (void ); +extern void __init prom_init_memory (void ); + +void __init prom_init (void ) +{ +/* init base address of io space */ +set_io_port_base ((unsigned long ) +ioremap (BONITO_PCIIO_BASE ,BONITO_PCIIO_SIZE )); + +prom_init_cmdline (); +prom_init_env (); +prom_init_memory (); +} + +void __init prom_free_prom_memory (void ) +{ +}
arch/mips/lemote/lm2e/machtype.c new file +15 -0
@@ -0,0 +1,15 @@ +/* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +const char *get_system_type (void ) +{ +return "lemote-fulong" ; +} +
arch/mips/lemote/lm2e/mem.c +13 -0
@@ -8,6 +8,19 @@#include <linux/fcntl.h> #include <linux/mm.h> +#include <asm/bootinfo.h> + +extern unsigned long memsize, highmemsize; + +void __init prom_init_memory (void ) +{ +add_memory_region (0x0 , (memsize <<20 ),BOOT_MEM_RAM ); +#ifdef CONFIG_64BIT +if (highmemsize >0 ) +add_memory_region (0x20000000 , highmemsize <<20 ,BOOT_MEM_RAM ); +#endif /* CONFIG_64BIT */ +} +/* override of arch/mips/mm/cache.c: __uncached_access */ int __uncached_access (struct file *file,unsigned long addr) {
arch/mips/lemote/lm2e/prom.c deleted +0 -91
91 lines not on this page · raw message
arch/mips/lemote/lm2e/setup.c +1 -32
@@ -26,15 +26,10 @@* 675 Mass Ave, Cambridge, MA 02139, USA. * */ -#include <linux/bootmem.h> #include <linux/init.h> -#include <linux/irq.h> +#include <linux/module.h> -#include <asm/bootinfo.h> -#include <asm/mc146818-time.h> -#include <asm/time.h> #include <asm/wbflush.h> -#include <asm/mach-lemote/pci.h> #ifdef CONFIG_VT #include <linux/console.h>
@@ -43,22 +38,6 @@extern void mips_reboot_setup (void ); -unsigned long cpu_clock_freq; -unsigned long bus_clock; -unsigned int memsize; -unsigned int highmemsize =0 ; - -void __init plat_time_init (void ) -{ -/* setup mips r4k timer */ - mips_hpt_frequency = cpu_clock_freq /2 ; -} - -unsigned long read_persistent_clock (void ) -{ -return mc146818_get_cmos_time (); -} -void (*__wbflush)(void );EXPORT_SYMBOL (__wbflush);
@@ -75,19 +54,10 @@ static void wbflush_loongson2e(void)void __init plat_mem_setup (void ) { -set_io_port_base ((unsigned long )ioremap (LOONGSON2E_IO_PORT_BASE , -IO_SPACE_LIMIT -LOONGSON2E_PCI_IO_START +1 ));mips_reboot_setup (); __wbflush = wbflush_loongson2e; -add_memory_region (0x0 , (memsize <<20 ),BOOT_MEM_RAM ); -#ifdef CONFIG_64BIT -if (highmemsize >0 ) { -add_memory_region (0x20000000 , highmemsize <<20 ,BOOT_MEM_RAM ); - } -#endif -#ifdef CONFIG_VT #if defined(CONFIG_VGA_CONSOLE ) conswitchp = &vga_con;
@@ -107,5 +77,4 @@ void __init plat_mem_setup(void) conswitchp = &dummy_con;#endif #endif - }
arch/mips/lemote/lm2e/time.c new file +30 -0
@@ -0,0 +1,30 @@ +/* +* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology +* Author: Fuxin Zhang, [email protected] +* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +#include <linux/init.h> + +#include <asm/mc146818-time.h> +#include <asm/time.h> + +extern unsigned long cpu_clock_freq; + +void __init plat_time_init (void ) +{ +/* setup mips r4k timer */ + mips_hpt_frequency = cpu_clock_freq /2 ; +} + +unsigned long read_persistent_clock (void ) +{ +return mc146818_get_cmos_time (); +}
Signature · 1 line
1.6.2.1
PATCH v4 8/16 clean up the coding style
In reply to WuFrom: Wu Zhangjin <[email protected]>
with the help of script/checkpatch.pl, i have cleaned up the coding style.
1. remove un-needed header files and tune some comments.
2. remove some un-needed { }
add a new header file loongson.h:
3. move some common header files to loongson.h
4. move some common extern declartions to loongson.h
and this new header file is needed for future loongson2f support.
--- arch/mips/include/asm/mach-lemote/loongson.h | 36 +++++++++++++++++++ arch/mips/include/asm/mach-lemote/pci.h | 8 +++-- arch/mips/lemote/lm2e/bonito-irq.c | 27 +------------- arch/mips/lemote/lm2e/cmdline.c | 5 +-- arch/mips/lemote/lm2e/early_printk.c | 4 +-- arch/mips/lemote/lm2e/env.c | 6 +-- arch/mips/lemote/lm2e/init.c | 6 +--- arch/mips/lemote/lm2e/irq.c | 48 ++++---------------------- arch/mips/lemote/lm2e/mem.c | 2 +- arch/mips/lemote/lm2e/pci.c | 26 +------------- arch/mips/lemote/lm2e/reset.c | 7 ++-- arch/mips/lemote/lm2e/setup.c | 24 +------------ arch/mips/lemote/lm2e/time.c | 5 +-- arch/mips/pci/fixup-lm2e.c | 18 ---------- 14 files changed, 66 insertions(+), 156 deletions(-) create mode 100644 arch/mips/include/asm/mach-lemote/loongson.h
arch/mips/include/asm/mach-lemote/loongson.h new file +36 -0
@@ -0,0 +1,36 @@ +/* +* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology +* Author: Wu Zhangjin <[email protected]> +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +* +*/ + +#ifndef __ASM_MACH_LOONGSON_LOONGSON_H +#define __ASM_MACH_LOONGSON_LOONGSON_H + +#include <linux/io.h> +#include <linux/init.h> + +/* there is an internal bonito64-compatiable northbridge in loongson2e/2f */ +#include <asm/mips-boards/bonito64.h> + +/* loongson internal northbridge initialization */ +extern void bonito_irq_init (void ); + +/* loongson-based machines specific reboot setup */ +extern void mips_reboot_setup (void ); + +/* environment arguments from bootloader */ +extern unsigned long bus_clock, cpu_clock_freq; +extern unsigned long memsize, highmemsize; + +/* loongson-specific command line, env and memory initialization */ +extern void __init prom_init_memory (void ); +extern void __init prom_init_cmdline (void ); +extern void __init prom_init_env (void ); + +#endif /* __ASM_MACH_LOONGSON_LOONGSON_H */
arch/mips/include/asm/mach-lemote/pci.h +5 -3
@@ -19,11 +19,13 @@* 02139, USA. */ -#ifndef _LEMOTE_PCI_H_ -#define _LEMOTE_PCI_H_ +#ifndef __ASM_MACH_LEMOTE_PCI_H_ +#define __ASM_MACH_LEMOTE_PCI_H_ + +extern struct pci_ops bonito64_pci_ops;#define LOONGSON2E_PCI_MEM_START 0x14000000UL#define LOONGSON2E_PCI_MEM_END 0x1fffffffUL#define LOONGSON2E_PCI_IO_START 0x00004000UL -#endif /* !_LEMOTE_PCI_H_ */ +#endif /* !__ASM_MACH_LEMOTE_PCI_H_ */
arch/mips/lemote/lm2e/bonito-irq.c +2 -25
@@ -10,32 +10,10 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. -* -* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED -* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 675 Mass Ave, Cambridge, MA 02139, USA. -* */ -#include <linux/errno.h> -#include <linux/init.h> -#include <linux/io.h> -#include <linux/types.h> #include <linux/interrupt.h> -#include <linux/irq.h> - -#include <asm/mips-boards/bonito64.h> +#include <loongson.h> static inline void bonito_irq_enable (unsigned int irq) {
@@ -66,9 +44,8 @@ void bonito_irq_init(void) {u32 i; -for (i =BONITO_IRQ_BASE ; i <BONITO_IRQ_BASE +32 ; i++) { +for (i =BONITO_IRQ_BASE ; i <BONITO_IRQ_BASE +32 ; i++)set_irq_chip_and_handler (i, &bonito_irq_type, handle_level_irq); - }setup_irq (BONITO_IRQ_BASE +10 , &dma_timeout_irqaction); }
arch/mips/lemote/lm2e/cmdline.c +2 -3
@@ -17,11 +17,10 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ -#include <linux/io.h> -#include <linux/init.h> -#include <asm/bootinfo.h> +#include <loongson.h> +int prom_argc;/* pmon passes arguments in 32bit pointers */ int *_prom_argv;
arch/mips/lemote/lm2e/early_printk.c +1 -3
@@ -9,11 +9,9 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ -#include <linux/io.h> -#include <linux/init.h> #include <linux/serial_reg.h> -#include <asm/mips-boards/bonito64.h> +#include <loongson.h> #define UART_BASE (BONITO_PCIIO_BASE + 0x3f8)
arch/mips/lemote/lm2e/env.c +2 -4
@@ -17,12 +17,10 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ - -#include <linux/io.h> -#include <linux/init.h> -#include <asm/bootinfo.h> +#include <loongson.h> +unsigned long bus_clock, cpu_clock_freq;unsigned long memsize, highmemsize;
arch/mips/lemote/lm2e/init.c +1 -5
@@ -8,15 +8,11 @@* option) any later version. */ -#include <linux/init.h> #include <linux/bootmem.h> #include <asm/bootinfo.h> -#include <asm/mips-boards/bonito64.h> -extern void __init prom_init_cmdline (void ); -extern void __init prom_init_env (void ); -extern void __init prom_init_memory (void ); +#include <loongson.h> void __init prom_init (void ) {
arch/mips/lemote/lm2e/irq.c +7 -41
93 lines not on this page · raw message
arch/mips/lemote/lm2e/mem.c +1 -1
@@ -10,7 +10,7 @@#include <asm/bootinfo.h> -extern unsigned long memsize, highmemsize; +#include <loongson.h> void __init prom_init_memory (void ) {
arch/mips/lemote/lm2e/pci.c +2 -24
@@ -1,6 +1,4 @@/* -* pci.c -* * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology * Author: Fuxin Zhang, [email protected] *
@@ -8,31 +6,11 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. -* -* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED -* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 675 Mass Ave, Cambridge, MA 02139, USA. -* */ -#include <linux/types.h> #include <linux/pci.h> -#include <linux/kernel.h> -#include <linux/init.h> -#include <asm/mips-boards/bonito64.h> -#include <asm/mach-lemote/pci.h> -extern struct pci_ops bonito64_pci_ops; +#include <pci.h> +#include <loongson.h> static struct resource loongson2e_pci_mem_resource = { .name ="LOONGSON2E PCI MEM" ,
arch/mips/lemote/lm2e/reset.c +4 -3
@@ -10,10 +10,10 @@* Author: Zhangjin Wu, [email protected] */ #include <linux/pm.h> -#include <linux/io.h> #include <asm/reboot.h> -#include <asm/mips-boards/bonito64.h> + +#include <loongson.h> static void loongson2e_restart (char *command) {
@@ -27,7 +27,8 @@ static void loongson2e_restart(char *command)static void loongson2e_halt (void ) { -while (1 ) ; +while (1 ) + ; }void mips_reboot_setup (void )
arch/mips/lemote/lm2e/setup.c +2 -22
@@ -1,7 +1,4 @@/* -* BRIEF MODULE DESCRIPTION -* setup.c - board dependent boot routines -* * Copyright (C) 2007 Lemote Inc. & Insititute of Computing Technology * Author: Fuxin Zhang, [email protected] *
@@ -9,35 +6,18 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. -* -* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED -* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 675 Mass Ave, Cambridge, MA 02139, USA. -* */ -#include <linux/init.h> #include <linux/module.h> #include <asm/wbflush.h> +#include <loongson.h> +#ifdef CONFIG_VT #include <linux/console.h> #include <linux/screen_info.h> #endif -extern void mips_reboot_setup (void ); -void (*__wbflush)(void );EXPORT_SYMBOL (__wbflush);
arch/mips/lemote/lm2e/time.c +1 -4
@@ -10,13 +10,10 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ - -#include <linux/init.h> -#include <asm/mc146818-time.h> #include <asm/time.h> -extern unsigned long cpu_clock_freq; +#include <loongson.h> void __init plat_time_init (void ) {
arch/mips/pci/fixup-lm2e.c +0 -18
@@ -1,6 +1,4 @@/* -* fixup-lm2e.c -* * Copyright (C) 2004 ICT CAS * Author: Li xiaoyu, ICT CAS * [email protected]
@@ -12,22 +10,6 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. -* -* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED -* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -* NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 675 Mass Ave, Cambridge, MA 02139, USA. -* */ #include <linux/init.h> #include <linux/pci.h>
Signature · 1 line
1.6.2.1
PATCH v4 9/16 pci: clean up pcimap setup
In reply to Wufixup the wrong original comment of pcimap, and make the source code more understandable. and also, some new extra consideration is added in.
--- arch/mips/include/asm/mach-lemote/loongson.h | 17 +++++++++++ arch/mips/include/asm/mach-lemote/pci.h | 4 +- arch/mips/lemote/lm2e/pci.c | 41 ++++++++++++++++--------- 3 files changed, 45 insertions(+), 17 deletions(-)
arch/mips/include/asm/mach-lemote/loongson.h +17 -0
@@ -33,4 +33,21 @@ extern void __init prom_init_memory(void);extern void __init prom_init_cmdline (void );extern void __init prom_init_env (void ); +/* PCI Configuration Registers */ +#define LOONGSON_PCI_ISR4C BONITO_PCI_REG(0x4c) + +/* PCI_Hit*_Sel_* */ + +#define LOONGSON_PCI_HIT0_SEL_L BONITO(BONITO_REGBASE + 0x50) +#define LOONGSON_PCI_HIT0_SEL_H BONITO(BONITO_REGBASE + 0x54) +#define LOONGSON_PCI_HIT1_SEL_L BONITO(BONITO_REGBASE + 0x58) +#define LOONGSON_PCI_HIT1_SEL_H BONITO(BONITO_REGBASE + 0x5c) +#define LOONGSON_PCI_HIT2_SEL_L BONITO(BONITO_REGBASE + 0x60) +#define LOONGSON_PCI_HIT2_SEL_H BONITO(BONITO_REGBASE + 0x64) + +/* PXArb Config & Status */ + +#define LOONGSON_PXARB_CFG BONITO(BONITO_REGBASE + 0x68) +#define LOONGSON_PXARB_STATUS BONITO(BONITO_REGBASE + 0x6c) +#endif /* __ASM_MACH_LOONGSON_LOONGSON_H */
arch/mips/include/asm/mach-lemote/pci.h +2 -2
@@ -24,8 +24,8 @@extern struct pci_ops bonito64_pci_ops; -#define LOONGSON2E_PCI_MEM_START 0x14000000UL -#define LOONGSON2E_PCI_MEM_END 0x1fffffffUL +#define LOONGSON2E_PCI_MEM_START BONITO_PCILO1_BASE +#define LOONGSON2E_PCI_MEM_END (BONITO_PCILO1_BASE + 0x04000000 * 2)#define LOONGSON2E_PCI_IO_START 0x00004000UL#endif /* !__ASM_MACH_LEMOTE_PCI_H_ */
arch/mips/lemote/lm2e/pci.c +26 -15
59 lines not on this page · raw message
Signature · 1 line
1.6.2.1
PATCH v4 10/16 rtc: enable legacy RTC driver on fulong
In reply to WuFrom: Wu Zhangjin <[email protected]>
RTC_LIB is selected by MIPS by default, and therefore, the legacy RTC driver is disabled. but fortunately, RTC_LIB not works on fulong, so, enabling the legcy RTC driver is needed, otherwise, the tools like hwclock will not work.
--- arch/mips/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/Kconfig +1 -1
@@ -6,7 +6,7 @@ config MIPS select HAVE_ARCH_KGDB # Horrible source of confusion. Die, die, die ... select EMBEDDED - select RTC_LIB + select RTC_LIB if !LEMOTE_FULONG mainmenu "Linux/MIPS Kernel Configuration"
Signature · 1 line
1.6.2.1
PATCH v4 11/16 add oprofile support
In reply to WuFrom: Wu Zhangjin <[email protected]>
this kernel support is needed by the user-space tool:oprofile to profile linux kernel or applications via loongson2 performance counters. you can enable this driver via CONFIG_OPROFILE = y or m.
In loongson2, there are two performance counters, each one can count 16 events respectively. when anyone of the performance counter overflows, an interrupt will generate and goes to the interrupt line: MIPS_CPU_IRQ_BASE + 6
--- arch/mips/include/asm/mach-lemote/loongson.h | 3 + arch/mips/lemote/lm2e/irq.c | 2 + arch/mips/oprofile/Makefile | 1 + arch/mips/oprofile/common.c | 4 + arch/mips/oprofile/op_model_loongson2.c | 177 ++++++++++++++++++++++++++ 5 files changed, 187 insertions(+), 0 deletions(-) create mode 100644 arch/mips/oprofile/op_model_loongson2.c
arch/mips/include/asm/mach-lemote/loongson.h +3 -0
@@ -50,4 +50,7 @@ extern void __init prom_init_env(void);#define LOONGSON_PXARB_CFG BONITO(BONITO_REGBASE + 0x68)#define LOONGSON_PXARB_STATUS BONITO(BONITO_REGBASE + 0x6c) +/* loongson2-specific perf counter IRQ */ +#define LOONGSON2_PERFCNT_IRQ (MIPS_CPU_IRQ_BASE + 6) +#endif /* __ASM_MACH_LOONGSON_LOONGSON_H */
arch/mips/lemote/lm2e/irq.c +2 -0
@@ -58,6 +58,8 @@ asmlinkage void plat_irq_dispatch(void)if (pending &CAUSEF_IP7 )do_IRQ (MIPS_CPU_IRQ_BASE +7 ); +else if (pending &CAUSEF_IP6 )/* perf counter loverflow */ +do_IRQ (LOONGSON2_PERFCNT_IRQ );else if (pending &CAUSEF_IP5 )i8259_irqdispatch ();else if (pending &CAUSEF_IP2 )
arch/mips/oprofile/Makefile +1 -0
@@ -15,3 +15,4 @@ oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o oprofile-$(CONFIG_CPU_R10000) += op_model_mipsxx.o oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o +oprofile-$(CONFIG_CPU_LOONGSON2) += op_model_loongson2.o
arch/mips/oprofile/common.c +4 -0
@@ -16,6 +16,7 @@ extern struct op_mips_model op_model_mipsxx_ops __attribute__((weak)); extern struct op_mips_model op_model_rm9000_ops __attribute__((weak)); +extern struct op_mips_model op_model_loongson2_ops __attribute__((weak));static struct op_mips_model *model;
@@ -93,6 +94,9 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)case CPU_RM9000 : lmodel = &op_model_rm9000_ops;break ; +case CPU_LOONGSON2 : + lmodel = &op_model_loongson2_ops; +break ; };if (!lmodel)
arch/mips/oprofile/op_model_loongson2.c new file +177 -0
177 lines not on this page · raw message
Signature · 1 line
1.6.2.1
PATCH v4 12/16 change naming methods
In reply to Wuto make source code of loongson sharable to the machines(such as gdium) made by the other companies, we rename arch/mips/lemote to arch/mips/loongson, asm/mach-lemote to asm/mach-loongson, and rename lm2e to the name of the machine: fuloong-2e. accordingly, FULONG are renamed to FULOONG2E to make it distinguishable to the future FULOONG2F. and also, some other relative tuning is needed.
--- arch/mips/Kconfig | 8 +- arch/mips/Makefile | 8 +- .../asm/mach-lemote/cpu-feature-overrides.h | 59 ----- arch/mips/include/asm/mach-lemote/dma-coherence.h | 68 ------ arch/mips/include/asm/mach-lemote/loongson.h | 56 ----- arch/mips/include/asm/mach-lemote/mc146818rtc.h | 36 --- arch/mips/include/asm/mach-lemote/pci.h | 31 --- arch/mips/include/asm/mach-lemote/war.h | 25 --- .../asm/mach-loongson/cpu-feature-overrides.h | 59 +++++ .../mips/include/asm/mach-loongson/dma-coherence.h | 68 ++++++ arch/mips/include/asm/mach-loongson/loongson.h | 56 +++++ arch/mips/include/asm/mach-loongson/mc146818rtc.h | 36 +++ arch/mips/include/asm/mach-loongson/pci.h | 31 +++ arch/mips/include/asm/mach-loongson/war.h | 25 +++ arch/mips/include/asm/mips-boards/bonito64.h | 2 +- arch/mips/lemote/lm2e/Makefile | 13 -- arch/mips/lemote/lm2e/bonito-irq.c | 51 ----- arch/mips/lemote/lm2e/cmdline.c | 52 ----- arch/mips/lemote/lm2e/early_printk.c | 39 ---- arch/mips/lemote/lm2e/env.c | 58 ----- arch/mips/lemote/lm2e/init.c | 30 --- arch/mips/lemote/lm2e/irq.c | 111 ---------- arch/mips/lemote/lm2e/machtype.c | 15 -- arch/mips/lemote/lm2e/mem.c | 36 --- arch/mips/lemote/lm2e/pci.c | 83 ------- arch/mips/lemote/lm2e/reset.c | 39 ---- arch/mips/lemote/lm2e/setup.c | 60 ------ arch/mips/lemote/lm2e/time.c | 27 --- arch/mips/loongson/fuloong-2e/Makefile | 13 ++ arch/mips/loongson/fuloong-2e/bonito-irq.c | 51 +++++ arch/mips/loongson/fuloong-2e/cmdline.c | 52 +++++ arch/mips/loongson/fuloong-2e/early_printk.c | 39 ++++ arch/mips/loongson/fuloong-2e/env.c | 58 +++++ arch/mips/loongson/fuloong-2e/init.c | 30 +++ arch/mips/loongson/fuloong-2e/irq.c | 111 ++++++++++ arch/mips/loongson/fuloong-2e/machtype.c | 15 ++ arch/mips/loongson/fuloong-2e/mem.c | 36 +++ arch/mips/loongson/fuloong-2e/pci.c | 83 +++++++ arch/mips/loongson/fuloong-2e/reset.c | 39 ++++ arch/mips/loongson/fuloong-2e/setup.c | 60 ++++++ arch/mips/loongson/fuloong-2e/time.c | 27 +++ arch/mips/pci/Makefile | 2 +- arch/mips/pci/fixup-fuloong2e.c | 224 ++++++++++++++++++++ arch/mips/pci/fixup-lm2e.c | 224 -------------------- arch/mips/pci/ops-bonito64.c | 4 +- 45 files changed, 1125 insertions(+), 1125 deletions(-) delete mode 100644 arch/mips/include/asm/mach-lemote/cpu-feature-overrides.h delete mode 100644 arch/mips/include/asm/mach-lemote/dma-coherence.h delete mode 100644 arch/mips/include/asm/mach-lemote/loongson.h delete mode 100644 arch/mips/include/asm/mach-lemote/mc146818rtc.h delete mode 100644 arch/mips/include/asm/mach-lemote/pci.h delete mode 100644 arch/mips/include/asm/mach-lemote/war.h create mode 100644 arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h create mode 100644 arch/mips/include/asm/mach-loongson/dma-coherence.h create mode 100644 arch/mips/include/asm/mach-loongson/loongson.h create mode 100644 arch/mips/include/asm/mach-loongson/mc146818rtc.h create mode 100644 arch/mips/include/asm/mach-loongson/pci.h create mode 100644 arch/mips/include/asm/mach-loongson/war.h delete mode 100644 arch/mips/lemote/lm2e/Makefile delete mode 100644 arch/mips/lemote/lm2e/bonito-irq.c delete mode 100644 arch/mips/lemote/lm2e/cmdline.c delete mode 100644 arch/mips/lemote/lm2e/early_printk.c delete mode 100644 arch/mips/lemote/lm2e/env.c delete mode 100644 arch/mips/lemote/lm2e/init.c delete mode 100644 arch/mips/lemote/lm2e/irq.c delete mode 100644 arch/mips/lemote/lm2e/machtype.c delete mode 100644 arch/mips/lemote/lm2e/mem.c delete mode 100644 arch/mips/lemote/lm2e/pci.c delete mode 100644 arch/mips/lemote/lm2e/reset.c delete mode 100644 arch/mips/lemote/lm2e/setup.c delete mode 100644 arch/mips/lemote/lm2e/time.c create mode 100644 arch/mips/loongson/fuloong-2e/Makefile create mode 100644 arch/mips/loongson/fuloong-2e/bonito-irq.c create mode 100644 arch/mips/loongson/fuloong-2e/cmdline.c create mode 100644 arch/mips/loongson/fuloong-2e/early_printk.c create mode 100644 arch/mips/loongson/fuloong-2e/env.c create mode 100644 arch/mips/loongson/fuloong-2e/init.c create mode 100644 arch/mips/loongson/fuloong-2e/irq.c create mode 100644 arch/mips/loongson/fuloong-2e/machtype.c create mode 100644 arch/mips/loongson/fuloong-2e/mem.c create mode 100644 arch/mips/loongson/fuloong-2e/pci.c create mode 100644 arch/mips/loongson/fuloong-2e/reset.c create mode 100644 arch/mips/loongson/fuloong-2e/setup.c create mode 100644 arch/mips/loongson/fuloong-2e/time.c create mode 100644 arch/mips/pci/fixup-fuloong2e.c delete mode 100644 arch/mips/pci/fixup-lm2e.c
arch/mips/Kconfig +4 -4
@@ -6,7 +6,7 @@ config MIPS select HAVE_ARCH_KGDB # Horrible source of confusion. Die, die, die ... select EMBEDDED - select RTC_LIB if !LEMOTE_FULONG + select RTC_LIB if !LEMOTE_FULOONG2E mainmenu "Linux/MIPS Kernel Configuration"
@@ -174,8 +174,8 @@ config LASAT select SYS_SUPPORTS_64BIT_KERNEL if BROKEN select SYS_SUPPORTS_LITTLE_ENDIAN -config LEMOTE_FULONG - bool "Lemote Fulong mini-PC" +config LEMOTE_FULOONG2E + bool "Lemote Fuloong2e mini-PC" select ARCH_SPARSEMEM_ENABLE select CEVT_R4K select CSRC_R4K
@@ -196,7 +196,7 @@ config LEMOTE_FULONG select GENERIC_ISA_DMA_SUPPORT_BROKEN select CPU_HAS_WB help - Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and + Lemote Fuloong2e mini-PC board based on the Chinese Loongson-2E CPU and an FPGA northbridge config MIPS_MALTA
arch/mips/Makefile +4 -4
@@ -314,11 +314,11 @@ cflags-$(CONFIG_WR_PPMC) += -I$(srctree)/arch/mips/include/asm/mach-wrppmc load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 # -# lemote fulong mini-PC board +# lemote fuloong2e mini-PC board # -core-$(CONFIG_LEMOTE_FULONG) +=arch/mips/lemote/lm2e/ -load-$(CONFIG_LEMOTE_FULONG) +=0xffffffff80100000 -cflags-$(CONFIG_LEMOTE_FULONG) += -I$(srctree)/arch/mips/include/asm/mach-lemote +core-$(CONFIG_LEMOTE_FULOONG2E) +=arch/mips/loongson/fuloong-2e/ +load-$(CONFIG_LEMOTE_FULOONG2E) +=0xffffffff80100000 +cflags-$(CONFIG_LEMOTE_FULOONG2E) += -I$(srctree)/arch/mips/include/asm/mach-loongson/ # # MIPS Malta board
arch/mips/include/asm/mach-lemote/cpu-feature-overrides.h deleted +0 -59
59 lines not on this page · raw message
arch/mips/include/asm/mach-lemote/dma-coherence.h deleted +0 -68
68 lines not on this page · raw message
arch/mips/include/asm/mach-lemote/loongson.h deleted +0 -56
56 lines not on this page · raw message
arch/mips/include/asm/mach-lemote/mc146818rtc.h deleted +0 -36
@@ -1,36 +0,0 @@ -/* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 1998, 2001, 03, 07 by Ralf Baechle ([email protected]) -* -* RTC routines for PC style attached Dallas chip. -*/ -#ifndef __ASM_MACH_LEMOTE_MC146818RTC_H -#define __ASM_MACH_LEMOTE_MC146818RTC_H - -#include <linux/io.h> - -#define RTC_PORT (x) (0x70 + (x)) -#define RTC_IRQ 8 - -static inline unsigned char CMOS_READ (unsigned long addr) -{ -outb_p (addr,RTC_PORT (0 )); -return inb_p (RTC_PORT (1 )); -} - -static inline void CMOS_WRITE (unsigned char data,unsigned long addr) -{ -outb_p (addr,RTC_PORT (0 )); -outb_p (data,RTC_PORT (1 )); -} - -#define RTC_ALWAYS_BCD 0 - -#ifndef mc146818_decode_year -#define mc146818_decode_year (year) ((year) < 70 ? (year) + 2000 : (year) + 1970) -#endif - -#endif /* __ASM_MACH_LEMOTE_MC146818RTC_H */
arch/mips/include/asm/mach-lemote/pci.h deleted +0 -31
@@ -1,31 +0,0 @@ -/* -* Copyright (c) 2008 Zhang Le <[email protected]> -* -* This program is free software; you can redistribute it -* and/or modify it under the terms of the GNU General -* Public License as published by the Free Software -* Foundation; either version 2 of the License, or (at your -* option) any later version. -* -* This program is distributed in the hope that it will be -* useful, but WITHOUT ANY WARRANTY; without even the implied -* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -* PURPOSE. See the GNU General Public License for more -* details. -* -* You should have received a copy of the GNU General Public -* License along with this program; if not, write to the Free -* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA -* 02139, USA. -*/ - -#ifndef __ASM_MACH_LEMOTE_PCI_H_ -#define __ASM_MACH_LEMOTE_PCI_H_ - -extern struct pci_ops bonito64_pci_ops; - -#define LOONGSON2E_PCI_MEM_START BONITO_PCILO1_BASE -#define LOONGSON2E_PCI_MEM_END (BONITO_PCILO1_BASE + 0x04000000 * 2) -#define LOONGSON2E_PCI_IO_START 0x00004000UL - -#endif /* !__ASM_MACH_LEMOTE_PCI_H_ */
arch/mips/include/asm/mach-lemote/war.h deleted +0 -25
@@ -1,25 +0,0 @@ -/* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2002, 2004, 2007 by Ralf Baechle <[email protected]> -*/ -#ifndef __ASM_MIPS_MACH_LEMOTE_WAR_H -#define __ASM_MIPS_MACH_LEMOTE_WAR_H - -#define R4600_V1_INDEX_ICACHEOP_WAR 0 -#define R4600_V1_HIT_CACHEOP_WAR 0 -#define R4600_V2_HIT_CACHEOP_WAR 0 -#define R5432_CP0_INTERRUPT_WAR 0 -#define BCM1250_M3_WAR 0 -#define SIBYTE_1956_WAR 0 -#define MIPS4K_ICACHE_REFILL_WAR 0 -#define MIPS_CACHE_SYNC_WAR 0 -#define TX49XX_ICACHE_INDEX_INV_WAR 0 -#define RM9000_CDEX_SMP_WAR 0 -#define ICACHE_REFILLS_WORKAROUND_WAR 0 -#define R10000_LLSC_WAR 0 -#define MIPS34K_MISSED_ITLB_WAR 0 - -#endif /* __ASM_MIPS_MACH_LEMOTE_WAR_H */
arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h new file +59 -0
59 lines not on this page · raw message
arch/mips/include/asm/mach-loongson/dma-coherence.h new file +68 -0
68 lines not on this page · raw message
arch/mips/include/asm/mach-loongson/loongson.h new file +56 -0
56 lines not on this page · raw message
arch/mips/include/asm/mach-loongson/mc146818rtc.h new file +36 -0
@@ -0,0 +1,36 @@ +/* +* This file is subject to the terms and conditions of the GNU General Public +* License. See the file "COPYING" in the main directory of this archive +* for more details. +* +* Copyright (C) 1998, 2001, 03, 07 by Ralf Baechle ([email protected]) +* +* RTC routines for PC style attached Dallas chip. +*/ +#ifndef __ASM_MACH_LOONGSON_MC146818RTC_H +#define __ASM_MACH_LOONGSON_MC146818RTC_H + +#include <linux/io.h> + +#define RTC_PORT (x) (0x70 + (x)) +#define RTC_IRQ 8 + +static inline unsigned char CMOS_READ (unsigned long addr) +{ +outb_p (addr,RTC_PORT (0 )); +return inb_p (RTC_PORT (1 )); +} + +static inline void CMOS_WRITE (unsigned char data,unsigned long addr) +{ +outb_p (addr,RTC_PORT (0 )); +outb_p (data,RTC_PORT (1 )); +} + +#define RTC_ALWAYS_BCD 0 + +#ifndef mc146818_decode_year +#define mc146818_decode_year (year) ((year) < 70 ? (year) + 2000 : (year) + 1970) +#endif + +#endif /* __ASM_MACH_LOONGSON_MC146818RTC_H */
arch/mips/include/asm/mach-loongson/pci.h new file +31 -0
@@ -0,0 +1,31 @@ +/* +* Copyright (c) 2008 Zhang Le <[email protected]> +* +* This program is free software; you can redistribute it +* and/or modify it under the terms of the GNU General +* Public License as published by the Free Software +* Foundation; either version 2 of the License, or (at your +* option) any later version. +* +* This program is distributed in the hope that it will be +* useful, but WITHOUT ANY WARRANTY; without even the implied +* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +* PURPOSE. See the GNU General Public License for more +* details. +* +* You should have received a copy of the GNU General Public +* License along with this program; if not, write to the Free +* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA +* 02139, USA. +*/ + +#ifndef __ASM_MACH_LOONGSON_PCI_H_ +#define __ASM_MACH_LOONGSON_PCI_H_ + +extern struct pci_ops bonito64_pci_ops; + +#define LOONGSON2E_PCI_MEM_START BONITO_PCILO1_BASE +#define LOONGSON2E_PCI_MEM_END (BONITO_PCILO1_BASE + 0x04000000 * 2) +#define LOONGSON2E_PCI_IO_START 0x00004000UL + +#endif /* !__ASM_MACH_LOONGSON_PCI_H_ */
arch/mips/include/asm/mach-loongson/war.h new file +25 -0
@@ -0,0 +1,25 @@ +/* +* This file is subject to the terms and conditions of the GNU General Public +* License. See the file "COPYING" in the main directory of this archive +* for more details. +* +* Copyright (C) 2002, 2004, 2007 by Ralf Baechle <[email protected]> +*/ +#ifndef __ASM_MACH_LOONGSON_WAR_H +#define __ASM_MACH_LOONGSON_WAR_H + +#define R4600_V1_INDEX_ICACHEOP_WAR 0 +#define R4600_V1_HIT_CACHEOP_WAR 0 +#define R4600_V2_HIT_CACHEOP_WAR 0 +#define R5432_CP0_INTERRUPT_WAR 0 +#define BCM1250_M3_WAR 0 +#define SIBYTE_1956_WAR 0 +#define MIPS4K_ICACHE_REFILL_WAR 0 +#define MIPS_CACHE_SYNC_WAR 0 +#define TX49XX_ICACHE_INDEX_INV_WAR 0 +#define RM9000_CDEX_SMP_WAR 0 +#define ICACHE_REFILLS_WORKAROUND_WAR 0 +#define R10000_LLSC_WAR 0 +#define MIPS34K_MISSED_ITLB_WAR 0 + +#endif /* __ASM_MACH_LEMOTE_WAR_H */
arch/mips/include/asm/mips-boards/bonito64.h +1 -1
@@ -26,7 +26,7 @@/* offsets from base register */ #define BONITO (x) (x) -#elif defined(CONFIG_LEMOTE_FULONG ) +#elif defined(CONFIG_LEMOTE_FULOONG2E )#define BONITO (x) (*(volatile u32 *)((char *)CKSEG1ADDR(BONITO_REG_BASE) + (x)))#define BONITO_IRQ_BASE 32
arch/mips/lemote/lm2e/Makefile deleted +0 -13
@@ -1,13 +0,0 @@ -# -# Makefile for Lemote Fulong mini-PC board. -# - -obj-y += setup.o init.o reset.o irq.o pci.o bonito-irq.o mem.o \ - env.o cmdline.o time.o machtype.o - -# -# Early printk support -# -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o - -EXTRA_CFLAGS += -Werror
arch/mips/lemote/lm2e/bonito-irq.c deleted +0 -51
51 lines not on this page · raw message
arch/mips/lemote/lm2e/cmdline.c deleted +0 -52
52 lines not on this page · raw message
arch/mips/lemote/lm2e/early_printk.c deleted +0 -39
@@ -1,39 +0,0 @@ -/* early printk support -* -* Copyright (c) 2009 Philippe Vachon <[email protected]> -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ -#include <linux/serial_reg.h> - -#include <loongson.h> - -#define UART_BASE (BONITO_PCIIO_BASE + 0x3f8) - -#define PORT (base, offset) (u8 *)(base + offset) - -static inline unsigned int serial_in (phys_addr_t base,int offset) -{ -return readb (PORT (base, offset)); -} - -static inline void serial_out (phys_addr_t base,int offset,int value) -{ -writeb (value,PORT (base, offset)); -} - -void prom_putchar (char c) -{ -phys_addr_t uart_base = - (phys_addr_t )ioremap_nocache (UART_BASE ,8 ); - -while ((serial_in (uart_base,UART_LSR ) &UART_LSR_THRE ) ==0 ) - ; - -serial_out (uart_base,UART_TX , c); -}
arch/mips/lemote/lm2e/env.c deleted +0 -58
58 lines not on this page · raw message
arch/mips/lemote/lm2e/init.c deleted +0 -30
@@ -1,30 +0,0 @@ -/* -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ - -#include <linux/bootmem.h> - -#include <asm/bootinfo.h> - -#include <loongson.h> - -void __init prom_init (void ) -{ -/* init base address of io space */ -set_io_port_base ((unsigned long ) -ioremap (BONITO_PCIIO_BASE ,BONITO_PCIIO_SIZE )); - -prom_init_cmdline (); -prom_init_env (); -prom_init_memory (); -} - -void __init prom_free_prom_memory (void ) -{ -}
arch/mips/lemote/lm2e/irq.c deleted +0 -111
111 lines not on this page · raw message
arch/mips/lemote/lm2e/machtype.c deleted +0 -15
@@ -1,15 +0,0 @@ -/* -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ - -const char *get_system_type (void ) -{ -return "lemote-fulong" ; -} -
arch/mips/lemote/lm2e/mem.c deleted +0 -36
@@ -1,36 +0,0 @@ -/* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ -#include <linux/fs.h> -#include <linux/fcntl.h> -#include <linux/mm.h> - -#include <asm/bootinfo.h> - -#include <loongson.h> - -void __init prom_init_memory (void ) -{ -add_memory_region (0x0 , (memsize <<20 ),BOOT_MEM_RAM ); -#ifdef CONFIG_64BIT -if (highmemsize >0 ) -add_memory_region (0x20000000 , highmemsize <<20 ,BOOT_MEM_RAM ); -#endif /* CONFIG_64BIT */ -} - -/* override of arch/mips/mm/cache.c: __uncached_access */ -int __uncached_access (struct file *file,unsigned long addr) -{ -if (file->f_flags &O_SYNC ) -return 1 ; - -/* -* On the Lemote Loongson 2e system, the peripheral registers -* reside between 0x1000:0000 and 0x2000:0000. -*/ -return addr >=__pa (high_memory) || - ((addr >=0x10000000 ) && (addr <0x20000000 )); -}
arch/mips/lemote/lm2e/pci.c deleted +0 -83
83 lines not on this page · raw message
arch/mips/lemote/lm2e/reset.c deleted +0 -39
@@ -1,39 +0,0 @@ -/* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -* -* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology -* Author: Fuxin Zhang, [email protected] -* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology -* Author: Zhangjin Wu, [email protected] -*/ -#include <linux/pm.h> - -#include <asm/reboot.h> - -#include <loongson.h> - -static void loongson2e_restart (char *command) -{ -/* do preparation for reboot */ -BONITO_BONGENCFG &= ~(1 <<2 ); -BONITO_BONGENCFG |= (1 <<2 ); - -/* reboot via jumping to boot base address */ - ((void (*)(void ))ioremap_nocache (BONITO_BOOT_BASE ,4 )) (); -} - -static void loongson2e_halt (void ) -{ -while (1 ) - ; -} - -void mips_reboot_setup (void ) -{ - _machine_restart = loongson2e_restart; - _machine_halt = loongson2e_halt; - pm_power_off = loongson2e_halt; -}
arch/mips/lemote/lm2e/setup.c deleted +0 -60
60 lines not on this page · raw message
arch/mips/lemote/lm2e/time.c deleted +0 -27
@@ -1,27 +0,0 @@ -/* -* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology -* Author: Fuxin Zhang, [email protected] -* -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ -#include <asm/mc146818-time.h> -#include <asm/time.h> - -#include <loongson.h> - -void __init plat_time_init (void ) -{ -/* setup mips r4k timer */ - mips_hpt_frequency = cpu_clock_freq /2 ; -} - -unsigned long read_persistent_clock (void ) -{ -return mc146818_get_cmos_time (); -}
arch/mips/loongson/fuloong-2e/Makefile new file +13 -0
@@ -0,0 +1,13 @@ +# +# Makefile for Lemote Fuloong2e mini-PC board. +# + +obj-y += setup.o init.o reset.o irq.o pci.o bonito-irq.o mem.o \ + env.o cmdline.o time.o machtype.o + +# +# Early printk support +# +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + +EXTRA_CFLAGS += -Werror
arch/mips/loongson/fuloong-2e/bonito-irq.c new file +51 -0
51 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/cmdline.c new file +52 -0
52 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/early_printk.c new file +39 -0
@@ -0,0 +1,39 @@ +/* early printk support +* +* Copyright (c) 2009 Philippe Vachon <[email protected]> +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ +#include <linux/serial_reg.h> + +#include <loongson.h> + +#define UART_BASE (BONITO_PCIIO_BASE + 0x3f8) + +#define PORT (base, offset) (u8 *)(base + offset) + +static inline unsigned int serial_in (phys_addr_t base,int offset) +{ +return readb (PORT (base, offset)); +} + +static inline void serial_out (phys_addr_t base,int offset,int value) +{ +writeb (value,PORT (base, offset)); +} + +void prom_putchar (char c) +{ +phys_addr_t uart_base = + (phys_addr_t )ioremap_nocache (UART_BASE ,8 ); + +while ((serial_in (uart_base,UART_LSR ) &UART_LSR_THRE ) ==0 ) + ; + +serial_out (uart_base,UART_TX , c); +}
arch/mips/loongson/fuloong-2e/env.c new file +58 -0
58 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/init.c new file +30 -0
@@ -0,0 +1,30 @@ +/* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +#include <linux/bootmem.h> + +#include <asm/bootinfo.h> + +#include <loongson.h> + +void __init prom_init (void ) +{ +/* init base address of io space */ +set_io_port_base ((unsigned long ) +ioremap (BONITO_PCIIO_BASE ,BONITO_PCIIO_SIZE )); + +prom_init_cmdline (); +prom_init_env (); +prom_init_memory (); +} + +void __init prom_free_prom_memory (void ) +{ +}
arch/mips/loongson/fuloong-2e/irq.c new file +111 -0
111 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/machtype.c new file +15 -0
@@ -0,0 +1,15 @@ +/* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +const char *get_system_type (void ) +{ +return "lemote-fuloong-2e-box" ; +} +
arch/mips/loongson/fuloong-2e/mem.c new file +36 -0
@@ -0,0 +1,36 @@ +/* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ +#include <linux/fs.h> +#include <linux/fcntl.h> +#include <linux/mm.h> + +#include <asm/bootinfo.h> + +#include <loongson.h> + +void __init prom_init_memory (void ) +{ +add_memory_region (0x0 , (memsize <<20 ),BOOT_MEM_RAM ); +#ifdef CONFIG_64BIT +if (highmemsize >0 ) +add_memory_region (0x20000000 , highmemsize <<20 ,BOOT_MEM_RAM ); +#endif /* CONFIG_64BIT */ +} + +/* override of arch/mips/mm/cache.c: __uncached_access */ +int __uncached_access (struct file *file,unsigned long addr) +{ +if (file->f_flags &O_SYNC ) +return 1 ; + +/* +* On the Lemote Loongson 2e system, the peripheral registers +* reside between 0x1000:0000 and 0x2000:0000. +*/ +return addr >=__pa (high_memory) || + ((addr >=0x10000000 ) && (addr <0x20000000 )); +}
arch/mips/loongson/fuloong-2e/pci.c new file +83 -0
83 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/reset.c new file +39 -0
@@ -0,0 +1,39 @@ +/* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +* +* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology +* Author: Fuxin Zhang, [email protected] +* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology +* Author: Zhangjin Wu, [email protected] +*/ +#include <linux/pm.h> + +#include <asm/reboot.h> + +#include <loongson.h> + +static void loongson2e_restart (char *command) +{ +/* do preparation for reboot */ +BONITO_BONGENCFG &= ~(1 <<2 ); +BONITO_BONGENCFG |= (1 <<2 ); + +/* reboot via jumping to boot base address */ + ((void (*)(void ))ioremap_nocache (BONITO_BOOT_BASE ,4 )) (); +} + +static void loongson2e_halt (void ) +{ +while (1 ) + ; +} + +void mips_reboot_setup (void ) +{ + _machine_restart = loongson2e_restart; + _machine_halt = loongson2e_halt; + pm_power_off = loongson2e_halt; +}
arch/mips/loongson/fuloong-2e/setup.c new file +60 -0
60 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/time.c new file +27 -0
@@ -0,0 +1,27 @@ +/* +* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology +* Author: Fuxin Zhang, [email protected] +* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ +#include <asm/mc146818-time.h> +#include <asm/time.h> + +#include <loongson.h> + +void __init plat_time_init (void ) +{ +/* setup mips r4k timer */ + mips_hpt_frequency = cpu_clock_freq /2 ; +} + +unsigned long read_persistent_clock (void ) +{ +return mc146818_get_cmos_time (); +}
arch/mips/pci/Makefile +1 -1
@@ -26,7 +26,7 @@ obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o obj-$(CONFIG_SOC_AU1500) += fixup-au1000.o ops-au1000.o obj-$(CONFIG_SOC_AU1550) += fixup-au1000.o ops-au1000.o obj-$(CONFIG_SOC_PNX8550) += fixup-pnx8550.o ops-pnx8550.o -obj-$(CONFIG_LEMOTE_FULONG) += fixup-lm2e.o ops-bonito64.o +obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-bonito64.o obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o obj-$(CONFIG_PMC_MSP7120_GW) += fixup-pmcmsp.o ops-pmcmsp.o obj-$(CONFIG_PMC_MSP7120_EVAL) += fixup-pmcmsp.o ops-pmcmsp.o
arch/mips/pci/fixup-fuloong2e.c new file +224 -0
224 lines not on this page · raw message
arch/mips/pci/fixup-lm2e.c deleted +0 -224
224 lines not on this page · raw message
arch/mips/pci/ops-bonito64.c +2 -2
@@ -29,7 +29,7 @@#define PCI_ACCESS_READ 0#define PCI_ACCESS_WRITE 1 -#ifdef CONFIG_LEMOTE_FULONG +#ifdef CONFIG_LEMOTE_FULOONG2E #define CFG_SPACE_REG (offset) (void *)CKSEG1ADDR(BONITO_PCICFG_BASE | (offset))#define ID_SEL_BEGIN 11#else
@@ -77,7 +77,7 @@ static int bonito64_pcibios_config_access(unsigned char access_type, addrp =CFG_SPACE_REG (addr &0xffff );if (access_type ==PCI_ACCESS_WRITE ) {writel (cpu_to_le32 (*data), addrp); -#ifndef CONFIG_LEMOTE_FULONG +#ifndef CONFIG_LEMOTE_FULOONG2E /* Wait till done */ while (BONITO_PCIMSTAT &0xF );#endif
Signature · 1 line
1.6.2.1
PATCH v4 13/16 split common loongson source code out
In reply to Wuto share common loongson source code between all of the loongson-based machines. there is a need to split it out of the fuloong-2e/ directory. at the same time, other according tuning is needed. the machine-specific parts are defined as macros in relative header file, pci.h, mem.h, machine.h.
--- arch/mips/Kconfig | 32 +++------- arch/mips/Makefile | 7 +- arch/mips/include/asm/mach-loongson/loongson.h | 11 +++ arch/mips/include/asm/mach-loongson/machine.h | 22 ++++++ arch/mips/include/asm/mach-loongson/mem.h | 30 +++++++++ arch/mips/include/asm/mach-loongson/pci.h | 12 +++- arch/mips/loongson/Kconfig | 31 +++++++++ arch/mips/loongson/Makefile | 11 +++ arch/mips/loongson/common/Makefile | 11 +++ arch/mips/loongson/common/bonito-irq.c | 51 +++++++++++++++ arch/mips/loongson/common/cmdline.c | 52 +++++++++++++++ arch/mips/loongson/common/early_printk.c | 38 +++++++++++ arch/mips/loongson/common/env.c | 58 ++++++++++++++++ arch/mips/loongson/common/init.c | 30 +++++++++ arch/mips/loongson/common/irq.c | 74 +++++++++++++++++++++ arch/mips/loongson/common/machtype.c | 17 +++++ arch/mips/loongson/common/mem.c | 35 ++++++++++ arch/mips/loongson/common/pci.c | 83 ++++++++++++++++++++++++ arch/mips/loongson/common/reset.c | 39 +++++++++++ arch/mips/loongson/common/setup.c | 60 +++++++++++++++++ arch/mips/loongson/common/time.c | 27 ++++++++ arch/mips/loongson/fuloong-2e/Makefile | 8 +-- arch/mips/loongson/fuloong-2e/bonito-irq.c | 51 --------------- arch/mips/loongson/fuloong-2e/cmdline.c | 52 --------------- arch/mips/loongson/fuloong-2e/early_printk.c | 39 ----------- arch/mips/loongson/fuloong-2e/env.c | 58 ---------------- arch/mips/loongson/fuloong-2e/init.c | 30 --------- arch/mips/loongson/fuloong-2e/irq.c | 52 ++------------- arch/mips/loongson/fuloong-2e/machtype.c | 15 ---- arch/mips/loongson/fuloong-2e/mem.c | 36 ---------- arch/mips/loongson/fuloong-2e/pci.c | 83 ------------------------ arch/mips/loongson/fuloong-2e/reset.c | 31 ++------- arch/mips/loongson/fuloong-2e/setup.c | 60 ----------------- arch/mips/loongson/fuloong-2e/time.c | 27 -------- 34 files changed, 717 insertions(+), 556 deletions(-) create mode 100644 arch/mips/include/asm/mach-loongson/machine.h create mode 100644 arch/mips/include/asm/mach-loongson/mem.h create mode 100644 arch/mips/loongson/Kconfig create mode 100644 arch/mips/loongson/Makefile create mode 100644 arch/mips/loongson/common/Makefile create mode 100644 arch/mips/loongson/common/bonito-irq.c create mode 100644 arch/mips/loongson/common/cmdline.c create mode 100644 arch/mips/loongson/common/early_printk.c create mode 100644 arch/mips/loongson/common/env.c create mode 100644 arch/mips/loongson/common/init.c create mode 100644 arch/mips/loongson/common/irq.c create mode 100644 arch/mips/loongson/common/machtype.c create mode 100644 arch/mips/loongson/common/mem.c create mode 100644 arch/mips/loongson/common/pci.c create mode 100644 arch/mips/loongson/common/reset.c create mode 100644 arch/mips/loongson/common/setup.c create mode 100644 arch/mips/loongson/common/time.c delete mode 100644 arch/mips/loongson/fuloong-2e/bonito-irq.c delete mode 100644 arch/mips/loongson/fuloong-2e/cmdline.c delete mode 100644 arch/mips/loongson/fuloong-2e/early_printk.c delete mode 100644 arch/mips/loongson/fuloong-2e/env.c delete mode 100644 arch/mips/loongson/fuloong-2e/init.c delete mode 100644 arch/mips/loongson/fuloong-2e/machtype.c delete mode 100644 arch/mips/loongson/fuloong-2e/mem.c delete mode 100644 arch/mips/loongson/fuloong-2e/pci.c delete mode 100644 arch/mips/loongson/fuloong-2e/setup.c delete mode 100644 arch/mips/loongson/fuloong-2e/time.c
arch/mips/Kconfig +9 -23
@@ -174,30 +174,15 @@ config LASAT select SYS_SUPPORTS_64BIT_KERNEL if BROKEN select SYS_SUPPORTS_LITTLE_ENDIAN -config LEMOTE_FULOONG2E - bool "Lemote Fuloong2e mini-PC" - select ARCH_SPARSEMEM_ENABLE - select CEVT_R4K - select CSRC_R4K - select SYS_HAS_CPU_LOONGSON2 - select DMA_NONCOHERENT - select BOOT_ELF32 - select BOARD_SCACHE - select HAVE_STD_PC_SERIAL_PORT - select HW_HAS_PCI - select I8259 - select ISA - select IRQ_CPU - select SYS_SUPPORTS_32BIT_KERNEL - select SYS_SUPPORTS_64BIT_KERNEL - select SYS_SUPPORTS_LITTLE_ENDIAN - select SYS_SUPPORTS_HIGHMEM - select SYS_HAS_EARLY_PRINTK - select GENERIC_ISA_DMA_SUPPORT_BROKEN - select CPU_HAS_WB +config MACH_LOONGSON + bool "Loongson family of machines" help - Lemote Fuloong2e mini-PC board based on the Chinese Loongson-2E CPU and - an FPGA northbridge + This enables the support of Loongson family of machines. + + Loongson is a family of general-purpose MIPS-compatible CPUs. + developed at Institute of Computing Technology (ICT), + Chinese Academy of Sciences (CAS) in the People's Republic + of China. The chief architect is Professor Weiwu Hu. config MIPS_MALTA bool "MIPS Malta board"
@@ -668,6 +653,7 @@ source "arch/mips/sibyte/Kconfig" source "arch/mips/txx9/Kconfig" source "arch/mips/vr41xx/Kconfig" source "arch/mips/cavium-octeon/Kconfig" +source "arch/mips/loongson/Kconfig" endmenu
arch/mips/Makefile +4 -3
@@ -314,11 +314,12 @@ cflags-$(CONFIG_WR_PPMC) += -I$(srctree)/arch/mips/include/asm/mach-wrppmc load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 # -# lemote fuloong2e mini-PC board +# Loongson family # -core-$(CONFIG_LEMOTE_FULOONG2E) +=arch/mips/loongson/fuloong-2e/ +core-$(CONFIG_MACH_LOONGSON) +=arch/mips/loongson/ +cflags-$(CONFIG_MACH_LOONGSON) += -I$(srctree)/arch/mips/include/asm/mach-loongson \ + -mno-branch-likely load-$(CONFIG_LEMOTE_FULOONG2E) +=0xffffffff80100000 -cflags-$(CONFIG_LEMOTE_FULOONG2E) += -I$(srctree)/arch/mips/include/asm/mach-loongson/ # # MIPS Malta board
arch/mips/include/asm/mach-loongson/loongson.h +11 -0
@@ -24,6 +24,10 @@ extern void bonito_irq_init(void);/* loongson-based machines specific reboot setup */ extern void mips_reboot_setup (void ); +/* machine-specific reboot/halt operation */ +extern void mach_prepare_reboot (void ); +extern void mach_prepare_shutdown (void ); +/* environment arguments from bootloader */ extern unsigned long bus_clock, cpu_clock_freq;extern unsigned long memsize, highmemsize;
@@ -33,6 +37,13 @@ extern void __init prom_init_memory(void);extern void __init prom_init_cmdline (void );extern void __init prom_init_env (void ); +/* irq operation functions */ +extern void bonito_irqdispatch (void ); +extern void __init bonito_irq_init (void ); +extern void __init set_irq_trigger_mode (void ); +extern void __init mach_init_irq (void ); +extern void mach_irq_dispatch (unsigned int pending); +/* PCI Configuration Registers */ #define LOONGSON_PCI_ISR4C BONITO_PCI_REG(0x4c)
arch/mips/include/asm/mach-loongson/machine.h new file +22 -0
@@ -0,0 +1,22 @@ +/* +* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology +* Author: Wu Zhangjin <[email protected]> +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +#ifndef __ASM_MACH_LOONGSON_MACHINE_H +#define __ASM_MACH_LOONGSON_MACHINE_H + +#ifdef CONFIG_LEMOTE_FULOONG2E + +#define LOONGSON_UART_BASE (BONITO_PCIIO_BASE + 0x3f8) + +#define LOONGSON_MACHNAME "lemote-fuloong-2e-box" + +#endif + +#endif /* __ASM_MACH_LOONGSON_MACHINE_H */
arch/mips/include/asm/mach-loongson/mem.h new file +30 -0
@@ -0,0 +1,30 @@ +/* +* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology +* Author: Wu Zhangjin <[email protected]> +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +#ifndef __ASM_MACH_LOONGSON_MEM_H +#define __ASM_MACH_LOONGSON_MEM_H + +/* +* On Lemote Loongson 2e +* +* the high memory space starts from 512M. +* the peripheral registers reside between 0x1000:0000 and 0x2000:0000. +*/ + +#ifdef CONFIG_LEMOTE_FULOONG2E + +#define LOONGSON_HIGHMEM_START 0x20000000 + +#define LOONGSON_MMIO_MEM_START 0x10000000 +#define LOONGSON_MMIO_MEM_END 0x20000000 + +#endif + +#endif /* __ASM_MACH_LOONGSON_MEM_H */
arch/mips/include/asm/mach-loongson/pci.h +9 -3
@@ -24,8 +24,14 @@extern struct pci_ops bonito64_pci_ops; -#define LOONGSON2E_PCI_MEM_START BONITO_PCILO1_BASE -#define LOONGSON2E_PCI_MEM_END (BONITO_PCILO1_BASE + 0x04000000 * 2) -#define LOONGSON2E_PCI_IO_START 0x00004000UL +#ifdef CONFIG_LEMOTE_FULOONG2E + +/* this pci memory space is mapped by pcimap in pci.c */ +#define LOONGSON_PCI_MEM_START BONITO_PCILO1_BASE +#define LOONGSON_PCI_MEM_END (BONITO_PCILO1_BASE + 0x04000000 * 2) +/* this is an offset from mips_io_port_base */ +#define LOONGSON_PCI_IO_START 0x00004000UL + +#endif #endif /* !__ASM_MACH_LOONGSON_PCI_H_ */
arch/mips/loongson/Kconfig new file +31 -0
@@ -0,0 +1,31 @@ +choice + prompt "Machine Type" + depends on MACH_LOONGSON + +config LEMOTE_FULOONG2E + bool "Lemote Fuloong(2e) mini-PC" + select ARCH_SPARSEMEM_ENABLE + select CEVT_R4K + select CSRC_R4K + select SYS_HAS_CPU_LOONGSON2 + select DMA_NONCOHERENT + select BOOT_ELF32 + select BOARD_SCACHE + select HW_HAS_PCI + select I8259 + select ISA + select IRQ_CPU + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_64BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN + select SYS_SUPPORTS_HIGHMEM + select SYS_HAS_EARLY_PRINTK + select GENERIC_HARDIRQS_NO__DO_IRQ + select GENERIC_ISA_DMA_SUPPORT_BROKEN + select CPU_HAS_WB + help + Lemote Fuloong(2e) mini-PC board based on the Chinese Loongson-2E CPU and + an FPGA northbridge + + Lemote Fuloong(2e) mini PC have a VIA686B south bridge. +endchoice
arch/mips/loongson/Makefile new file +11 -0
@@ -0,0 +1,11 @@ +# +# Common code for all Loongson based systems +# + +obj-$(CONFIG_MACH_LOONGSON) += common/ + +# +# Lemote Fuloong mini-PC (Loongson 2E-based) +# + +obj-$(CONFIG_LEMOTE_FULOONG2E) += fuloong-2e/
arch/mips/loongson/common/Makefile new file +11 -0
@@ -0,0 +1,11 @@ +# +# Makefile for loongson based machines. +# + +obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \ + pci.o bonito-irq.o mem.o + +# +# Early printk support +# +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
arch/mips/loongson/common/bonito-irq.c new file +51 -0
51 lines not on this page · raw message
arch/mips/loongson/common/cmdline.c new file +52 -0
52 lines not on this page · raw message
arch/mips/loongson/common/early_printk.c new file +38 -0
@@ -0,0 +1,38 @@ +/* early printk support +* +* Copyright (c) 2009 Philippe Vachon <[email protected]> +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ +#include <linux/serial_reg.h> + +#include <loongson.h> +#include <machine.h> + +#define PORT (base, offset) (u8 *)(base + offset) + +static inline unsigned int serial_in (phys_addr_t base,int offset) +{ +return readb (PORT (base, offset)); +} + +static inline void serial_out (phys_addr_t base,int offset,int value) +{ +writeb (value,PORT (base, offset)); +} + +void prom_putchar (char c) +{ +phys_addr_t uart_base = + (phys_addr_t )ioremap_nocache (LOONGSON_UART_BASE ,8 ); + +while ((serial_in (uart_base,UART_LSR ) &UART_LSR_THRE ) ==0 ) + ; + +serial_out (uart_base,UART_TX , c); +}
arch/mips/loongson/common/env.c new file +58 -0
58 lines not on this page · raw message
arch/mips/loongson/common/init.c new file +30 -0
@@ -0,0 +1,30 @@ +/* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +#include <linux/bootmem.h> + +#include <asm/bootinfo.h> + +#include <loongson.h> + +void __init prom_init (void ) +{ +/* init base address of io space */ +set_io_port_base ((unsigned long ) +ioremap (BONITO_PCIIO_BASE ,BONITO_PCIIO_SIZE )); + +prom_init_cmdline (); +prom_init_env (); +prom_init_memory (); +} + +void __init prom_free_prom_memory (void ) +{ +}
arch/mips/loongson/common/irq.c new file +74 -0
74 lines not on this page · raw message
arch/mips/loongson/common/machtype.c new file +17 -0
@@ -0,0 +1,17 @@ +/* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ + +#include <machine.h> + +const char *get_system_type (void ) +{ +return LOONGSON_MACHNAME ; +} +
arch/mips/loongson/common/mem.c new file +35 -0
@@ -0,0 +1,35 @@ +/* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ +#include <linux/fs.h> +#include <linux/fcntl.h> +#include <linux/mm.h> + +#include <asm/bootinfo.h> + +#include <loongson.h> +#include <mem.h> + +void __init prom_init_memory (void ) +{ +add_memory_region (0x0 , (memsize <<20 ),BOOT_MEM_RAM ); +#ifdef CONFIG_64BIT +if (highmemsize >0 ) +add_memory_region (LOONGSON_HIGHMEM_START , + highmemsize <<20 ,BOOT_MEM_RAM ); +#endif /* CONFIG_64BIT */ +} + +/* override of arch/mips/mm/cache.c: __uncached_access */ +int __uncached_access (struct file *file,unsigned long addr) +{ +if (file->f_flags &O_SYNC ) +return 1 ; + +return addr >=__pa (high_memory) || + ((addr >=LOONGSON_MMIO_MEM_START ) && + (addr <LOONGSON_MMIO_MEM_END )); +}
arch/mips/loongson/common/pci.c new file +83 -0
83 lines not on this page · raw message
arch/mips/loongson/common/reset.c new file +39 -0
@@ -0,0 +1,39 @@ +/* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +* +* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology +* Author: Fuxin Zhang, [email protected] +* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology +* Author: Zhangjin Wu, [email protected] +*/ +#include <linux/pm.h> + +#include <asm/reboot.h> + +#include <loongson.h> + +static void loongson_restart (char *command) +{ +/* do preparation for reboot */ +mach_prepare_reboot (); + +/* reboot via jumping to boot base address */ + ((void (*)(void ))ioremap_nocache (BONITO_BOOT_BASE ,4 )) (); +} + +static void loongson_halt (void ) +{ +mach_prepare_shutdown (); +while (1 ) + ; +} + +void mips_reboot_setup (void ) +{ + _machine_restart = loongson_restart; + _machine_halt = loongson_halt; + pm_power_off = loongson_halt; +}
arch/mips/loongson/common/setup.c new file +60 -0
60 lines not on this page · raw message
arch/mips/loongson/common/time.c new file +27 -0
@@ -0,0 +1,27 @@ +/* +* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology +* Author: Fuxin Zhang, [email protected] +* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* +* This program is free software; you can redistribute it and/or modify it +* under the terms of the GNU General Public License as published by the +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +*/ +#include <asm/mc146818-time.h> +#include <asm/time.h> + +#include <loongson.h> + +void __init plat_time_init (void ) +{ +/* setup mips r4k timer */ + mips_hpt_frequency = cpu_clock_freq /2 ; +} + +unsigned long read_persistent_clock (void ) +{ +return mc146818_get_cmos_time (); +}
arch/mips/loongson/fuloong-2e/Makefile +1 -7
@@ -2,12 +2,6 @@ # Makefile for Lemote Fuloong2e mini-PC board. # -obj-y += setup.o init.o reset.o irq.o pci.o bonito-irq.o mem.o \ - env.o cmdline.o time.o machtype.o - -# -# Early printk support -# -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o +obj-y += irq.o reset.o machtype.o EXTRA_CFLAGS += -Werror
arch/mips/loongson/fuloong-2e/bonito-irq.c deleted +0 -51
51 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/cmdline.c deleted +0 -52
52 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/early_printk.c deleted +0 -39
@@ -1,39 +0,0 @@ -/* early printk support -* -* Copyright (c) 2009 Philippe Vachon <[email protected]> -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ -#include <linux/serial_reg.h> - -#include <loongson.h> - -#define UART_BASE (BONITO_PCIIO_BASE + 0x3f8) - -#define PORT (base, offset) (u8 *)(base + offset) - -static inline unsigned int serial_in (phys_addr_t base,int offset) -{ -return readb (PORT (base, offset)); -} - -static inline void serial_out (phys_addr_t base,int offset,int value) -{ -writeb (value,PORT (base, offset)); -} - -void prom_putchar (char c) -{ -phys_addr_t uart_base = - (phys_addr_t )ioremap_nocache (UART_BASE ,8 ); - -while ((serial_in (uart_base,UART_LSR ) &UART_LSR_THRE ) ==0 ) - ; - -serial_out (uart_base,UART_TX , c); -}
arch/mips/loongson/fuloong-2e/env.c deleted +0 -58
58 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/init.c deleted +0 -30
@@ -1,30 +0,0 @@ -/* -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ - -#include <linux/bootmem.h> - -#include <asm/bootinfo.h> - -#include <loongson.h> - -void __init prom_init (void ) -{ -/* init base address of io space */ -set_io_port_base ((unsigned long ) -ioremap (BONITO_PCIIO_BASE ,BONITO_PCIIO_SIZE )); - -prom_init_cmdline (); -prom_init_env (); -prom_init_memory (); -} - -void __init prom_free_prom_memory (void ) -{ -}
arch/mips/loongson/fuloong-2e/irq.c +6 -46
81 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/machtype.c deleted +0 -15
@@ -1,15 +0,0 @@ -/* -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ - -const char *get_system_type (void ) -{ -return "lemote-fuloong-2e-box" ; -} -
arch/mips/loongson/fuloong-2e/mem.c deleted +0 -36
@@ -1,36 +0,0 @@ -/* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ -#include <linux/fs.h> -#include <linux/fcntl.h> -#include <linux/mm.h> - -#include <asm/bootinfo.h> - -#include <loongson.h> - -void __init prom_init_memory (void ) -{ -add_memory_region (0x0 , (memsize <<20 ),BOOT_MEM_RAM ); -#ifdef CONFIG_64BIT -if (highmemsize >0 ) -add_memory_region (0x20000000 , highmemsize <<20 ,BOOT_MEM_RAM ); -#endif /* CONFIG_64BIT */ -} - -/* override of arch/mips/mm/cache.c: __uncached_access */ -int __uncached_access (struct file *file,unsigned long addr) -{ -if (file->f_flags &O_SYNC ) -return 1 ; - -/* -* On the Lemote Loongson 2e system, the peripheral registers -* reside between 0x1000:0000 and 0x2000:0000. -*/ -return addr >=__pa (high_memory) || - ((addr >=0x10000000 ) && (addr <0x20000000 )); -}
arch/mips/loongson/fuloong-2e/pci.c deleted +0 -83
83 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/reset.c +8 -23
@@ -1,39 +1,24 @@ -/* +/* Board-specific reboot/shutdown routines +* Copyright (c) 2009 Philippe Vachon <[email protected]> +* +* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology +* Author: Wu Zhangjin, [email protected] +* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. -* -* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology -* Author: Fuxin Zhang, [email protected] -* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology -* Author: Zhangjin Wu, [email protected] */ -#include <linux/pm.h> - -#include <asm/reboot.h> #include <loongson.h> -static void loongson2e_restart (char *command) +void mach_prepare_reboot (void ) { -/* do preparation for reboot */ BONITO_BONGENCFG &= ~(1 <<2 );BONITO_BONGENCFG |= (1 <<2 ); - -/* reboot via jumping to boot base address */ - ((void (*)(void ))ioremap_nocache (BONITO_BOOT_BASE ,4 )) (); } -static void loongson2e_halt (void ) +void mach_prepare_shutdown (void ) { -while (1 ) - ; } -void mips_reboot_setup (void ) -{ - _machine_restart = loongson2e_restart; - _machine_halt = loongson2e_halt; - pm_power_off = loongson2e_halt; -}
arch/mips/loongson/fuloong-2e/setup.c deleted +0 -60
60 lines not on this page · raw message
arch/mips/loongson/fuloong-2e/time.c deleted +0 -27
@@ -1,27 +0,0 @@ -/* -* Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology -* Author: Fuxin Zhang, [email protected] -* -* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology -* Author: Wu Zhangjin, [email protected] -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -*/ -#include <asm/mc146818-time.h> -#include <asm/time.h> - -#include <loongson.h> - -void __init plat_time_init (void ) -{ -/* setup mips r4k timer */ - mips_hpt_frequency = cpu_clock_freq /2 ; -} - -unsigned long read_persistent_clock (void ) -{ -return mc146818_get_cmos_time (); -}
Signature · 1 line
1.6.2.1
PATCH v4 14/16 add a machtype kernel command line argument
In reply to Wuthe difference between some loongson-based machines is very small, so, if there is no necessary to add new kernel config options to cope with
this difference, it will be better to share the same kernel image file between them, benefit from this, the linux distribution developers only have a need to compile the kernel one time.
this machtype kernel command line argument will be used later to share the same kernel image file between two different machines(menglong & yeeloong) made by lemote.
thanks very much to Zhang Le for cleaning up the machtype implementation.
--- Documentation/kernel-parameters.txt | 4 +++ arch/mips/include/asm/bootinfo.h | 12 ++++++++ arch/mips/include/asm/mach-loongson/machine.h | 2 +- arch/mips/loongson/common/Makefile | 2 +- arch/mips/loongson/common/machtype.c | 35 ++++++++++++++++++++++++- arch/mips/loongson/fuloong-2e/Makefile | 2 +- 6 files changed, 53 insertions(+), 4 deletions(-)
Documentation/kernel-parameters.txt +4 -0
@@ -1243,6 +1243,10 @@ and is between 256 and 4096 characters. It is defined in the file (machvec) in a generic kernel. Example: machvec=hpzx1_swiotlb + machtype= [Loongson] Share the same kernel image file between different + yeeloong laptop. + Example: machtype=lemote-yeeloong-2f-7inch + max_addr=nn[KMG] [KNL,BOOT,ia64] All physical memory greater than or equal to this physical address is ignored.
arch/mips/include/asm/bootinfo.h +12 -0
@@ -7,6 +7,7 @@* Copyright (C) 1995, 1996 Andreas Busse * Copyright (C) 1995, 1996 Stoned Elipot * Copyright (C) 1995, 1996 Paul M. Antoine. +* Copyright (C) 2009 Zhang Le */ #ifndef _ASM_BOOTINFO_H#define _ASM_BOOTINFO_H
@@ -57,6 +58,17 @@#define MACH_MIKROTIK_RB532 0/* Mikrotik RouterBoard 532 */ #define MACH_MIKROTIK_RB532A 1/* Mikrotik RouterBoard 532A */ +/* +* Valid machtype for Loongson family +*/ +#define MACH_LOONGSON_UNKNOWN 0 +#define MACH_LEMOTE_FL2E 1 +#define MACH_LEMOTE_FL2F 2 +#define MACH_LEMOTE_ML2F7 3 +#define MACH_LEMOTE_YL2F89 4 +#define MACH_DEXXON_GDIUM2F10 5 +#define MACH_LOONGSON_END 6 +#define CL_SIZE COMMAND_LINE_SIZEextern char *system_type;
arch/mips/include/asm/mach-loongson/machine.h +1 -1
@@ -15,7 +15,7 @@#define LOONGSON_UART_BASE (BONITO_PCIIO_BASE + 0x3f8) -#define LOONGSON_MACHNAME "lemote-fuloong-2e-box" +#define LOONGSON_MACHTYPE MACH_LEMOTE_FL2E#endif
arch/mips/loongson/common/Makefile +1 -1
@@ -3,7 +3,7 @@ # obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \ - pci.o bonito-irq.o mem.o + pci.o bonito-irq.o mem.o machtype.o # # Early printk support
arch/mips/loongson/common/machtype.c +34 -1
@@ -2,16 +2,49 @@* Copyright (C) 2009 Lemote Inc. & Insititute of Computing Technology * Author: Wu Zhangjin, [email protected] * +* Copyright (c) 2009 Zhang Le <[email protected]> +* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ +#include <linux/errno.h> +#include <asm/bootinfo.h> +#include <loongson.h> #include <machine.h> +static const char *system_types[] = { + [MACH_LOONGSON_UNKNOWN] "unknown loongson machine", + [MACH_LEMOTE_FL2E] "lemote-fuloong-2e-box", + [MACH_LEMOTE_FL2F] "lemote-fuloong-2f-box", + [MACH_LEMOTE_ML2F7] "lemote-mengloong-2f-7inches", + [MACH_LEMOTE_YL2F89] "lemote-yeeloong-2f-8.9inches", + [MACH_DEXXON_GDIUM2F10] "dexxon-gidum-2f-10inches", + [MACH_LOONGSON_END] NULL, +}; +const char *get_system_type (void ) { -return LOONGSON_MACHNAME ; +if (mips_machtype ==MACH_UNKNOWN ) + mips_machtype =LOONGSON_MACHTYPE ; + +return system_types[mips_machtype]; } +static __init int machtype_setup (char *str) +{ +int machtype =MACH_LEMOTE_FL2E ; + +if (!str) +return -EINVAL ; + +for (; system_types[machtype]; machtype++) +if (strstr (system_types[machtype], str)) { + mips_machtype = machtype; +break ; + } +return 0 ; +} +__setup ("machtype=" , machtype_setup);
arch/mips/loongson/fuloong-2e/Makefile +1 -1
@@ -2,6 +2,6 @@ # Makefile for Lemote Fuloong2e mini-PC board. # -obj-y += irq.o reset.o machtype.o +obj-y += irq.o reset.o EXTRA_CFLAGS += -Werror
Signature · 1 line
1.6.2.1
PATCH v4 15/16 add gcc 4.4 support for Loongson2E
In reply to Wubecause only gcc >=4.4 have loongson-specific support, we need to choose the suitable -march argument for gcc <= 4.3 and gcc >= 4.4, and here, we use -march=loongson2e for loongson2e.
thanks goes to Arnaud Patard <[email protected]> for suggestion of using cc-options(Documentation/kbuild/makefiles.txt). and thanks Zhang Le for introducing the new CPU_LOONGSON2E kernel option.
NOTE: -mtune option is not need if -march and -mtune use the same value.
--- arch/mips/Kconfig | 18 +++++++++++------- arch/mips/Makefile | 6 +++++- arch/mips/loongson/Kconfig | 2 +- 3 files changed, 17 insertions(+), 9 deletions(-)
arch/mips/Kconfig +11 -7
@@ -1030,12 +1030,10 @@ choice prompt "CPU type" default CPU_R4X00 -config CPU_LOONGSON2 - bool "Loongson 2" - depends on SYS_HAS_CPU_LOONGSON2 - select CPU_SUPPORTS_32BIT_KERNEL - select CPU_SUPPORTS_64BIT_KERNEL - select CPU_SUPPORTS_HIGHMEM +config CPU_LOONGSON2E + bool "Loongson 2E" + depends on SYS_HAS_CPU_LOONGSON2E + select CPU_LOONGSON2 help The Loongson 2E processor implements the MIPS III instruction set with many extensions.
@@ -1282,7 +1280,13 @@ config CPU_CAVIUM_OCTEON endchoice -config SYS_HAS_CPU_LOONGSON2 +config CPU_LOONGSON2 + bool + select CPU_SUPPORTS_32BIT_KERNEL + select CPU_SUPPORTS_64BIT_KERNEL + select CPU_SUPPORTS_HIGHMEM + +config SYS_HAS_CPU_LOONGSON2E bool config SYS_HAS_CPU_MIPS32_R1
arch/mips/Makefile +5 -1
@@ -120,7 +120,11 @@ cflags-$(CONFIG_CPU_R4300) += -march=r4300 -Wa,--trap cflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap -cflags-$(CONFIG_CPU_LOONGSON2) += -march=r4600 -Wa,--trap +# only gcc >= 4.4 have the loongson-specific support +cflags-$(CONFIG_CPU_LOONGSON2) += -Wa,--trap +cflags-$(CONFIG_CPU_LOONGSON2E) += \ + $(call cc-option,-march=loongson2e,-march=r4600) + cflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \ -Wa,-mips32 -Wa,--trap cflags-$(CONFIG_CPU_MIPS32_R2) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \
arch/mips/loongson/Kconfig +1 -1
@@ -7,7 +7,7 @@ config LEMOTE_FULOONG2E select ARCH_SPARSEMEM_ENABLE select CEVT_R4K select CSRC_R4K - select SYS_HAS_CPU_LOONGSON2 + select SYS_HAS_CPU_LOONGSON2E select DMA_NONCOHERENT select BOOT_ELF32 select BOARD_SCACHE
Signature · 1 line
1.6.2.1
PATCH v4 16/16 update the default config file for fuloong2e
In reply to Wu--- arch/mips/configs/fulong_defconfig | 1912 --------------------------------- arch/mips/configs/fuloong2e_defconfig | 1819 +++++++++++++++++++++++++++++++ 2 files changed, 1819 insertions(+), 1912 deletions(-) delete mode 100644 arch/mips/configs/fulong_defconfig create mode 100644 arch/mips/configs/fuloong2e_defconfig
arch/mips/configs/fulong_defconfig deleted +0 -1912
@@ -1,1912 +0,0 @@ -# -# Automatically generated make config: don't edit -# Linux kernel version: 2.6.28-rc6 -# Fri Nov 28 17:53:48 2008 -# -CONFIG_MIPS=y - -# -# Machine selection -# -# CONFIG_MACH_ALCHEMY is not set -# CONFIG_BASLER_EXCITE is not set -# CONFIG_BCM47XX is not set -# CONFIG_MIPS_COBALT is not set -# CONFIG_MACH_DECSTATION is not set -# CONFIG_MACH_JAZZ is not set -# CONFIG_LASAT is not set -CONFIG_LEMOTE_FULONG=y -# CONFIG_MIPS_MALTA is not set -# CONFIG_MIPS_SIM is not set -# CONFIG_MACH_EMMA is not set -# CONFIG_MACH_VR41XX is not set -# CONFIG_NXP_STB220 is not set -# CONFIG_NXP_STB225 is not set -# CONFIG_PNX8550_JBS is not set -# CONFIG_PNX8550_STB810 is not set -# CONFIG_PMC_MSP is not set -# CONFIG_PMC_YOSEMITE is not set -# CONFIG_SGI_IP22 is not set -# CONFIG_SGI_IP27 is not set -# CONFIG_SGI_IP28 is not set -# CONFIG_SGI_IP32 is not set -# CONFIG_SIBYTE_CRHINE is not set -# CONFIG_SIBYTE_CARMEL is not set -# CONFIG_SIBYTE_CRHONE is not set -# CONFIG_SIBYTE_RHONE is not set -# CONFIG_SIBYTE_SWARM is not set -# CONFIG_SIBYTE_LITTLESUR is not set -# CONFIG_SIBYTE_SENTOSA is not set -# CONFIG_SIBYTE_BIGSUR is not set -# CONFIG_SNI_RM is not set -# CONFIG_MACH_TX39XX is not set -# CONFIG_MACH_TX49XX is not set -# CONFIG_MIKROTIK_RB532 is not set -# CONFIG_WR_PPMC is not set -CONFIG_RWSEM_GENERIC_SPINLOCK=y -# CONFIG_ARCH_HAS_ILOG2_U32 is not set -# CONFIG_ARCH_HAS_ILOG2_U64 is not set -CONFIG_ARCH_SUPPORTS_OPROFILE=y -CONFIG_GENERIC_FIND_NEXT_BIT=y -CONFIG_GENERIC_HWEIGHT=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_TIME=y -CONFIG_GENERIC_CMOS_UPDATE=y -CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y -CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y -CONFIG_CEVT_R4K=y -CONFIG_CSRC_R4K=y -CONFIG_DMA_NONCOHERENT=y -CONFIG_DMA_NEED_PCI_MAP_STATE=y -CONFIG_EARLY_PRINTK=y -CONFIG_SYS_HAS_EARLY_PRINTK=y -# CONFIG_HOTPLUG_CPU is not set -CONFIG_I8259=y -# CONFIG_NO_IOPORT is not set -CONFIG_GENERIC_ISA_DMA=y -CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN=y -# CONFIG_CPU_BIG_ENDIAN is not set -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y -CONFIG_IRQ_CPU=y -CONFIG_BOOT_ELF32=y -CONFIG_MIPS_L1_CACHE_SHIFT=5 -CONFIG_HAVE_STD_PC_SERIAL_PORT=y - -# -# CPU selection -# -CONFIG_CPU_LOONGSON2=y -# CONFIG_CPU_MIPS32_R1 is not set -# CONFIG_CPU_MIPS32_R2 is not set -# CONFIG_CPU_MIPS64_R1 is not set -# CONFIG_CPU_MIPS64_R2 is not set -# CONFIG_CPU_R3000 is not set -# CONFIG_CPU_TX39XX is not set -# CONFIG_CPU_VR41XX is not set -# CONFIG_CPU_R4300 is not set -# CONFIG_CPU_R4X00 is not set -# CONFIG_CPU_TX49XX is not set -# CONFIG_CPU_R5000 is not set -# CONFIG_CPU_R5432 is not set -# CONFIG_CPU_R5500 is not set -# CONFIG_CPU_R6000 is not set -# CONFIG_CPU_NEVADA is not set -# CONFIG_CPU_R8000 is not set -# CONFIG_CPU_R10000 is not set -# CONFIG_CPU_RM7000 is not set -# CONFIG_CPU_RM9000 is not set -# CONFIG_CPU_SB1 is not set -CONFIG_SYS_HAS_CPU_LOONGSON2=y -CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y -CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y - -# -# Kernel type -# -# CONFIG_32BIT is not set -CONFIG_64BIT=y -# CONFIG_PAGE_SIZE_4KB is not set -# CONFIG_PAGE_SIZE_8KB is not set -CONFIG_PAGE_SIZE_16KB=y -# CONFIG_PAGE_SIZE_64KB is not set -CONFIG_BOARD_SCACHE=y -CONFIG_MIPS_MT_DISABLED=y -# CONFIG_MIPS_MT_SMP is not set -# CONFIG_MIPS_MT_SMTC is not set -CONFIG_CPU_HAS_WB=y -CONFIG_CPU_HAS_SYNC=y -CONFIG_GENERIC_HARDIRQS=y -CONFIG_GENERIC_IRQ_PROBE=y -CONFIG_CPU_SUPPORTS_HIGHMEM=y -CONFIG_SYS_SUPPORTS_HIGHMEM=y -CONFIG_ARCH_FLATMEM_ENABLE=y -CONFIG_ARCH_POPULATES_NODE_MAP=y -CONFIG_ARCH_SPARSEMEM_ENABLE=y -CONFIG_SELECT_MEMORY_MODEL=y -CONFIG_FLATMEM_MANUAL=y -# CONFIG_DISCONTIGMEM_MANUAL is not set -# CONFIG_SPARSEMEM_MANUAL is not set -CONFIG_FLATMEM=y -CONFIG_FLAT_NODE_MEM_MAP=y -CONFIG_SPARSEMEM_STATIC=y -CONFIG_PAGEFLAGS_EXTENDED=y -CONFIG_SPLIT_PTLOCK_CPUS=4 -CONFIG_RESOURCES_64BIT=y -CONFIG_PHYS_ADDR_T_64BIT=y -CONFIG_ZONE_DMA_FLAG=0 -CONFIG_VIRT_TO_BUS=y -CONFIG_UNEVICTABLE_LRU=y -CONFIG_TICK_ONESHOT=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_GENERIC_CLOCKEVENTS_BUILD=y -# CONFIG_HZ_48 is not set -# CONFIG_HZ_100 is not set -# CONFIG_HZ_128 is not set -CONFIG_HZ_250=y -# CONFIG_HZ_256 is not set -# CONFIG_HZ_1000 is not set -# CONFIG_HZ_1024 is not set -CONFIG_SYS_SUPPORTS_ARBIT_HZ=y -CONFIG_HZ=250 -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_VOLUNTARY=y -# CONFIG_PREEMPT is not set -# CONFIG_KEXEC is not set -CONFIG_SECCOMP=y -CONFIG_LOCKDEP_SUPPORT=y -CONFIG_STACKTRACE_SUPPORT=y -CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" - -# -# General setup -# -CONFIG_EXPERIMENTAL=y -CONFIG_BROKEN_ON_SMP=y -CONFIG_INIT_ENV_ARG_LIMIT=32 -CONFIG_LOCALVERSION="lm32" -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -CONFIG_SYSVIPC_SYSCTL=y -CONFIG_POSIX_MQUEUE=y -CONFIG_BSD_PROCESS_ACCT=y -# CONFIG_BSD_PROCESS_ACCT_V3 is not set -# CONFIG_TASKSTATS is not set -# CONFIG_AUDIT is not set -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_CGROUPS is not set -# CONFIG_GROUP_SCHED is not set -CONFIG_SYSFS_DEPRECATED=y -CONFIG_SYSFS_DEPRECATED_V2=y -# CONFIG_RELAY is not set -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -CONFIG_USER_NS=y -CONFIG_PID_NS=y -# CONFIG_BLK_DEV_INITRD is not set -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -CONFIG_SYSCTL=y -CONFIG_EMBEDDED=y -CONFIG_SYSCTL_SYSCALL=y -CONFIG_KALLSYMS=y -# CONFIG_KALLSYMS_EXTRA_PASS is not set -CONFIG_HOTPLUG=y -CONFIG_PRINTK=y -CONFIG_BUG=y -CONFIG_ELF_CORE=y -# CONFIG_PCSPKR_PLATFORM is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_BASE_FULL=y -CONFIG_FUTEX=y -CONFIG_ANON_INODES=y -CONFIG_EPOLL=y -CONFIG_SIGNALFD=y -CONFIG_TIMERFD=y -CONFIG_EVENTFD=y -CONFIG_SHMEM=y -CONFIG_AIO=y -CONFIG_VM_EVENT_COUNTERS=y -CONFIG_PCI_QUIRKS=y -CONFIG_SLAB=y -# CONFIG_SLUB is not set -# CONFIG_SLOB is not set -CONFIG_PROFILING=y -# CONFIG_MARKERS is not set -CONFIG_OPROFILE=m -CONFIG_HAVE_OPROFILE=y -# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set -CONFIG_SLABINFO=y -CONFIG_RT_MUTEXES=y -# CONFIG_TINY_SHMEM is not set -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y -# CONFIG_MODULE_FORCE_LOAD is not set -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -# CONFIG_MODVERSIONS is not set -# CONFIG_MODULE_SRCVERSION_ALL is not set -CONFIG_KMOD=y -CONFIG_BLOCK=y -# CONFIG_BLK_DEV_IO_TRACE is not set -CONFIG_BLK_DEV_BSG=y -# CONFIG_BLK_DEV_INTEGRITY is not set -CONFIG_BLOCK_COMPAT=y - -# -# IO Schedulers -# -CONFIG_IOSCHED_NOOP=y -CONFIG_IOSCHED_AS=y -CONFIG_IOSCHED_DEADLINE=y -CONFIG_IOSCHED_CFQ=y -# CONFIG_DEFAULT_AS is not set -# CONFIG_DEFAULT_DEADLINE is not set -CONFIG_DEFAULT_CFQ=y -# CONFIG_DEFAULT_NOOP is not set -CONFIG_DEFAULT_IOSCHED="cfq" -CONFIG_CLASSIC_RCU=y -CONFIG_FREEZER=y - -# -# Bus options (PCI, PCMCIA, EISA, ISA, TC) -# -CONFIG_HW_HAS_PCI=y -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -# CONFIG_ARCH_SUPPORTS_MSI is not set -CONFIG_PCI_LEGACY=y -CONFIG_ISA=y -CONFIG_MMU=y -# CONFIG_PCCARD is not set -# CONFIG_HOTPLUG_PCI is not set - -# -# Executable file formats -# -CONFIG_BINFMT_ELF=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -# CONFIG_HAVE_AOUT is not set -CONFIG_BINFMT_MISC=y -CONFIG_MIPS32_COMPAT=y -CONFIG_COMPAT=y -CONFIG_SYSVIPC_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_BINFMT_ELF32=y - -# -# Power management options -# -CONFIG_ARCH_SUSPEND_POSSIBLE=y -CONFIG_PM=y -# CONFIG_PM_DEBUG is not set -CONFIG_PM_SLEEP=y -CONFIG_SUSPEND=y -CONFIG_SUSPEND_FREEZER=y -CONFIG_NET=y - -# -# Networking options -# -CONFIG_PACKET=y -CONFIG_PACKET_MMAP=y -CONFIG_UNIX=y -CONFIG_XFRM=y -# CONFIG_XFRM_USER is not set -# CONFIG_XFRM_SUB_POLICY is not set -# CONFIG_XFRM_MIGRATE is not set -# CONFIG_XFRM_STATISTICS is not set -# CONFIG_NET_KEY is not set -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -# CONFIG_IP_ADVANCED_ROUTER is not set -CONFIG_IP_FIB_HASH=y -CONFIG_IP_PNP=y -# CONFIG_IP_PNP_DHCP is not set -CONFIG_IP_PNP_BOOTP=y -# CONFIG_IP_PNP_RARP is not set -CONFIG_NET_IPIP=m -CONFIG_NET_IPGRE=m -CONFIG_NET_IPGRE_BROADCAST=y -# CONFIG_IP_MROUTE is not set -# CONFIG_ARPD is not set -# CONFIG_SYN_COOKIES is not set -# CONFIG_INET_AH is not set -# CONFIG_INET_ESP is not set -# CONFIG_INET_IPCOMP is not set -# CONFIG_INET_XFRM_TUNNEL is not set -CONFIG_INET_TUNNEL=m -# CONFIG_INET_XFRM_MODE_TRANSPORT is not set -# CONFIG_INET_XFRM_MODE_TUNNEL is not set -CONFIG_INET_XFRM_MODE_BEET=y -# CONFIG_INET_LRO is not set -# CONFIG_INET_DIAG is not set -# CONFIG_TCP_CONG_ADVANCED is not set -CONFIG_TCP_CONG_CUBIC=y -CONFIG_DEFAULT_TCP_CONG="cubic" -# CONFIG_TCP_MD5SIG is not set -# CONFIG_IPV6 is not set -# CONFIG_NETWORK_SECMARK is not set -CONFIG_NETFILTER=y -# CONFIG_NETFILTER_DEBUG is not set -CONFIG_NETFILTER_ADVANCED=y - -# -# Core Netfilter Configuration -# -CONFIG_NETFILTER_NETLINK=m -CONFIG_NETFILTER_NETLINK_QUEUE=m -CONFIG_NETFILTER_NETLINK_LOG=m -# CONFIG_NF_CONNTRACK is not set -CONFIG_NETFILTER_XTABLES=m -CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m -# CONFIG_NETFILTER_XT_TARGET_DSCP is not set -CONFIG_NETFILTER_XT_TARGET_MARK=m -# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set -CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m -CONFIG_NETFILTER_XT_TARGET_RATEEST=m -CONFIG_NETFILTER_XT_TARGET_TRACE=m -# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set -CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m -CONFIG_NETFILTER_XT_MATCH_COMMENT=m -CONFIG_NETFILTER_XT_MATCH_DCCP=m -# CONFIG_NETFILTER_XT_MATCH_DSCP is not set -CONFIG_NETFILTER_XT_MATCH_ESP=m -# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set -CONFIG_NETFILTER_XT_MATCH_IPRANGE=m -CONFIG_NETFILTER_XT_MATCH_LENGTH=m -CONFIG_NETFILTER_XT_MATCH_LIMIT=m -CONFIG_NETFILTER_XT_MATCH_MAC=m -CONFIG_NETFILTER_XT_MATCH_MARK=m -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m -CONFIG_NETFILTER_XT_MATCH_OWNER=m -# CONFIG_NETFILTER_XT_MATCH_POLICY is not set -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m -CONFIG_NETFILTER_XT_MATCH_QUOTA=m -CONFIG_NETFILTER_XT_MATCH_RATEEST=m -CONFIG_NETFILTER_XT_MATCH_REALM=m -CONFIG_NETFILTER_XT_MATCH_RECENT=m -# CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT is not set -CONFIG_NETFILTER_XT_MATCH_SCTP=m -CONFIG_NETFILTER_XT_MATCH_STATISTIC=m -CONFIG_NETFILTER_XT_MATCH_STRING=m -CONFIG_NETFILTER_XT_MATCH_TCPMSS=m -CONFIG_NETFILTER_XT_MATCH_TIME=m -CONFIG_NETFILTER_XT_MATCH_U32=m -# CONFIG_IP_VS is not set - -# -# IP: Netfilter Configuration -# -# CONFIG_NF_DEFRAG_IPV4 is not set -CONFIG_IP_NF_QUEUE=m -CONFIG_IP_NF_IPTABLES=m -CONFIG_IP_NF_MATCH_ADDRTYPE=m -CONFIG_IP_NF_MATCH_AH=m -CONFIG_IP_NF_MATCH_ECN=m -CONFIG_IP_NF_MATCH_TTL=m -CONFIG_IP_NF_FILTER=m -CONFIG_IP_NF_TARGET_REJECT=m -CONFIG_IP_NF_TARGET_LOG=m -CONFIG_IP_NF_TARGET_ULOG=m -CONFIG_IP_NF_MANGLE=m -CONFIG_IP_NF_TARGET_ECN=m -CONFIG_IP_NF_TARGET_TTL=m -CONFIG_IP_NF_RAW=m -CONFIG_IP_NF_ARPTABLES=m -CONFIG_IP_NF_ARPFILTER=m -CONFIG_IP_NF_ARP_MANGLE=m -# CONFIG_IP_DCCP is not set -# CONFIG_IP_SCTP is not set -# CONFIG_TIPC is not set -# CONFIG_ATM is not set -# CONFIG_BRIDGE is not set -# CONFIG_NET_DSA is not set -# CONFIG_VLAN_8021Q is not set -# CONFIG_DECNET is not set -# CONFIG_LLC2 is not set -# CONFIG_IPX is not set -# CONFIG_ATALK is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_ECONET is not set -# CONFIG_WAN_ROUTER is not set -# CONFIG_NET_SCHED is not set -CONFIG_NET_CLS_ROUTE=y - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set -# CONFIG_HAMRADIO is not set -# CONFIG_CAN is not set -# CONFIG_IRDA is not set -# CONFIG_BT is not set -# CONFIG_AF_RXRPC is not set -CONFIG_PHONET=m -CONFIG_WIRELESS=y -# CONFIG_CFG80211 is not set -CONFIG_WIRELESS_OLD_REGULATORY=y -CONFIG_WIRELESS_EXT=y -CONFIG_WIRELESS_EXT_SYSFS=y -# CONFIG_MAC80211 is not set -CONFIG_IEEE80211=m -# CONFIG_IEEE80211_DEBUG is not set -CONFIG_IEEE80211_CRYPT_WEP=m -# CONFIG_IEEE80211_CRYPT_CCMP is not set -# CONFIG_IEEE80211_CRYPT_TKIP is not set -# CONFIG_RFKILL is not set -CONFIG_NET_9P=m -# CONFIG_NET_9P_DEBUG is not set - -# -# Device Drivers -# - -# -# Generic Driver Options -# -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_STANDALONE=y -CONFIG_PREVENT_FIRMWARE_BUILD=y -CONFIG_FW_LOADER=m -CONFIG_FIRMWARE_IN_KERNEL=y -CONFIG_EXTRA_FIRMWARE="" -# CONFIG_SYS_HYPERVISOR is not set -# CONFIG_CONNECTOR is not set -CONFIG_MTD=m -# CONFIG_MTD_DEBUG is not set -# CONFIG_MTD_CONCAT is not set -# CONFIG_MTD_PARTITIONS is not set - -# -# User Modules And Translation Layers -# -CONFIG_MTD_CHAR=m -CONFIG_MTD_BLKDEVS=m -CONFIG_MTD_BLOCK=m -# CONFIG_MTD_BLOCK_RO is not set -# CONFIG_FTL is not set -# CONFIG_NFTL is not set -# CONFIG_INFTL is not set -# CONFIG_RFD_FTL is not set -# CONFIG_SSFDC is not set -# CONFIG_MTD_OOPS is not set - -# -# RAM/ROM/Flash chip drivers -# -CONFIG_MTD_CFI=m -CONFIG_MTD_JEDECPROBE=m -CONFIG_MTD_GEN_PROBE=m -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_NOSWAP=y -# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set -# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set -# CONFIG_MTD_CFI_GEOMETRY is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -CONFIG_MTD_MAP_BANK_WIDTH_2=y -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -# CONFIG_MTD_OTP is not set -# CONFIG_MTD_CFI_INTELEXT is not set -CONFIG_MTD_CFI_AMDSTD=m -CONFIG_MTD_CFI_STAA=m -CONFIG_MTD_CFI_UTIL=m -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_ABSENT is not set - -# -# Mapping drivers for chip access -# -# CONFIG_MTD_COMPLEX_MAPPINGS is not set -CONFIG_MTD_PHYSMAP=m -CONFIG_MTD_PHYSMAP_START=0x1fc00000 -CONFIG_MTD_PHYSMAP_LEN=0x80000 -CONFIG_MTD_PHYSMAP_BANKWIDTH=1 -# CONFIG_MTD_INTEL_VR_NOR is not set -# CONFIG_MTD_PLATRAM is not set - -# -# Self-contained MTD device drivers -# -# CONFIG_MTD_PMC551 is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_BLOCK2MTD is not set - -# -# Disk-On-Chip Device Drivers -# -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set -# CONFIG_MTD_NAND is not set -# CONFIG_MTD_ONENAND is not set - -# -# UBI - Unsorted block images -# -# CONFIG_MTD_UBI is not set -# CONFIG_PARPORT is not set -# CONFIG_PNP is not set -CONFIG_BLK_DEV=y -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -# CONFIG_BLK_DEV_COW_COMMON is not set -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_CRYPTOLOOP=m -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_SX8 is not set -# CONFIG_BLK_DEV_UB is not set -CONFIG_BLK_DEV_RAM=m -CONFIG_BLK_DEV_RAM_COUNT=16 -CONFIG_BLK_DEV_RAM_SIZE=4096 -# CONFIG_BLK_DEV_XIP is not set -CONFIG_CDROM_PKTCDVD=m -CONFIG_CDROM_PKTCDVD_BUFFERS=8 -# CONFIG_CDROM_PKTCDVD_WCACHE is not set -CONFIG_ATA_OVER_ETH=m -# CONFIG_BLK_DEV_HD is not set -# CONFIG_MISC_DEVICES is not set -CONFIG_HAVE_IDE=y -CONFIG_IDE=y - -# -# Please see Documentation/ide/ide.txt for help/info on IDE drives -# -CONFIG_IDE_TIMINGS=y -CONFIG_IDE_ATAPI=y -# CONFIG_BLK_DEV_IDE_SATA is not set -CONFIG_IDE_GD=y -CONFIG_IDE_GD_ATA=y -# CONFIG_IDE_GD_ATAPI is not set -CONFIG_BLK_DEV_IDECD=y -CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y -# CONFIG_BLK_DEV_IDETAPE is not set -CONFIG_BLK_DEV_IDESCSI=y -CONFIG_IDE_TASK_IOCTL=y -CONFIG_IDE_PROC_FS=y - -# -# IDE chipset support/bugfixes -# -CONFIG_IDE_GENERIC=y -# CONFIG_BLK_DEV_PLATFORM is not set -CONFIG_BLK_DEV_IDEDMA_SFF=y - -# -# PCI IDE chipsets support -# -CONFIG_BLK_DEV_IDEPCI=y -CONFIG_IDEPCI_PCIBUS_ORDER=y -# CONFIG_BLK_DEV_OFFBOARD is not set -CONFIG_BLK_DEV_GENERIC=y -# CONFIG_BLK_DEV_OPTI621 is not set -CONFIG_BLK_DEV_IDEDMA_PCI=y -# CONFIG_BLK_DEV_AEC62XX is not set -# CONFIG_BLK_DEV_ALI15X3 is not set -# CONFIG_BLK_DEV_AMD74XX is not set -# CONFIG_BLK_DEV_CMD64X is not set -# CONFIG_BLK_DEV_TRIFLEX is not set -# CONFIG_BLK_DEV_CS5520 is not set -# CONFIG_BLK_DEV_CS5530 is not set -# CONFIG_BLK_DEV_HPT366 is not set -# CONFIG_BLK_DEV_JMICRON is not set -# CONFIG_BLK_DEV_SC1200 is not set -# CONFIG_BLK_DEV_PIIX is not set -# CONFIG_BLK_DEV_IT8213 is not set -# CONFIG_BLK_DEV_IT821X is not set -# CONFIG_BLK_DEV_NS87415 is not set -# CONFIG_BLK_DEV_PDC202XX_OLD is not set -# CONFIG_BLK_DEV_PDC202XX_NEW is not set -# CONFIG_BLK_DEV_SVWKS is not set -# CONFIG_BLK_DEV_SIIMAGE is not set -# CONFIG_BLK_DEV_SLC90E66 is not set -# CONFIG_BLK_DEV_TRM290 is not set -CONFIG_BLK_DEV_VIA82CXXX=y -# CONFIG_BLK_DEV_TC86C001 is not set - -# -# Other IDE chipsets support -# - -# -# Note: most of these also require special kernel boot parameters -# -# CONFIG_BLK_DEV_4DRIVES is not set -# CONFIG_BLK_DEV_ALI14XX is not set -# CONFIG_BLK_DEV_DTC2278 is not set -# CONFIG_BLK_DEV_HT6560B is not set -# CONFIG_BLK_DEV_QD65XX is not set -# CONFIG_BLK_DEV_UMC8672 is not set -CONFIG_BLK_DEV_IDEDMA=y - -# -# SCSI device support -# -# CONFIG_RAID_ATTRS is not set -CONFIG_SCSI=y -CONFIG_SCSI_DMA=y -# CONFIG_SCSI_TGT is not set -# CONFIG_SCSI_NETLINK is not set -CONFIG_SCSI_PROC_FS=y - -# -# SCSI support type (disk, tape, CD-ROM) -# -CONFIG_BLK_DEV_SD=y -# CONFIG_CHR_DEV_ST is not set -# CONFIG_CHR_DEV_OSST is not set -CONFIG_BLK_DEV_SR=y -CONFIG_BLK_DEV_SR_VENDOR=y -CONFIG_CHR_DEV_SG=y -# CONFIG_CHR_DEV_SCH is not set - -# -# Some SCSI devices (e.g. CD jukebox) support multiple LUNs -# -# CONFIG_SCSI_MULTI_LUN is not set -CONFIG_SCSI_CONSTANTS=y -# CONFIG_SCSI_LOGGING is not set -# CONFIG_SCSI_SCAN_ASYNC is not set -CONFIG_SCSI_WAIT_SCAN=m - -# -# SCSI Transports -# -# CONFIG_SCSI_SPI_ATTRS is not set -# CONFIG_SCSI_FC_ATTRS is not set -# CONFIG_SCSI_ISCSI_ATTRS is not set -# CONFIG_SCSI_SAS_ATTRS is not set -# CONFIG_SCSI_SAS_LIBSAS is not set -# CONFIG_SCSI_SRP_ATTRS is not set -# CONFIG_SCSI_LOWLEVEL is not set -# CONFIG_SCSI_DH is not set -# CONFIG_ATA is not set -# CONFIG_MD is not set -# CONFIG_FUSION is not set - -# -# IEEE 1394 (FireWire) support -# - -# -# Enable only one of the two stacks, unless you know what you are doing -# -# CONFIG_FIREWIRE is not set -# CONFIG_IEEE1394 is not set -# CONFIG_I2O is not set -CONFIG_NETDEVICES=y -# CONFIG_DUMMY is not set -# CONFIG_BONDING is not set -CONFIG_MACVLAN=m -# CONFIG_EQUALIZER is not set -# CONFIG_TUN is not set -CONFIG_VETH=m -# CONFIG_ARCNET is not set -CONFIG_PHYLIB=m - -# -# MII PHY device drivers -# -CONFIG_MARVELL_PHY=m -CONFIG_DAVICOM_PHY=m -CONFIG_QSEMI_PHY=m -CONFIG_LXT_PHY=m -CONFIG_CICADA_PHY=m -# CONFIG_VITESSE_PHY is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_BROADCOM_PHY is not set -# CONFIG_ICPLUS_PHY is not set -# CONFIG_REALTEK_PHY is not set -# CONFIG_MDIO_BITBANG is not set -CONFIG_NET_ETHERNET=y -CONFIG_MII=y -# CONFIG_AX88796 is not set -# CONFIG_HAPPYMEAL is not set -# CONFIG_SUNGEM is not set -# CONFIG_CASSINI is not set -# CONFIG_NET_VENDOR_3COM is not set -# CONFIG_NET_VENDOR_SMC is not set -# CONFIG_SMC91X is not set -# CONFIG_DM9000 is not set -# CONFIG_NET_VENDOR_RACAL is not set -# CONFIG_NET_TULIP is not set -# CONFIG_AT1700 is not set -# CONFIG_DEPCA is not set -# CONFIG_HP100 is not set -# CONFIG_NET_ISA is not set -# CONFIG_IBM_NEW_EMAC_ZMII is not set -# CONFIG_IBM_NEW_EMAC_RGMII is not set -# CONFIG_IBM_NEW_EMAC_TAH is not set -# CONFIG_IBM_NEW_EMAC_EMAC4 is not set -# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set -# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set -# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set -CONFIG_NET_PCI=y -# CONFIG_PCNET32 is not set -# CONFIG_AMD8111_ETH is not set -# CONFIG_ADAPTEC_STARFIRE is not set -# CONFIG_AC3200 is not set -# CONFIG_APRICOT is not set -# CONFIG_B44 is not set -# CONFIG_FORCEDETH is not set -# CONFIG_CS89x0 is not set -# CONFIG_TC35815 is not set -# CONFIG_EEPRO100 is not set -# CONFIG_E100 is not set -# CONFIG_FEALNX is not set -# CONFIG_NATSEMI is not set -# CONFIG_NE2K_PCI is not set -# CONFIG_8139CP is not set -CONFIG_8139TOO=y -# CONFIG_8139TOO_PIO is not set -# CONFIG_8139TOO_TUNE_TWISTER is not set -# CONFIG_8139TOO_8129 is not set -# CONFIG_8139_OLD_RX_RESET is not set -# CONFIG_R6040 is not set -# CONFIG_SIS900 is not set -# CONFIG_EPIC100 is not set -# CONFIG_SUNDANCE is not set -# CONFIG_TLAN is not set -# CONFIG_VIA_RHINE is not set -# CONFIG_SC92031 is not set -# CONFIG_ATL2 is not set -CONFIG_NETDEV_1000=y -# CONFIG_ACENIC is not set -# CONFIG_DL2K is not set -# CONFIG_E1000 is not set -# CONFIG_E1000E is not set -# CONFIG_IP1000 is not set -# CONFIG_IGB is not set -# CONFIG_NS83820 is not set -# CONFIG_HAMACHI is not set -# CONFIG_YELLOWFIN is not set -# CONFIG_R8169 is not set -# CONFIG_SIS190 is not set -# CONFIG_SKGE is not set -# CONFIG_SKY2 is not set -# CONFIG_VIA_VELOCITY is not set -# CONFIG_TIGON3 is not set -# CONFIG_BNX2 is not set -# CONFIG_QLA3XXX is not set -# CONFIG_ATL1 is not set -# CONFIG_ATL1E is not set -# CONFIG_JME is not set -CONFIG_NETDEV_10000=y -# CONFIG_CHELSIO_T1 is not set -# CONFIG_CHELSIO_T3 is not set -# CONFIG_ENIC is not set -# CONFIG_IXGBE is not set -# CONFIG_IXGB is not set -# CONFIG_S2IO is not set -# CONFIG_MYRI10GE is not set -# CONFIG_NETXEN_NIC is not set -# CONFIG_NIU is not set -# CONFIG_MLX4_EN is not set -# CONFIG_MLX4_CORE is not set -# CONFIG_TEHUTI is not set -# CONFIG_BNX2X is not set -# CONFIG_QLGE is not set -# CONFIG_SFC is not set -# CONFIG_TR is not set - -# -# Wireless LAN -# -# CONFIG_WLAN_PRE80211 is not set -# CONFIG_WLAN_80211 is not set -# CONFIG_IWLWIFI_LEDS is not set - -# -# USB Network Adapters -# -# CONFIG_USB_CATC is not set -# CONFIG_USB_KAWETH is not set -# CONFIG_USB_PEGASUS is not set -# CONFIG_USB_RTL8150 is not set -# CONFIG_USB_USBNET is not set -# CONFIG_WAN is not set -# CONFIG_FDDI is not set -# CONFIG_HIPPI is not set -CONFIG_PPP=m -CONFIG_PPP_MULTILINK=y -CONFIG_PPP_FILTER=y -CONFIG_PPP_ASYNC=m -CONFIG_PPP_SYNC_TTY=m -CONFIG_PPP_DEFLATE=m -CONFIG_PPP_BSDCOMP=m -CONFIG_PPP_MPPE=m -CONFIG_PPPOE=m -CONFIG_PPPOL2TP=m -CONFIG_SLIP=m -CONFIG_SLIP_COMPRESSED=y -CONFIG_SLHC=m -CONFIG_SLIP_SMART=y -CONFIG_SLIP_MODE_SLIP6=y -CONFIG_NET_FC=y -# CONFIG_NETCONSOLE is not set -# CONFIG_NETPOLL is not set -# CONFIG_NET_POLL_CONTROLLER is not set -# CONFIG_ISDN is not set -# CONFIG_PHONE is not set - -# -# Input device support -# -CONFIG_INPUT=y -CONFIG_INPUT_FF_MEMLESS=y -# CONFIG_INPUT_POLLDEV is not set - -# -# Userland interfaces -# -CONFIG_INPUT_MOUSEDEV=y -CONFIG_INPUT_MOUSEDEV_PSAUX=y -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 -# CONFIG_INPUT_JOYDEV is not set -# CONFIG_INPUT_EVDEV is not set -# CONFIG_INPUT_EVBUG is not set - -# -# Input Device Drivers -# -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_ATKBD=m -# CONFIG_KEYBOARD_SUNKBD is not set -# CONFIG_KEYBOARD_LKKBD is not set -# CONFIG_KEYBOARD_XTKBD is not set -# CONFIG_KEYBOARD_NEWTON is not set -# CONFIG_KEYBOARD_STOWAWAY is not set -CONFIG_INPUT_MOUSE=y -CONFIG_MOUSE_PS2=y -CONFIG_MOUSE_PS2_ALPS=y -CONFIG_MOUSE_PS2_LOGIPS2PP=y -CONFIG_MOUSE_PS2_SYNAPTICS=y -CONFIG_MOUSE_PS2_LIFEBOOK=y -CONFIG_MOUSE_PS2_TRACKPOINT=y -# CONFIG_MOUSE_PS2_ELANTECH is not set -# CONFIG_MOUSE_PS2_TOUCHKIT is not set -CONFIG_MOUSE_SERIAL=y -# CONFIG_MOUSE_APPLETOUCH is not set -# CONFIG_MOUSE_BCM5974 is not set -# CONFIG_MOUSE_INPORT is not set -# CONFIG_MOUSE_LOGIBM is not set -# CONFIG_MOUSE_PC110PAD is not set -# CONFIG_MOUSE_VSXXXAA is not set -# CONFIG_INPUT_JOYSTICK is not set -# CONFIG_INPUT_TABLET is not set -# CONFIG_INPUT_TOUCHSCREEN is not set -# CONFIG_INPUT_MISC is not set - -# -# Hardware I/O ports -# -CONFIG_SERIO=y -CONFIG_SERIO_I8042=y -CONFIG_SERIO_SERPORT=y -# CONFIG_SERIO_PCIPS2 is not set -CONFIG_SERIO_LIBPS2=y -# CONFIG_SERIO_RAW is not set -# CONFIG_GAMEPORT is not set - -# -# Character devices -# -CONFIG_VT=y -CONFIG_CONSOLE_TRANSLATIONS=y -CONFIG_VT_CONSOLE=y -CONFIG_HW_CONSOLE=y -# CONFIG_VT_HW_CONSOLE_BINDING is not set -CONFIG_DEVKMEM=y -# CONFIG_SERIAL_NONSTANDARD is not set -# CONFIG_NOZOMI is not set - -# -# Serial drivers -# -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_PCI=y -CONFIG_SERIAL_8250_NR_UARTS=2 -CONFIG_SERIAL_8250_RUNTIME_UARTS=2 -# CONFIG_SERIAL_8250_EXTENDED is not set - -# -# Non-8250 serial port support -# -CONFIG_SERIAL_CORE=y -CONFIG_SERIAL_CORE_CONSOLE=y -# CONFIG_SERIAL_JSM is not set -CONFIG_UNIX98_PTYS=y -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=256 -# CONFIG_IPMI_HANDLER is not set -CONFIG_HW_RANDOM=y -# CONFIG_DTLK is not set -# CONFIG_R3964 is not set -# CONFIG_APPLICOM is not set -# CONFIG_RAW_DRIVER is not set -# CONFIG_TCG_TPM is not set -CONFIG_DEVPORT=y -CONFIG_I2C=m -CONFIG_I2C_BOARDINFO=y -CONFIG_I2C_CHARDEV=m -CONFIG_I2C_HELPER_AUTO=y - -# -# I2C Hardware Bus support -# - -# -# PC SMBus host controller drivers -# -# CONFIG_I2C_ALI1535 is not set -# CONFIG_I2C_ALI1563 is not set -# CONFIG_I2C_ALI15X3 is not set -# CONFIG_I2C_AMD756 is not set -# CONFIG_I2C_AMD8111 is not set -# CONFIG_I2C_I801 is not set -# CONFIG_I2C_ISCH is not set -# CONFIG_I2C_PIIX4 is not set -# CONFIG_I2C_NFORCE2 is not set -# CONFIG_I2C_SIS5595 is not set -# CONFIG_I2C_SIS630 is not set -# CONFIG_I2C_SIS96X is not set -# CONFIG_I2C_VIA is not set -CONFIG_I2C_VIAPRO=m - -# -# I2C system bus drivers (mostly embedded / system-on-chip) -# -# CONFIG_I2C_OCORES is not set -# CONFIG_I2C_SIMTEC is not set - -# -# External I2C/SMBus adapter drivers -# -# CONFIG_I2C_PARPORT_LIGHT is not set -# CONFIG_I2C_TAOS_EVM is not set -# CONFIG_I2C_TINY_USB is not set - -# -# Graphics adapter I2C/DDC channel drivers -# -# CONFIG_I2C_VOODOO3 is not set - -# -# Other I2C/SMBus bus drivers -# -# CONFIG_I2C_ELEKTOR is not set -# CONFIG_I2C_PCA_ISA is not set -# CONFIG_I2C_PCA_PLATFORM is not set -# CONFIG_I2C_STUB is not set - -# -# Miscellaneous I2C Chip support -# -# CONFIG_DS1682 is not set -# CONFIG_EEPROM_AT24 is not set -# CONFIG_EEPROM_LEGACY is not set -# CONFIG_SENSORS_PCF8574 is not set -# CONFIG_PCF8575 is not set -# CONFIG_SENSORS_PCA9539 is not set -# CONFIG_SENSORS_PCF8591 is not set -# CONFIG_SENSORS_MAX6875 is not set -# CONFIG_SENSORS_TSL2550 is not set -# CONFIG_I2C_DEBUG_CORE is not set -# CONFIG_I2C_DEBUG_ALGO is not set -# CONFIG_I2C_DEBUG_BUS is not set -# CONFIG_I2C_DEBUG_CHIP is not set -# CONFIG_SPI is not set -# CONFIG_W1 is not set -# CONFIG_POWER_SUPPLY is not set -# CONFIG_HWMON is not set -# CONFIG_THERMAL is not set -# CONFIG_THERMAL_HWMON is not set -# CONFIG_WATCHDOG is not set -CONFIG_SSB_POSSIBLE=y - -# -# Sonics Silicon Backplane -# -# CONFIG_SSB is not set - -# -# Multifunction device drivers -# -# CONFIG_MFD_CORE is not set -# CONFIG_MFD_SM501 is not set -# CONFIG_HTC_PASIC3 is not set -# CONFIG_MFD_TMIO is not set -# CONFIG_MFD_WM8400 is not set -# CONFIG_MFD_WM8350_I2C is not set -# CONFIG_REGULATOR is not set - -# -# Multimedia devices -# - -# -# Multimedia core support -# -CONFIG_VIDEO_DEV=m -CONFIG_VIDEO_V4L2_COMMON=m -CONFIG_VIDEO_ALLOW_V4L1=y -CONFIG_VIDEO_V4L1_COMPAT=y -# CONFIG_DVB_CORE is not set -CONFIG_VIDEO_MEDIA=m - -# -# Multimedia drivers -# -CONFIG_MEDIA_ATTACH=y -CONFIG_MEDIA_TUNER=m -CONFIG_MEDIA_TUNER_CUSTOMIZE=y -CONFIG_MEDIA_TUNER_SIMPLE=m -CONFIG_MEDIA_TUNER_TDA8290=m -CONFIG_MEDIA_TUNER_TDA827X=m -CONFIG_MEDIA_TUNER_TDA18271=m -CONFIG_MEDIA_TUNER_TDA9887=m -CONFIG_MEDIA_TUNER_TEA5761=m -CONFIG_MEDIA_TUNER_TEA5767=m -CONFIG_MEDIA_TUNER_MT20XX=m -CONFIG_MEDIA_TUNER_MT2060=m -CONFIG_MEDIA_TUNER_MT2266=m -CONFIG_MEDIA_TUNER_MT2131=m -CONFIG_MEDIA_TUNER_QT1010=m -CONFIG_MEDIA_TUNER_XC2028=m -CONFIG_MEDIA_TUNER_XC5000=m -CONFIG_MEDIA_TUNER_MXL5005S=m -CONFIG_MEDIA_TUNER_MXL5007T=m -CONFIG_VIDEO_V4L2=m -CONFIG_VIDEO_V4L1=m -CONFIG_VIDEOBUF_GEN=m -CONFIG_VIDEOBUF_VMALLOC=m -CONFIG_VIDEOBUF_DMA_CONTIG=m -CONFIG_VIDEO_CAPTURE_DRIVERS=y -# CONFIG_VIDEO_ADV_DEBUG is not set -# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set -CONFIG_VIDEO_HELPER_CHIPS_AUTO=y -# CONFIG_VIDEO_VIVI is not set -# CONFIG_VIDEO_BT848 is not set -# CONFIG_VIDEO_PMS is not set -# CONFIG_VIDEO_CPIA is not set -# CONFIG_VIDEO_CPIA2 is not set -# CONFIG_VIDEO_SAA5246A is not set -# CONFIG_VIDEO_SAA5249 is not set -# CONFIG_VIDEO_STRADIS is not set -# CONFIG_VIDEO_SAA7134 is not set -# CONFIG_VIDEO_MXB is not set -# CONFIG_VIDEO_HEXIUM_ORION is not set -# CONFIG_VIDEO_HEXIUM_GEMINI is not set -# CONFIG_VIDEO_CX88 is not set -# CONFIG_VIDEO_IVTV is not set -# CONFIG_VIDEO_CAFE_CCIC is not set -CONFIG_SOC_CAMERA=m -CONFIG_SOC_CAMERA_MT9M001=m -CONFIG_SOC_CAMERA_MT9M111=m -CONFIG_SOC_CAMERA_MT9V022=m -CONFIG_SOC_CAMERA_PLATFORM=m -CONFIG_VIDEO_SH_MOBILE_CEU=m -CONFIG_V4L_USB_DRIVERS=y -CONFIG_USB_VIDEO_CLASS=m -CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y -CONFIG_USB_GSPCA=m -CONFIG_USB_M5602=m -CONFIG_USB_GSPCA_CONEX=m -CONFIG_USB_GSPCA_ETOMS=m -CONFIG_USB_GSPCA_FINEPIX=m -CONFIG_USB_GSPCA_MARS=m -CONFIG_USB_GSPCA_OV519=m -CONFIG_USB_GSPCA_PAC207=m -CONFIG_USB_GSPCA_PAC7311=m -CONFIG_USB_GSPCA_SONIXB=m -CONFIG_USB_GSPCA_SONIXJ=m -CONFIG_USB_GSPCA_SPCA500=m -CONFIG_USB_GSPCA_SPCA501=m -CONFIG_USB_GSPCA_SPCA505=m -CONFIG_USB_GSPCA_SPCA506=m -CONFIG_USB_GSPCA_SPCA508=m -CONFIG_USB_GSPCA_SPCA561=m -CONFIG_USB_GSPCA_STK014=m -CONFIG_USB_GSPCA_SUNPLUS=m -CONFIG_USB_GSPCA_T613=m -CONFIG_USB_GSPCA_TV8532=m -CONFIG_USB_GSPCA_VC032X=m -CONFIG_USB_GSPCA_ZC3XX=m -# CONFIG_VIDEO_PVRUSB2 is not set -# CONFIG_VIDEO_EM28XX is not set -# CONFIG_VIDEO_USBVISION is not set -CONFIG_VIDEO_USBVIDEO=m -CONFIG_USB_VICAM=m -CONFIG_USB_IBMCAM=m -CONFIG_USB_KONICAWC=m -CONFIG_USB_QUICKCAM_MESSENGER=m -CONFIG_USB_ET61X251=m -# CONFIG_VIDEO_OVCAMCHIP is not set -CONFIG_USB_OV511=m -CONFIG_USB_SE401=m -CONFIG_USB_SN9C102=m -CONFIG_USB_STV680=m -CONFIG_USB_ZC0301=m -CONFIG_USB_PWC=m -# CONFIG_USB_PWC_DEBUG is not set -# CONFIG_USB_ZR364XX is not set -CONFIG_USB_STKWEBCAM=m -CONFIG_USB_S2255=m -CONFIG_RADIO_ADAPTERS=y -# CONFIG_RADIO_CADET is not set -# CONFIG_RADIO_RTRACK is not set -# CONFIG_RADIO_RTRACK2 is not set -# CONFIG_RADIO_AZTECH is not set -# CONFIG_RADIO_GEMTEK is not set -# CONFIG_RADIO_GEMTEK_PCI is not set -# CONFIG_RADIO_MAXIRADIO is not set -# CONFIG_RADIO_MAESTRO is not set -# CONFIG_RADIO_SF16FMI is not set -# CONFIG_RADIO_SF16FMR2 is not set -# CONFIG_RADIO_TERRATEC is not set -# CONFIG_RADIO_TRUST is not set -# CONFIG_RADIO_TYPHOON is not set -# CONFIG_RADIO_ZOLTRIX is not set -# CONFIG_USB_DSBR is not set -CONFIG_USB_SI470X=m -CONFIG_USB_MR800=m -CONFIG_DAB=y -# CONFIG_USB_DABUSB is not set - -# -# Graphics support -# -# CONFIG_DRM is not set -# CONFIG_VGASTATE is not set -CONFIG_VIDEO_OUTPUT_CONTROL=m -CONFIG_FB=y -# CONFIG_FIRMWARE_EDID is not set -# CONFIG_FB_DDC is not set -# CONFIG_FB_BOOT_VESA_SUPPORT is not set -CONFIG_FB_CFB_FILLRECT=y -CONFIG_FB_CFB_COPYAREA=y -CONFIG_FB_CFB_IMAGEBLIT=y -# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set -# CONFIG_FB_SYS_FILLRECT is not set -# CONFIG_FB_SYS_COPYAREA is not set -# CONFIG_FB_SYS_IMAGEBLIT is not set -# CONFIG_FB_FOREIGN_ENDIAN is not set -# CONFIG_FB_SYS_FOPS is not set -# CONFIG_FB_SVGALIB is not set -# CONFIG_FB_MACMODES is not set -CONFIG_FB_BACKLIGHT=y -CONFIG_FB_MODE_HELPERS=y -# CONFIG_FB_TILEBLITTING is not set - -# -# Frame buffer hardware drivers -# -# CONFIG_FB_CIRRUS is not set -# CONFIG_FB_PM2 is not set -# CONFIG_FB_CYBER2000 is not set -# CONFIG_FB_ASILIANT is not set -# CONFIG_FB_IMSTT is not set -# CONFIG_FB_S1D13XXX is not set -# CONFIG_FB_NVIDIA is not set -# CONFIG_FB_RIVA is not set -# CONFIG_FB_MATROX is not set -CONFIG_FB_RADEON=y -# CONFIG_FB_RADEON_I2C is not set -CONFIG_FB_RADEON_BACKLIGHT=y -# CONFIG_FB_RADEON_DEBUG is not set -# CONFIG_FB_ATY128 is not set -# CONFIG_FB_ATY is not set -# CONFIG_FB_S3 is not set -# CONFIG_FB_SAVAGE is not set -# CONFIG_FB_SIS is not set -# CONFIG_FB_VIA is not set -# CONFIG_FB_NEOMAGIC is not set -# CONFIG_FB_KYRO is not set -# CONFIG_FB_3DFX is not set -# CONFIG_FB_VOODOO1 is not set -# CONFIG_FB_VT8623 is not set -# CONFIG_FB_TRIDENT is not set -# CONFIG_FB_ARK is not set -# CONFIG_FB_PM3 is not set -# CONFIG_FB_CARMINE is not set -# CONFIG_FB_VIRTUAL is not set -# CONFIG_FB_METRONOME is not set -# CONFIG_FB_MB862XX is not set -CONFIG_BACKLIGHT_LCD_SUPPORT=y -CONFIG_LCD_CLASS_DEVICE=m -# CONFIG_LCD_ILI9320 is not set -# CONFIG_LCD_PLATFORM is not set -CONFIG_BACKLIGHT_CLASS_DEVICE=y -# CONFIG_BACKLIGHT_CORGI is not set - -# -# Display device support -# -# CONFIG_DISPLAY_SUPPORT is not set - -# -# Console display driver support -# -# CONFIG_VGA_CONSOLE is not set -# CONFIG_MDA_CONSOLE is not set -CONFIG_DUMMY_CONSOLE=y -CONFIG_FRAMEBUFFER_CONSOLE=y -# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set -# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set -# CONFIG_FONTS is not set -CONFIG_FONT_8x8=y -CONFIG_FONT_8x16=y -# CONFIG_LOGO is not set -CONFIG_SOUND=y -CONFIG_SOUND_OSS_CORE=y -CONFIG_SND=m -CONFIG_SND_TIMER=m -CONFIG_SND_PCM=m -CONFIG_SND_RAWMIDI=m -CONFIG_SND_SEQUENCER=m -CONFIG_SND_SEQ_DUMMY=m -CONFIG_SND_OSSEMUL=y -CONFIG_SND_MIXER_OSS=m -CONFIG_SND_PCM_OSS=m -CONFIG_SND_PCM_OSS_PLUGINS=y -CONFIG_SND_SEQUENCER_OSS=y -# CONFIG_SND_DYNAMIC_MINORS is not set -CONFIG_SND_SUPPORT_OLD_API=y -CONFIG_SND_VERBOSE_PROCFS=y -# CONFIG_SND_VERBOSE_PRINTK is not set -# CONFIG_SND_DEBUG is not set -CONFIG_SND_VMASTER=y -CONFIG_SND_MPU401_UART=m -CONFIG_SND_AC97_CODEC=m -CONFIG_SND_DRIVERS=y -# CONFIG_SND_DUMMY is not set -# CONFIG_SND_VIRMIDI is not set -# CONFIG_SND_MTPAV is not set -# CONFIG_SND_SERIAL_U16550 is not set -# CONFIG_SND_MPU401 is not set -# CONFIG_SND_AC97_POWER_SAVE is not set -CONFIG_SND_PCI=y -# CONFIG_SND_AD1889 is not set -# CONFIG_SND_ALS300 is not set -# CONFIG_SND_ALI5451 is not set -# CONFIG_SND_ATIIXP is not set -# CONFIG_SND_ATIIXP_MODEM is not set -# CONFIG_SND_AU8810 is not set -# CONFIG_SND_AU8820 is not set -# CONFIG_SND_AU8830 is not set -# CONFIG_SND_AW2 is not set -# CONFIG_SND_AZT3328 is not set -# CONFIG_SND_BT87X is not set -# CONFIG_SND_CA0106 is not set -# CONFIG_SND_CMIPCI is not set -# CONFIG_SND_OXYGEN is not set -# CONFIG_SND_CS4281 is not set -# CONFIG_SND_CS46XX is not set -# CONFIG_SND_DARLA20 is not set -# CONFIG_SND_GINA20 is not set -# CONFIG_SND_LAYLA20 is not set -# CONFIG_SND_DARLA24 is not set -# CONFIG_SND_GINA24 is not set -# CONFIG_SND_LAYLA24 is not set -# CONFIG_SND_MONA is not set -# CONFIG_SND_MIA is not set -# CONFIG_SND_ECHO3G is not set -# CONFIG_SND_INDIGO is not set -# CONFIG_SND_INDIGOIO is not set -# CONFIG_SND_INDIGODJ is not set -# CONFIG_SND_EMU10K1 is not set -# CONFIG_SND_EMU10K1X is not set -# CONFIG_SND_ENS1370 is not set -# CONFIG_SND_ENS1371 is not set -# CONFIG_SND_ES1938 is not set -# CONFIG_SND_ES1968 is not set -# CONFIG_SND_FM801 is not set -# CONFIG_SND_HDA_INTEL is not set -# CONFIG_SND_HDSP is not set -# CONFIG_SND_HDSPM is not set -# CONFIG_SND_HIFIER is not set -# CONFIG_SND_ICE1712 is not set -# CONFIG_SND_ICE1724 is not set -# CONFIG_SND_INTEL8X0 is not set -# CONFIG_SND_INTEL8X0M is not set -# CONFIG_SND_KORG1212 is not set -# CONFIG_SND_MAESTRO3 is not set -# CONFIG_SND_MIXART is not set -# CONFIG_SND_NM256 is not set -# CONFIG_SND_PCXHR is not set -# CONFIG_SND_RIPTIDE is not set -# CONFIG_SND_RME32 is not set -# CONFIG_SND_RME96 is not set -# CONFIG_SND_RME9652 is not set -# CONFIG_SND_SONICVIBES is not set -# CONFIG_SND_TRIDENT is not set -CONFIG_SND_VIA82XX=m -# CONFIG_SND_VIA82XX_MODEM is not set -# CONFIG_SND_VIRTUOSO is not set -# CONFIG_SND_VX222 is not set -# CONFIG_SND_YMFPCI is not set -CONFIG_SND_MIPS=y -CONFIG_SND_USB=y -# CONFIG_SND_USB_AUDIO is not set -# CONFIG_SND_USB_CAIAQ is not set -# CONFIG_SND_SOC is not set -# CONFIG_SOUND_PRIME is not set -CONFIG_AC97_BUS=m -CONFIG_HID_SUPPORT=y -CONFIG_HID=y -# CONFIG_HID_DEBUG is not set -CONFIG_HIDRAW=y - -# -# USB Input Devices -# -CONFIG_USB_HID=m -CONFIG_HID_PID=y -CONFIG_USB_HIDDEV=y - -# -# USB HID Boot Protocol drivers -# -# CONFIG_USB_KBD is not set -# CONFIG_USB_MOUSE is not set - -# -# Special HID drivers -# -CONFIG_HID_COMPAT=y -CONFIG_HID_A4TECH=m -CONFIG_HID_APPLE=m -CONFIG_HID_BELKIN=m -CONFIG_HID_BRIGHT=m -CONFIG_HID_CHERRY=m -CONFIG_HID_CHICONY=m -CONFIG_HID_CYPRESS=m -CONFIG_HID_DELL=m -CONFIG_HID_EZKEY=m -CONFIG_HID_GYRATION=m -CONFIG_HID_LOGITECH=m -CONFIG_LOGITECH_FF=y -CONFIG_LOGIRUMBLEPAD2_FF=y -CONFIG_HID_MICROSOFT=m -CONFIG_HID_MONTEREY=m -CONFIG_HID_PANTHERLORD=m -# CONFIG_PANTHERLORD_FF is not set -CONFIG_HID_PETALYNX=m -CONFIG_HID_SAMSUNG=m -CONFIG_HID_SONY=m -CONFIG_HID_SUNPLUS=m -# CONFIG_THRUSTMASTER_FF is not set -CONFIG_ZEROPLUS_FF=m -CONFIG_USB_SUPPORT=y -CONFIG_USB_ARCH_HAS_HCD=y -CONFIG_USB_ARCH_HAS_OHCI=y -CONFIG_USB_ARCH_HAS_EHCI=y -CONFIG_USB=y -# CONFIG_USB_DEBUG is not set -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y - -# -# Miscellaneous USB options -# -CONFIG_USB_DEVICEFS=y -# CONFIG_USB_DEVICE_CLASS is not set -# CONFIG_USB_DYNAMIC_MINORS is not set -# CONFIG_USB_SUSPEND is not set -# CONFIG_USB_OTG is not set -CONFIG_USB_OTG_WHITELIST=y -# CONFIG_USB_OTG_BLACKLIST_HUB is not set -# CONFIG_USB_MON is not set -# CONFIG_USB_WUSB is not set -CONFIG_USB_WUSB_CBAF=m -# CONFIG_USB_WUSB_CBAF_DEBUG is not set - -# -# USB Host Controller Drivers -# -CONFIG_USB_C67X00_HCD=m -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_EHCI_TT_NEWSCHED=y -# CONFIG_USB_ISP116X_HCD is not set -CONFIG_USB_ISP1760_HCD=m -CONFIG_USB_OHCI_HCD=y -# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set -# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set -CONFIG_USB_OHCI_LITTLE_ENDIAN=y -CONFIG_USB_UHCI_HCD=m -# CONFIG_USB_SL811_HCD is not set -CONFIG_USB_R8A66597_HCD=m -# CONFIG_USB_WHCI_HCD is not set -# CONFIG_USB_HWA_HCD is not set - -# -# USB Device Class drivers -# -CONFIG_USB_ACM=y -CONFIG_USB_PRINTER=y -CONFIG_USB_WDM=m -CONFIG_USB_TMC=m - -# -# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed; -# - -# -# see USB_STORAGE Help for more information -# -CONFIG_USB_STORAGE=y -# CONFIG_USB_STORAGE_DEBUG is not set -# CONFIG_USB_STORAGE_DATAFAB is not set -# CONFIG_USB_STORAGE_FREECOM is not set -# CONFIG_USB_STORAGE_ISD200 is not set -# CONFIG_USB_STORAGE_DPCM is not set -# CONFIG_USB_STORAGE_USBAT is not set -# CONFIG_USB_STORAGE_SDDR09 is not set -# CONFIG_USB_STORAGE_SDDR55 is not set -# CONFIG_USB_STORAGE_JUMPSHOT is not set -# CONFIG_USB_STORAGE_ALAUDA is not set -CONFIG_USB_STORAGE_ONETOUCH=y -# CONFIG_USB_STORAGE_KARMA is not set -CONFIG_USB_STORAGE_CYPRESS_ATACB=y -CONFIG_USB_LIBUSUAL=y - -# -# USB Imaging devices -# -# CONFIG_USB_MDC800 is not set -# CONFIG_USB_MICROTEK is not set - -# -# USB port drivers -# -# CONFIG_USB_SERIAL is not set - -# -# USB Miscellaneous drivers -# -# CONFIG_USB_EMI62 is not set -# CONFIG_USB_EMI26 is not set -# CONFIG_USB_ADUTUX is not set -CONFIG_USB_SEVSEG=m -# CONFIG_USB_RIO500 is not set -# CONFIG_USB_LEGOTOWER is not set -# CONFIG_USB_LCD is not set -# CONFIG_USB_BERRY_CHARGE is not set -# CONFIG_USB_LED is not set -# CONFIG_USB_CYPRESS_CY7C63 is not set -# CONFIG_USB_CYTHERM is not set -# CONFIG_USB_PHIDGET is not set -# CONFIG_USB_IDMOUSE is not set -# CONFIG_USB_FTDI_ELAN is not set -# CONFIG_USB_APPLEDISPLAY is not set -# CONFIG_USB_SISUSBVGA is not set -# CONFIG_USB_LD is not set -# CONFIG_USB_TRANCEVIBRATOR is not set -# CONFIG_USB_IOWARRIOR is not set -# CONFIG_USB_TEST is not set -CONFIG_USB_ISIGHTFW=m -CONFIG_USB_VST=m -# CONFIG_USB_GADGET is not set -# CONFIG_UWB is not set -# CONFIG_MMC is not set -# CONFIG_MEMSTICK is not set -# CONFIG_NEW_LEDS is not set -# CONFIG_ACCESSIBILITY is not set -# CONFIG_INFINIBAND is not set -CONFIG_RTC_LIB=y -CONFIG_RTC_CLASS=m - -# -# RTC interfaces -# -CONFIG_RTC_INTF_SYSFS=y -CONFIG_RTC_INTF_PROC=y -CONFIG_RTC_INTF_DEV=y -CONFIG_RTC_INTF_DEV_UIE_EMUL=y -# CONFIG_RTC_DRV_TEST is not set - -# -# I2C RTC drivers -# -# CONFIG_RTC_DRV_DS1307 is not set -# CONFIG_RTC_DRV_DS1374 is not set -# CONFIG_RTC_DRV_DS1672 is not set -# CONFIG_RTC_DRV_MAX6900 is not set -# CONFIG_RTC_DRV_RS5C372 is not set -# CONFIG_RTC_DRV_ISL1208 is not set -# CONFIG_RTC_DRV_X1205 is not set -# CONFIG_RTC_DRV_PCF8563 is not set -# CONFIG_RTC_DRV_PCF8583 is not set -# CONFIG_RTC_DRV_M41T80 is not set -# CONFIG_RTC_DRV_S35390A is not set -# CONFIG_RTC_DRV_FM3130 is not set -# CONFIG_RTC_DRV_RX8581 is not set - -# -# SPI RTC drivers -# - -# -# Platform RTC drivers -# -CONFIG_RTC_DRV_CMOS=m -# CONFIG_RTC_DRV_DS1286 is not set -# CONFIG_RTC_DRV_DS1511 is not set -# CONFIG_RTC_DRV_DS1553 is not set -# CONFIG_RTC_DRV_DS1742 is not set -# CONFIG_RTC_DRV_STK17TA8 is not set -# CONFIG_RTC_DRV_M48T86 is not set -# CONFIG_RTC_DRV_M48T35 is not set -# CONFIG_RTC_DRV_M48T59 is not set -# CONFIG_RTC_DRV_BQ4802 is not set -# CONFIG_RTC_DRV_V3020 is not set - -# -# on-CPU RTC drivers -# -# CONFIG_DMADEVICES is not set -CONFIG_UIO=m -CONFIG_UIO_CIF=m -# CONFIG_UIO_PDRV is not set -# CONFIG_UIO_PDRV_GENIRQ is not set -# CONFIG_UIO_SMX is not set -# CONFIG_UIO_SERCOS3 is not set -# CONFIG_STAGING is not set -CONFIG_STAGING_EXCLUDE_BUILD=y - -# -# File systems -# -CONFIG_EXT2_FS=y -# CONFIG_EXT2_FS_XATTR is not set -CONFIG_EXT2_FS_XIP=y -CONFIG_EXT3_FS=y -# CONFIG_EXT3_FS_XATTR is not set -CONFIG_EXT4_FS=m -CONFIG_EXT4DEV_COMPAT=y -CONFIG_EXT4_FS_XATTR=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_FS_XIP=y -CONFIG_JBD=y -CONFIG_JBD2=m -CONFIG_FS_MBCACHE=m -CONFIG_REISERFS_FS=m -# CONFIG_REISERFS_CHECK is not set -# CONFIG_REISERFS_PROC_INFO is not set -# CONFIG_REISERFS_FS_XATTR is not set -# CONFIG_JFS_FS is not set -CONFIG_FS_POSIX_ACL=y -CONFIG_FILE_LOCKING=y -# CONFIG_XFS_FS is not set -# CONFIG_GFS2_FS is not set -# CONFIG_OCFS2_FS is not set -CONFIG_DNOTIFY=y -CONFIG_INOTIFY=y -CONFIG_INOTIFY_USER=y -# CONFIG_QUOTA is not set -CONFIG_AUTOFS_FS=y -CONFIG_AUTOFS4_FS=y -CONFIG_FUSE_FS=y - -# -# CD-ROM/DVD Filesystems -# -CONFIG_ISO9660_FS=m -CONFIG_JOLIET=y -CONFIG_ZISOFS=y -CONFIG_UDF_FS=m -CONFIG_UDF_NLS=y - -# -# DOS/FAT/NT Filesystems -# -CONFIG_FAT_FS=m -CONFIG_MSDOS_FS=m -CONFIG_VFAT_FS=m -CONFIG_FAT_DEFAULT_CODEPAGE=936 -CONFIG_FAT_DEFAULT_IOCHARSET="utf8" -CONFIG_NTFS_FS=m -# CONFIG_NTFS_DEBUG is not set -CONFIG_NTFS_RW=y - -# -# Pseudo filesystems -# -CONFIG_PROC_FS=y -CONFIG_PROC_KCORE=y -CONFIG_PROC_SYSCTL=y -CONFIG_PROC_PAGE_MONITOR=y -CONFIG_SYSFS=y -CONFIG_TMPFS=y -# CONFIG_TMPFS_POSIX_ACL is not set -# CONFIG_HUGETLB_PAGE is not set -# CONFIG_CONFIGFS_FS is not set - -# -# Miscellaneous filesystems -# -# CONFIG_ADFS_FS is not set -# CONFIG_AFFS_FS is not set -# CONFIG_HFS_FS is not set -# CONFIG_HFSPLUS_FS is not set -# CONFIG_BEFS_FS is not set -# CONFIG_BFS_FS is not set -# CONFIG_EFS_FS is not set -# CONFIG_JFFS2_FS is not set -# CONFIG_CRAMFS is not set -# CONFIG_VXFS_FS is not set -# CONFIG_MINIX_FS is not set -CONFIG_OMFS_FS=m -# CONFIG_HPFS_FS is not set -# CONFIG_QNX4FS_FS is not set -# CONFIG_ROMFS_FS is not set -# CONFIG_SYSV_FS is not set -# CONFIG_UFS_FS is not set -CONFIG_NETWORK_FILESYSTEMS=y -CONFIG_NFS_FS=m -CONFIG_NFS_V3=y -CONFIG_NFS_V3_ACL=y -CONFIG_NFS_V4=y -CONFIG_NFSD=m -CONFIG_NFSD_V2_ACL=y -CONFIG_NFSD_V3=y -CONFIG_NFSD_V3_ACL=y -CONFIG_NFSD_V4=y -CONFIG_LOCKD=m -CONFIG_LOCKD_V4=y -CONFIG_EXPORTFS=m -CONFIG_NFS_ACL_SUPPORT=m -CONFIG_NFS_COMMON=y -CONFIG_SUNRPC=m -CONFIG_SUNRPC_GSS=m -# CONFIG_SUNRPC_REGISTER_V4 is not set -CONFIG_RPCSEC_GSS_KRB5=m -# CONFIG_RPCSEC_GSS_SPKM3 is not set -CONFIG_SMB_FS=m -CONFIG_SMB_NLS_DEFAULT=y -CONFIG_SMB_NLS_REMOTE="cp936" -CONFIG_CIFS=m -CONFIG_CIFS_STATS=y -CONFIG_CIFS_STATS2=y -CONFIG_CIFS_WEAK_PW_HASH=y -CONFIG_CIFS_XATTR=y -CONFIG_CIFS_POSIX=y -CONFIG_CIFS_DEBUG2=y -CONFIG_CIFS_EXPERIMENTAL=y -# CONFIG_NCP_FS is not set -# CONFIG_CODA_FS is not set -# CONFIG_AFS_FS is not set -# CONFIG_9P_FS is not set - -# -# Partition Types -# -CONFIG_PARTITION_ADVANCED=y -# CONFIG_ACORN_PARTITION is not set -# CONFIG_OSF_PARTITION is not set -# CONFIG_AMIGA_PARTITION is not set -# CONFIG_ATARI_PARTITION is not set -# CONFIG_MAC_PARTITION is not set -CONFIG_MSDOS_PARTITION=y -# CONFIG_BSD_DISKLABEL is not set -# CONFIG_MINIX_SUBPARTITION is not set -# CONFIG_SOLARIS_X86_PARTITION is not set -# CONFIG_UNIXWARE_DISKLABEL is not set -# CONFIG_LDM_PARTITION is not set -# CONFIG_SGI_PARTITION is not set -# CONFIG_ULTRIX_PARTITION is not set -# CONFIG_SUN_PARTITION is not set -# CONFIG_KARMA_PARTITION is not set -# CONFIG_EFI_PARTITION is not set -# CONFIG_SYSV68_PARTITION is not set -CONFIG_NLS=y -CONFIG_NLS_DEFAULT="utf8" -# CONFIG_NLS_CODEPAGE_437 is not set -# CONFIG_NLS_CODEPAGE_737 is not set -# CONFIG_NLS_CODEPAGE_775 is not set -# CONFIG_NLS_CODEPAGE_850 is not set -# CONFIG_NLS_CODEPAGE_852 is not set -# CONFIG_NLS_CODEPAGE_855 is not set -# CONFIG_NLS_CODEPAGE_857 is not set -# CONFIG_NLS_CODEPAGE_860 is not set -# CONFIG_NLS_CODEPAGE_861 is not set -# CONFIG_NLS_CODEPAGE_862 is not set -# CONFIG_NLS_CODEPAGE_863 is not set -# CONFIG_NLS_CODEPAGE_864 is not set -# CONFIG_NLS_CODEPAGE_865 is not set -# CONFIG_NLS_CODEPAGE_866 is not set -# CONFIG_NLS_CODEPAGE_869 is not set -CONFIG_NLS_CODEPAGE_936=y -# CONFIG_NLS_CODEPAGE_950 is not set -# CONFIG_NLS_CODEPAGE_932 is not set -# CONFIG_NLS_CODEPAGE_949 is not set -# CONFIG_NLS_CODEPAGE_874 is not set -# CONFIG_NLS_ISO8859_8 is not set -# CONFIG_NLS_CODEPAGE_1250 is not set -# CONFIG_NLS_CODEPAGE_1251 is not set -# CONFIG_NLS_ASCII is not set -CONFIG_NLS_ISO8859_1=y -# CONFIG_NLS_ISO8859_2 is not set -# CONFIG_NLS_ISO8859_3 is not set -# CONFIG_NLS_ISO8859_4 is not set -# CONFIG_NLS_ISO8859_5 is not set -# CONFIG_NLS_ISO8859_6 is not set -# CONFIG_NLS_ISO8859_7 is not set -# CONFIG_NLS_ISO8859_9 is not set -# CONFIG_NLS_ISO8859_13 is not set -# CONFIG_NLS_ISO8859_14 is not set -# CONFIG_NLS_ISO8859_15 is not set -# CONFIG_NLS_KOI8_R is not set -# CONFIG_NLS_KOI8_U is not set -CONFIG_NLS_UTF8=y -# CONFIG_DLM is not set - -# -# Kernel hacking -# -CONFIG_TRACE_IRQFLAGS_SUPPORT=y -# CONFIG_PRINTK_TIME is not set -CONFIG_ENABLE_WARN_DEPRECATED=y -# CONFIG_ENABLE_MUST_CHECK is not set -CONFIG_FRAME_WARN=2048 -# CONFIG_MAGIC_SYSRQ is not set -# CONFIG_UNUSED_SYMBOLS is not set -# CONFIG_DEBUG_FS is not set -# CONFIG_HEADERS_CHECK is not set -# CONFIG_DEBUG_KERNEL is not set -# CONFIG_DEBUG_MEMORY_INIT is not set -# CONFIG_RCU_CPU_STALL_DETECTOR is not set -CONFIG_SYSCTL_SYSCALL_CHECK=y - -# -# Tracers -# -CONFIG_DYNAMIC_PRINTK_DEBUG=y -# CONFIG_SAMPLES is not set -CONFIG_HAVE_ARCH_KGDB=y -CONFIG_CMDLINE="" - -# -# Security options -# -# CONFIG_KEYS is not set -# CONFIG_SECURITY is not set -# CONFIG_SECURITYFS is not set -CONFIG_SECURITY_FILE_CAPABILITIES=y -CONFIG_CRYPTO=y - -# -# Crypto core or helper -# -CONFIG_CRYPTO_FIPS=y -CONFIG_CRYPTO_ALGAPI=y -CONFIG_CRYPTO_AEAD=y -CONFIG_CRYPTO_BLKCIPHER=y -CONFIG_CRYPTO_HASH=y -CONFIG_CRYPTO_RNG=y -CONFIG_CRYPTO_MANAGER=y -CONFIG_CRYPTO_GF128MUL=m -# CONFIG_CRYPTO_NULL is not set -# CONFIG_CRYPTO_CRYPTD is not set -CONFIG_CRYPTO_AUTHENC=m -# CONFIG_CRYPTO_TEST is not set - -# -# Authenticated Encryption with Associated Data -# -CONFIG_CRYPTO_CCM=m -CONFIG_CRYPTO_GCM=m -CONFIG_CRYPTO_SEQIV=m - -# -# Block modes -# -CONFIG_CRYPTO_CBC=m -CONFIG_CRYPTO_CTR=m -CONFIG_CRYPTO_CTS=m -CONFIG_CRYPTO_ECB=m -# CONFIG_CRYPTO_LRW is not set -CONFIG_CRYPTO_PCBC=m -CONFIG_CRYPTO_XTS=m - -# -# Hash modes -# -CONFIG_CRYPTO_HMAC=y -# CONFIG_CRYPTO_XCBC is not set - -# -# Digest -# -# CONFIG_CRYPTO_CRC32C is not set -# CONFIG_CRYPTO_MD4 is not set -CONFIG_CRYPTO_MD5=m -# CONFIG_CRYPTO_MICHAEL_MIC is not set -CONFIG_CRYPTO_RMD128=m -CONFIG_CRYPTO_RMD160=m -CONFIG_CRYPTO_RMD256=m -CONFIG_CRYPTO_RMD320=m -CONFIG_CRYPTO_SHA1=m -# CONFIG_CRYPTO_SHA256 is not set -# CONFIG_CRYPTO_SHA512 is not set -# CONFIG_CRYPTO_TGR192 is not set -# CONFIG_CRYPTO_WP512 is not set - -# -# Ciphers -# -CONFIG_CRYPTO_AES=m -# CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_ARC4=m -# CONFIG_CRYPTO_BLOWFISH is not set -# CONFIG_CRYPTO_CAMELLIA is not set -# CONFIG_CRYPTO_CAST5 is not set -# CONFIG_CRYPTO_CAST6 is not set -CONFIG_CRYPTO_DES=m -# CONFIG_CRYPTO_FCRYPT is not set -# CONFIG_CRYPTO_KHAZAD is not set -CONFIG_CRYPTO_SALSA20=m -CONFIG_CRYPTO_SEED=m -# CONFIG_CRYPTO_SERPENT is not set -# CONFIG_CRYPTO_TEA is not set -# CONFIG_CRYPTO_TWOFISH is not set - -# -# Compression -# -CONFIG_CRYPTO_DEFLATE=m -CONFIG_CRYPTO_LZO=m - -# -# Random Number Generation -# -CONFIG_CRYPTO_ANSI_CPRNG=m -# CONFIG_CRYPTO_HW is not set - -# -# Library routines -# -CONFIG_BITREVERSE=y -CONFIG_CRC_CCITT=y -CONFIG_CRC16=m -# CONFIG_CRC_T10DIF is not set -CONFIG_CRC_ITU_T=m -CONFIG_CRC32=y -CONFIG_CRC7=m -# CONFIG_LIBCRC32C is not set -CONFIG_ZLIB_INFLATE=m -CONFIG_ZLIB_DEFLATE=m -CONFIG_LZO_COMPRESS=m -CONFIG_LZO_DECOMPRESS=m -CONFIG_TEXTSEARCH=y -CONFIG_TEXTSEARCH_KMP=m -CONFIG_TEXTSEARCH_BM=m -CONFIG_TEXTSEARCH_FSM=m -CONFIG_PLIST=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT=y -CONFIG_HAS_DMA=y
arch/mips/configs/fuloong2e_defconfig new file +1819 -0
1,088 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.6.2.1
Part of the diff is not shown here. View the raw message.
Hi,
Quoted 6 lines · Wu
From: Wu Zhangjin <[email protected]>
This patch series is the -v4 version of the loongson-PATCH-v3 series, but it only include the cleanup for fuloong2e support and necessary preparation for future fuloong-2f and yeeloong-2f support.
Quoted 7 lines
The git branch of this patch series is:
git://dev.lemote.com/rt4ls.gitlinux-loongson/dev/fuloong2eor
http://dev.lemote.com/cgit/rt4ls.git/log/?h=linux-loongson/dev/fuloong2e
stuartl@duron ~/linux-fulong2e $ git fetch rt4ls
remote: Counting objects: 476834, done.
remote: Compressing objects: 100% (90281/90281), done.
remote: Total 452782 (delta 393459), reused 411290 (delta 359631) Receiving objects: 100% (452782/452782), 152.90 MiB | 50 KiB/s, done. Resolving deltas: 100% (393459/393459), completed with 15512 local objects.
From git://dev.lemote.com/rt4ls
* [new branch] linux-loongson/2.6.29/rt-preempt ->
rt4ls/linux-loongson/2.6.29/rt-preempt
* [new branch] linux-loongson/2.6.29/stable ->
rt4ls/linux-loongson/2.6.29/stable * [new branch] linux-loongson/2.6.30/stable -> rt4ls/linux-loongson/2.6.30/stable * [new branch] linux-loongson/2.6.31/rt-preempt -> rt4ls/linux-loongson/2.6.31/rt-preempt * [new branch] linux-loongson/2.6.31/stable -> rt4ls/linux-loongson/2.6.31/stable * [new branch] linux-loongson/2.6.32/stable -> rt4ls/linux-loongson/2.6.32/stable * [new branch] linux-loongson/2.6.33/stable -> rt4ls/linux-loongson/2.6.33/stable * [new branch] linux-loongson/dev/2.6.30-gdium -> rt4ls/linux-loongson/dev/2.6.30-gdium * [new branch] linux-loongson/dev/2.6.33-gdium -> rt4ls/linux-loongson/dev/2.6.33-gdium * [new branch] linux-loongson/dev/kft -> rt4ls/linux-loongson/dev/kft * [new branch] linux-loongson/dev/kgcov -> rt4ls/linux-loongson/dev/kgcov * [new branch] master -> rt4ls/master * [new branch] rt/2.6.31/loongson -> rt4ls/rt/2.6.31/loongson * [new branch] rt/2.6.31/mips -> rt4ls/rt/2.6.31/mips * [new branch] rt/2.6.33/loongson -> rt4ls/rt/2.6.33/loongson
...
I can't seem to find a linux-loongson/dev/fuloong2e branch... did I miss the boat? I'm looking to update the kernels on the two Fulongs 2Es here... as I'm having grief compiling Python 2.6 -- hard locks always at the same point, and I have a feeling it's the kernel+kernel-build-toolchain combo that's possibly to blame.
Regards,
--
Stuart Longland (aka Redhatter, VK4MSL) .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer '.'` :
. . . . . . . . . . . . . . . . . . . . . . .'.'
http://dev.gentoo.org/~redhatter :.'
I haven't lost my mind...
...it's backed up on a tape somewhere.
Dropping Cc's to reduce undue noise, I've made enough already. ;-)
Quoted 10 lines · Stuart Longland
Hi,
Quoted 8 lines · Wu
From: Wu Zhangjin <[email protected]>
This patch series is the -v4 version of the loongson-PATCH-v3 series, but it only include the cleanup for fuloong2e support and necessary preparation for future fuloong-2f and yeeloong-2f support.
The git branch of this patch series is:
Quoted 7 lines
Quoted 1 line
git://dev.lemote.com/rt4ls.gitlinux-loongson/dev/fuloong2eI can't seem to find a linux-loongson/dev/fuloong2e branch... did I miss the boat? I'm looking to update the kernels on the two Fulongs 2Es here... as I'm having grief compiling Python 2.6 -- hard locks always at the same point, and I have a feeling it's the kernel+kernel-build-toolchain combo that's possibly to blame.
Okay, disregard the above... I should learn to check mail timestamps before I hit the reply-all button. That said... I'd be curious to know what the present status is. Been out of the loop for a while, and only just starting to get back in again.
Signature · 7 lines
Stuart Longland (aka Redhatter, VK4MSL) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' I haven't lost my mind... ...it's backed up on a tape somewhere.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
Quoted 8 lines · wu zhangjin
Hi,
The Email you replied is too old, the basic 2F support have been merged into the mainline 2.6.33 and the related workaround of the 2F's bug have been pushed into mainline 2.6.34.
The latest Loongson support have been moved to
http://dev.lemote.com/code/linux-loongson-community.
Yeah, I did notice the email I was replying to was a year old ... *after* I hit the send button. I'll blame it on a long day at work and leave it at that. ;-)
The link there is good to know, and I'll check it out.
Quoted 10 lines
Back to your problem with FuLoong 2E, before, nobody have reported the hard-lock of It, If you want to check whether 2E has a hardware bug, I think you can try to check the NOP issue at first for 2F has such an issue.
To check the issue, you can download the
fix-nop.cfrom the attachments of http://dev.lemote.com/code/linux-loongson-community and use it to replace the original NOPS of the ld and as by something else:
Quoted 6 lines
$ make fix-nop $ fix-nop $(which as) $ fix-nop $(which ld)Then recompile python 2.6 with the new tools, if you have used the other tools, please use fix-nop on them too.
That fix-nop might be the ticket to solving this issue, we shall see. It's been an issue for a while with various packages... if I try to compile some package, most of the time it's okay, but every so often I'll hit one which will hang the computer.
Compiling qucs on the Yeeloong under its stock Debian OS was one I found that did it. Python 2.6.5 on my newly cross-compiled chroot is doing the same on this Fulong 2E. One can never know if a package is going to cause problems, but when it does, it's 100% repeatable; the computer always fails compiling exactly the same file.
Something that repeatable does not sound like faulty RAM which is the usual culprit for such problems. ;-)
Signature · 7 lines
Stuart Longland (aka Redhatter, VK4MSL) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' I haven't lost my mind... ...it's backed up on a tape somewhere.