1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 12:54:59 +02:00
XBurst Tools, collection of boot and flash tools for XBurst devices. http://projects.qi-hardware.com/index.php/p/xburst-tools/
Go to file
2009-06-30 12:51:28 +08:00
inflash Merge branch 'master' of git@github.com:xiangfu/xburst-tools 2009-06-30 12:51:28 +08:00
kernel update Makefile 2009-04-27 17:03:46 +00:00
nandprog add nand flash tools 2009-04-05 16:26:33 +00:00
openwrt [openwrt] add Makefile for download & patching 2009-06-05 12:38:56 +00:00
qiboot Revert "Remove loglevel from default kernel boot arguments" 2009-06-10 10:41:08 -03:00
xburst-tools rename inflash to xburst-tools 2009-06-29 23:17:29 +08:00
Makefile add memtest gpios gpioc command 2009-06-26 17:41:54 +00:00
README fix the repeat typedef 2009-06-25 03:43:00 +00:00

=Cross toolchain=
you can get the cross toolchain at:
  http://www.openmobilefree.net/other/file/mipseltools-gcc412-glibc261.tar.bz2
  ftp://ftp.ingenic.cn/3sw/01linux/00toolchain/mipseltools-gcc412-glibc261.tar.bz2
  ftp://ftp.ingenic.cn/3sw/01linux/00toolchain/jz-crosstools-src.tar.bz2

or you can build is from source:
  make toolchain

=Serial Console=
1. open the case

2. take off the cover of PCB
   then you will send the "GND" and "TXD"
   and th TP74 is the "RXD"
   you can get serial output from those pins 

3. you need a "RS-232 <--> TTL" converter to 
   get the correct output date

=CPU Jz4740=
Jz4740 is a multimedia application processor targeted at mobile devices 
PMP. Incorporates the XBurst CPU core based on leading 
micro-architecture technology, this processor provides high integration, 
high performance and a low power consumption solution for embedded devices.

Boot up
The Jz4740 can be set to boot from NOR or NAND.
If booted from NAND, the CPU fetches the first page from NAND and uses the first 4 bytes on it to know how the NAND chip should be treated (16/8-bit bus, 2/3 row cycles).
After that it copies the first 8kB from NAND and copies it to the I-Cache for execution.

Ingenic Media Extension Instruction Set
According to the MXU User Guide, the XBurst processor supports additional instructions called the Ingenic Media Extension Instruction Set (they call it an SIMD instruction set).

Excerpt from the PDF:
Processors (such as the Jz4740) have 60 extra SIMD commands used for the optimization of multimedia codecs such as MPEG4, H264, VC-1, RMVB, ... and other multimedia decoder algorithms that can be optimized using the MXU.

Image Processing Unit
The Jz4740 also has an IPU which has the following features:

    * Video frame resize
    * Color space conversion: 420/444/422 YUV to RGB convert 

=debian package=
1. run 'dh_make'
2. edit the file under 'debian' folder (create by 'dh_make')
3. run 'dpkg-buildpackage -rfakeroot' to create the deb package and source 
   package