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

Xiangfu Liu
2011-02-28T06:57:07Z

Hi Wolfgang
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 (7):
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

MAINTAINERS | 4 +
MAKEALL | 4 +-
Makefile | 13 +
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 | 264 +++++++
arch/mips/cpu/xburst/jz_serial.c | 114 +++
arch/mips/cpu/xburst/start.S | 160 +++++
arch/mips/cpu/xburst/start_spl.S | 63 ++
arch/mips/cpu/xburst/timer.c | 167 +++++
arch/mips/cpu/xburst/usbboot.S | 841 ++++++++++++++++++++++
arch/mips/include/asm/global_data.h | 15 +
arch/mips/include/asm/jz4740.h | 1102 +++++++++++++++++++++++++++++
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 | 95 +++
board/xburst/nanonote/u-boot-nand.lds | 63 ++
boards.cfg | 1 +
drivers/mtd/nand/Makefile | 1 +
drivers/mtd/nand/jz4740_nand.c | 329 +++++++++
include/configs/nanonote.h | 205 ++++++
include/configs/qi_lb60.h | 34 +
nand_spl/board/xburst/nanonote/Makefile | 106 +++
nand_spl/board/xburst/nanonote/u-boot.lds | 63 ++
27 files changed, 3972 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