From: Kever Yang Date: Thu, 7 Nov 2019 17:55:17 +0800 Subject: [U-Boot] [PATCH v2 9/9] doc: rockchip: Add documentation for rk3308 based boards In-Reply-To: <20191030081629.8812-5-andy.yan@rock-chips.com> References: <20191030081140.8635-1-andy.yan@rock-chips.com> <20191030081629.8812-1-andy.yan@rock-chips.com> <20191030081629.8812-5-andy.yan@rock-chips.com> Message-ID: <4a6c23ba-0d3d-2c58-a580-bdbd6e014aea@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 2019/10/30 下午4:16, Andy Yan wrote: > Add build documentation for rk3308 based boards. > > Signed-off-by: Andy Yan > > --- > > Changes in v2: > - Update doc/README.rockchip > > doc/README.rockchip | 20 +++++++++++++++++++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > diff --git a/doc/README.rockchip b/doc/README.rockchip > index d17afeabdd..f9f5ca8ac8 100644 > --- a/doc/README.rockchip > +++ b/doc/README.rockchip > @@ -47,6 +47,11 @@ Two RK3036 boards are supported: > - EVB RK3036 - use evb-rk3036 configuration > - Kylin - use kylin_rk3036 configuration > > +Two RK3308 boards are supported: > + > + - EVB RK3308 - use evb-rk3308 configuration > + - roc-RK3308-CC - use roc-rk3308-cc configuration ROC-RK3308-CC Thanks, - Kever > + > Two RK3328 board are supported: > > - EVB RK3328 - use evb-rk3328_defconfig > @@ -94,7 +99,20 @@ For example: > > (or you can use another cross compiler if you prefer) > > -2. To build RK3399 board: > +2. To build RK3308 board: > + - Get the rkbin > + => git clone https://github.com/rockchip-linux/rkbin.git > + > + - Compile U-Boot > + => cd /path/to/u-boot > + => export BL31=/path/to/rkbin/bin/rk33/rk3308_bl31_v2.22.elf > + => make roc-rk3308-cc_defconfig > + => make CROSS_COMPILE=aarch64-linux-gnu- all > + => make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb > + => ./tools/mkimage -n rk3308 -T rksd -d /path/to/rkbin/bin/rk33/rk3308_ddr_589MHz_uart2_m0_v1.26.bin idbloader.img > + => cat spl/u-boot-spl.bin >> idbloader.img > + > +3. To build RK3399 board: > > Option 1: Package the image with Rockchip miniloader: >