Giter Site home page Giter Site logo

rkflashtool_rk3288's Introduction

Build Status

rkflashtool_rk3xxx

RKFlashtool with RK3288 support.
To backup the system and flash images from Linux.

flash_kernel tool

WARNING: you MUST follow these instructions to tailor the script BEFORE executing it or you may BRICK YOUR DEVICE. In any case, use at your own risk!

Tailoring the script to your particular device's recovery partition's location:

  • Compile rkflashtool by typing in a terminal: make
  • Type in the terminal the command: lsusb
  • Connect one end of the USB cable to your PC
  • Press the reset button using a paperclip, and while pressed, connect the USB cable to the OTG USB port
  • Release the reset button
  • To make sure the above steps were done right, type in a terminal: lsusb
  • You can flash if you see a new device (compare with previous lsusb) with ID: 2207:300a
  • Run the following (root) command: sudo ./rkflashtool r 0x0 0x2000 > parm.bin
  • And then this command: cat parm.bin
  • In the output look for "(recovery)" and note well the numbers that precede it. In my case it was: ",0x00008000@0x00010000(recovery)," (notice the @ character separating the two hex numbers)
  • Modify the flash_kernel.sh script's first line ("rkflashtool w 0x... 0x... < recovery.img) to use the two numbers above, BUT SWAPPED (first the hex number after the @, followed by the one before it). In my case that meant leaving the line as: sudo ./rkflashtool w 0x10000 0x8000 < recovery.img
  • Make the script executable by typing in the terminal: chmod +x flash_kernel.sh

Once you have compiled a kernel (see http://hwswbits.blogspot.com.es/2013/03/compiling-picuntu-kernel-ubuntu-linux.html) and used mkbootimg to generate a recovery.img file, these are the flashing instructions using a Linux PC (use at own risk!):

  • Connect one end of the USB cable to your PC
  • Press the reset button using a paperclip, and while pressed, connect the USB cable to the OTG USB port
  • Release the reset button
  • Run "./flash_kernel.sh" to flash the kernel to the recovery partition
  • When ready, the stick will be rebooted automatically

These steps are from Omegamoon's work. You can see more at: https://github.com/omegamoon/rockchip-rk30xx-mk808

rkflashtool_rk3288's People

Contributors

galland avatar xd2 avatar

Stargazers

XiaomingYang avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.