public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v5 0/8] those series patches for add ben nanonote board
@ 2011-01-09 16:18 Xiangfu Liu
  2011-01-09 16:18 ` [U-Boot] [PATCH v5 1/8] those files are jz4740 base files Xiangfu Liu
  2011-01-10 13:33 ` [U-Boot] [PATCH v5 0/8] those series patches for add ben nanonote board Shinya Kuribayashi
  0 siblings, 2 replies; 14+ messages in thread
From: Xiangfu Liu @ 2011-01-09 16:18 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang
  those patches are for add xburst jz4740 and Ben NanoNote(named 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

====
FIXED in [PATCH v3]
  1. describe what Jz4740 SoC
  2. remove the ENDIANNESS in config.mk
  3. don't breaks the 80-charcter-wide rule
  4. get rid of #if 0
  5. use proper I/O accessors to access registers.
  6. remove C++ comments, cleanup code style.

FIXED in [PATCH v4]
  1. add Entry to MAINTAINERS and boards.cfg
  2. add ben nanonote(qi_lb60) to Makefile
  3. tested with CROSS_COMPILE=mips_4KCle- ./MAKEALL mips_el

FIXED in [PATCH v5]
  1. remove nand_spl/nand_boot_jz4740.c
  2. some cleanup

====
Xiangfu Liu (8):
  those files are jz4740 base files
  this is jz4740 head file
  jz4740 nand spl files
  jz4740 nand driver
  add Ben NanoNote board
  add entry to MAINTAINERS and boards.cfg
  modify files for ben nanonote board
  add software usbboot

 MAINTAINERS                               |    4 +
 MAKEALL                                   |    4 +-
 Makefile                                  |   10 +
 arch/mips/cpu/xburst/Makefile             |   50 +
 arch/mips/cpu/xburst/config.mk            |   33 +
 arch/mips/cpu/xburst/cpu.c                |  160 ++++
 arch/mips/cpu/xburst/jz4740.c             |  266 ++++++
 arch/mips/cpu/xburst/jz_serial.c          |  128 +++
 arch/mips/cpu/xburst/start.S              |  164 ++++
 arch/mips/cpu/xburst/start_spl.S          |   63 ++
 arch/mips/cpu/xburst/timer.c              |  172 ++++
 arch/mips/cpu/xburst/usbboot.S            |  841 ++++++++++++++++++
 arch/mips/include/asm/global_data.h       |    9 +
 arch/mips/include/asm/jz4740.h            | 1380 +++++++++++++++++++++++++++++
 arch/mips/lib/board.c                     |    8 +
 arch/mips/lib/time.c                      |    2 +
 board/xburst/nanonote/Makefile            |   45 +
 board/xburst/nanonote/config.mk           |   31 +
 board/xburst/nanonote/nanonote.c          |   96 ++
 board/xburst/nanonote/u-boot-nand.lds     |   63 ++
 boards.cfg                                |    1 +
 drivers/mtd/nand/Makefile                 |    1 +
 drivers/mtd/nand/jz4740_nand.c            |  327 +++++++
 include/configs/nanonote.h                |  206 +++++
 include/configs/qi_lb60.h                 |   28 +
 nand_spl/board/xburst/nanonote/Makefile   |  106 +++
 nand_spl/board/xburst/nanonote/u-boot.lds |   63 ++
 27 files changed, 4260 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/start_spl.S
 create mode 100644 arch/mips/cpu/xburst/timer.c
 create mode 100644 arch/mips/cpu/xburst/usbboot.S
 create mode 100644 arch/mips/include/asm/jz4740.h
 create mode 100644 board/xburst/nanonote/Makefile
 create mode 100644 board/xburst/nanonote/config.mk
 create mode 100644 board/xburst/nanonote/nanonote.c
 create mode 100644 board/xburst/nanonote/u-boot-nand.lds
 create mode 100644 drivers/mtd/nand/jz4740_nand.c
 create mode 100644 include/configs/nanonote.h
 create mode 100644 include/configs/qi_lb60.h
 create mode 100644 nand_spl/board/xburst/nanonote/Makefile
 create mode 100644 nand_spl/board/xburst/nanonote/u-boot.lds

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-02-28  6:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-09 16:18 [U-Boot] [PATCH v5 0/8] those series patches for add ben nanonote board Xiangfu Liu
2011-01-09 16:18 ` [U-Boot] [PATCH v5 1/8] those files are jz4740 base files Xiangfu Liu
2011-01-09 16:18   ` [U-Boot] [PATCH v5 2/8] this is jz4740 head file Xiangfu Liu
2011-01-09 16:18     ` [U-Boot] [PATCH v5 3/8] jz4740 nand spl files Xiangfu Liu
2011-01-09 16:18       ` [U-Boot] [PATCH v5 4/8] jz4740 nand driver Xiangfu Liu
2011-01-09 16:18         ` [U-Boot] [PATCH v5 5/8] add Ben NanoNote board Xiangfu Liu
2011-01-09 16:18           ` [U-Boot] [PATCH v5 6/8] add entry to MAINTAINERS and boards.cfg Xiangfu Liu
2011-01-09 16:18             ` [U-Boot] [PATCH v5 7/8] modify files for ben nanonote board Xiangfu Liu
2011-01-09 16:18               ` [U-Boot] [PATCH v5 8/8] add software usbboot Xiangfu Liu
2011-01-17 21:36     ` [U-Boot] [PATCH v5 2/8] this is jz4740 head file Wolfgang Denk
2011-01-17 21:35   ` [U-Boot] [PATCH v5 1/8] those files are jz4740 base files Wolfgang Denk
2011-02-28  4:54     ` Xiangfu Liu
2011-02-28  6:36       ` Xiangfu Liu
2011-01-10 13:33 ` [U-Boot] [PATCH v5 0/8] those series patches for add ben nanonote board Shinya Kuribayashi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox