Difference between revisions of "Rock2/bringup"
< Rock2
(→fastboot) |
(→Build u-boot) |
||
Line 9: | Line 9: | ||
==Build u-boot== | ==Build u-boot== | ||
Rokchip released u-boot for rk3288. | Rokchip released u-boot for rk3288. | ||
− | git clone -b | + | git clone -b u-boot-rk3288 https://github.com/radxa/u-boot-rockchip.git |
make rk32xx_config | make rk32xx_config | ||
make | make |
Latest revision as of 07:54, 12 March 2015
Below is the bringing up procedure of rock2, rk3288 base development board.
Tools
- USB to TTL cable
- micro USB cable
- Rockchip Linux upgrade_tool version 1.21
Booting
Build u-boot
Rokchip released u-boot for rk3288.
git clone -b u-boot-rk3288 https://github.com/radxa/u-boot-rockchip.git make rk32xx_config make
you will get RK3288Loader_uboot_V2.15.02.bin, run connect rock2 to pc, press and hold recovery key and push reset,
sudo upgrade_tool ul RK3288Loader_uboot_V2.15.02.bin sudo upgrade_tool rd
Now the u-boot is flashed to the emmc of rock2 and reboot to u-boot
U-boot
Booting log: http://paste.ubuntu.com/8833247/
fastboot
U-boot of rk3288 has fastboot function, just type `fastboot` command in u-boot console to go to fastboot mode.
On the desktop, run
sudo fastboot devices
If no devices found, try
sudo fastboot devices -i 0x2207 0123456789 fastboot
We need to unlock the bootloader before using fastboot to flash the board:
sudo fastboot -i 0x2207 oem unlock sudo fastboot -i 0x2207 oem unlock_accept
Now we can flash the kernel and resource files to the board with fastboot
sudo fastboot -i 0x2207 flash kernel kernel.img sudo fastboot -i 0x2207 flash resource resource.img sudo fastboot -i 0x2207 reboot