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"

(fastboot)
(fastboot)
Line 34: Line 34:
  
 
Now we can flash the kernel and resource files to the board with fastboot
 
Now we can flash the kernel and resource files to the board with fastboot
     sudo fastboot -i 0x2207 flash kernel /tmp/kernel.img
+
     sudo fastboot -i 0x2207 flash kernel kernel.img
 +
    sudo fastboot -i 0x2207 flash resource resource.img
 
     sudo fastboot -i 0x2207 reboot
 
     sudo fastboot -i 0x2207 reboot

Revision as of 08:39, 6 November 2014

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 wip/rock2-bring-up 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