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

Xiangfu Liu
2010-12-08T06:20:42Z

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