Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock2/bringup"

(Created page with "Below is the bringing up procedure of rock2, rk3288 base development board. = Tools = * USB to TTL cable * micro USB cable * Rockchip Linux upgrade_tool [http://dl.radxa.com/...")
 
(Build u-boot)
 
(3 intermediate revisions by the same user not shown)
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 wip/rock2-bring-up https://github.com/radxa/u-boot-rockchip.git
+
     git clone -b u-boot-rk3288 https://github.com/radxa/u-boot-rockchip.git
 
     make rk32xx_config
 
     make rk32xx_config
 
     make
 
     make
Line 22: Line 22:
  
 
===fastboot===
 
===fastboot===
U-boot of rk3288 has fastboot function, just type `fastboot` command in u-boot console to go to fastboot mode.
+
U-boot of rk3288 has fastboot function, just type `fastboot` command in u-boot console to go to fastboot mode.
  
 
On the desktop, run
 
On the desktop, run
Line 29: Line 29:
 
     sudo fastboot devices -i 0x2207
 
     sudo fastboot devices -i 0x2207
 
     0123456789 fastboot
 
     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

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