change console=tty0 to enable linux framebuffer console
[jz_uboot.git] / README.JZ
blob66c17677fefcde6be360ebb9d96c74ef7146133d
2                 Ingenic U-Boot Release
4                 (Updated: 2008-04-14)
7 -------------------------
8 * Install U-Boot Source *
9 -------------------------
11 To install the full source of u-boot-1.1.6, you need to download following
12 two files from http://www.ingenic.cn:
14 * u-boot-1.1.6.tar.bz2: the original u-boot source package.
15 * u-boot-1.1.6-jz-yyyymmdd.patch.gz: the latest u-boot patch from ingenic.
17 First, put the u-boot tarball in the working directory and unpack it:
19     $ tar -xjf u-boot-1.1.6.tar.bz2
21 Then, apply the patch to the u-boot tree:
23     $ cd u-boot-1.1.6
24     $ gzip -cd ../u-boot-1.1.6-jz-yyyymmdd.patch.gz | patch -p1
27 ---------------
28 * Quick Start *
29 ---------------
31 To build u-boot-1.1.6, you needs MIPS GCC-3.3.1 or GCC-4.1.2.
33 This release supports several platforms based on JZSOC. The platform
34 names are listed below:
36   - LIBRA: JZ4730 development board
37   - PMPV1: JZ4730 PMP reference board version 1.x
38   - PMPV2: JZ4730 PMP reference board version 2.x
39   - GPS: JZ4730 GPS reference board
40   - LEO: JZ4740 development board
41   - PAVO: JZ4740 PMP reference board
42   - VIRGO: JZ4720 reference board
43   - DIPPER: JZ4725 reference board
45 Configure and compile u-boot:
47 For example,
49   - Build u-boot.bin for NOR flash boot:
51     $ make pmpv2_config (JZ4730-based PMP version 2.x board)
52     $ make pavo_config (JZ4740-based PAVO board)
53     $ make virgo_config (JZ4720-based VIRGO board)
54     $ make dipper_config (JZ4725-based DIPPER board)
56     $ make
58   - Build u-boot-nand.bin for NAND flash boot:
60     $ make pmpv2_nand_config (JZ4730-based PMP version 2.x board)
61     $ make pavo_nand_config (JZ4740-based PAVO board)
62     $ make virgo_nand_config (JZ4720-based VIRGO board)
63     $ make dipper_nand_config (JZ4725-based DIPPER board)
65     $ make
67 ---------------------------
68 * Overview of source tree *
69 ---------------------------
71   - board/
72       - libra/          LIBRA board dependent files
73       - pmpv1/          PMP ver 1.x board dependent files
74       - pmpv2/          PMP ver 2.x board dependent files
75       - gps/            GPS board dependent files
76       - leo/            LEO board dependent files
77       - pavo/           PAVO board dependent files
78       - virgo/          VIRGO board dependent files
79       - dipper/         DIPPER board dependent files
80   - cpu/mips/
81       - start.S         MIPS32 start code
82       - cpu.c           cpu generic code
83       - jz4730.c        JZ4730 generic code
84       - jz4740.c        JZ4740 generic code
85       - jz_serial.c     jz serial driver
86       - jz_eth.c        jz on-chip ethernet driver
87       - jz_i2c.c        jz i2c driver
88       - jz_lcd.c        jz LCD driver
89       - jz_mmc.c        jz MMC/SD driver
90       - jz4730_nand.c   JZ4730 NAND flash driver
91       - jz4740_nand.c   JZ4740 NAND flash driver
92   - include/asm-mips/
93       - jz4730.h        JZ4730 generic headers
94       - jz4740.h        JZ4740 generic headers
95   - include/configs/
96       - libra.h         LIBRA board definitions
97       - pmpv1.h         PMP ver 1.x board definitions
98       - pmpv2.h         PMP ver 2.x board definitions
99       - gps.h           GPS board definitions
100       - leo.h           LEO board definitions
101       - pavo.h          PAVO board definitions
102       - virgo.h         VIRGO board definitions
103       - dipper.h        DIPPER board definitions
104   - lib_mips/
105       - board.c         generic board init code
106   - nand_spl/           NAND secondary program loader
107       - nand_boot_jz4730.c      jz4730 generic code
108       - nand_boot_jz4740.c      jz4740 generic code
109       - board/pmpv1/    PMP ver 1.x board dependent files       
110       - board/pmpv2/    PMP ver 1.x board dependent files
111       - board/leo/      LEO board dependent files
112       - board/pavo/     PAVO board dependent files
113       - board/virgo/    VIRGO board dependent files
114       - board/dipper/   DIPPER board dependent files
117 -----------
118 * Support *
119 -----------