Skip to content

Create bootable SD card for NanoPi2/NanoPi S2/NanoPi2 Fire/NanoPi M2/NanoPC T2/Smart4418

Notifications You must be signed in to change notification settings

Tita-Russell/sd-fuse_nanopi2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sd-fuse_nanopi2

Create bootable SD card for NanoPi2/NanoPi S2/NanoPi2 Fire/NanoPi M2/NanoPC T2/Smart4418

Build android bootable SD card

# git clone https://github.com/friendlyarm/sd-fuse_nanopi2.git
# cd sd-fuse_nanopi2
# sudo ./fusing.sh /dev/sde android

Build an sd card image

# git clone https://github.com/friendlyarm/sd-fuse_nanopi2.git
# cd sd-fuse_nanopi2
# wget https://112.124.9.243/dvdfiles/S5P4418/images-for-eflasher/android-lollipop-images.tgz
# tar xvzf android-lollipop-images.tgz

Now, Change something under the android directory, for example, replace the file you compiled, then build android bootable SD card:

# sudo ./fusing.sh /dev/sde android

or build an sd card image:

# sudo ./mkimage.sh android

Build a package similar to s5p4418-eflasher-sd8g-yyyymmdd-full.img:

# git clone https://github.com/friendlyarm/sd-fuse_nanopi2.git
# cd sd-fuse_nanopi2
# sudo ./mkimage.sh eflasher
# DEV=`losetup -f`
# losetup ${DEV} s5p4418-eflasher-sd8g-20170819.img
# partprobe ${DEV}
# sudo mkfs.vfat ${DEV}p1 -n FRIENDLYARM
# mkdir -p /mnt/fat
# mount -t vfat ${DEV}p1 /mnt/fat
# sudo wget -qO- https://112.124.9.243/dvdfiles/S5P4418/images-for-eflasher/core-qte-images.tgz | tar xvz -C /mnt/fat --strip-components=1
# umount /mnt/fat
# losetup -d ${DEV}

About

Create bootable SD card for NanoPi2/NanoPi S2/NanoPi2 Fire/NanoPi M2/NanoPC T2/Smart4418

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%