Difference between revisions of "How to boot from sd-card"

From ESS-WIKI
Jump to: navigation, search
 
Line 1: Line 1:
'''STEP 1 :<span style="color:#FF0000;"></span>&nbsp;Get tools.'''
+
'''STEP 1&nbsp;:&nbsp;Get tools.'''
  
TBD
+
[https://github.com/ADVANTECH-Rockchip/linux_tools/blob/rk3288_linux_v2.0/linux/Linux_sdboot/rk3288_sdboot.tar.gz https://github.com/ADVANTECH-Rockchip/linux_tools/blob/rk3288_linux_v2.0/linux/Linux_sdboot/rk3288_sdboot.tar.gz]
  
 
The tools must be run linux OS like&nbsp;Ubuntu.
 
The tools must be run linux OS like&nbsp;Ubuntu.
  
'''STEP 2 : Get images.'''
+
'''STEP 2&nbsp;: Get images.'''
  
 
Get the latest release images (from PM) .
 
Get the latest release images (from PM) .
Line 11: Line 11:
 
'''STEP 3&nbsp;:&nbsp;'''
 
'''STEP 3&nbsp;:&nbsp;'''
  
Put images to tool's fold, like :
+
Put images to tool's fold, like&nbsp;:
  
 
sdboot.sh<br/>rockdev/image/parameter.txt<br/>rockdev/image/boot.img<br/>… …
 
sdboot.sh<br/>rockdev/image/parameter.txt<br/>rockdev/image/boot.img<br/>… …
  
'''STEP 4 : Get sd-card Node.'''
+
'''STEP 4&nbsp;: Get sd-card Node.'''
  
Before inserting sd-card to PC,Input the following command in terminal :
+
Before inserting sd-card to PC,Input the following command in terminal&nbsp;:
  
 
''<span style="background-color:#D3D3D3;">ls /dev/sd*</span>''
 
''<span style="background-color:#D3D3D3;">ls /dev/sd*</span>''
  
After inserting sd-card to PC,Input the following command in terminal :
+
After inserting sd-card to PC,Input the following command in terminal&nbsp;:
  
 
''<span style="background-color:#D3D3D3;">ls /dev/sd*</span>''
 
''<span style="background-color:#D3D3D3;">ls /dev/sd*</span>''
Line 27: Line 27:
 
The added node is for sd-card .
 
The added node is for sd-card .
  
'''STEP 5 : Burn sd-card .'''
+
'''STEP 5&nbsp;: Burn sd-card .'''
  
Insert sd-card, cd tools's path . Then input the following command :
+
Insert sd-card, cd tools's path . Then input the following command&nbsp;:
  
 
./sdboot.sh <span style="color:#FF0000;">sdX</span>
 
./sdboot.sh <span style="color:#FF0000;">sdX</span>
  
<span style="color:#FF0000;">[Note : sdX is the node getting from STEP 4 .]</span>
+
<span style="color:#FF0000;">[Note&nbsp;: sdX is the node getting from STEP 4 .]</span>
  
  

Latest revision as of 04:02, 18 June 2019

STEP 1 : Get tools.

https://github.com/ADVANTECH-Rockchip/linux_tools/blob/rk3288_linux_v2.0/linux/Linux_sdboot/rk3288_sdboot.tar.gz

The tools must be run linux OS like Ubuntu.

STEP 2 : Get images.

Get the latest release images (from PM) .

STEP 3 : 

Put images to tool's fold, like :

sdboot.sh
rockdev/image/parameter.txt
rockdev/image/boot.img
… …

STEP 4 : Get sd-card Node.

Before inserting sd-card to PC,Input the following command in terminal :

ls /dev/sd*

After inserting sd-card to PC,Input the following command in terminal :

ls /dev/sd*

The added node is for sd-card .

STEP 5 : Burn sd-card .

Insert sd-card, cd tools's path . Then input the following command :

./sdboot.sh sdX

[Note : sdX is the node getting from STEP 4 .]


NOTE:

1. It's beter if SD-card is more than 8GB and Class 10 high speed card .

2. The following case is OK for booting from SD-card .

(1) Without eMMC.

(2) EMMC is empty.

(3) EMMC is burned Debian OS.

3. If e-MMC is burned Android, the device CANNOT boot from sd-card .