[RFC PATCH -queue 0/2] DB1300 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here are 2 patches against current mips-queue which add Au1300 and
Db1300 devboard support.  It's a work-in-progress, and has one
serious flaw:  I can't get the serial console to work reliably once
kernel starts booting userpsace.  Enabling debugging shows the
enabling the proper irq, however hardly any interrupts arrive unless
massive amounts of debug info (by way of the irq dispatcher) is
dumped out to it.  Once userspace has booted, and most debig output
has been hidden (echo 0 0 0 0 > /proc/sys/kernel/printk) it continues
to work as it should for a few bytes, then it dies.  Judging from
the debug logs it seems the UART generates far less interrupts than
for example the au1200 ones.

Until its figured out what's going on, please take the opportunity
to have a look at the code and suggest better ways to implement things
and bugs.

Thanks!

Manuel Lauss (2):
  MIPS: Alchemy: Au1300 SoC support
  Alchemy: DB1300 support WIP WIP WIP

 arch/mips/Makefile                               |    7 +
 arch/mips/alchemy/Kconfig                        |   31 +-
 arch/mips/alchemy/common/Makefile                |    9 +-
 arch/mips/alchemy/common/dbdma.c                 |   48 +-
 arch/mips/alchemy/common/gpioint.c               |  374 +++++++
 arch/mips/alchemy/common/gpiolib-au1300.c        |   54 +
 arch/mips/alchemy/common/platform.c              |    9 +
 arch/mips/alchemy/common/power.c                 |   18 +-
 arch/mips/alchemy/common/time.c                  |    1 +
 arch/mips/alchemy/devboards/Makefile             |    1 +
 arch/mips/alchemy/devboards/db1300/Makefile      |    2 +
 arch/mips/alchemy/devboards/db1300/platform.c    |  234 +++++
 arch/mips/alchemy/devboards/db1300/setup.c       |  158 +++
 arch/mips/alchemy/devboards/prom.c               |    4 +
 arch/mips/configs/db1300_defconfig               | 1160 ++++++++++++++++++++++
 arch/mips/include/asm/cpu.h                      |    8 +
 arch/mips/include/asm/mach-au1x00/au1000.h       |  189 ++++
 arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h |   33 +
 arch/mips/include/asm/mach-au1x00/gpio-au1300.h  |  211 ++++
 arch/mips/include/asm/mach-au1x00/gpio.h         |    4 +
 arch/mips/include/asm/mach-db1x00/bcsr.h         |    3 +
 arch/mips/include/asm/mach-db1x00/db1300.h       |   37 +
 arch/mips/kernel/cpu-probe.c                     |   18 +
 drivers/i2c/busses/Kconfig                       |    2 +-
 drivers/pcmcia/db1xxx_ss.c                       |   14 +-
 drivers/spi/Kconfig                              |    2 +-
 drivers/video/Kconfig                            |   10 +-
 27 files changed, 2613 insertions(+), 28 deletions(-)
 create mode 100644 arch/mips/alchemy/common/gpioint.c
 create mode 100644 arch/mips/alchemy/common/gpiolib-au1300.c
 create mode 100644 arch/mips/alchemy/devboards/db1300/Makefile
 create mode 100644 arch/mips/alchemy/devboards/db1300/platform.c
 create mode 100644 arch/mips/alchemy/devboards/db1300/setup.c
 create mode 100644 arch/mips/configs/db1300_defconfig
 create mode 100644 arch/mips/include/asm/mach-au1x00/gpio-au1300.h
 create mode 100644 arch/mips/include/asm/mach-db1x00/db1300.h



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux