[U-Boot] [PATCH v8 0/3] those series patches for add ben nanonote board

Shinya Kuribayashi skuribay at pobox.com
Wed Oct 12 16:22:40 CEST 2011


Hi,

v8
--

Fix all checkpatch errors/warnings except for known false positives.
I'll make a pull-request shortly.

> total: 0 errors, 0 warnings, 2105 lines checked
> 
> jz4740-v8/0001-MIPS-Ingenic-XBurst-Jz4740-processor-support.patch has no obvious style problems and is ready for submission.
> WARNING: Use #include <linux/io.h> instead of <asm/io.h>
> #69: FILE: drivers/mtd/nand/jz4740_nand.c:15:
> +#include <asm/io.h>
> 
> total: 0 errors, 1 warnings, 268 lines checked
> 
> jz4740-v8/0002-MIPS-Jz4740-Add-NAND-driver.patch has style problems, please review.
> 
> If any of these errors are false positives, please report
> them to the maintainer, see CHECKPATCH in MAINTAINERS.
> WARNING: Use #include <linux/io.h> instead of <asm/io.h>
> #194: FILE: board/qi/qi_lb60/qi_lb60.c:11:
> +#include <asm/io.h>
> 
> WARNING: line over 80 characters
> #407: FILE: include/configs/qi_lb60.h:35:
> +#define CONFIG_BOOTARGS		"mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait"
> 
> total: 0 errors, 2 warnings, 479 lines checked
> 
> jz4740-v8/0003-MIPS-Jz4740-Add-qi_lb60-board-support.patch has style problems, please review.
> 
> If any of these errors are false positives, please report
> them to the maintainer, see CHECKPATCH in MAINTAINERS.

v7
--
Here's seventh patchset for Ben NanoNote initial support.  I've been
working with Xiangfu past six months to polish v6 patches.  We have
addressed all comments from Wolfgang and Scott so far, drop nand_spl
and USB_boot functions to make the initial bring-up minimum and simple.

I think the patchset is now in good shape, so will merge and make a
pull-request during this merge window.  Please give it a final review
and if something to fix, please let us know.

Scott and Wolfgang, I know NAND land changes should go through Scott's
tree, but the NAND driver is part of the initial support.  May I take
it through MIPS tree?  Hope it's Ok with you.

Changes since v6 patchset are described in each patch.

  Shinya

--- 8< ---
Boilerplate from Xiangfu Liu:

  those patches are for add xburst jz4740 base file and Ben NanoNote
  (codename qi_lb60) to U-Boot
  
some info about xburst jz4740:
  the xburst jz4740 is recently added to linux 2.6.36
  and it's support the device Ben NanoNote out of box,

  this xburst jz4740 cpu have one feature is Boot From USB, there is a 
  small rom in jz4740, but LOW some PIN, the cpu will boot to this small
  rom, then init cpu and USB module, then we can send 8KB bin file to 
  the cpu by USB(by using 'xbboot' or 'usbboot'[1]).

  which means if your bootloader is borken,(the first few KBs in NAND)
  you can always boot the device from usb, then reflash the nand.

  in OpenMoko FreeRunner, there are NOR and NAND. when people broken the 
  nand bootloader, it's must boot from NOR, reflash the bootloader back
  when people broken the NAND and NOR, he(she) must reflash by using JTAG
  but in Ben NanoNote, we just need boot from usb. flash the nand again :)

  BTW:there are a lot of PMP, Audio device in China use the Xburst cpu,
  but I think they are all base on u-boot 1.1.6. by working on
  Ben NanoNote (http://en.qi-hardware.com) one year, we try to
  update the u-boot to last version and send it to upstream. :)

  for more info about Ingenic Xburst JZ4740
    http://www.ingenic.cn/eng/default.aspx
    http://www.linux-mips.org/wiki/Ingenic

Xiangfu Liu (3):
      MIPS: Ingenic XBurst Jz4740 processor support
      MIPS: Jz4740: Add NAND driver
      MIPS: Jz4740: Add qi_lb60 board support

 MAINTAINERS                         |    4 +
 MAKEALL                             |    4 +-
 README                              |    1 +
 arch/mips/cpu/xburst/Makefile       |   49 ++
 arch/mips/cpu/xburst/config.mk      |   24 +
 arch/mips/cpu/xburst/cpu.c          |  152 +++++
 arch/mips/cpu/xburst/jz4740.c       |  248 ++++++++
 arch/mips/cpu/xburst/jz_serial.c    |  114 ++++
 arch/mips/cpu/xburst/start.S        |  171 ++++++
 arch/mips/cpu/xburst/timer.c        |  162 +++++
 arch/mips/include/asm/global_data.h |   11 +
 arch/mips/include/asm/jz4740.h      | 1150 +++++++++++++++++++++++++++++++++++
 board/qi/qi_lb60/Makefile           |   45 ++
 board/qi/qi_lb60/config.mk          |   31 +
 board/qi/qi_lb60/qi_lb60.c          |  104 ++++
 board/qi/qi_lb60/u-boot.lds         |   61 ++
 boards.cfg                          |    1 +
 drivers/mtd/nand/Makefile           |    1 +
 drivers/mtd/nand/jz4740_nand.c      |  261 ++++++++
 include/configs/qi_lb60.h           |  211 +++++++
 20 files changed, 2804 insertions(+), 1 deletions(-)
 create mode 100644 arch/mips/cpu/xburst/Makefile
 create mode 100644 arch/mips/cpu/xburst/config.mk
 create mode 100644 arch/mips/cpu/xburst/cpu.c
 create mode 100644 arch/mips/cpu/xburst/jz4740.c
 create mode 100644 arch/mips/cpu/xburst/jz_serial.c
 create mode 100644 arch/mips/cpu/xburst/start.S
 create mode 100644 arch/mips/cpu/xburst/timer.c
 create mode 100644 arch/mips/include/asm/jz4740.h
 create mode 100644 board/qi/qi_lb60/Makefile
 create mode 100644 board/qi/qi_lb60/config.mk
 create mode 100644 board/qi/qi_lb60/qi_lb60.c
 create mode 100644 board/qi/qi_lb60/u-boot.lds
 create mode 100644 drivers/mtd/nand/jz4740_nand.c
 create mode 100644 include/configs/qi_lb60.h


More information about the U-Boot mailing list