User Tools

Site Tools


tutorials:ct1:development:booting_from_usb_otg_port

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:ct1:development:booting_from_usb_otg_port [2013/10/25 00:48]
benn
tutorials:ct1:development:booting_from_usb_otg_port [2014/11/19 11:53] (current)
admin old revision restored (2013/10/26 00:46)
Line 11: Line 11:
 Here we provide a simple way to boot linux from USB OTG port. It's very useful when our system damaged somehow, and we can fix it if we could access to the storeage, e.g. nand, sata, or SD Card. Here we provide a simple way to boot linux from USB OTG port. It's very useful when our system damaged somehow, and we can fix it if we could access to the storeage, e.g. nand, sata, or SD Card.
  
 +===== Host Enviroment =====
 +
 +Ubuntu 12.04 x86_64
  
 ===== Step-by-step ===== ===== Step-by-step =====
Line 71: Line 74:
    vim 1.fex (here change the output type    vim 1.fex (here change the output type
    ​./​fex2bin 1.fex script.bin    ​./​fex2bin 1.fex script.bin
- + 
 +=====Customizing===== 
 + 
 +====Replace fel/​usb-boot==== 
 + 
 +The fel/​usb-boot in this manual is X86_64bit version. If you want to use it under I386 or even arm platform, you need to compile the tools by yourself. fel/​usb-boot are part of sunxi-tools,​ and the latest source code can be found at http://​github.com/​linux-sunxi/​sunxi-tools.git. 
 + 
 +  * Getting Source Code 
 + 
 +  $git clone git://​github.com/​linux-sunxi/​sunxi-tools.git 
 + 
 +  * Compiling 
 + 
 +  $cd sunxi-tools 
 +  $make 
 + 
 +and then replace the tools with the one you built 
 + 
 +====initramfs.img==== 
 +  *Refer to http://​github.com/​hno/​miniroot
  
  
tutorials/ct1/development/booting_from_usb_otg_port.1382633318.txt.gz · Last modified: 2013/12/23 14:50 (external edit)