Author Topic: Existing sd card image -> store it to emmc  (Read 2833 times)

Offline cubieboard_user12123

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Existing sd card image -> store it to emmc
« on: March 24, 2015, 03:20:59 pm »
Existing (working) sd card image  -> store it on Emmc ?

Is this possible ?

or is there a way make a bootable image from an existing one an flash it to the emmc ?


« Last Edit: March 24, 2015, 03:24:10 pm by cubieboard_user12123 »

Offline allen

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +0/-0
    • View Profile
Re: Existing sd card image -> store it to emmc
« Reply #1 on: March 25, 2015, 05:38:32 am »
i think the  script  can help you .
cp install_emmc.sh /root/
chmod +x  install_emmc.sh
Before execute it by superuser ,   apt-get install busybox figlet rsync dosfstools
« Last Edit: August 10, 2015, 02:47:36 am by allen »

Offline cubieboard_user12123

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Existing sd card image -> store it to emmc
« Reply #2 on: March 25, 2015, 07:37:44 am »
thx very much-> i´ll try that and will give you feedback! :)

Offline cubieboard_user12123

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Existing sd card image -> store it to emmc
« Reply #3 on: March 25, 2015, 12:07:17 pm »
Works perfekt!! Many many thx too you - Really great job !!! :-)

Perhaps you can help me with two other problems.

I want to edit the env.txt on the cubieboard to make a boot menu where i can choose booting from sd-system or from emmc system ? the idea is to have to different systems or an backup system or to boot an installation from sd-card. there are many things we could do with a boot menu.

Can you give me some tip ?

thx again very very much.

This is really a great tool !!!!!
« Last Edit: March 25, 2015, 12:38:03 pm by cubieboard_user12123 »

Offline cubieboard_user12123

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Existing sd card image -> store it to emmc
« Reply #4 on: March 25, 2015, 12:40:34 pm »
i found something in this forum, but thats only for A10 and A20

http://dl.cubieforums.com/files/patwood/bootselect.tar.gz

Any ideas to get that working on A80?

There is no uEnv.txt on A80. So i don´t know what i have to start with.

« Last Edit: March 25, 2015, 12:44:10 pm by cubieboard_user12123 »

Offline EverydayDiesel

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Existing sd card image -> store it to emmc
« Reply #5 on: July 31, 2015, 12:26:00 am »
Mine shipped with both installed  (busybox figlet)

but how do i write from the sd to the emmc?


EDIT:  There is a script attached above that you have to run as su
« Last Edit: July 31, 2015, 09:22:58 am by EverydayDiesel »

Offline mr.dom

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Existing sd card image -> store it to emmc
« Reply #6 on: August 08, 2015, 12:55:03 am »
i think the  script  can help you
I used that install_emmc.sh script to flash OS from SD to NAND. Have a couple comments for those who will use it too. Before launch the script:

1. Put it in /root folder and run it from there
2. Install busybox, figlet, rsync and dosfstools. The last needed to make the script command mkfs.vfat working.
Code: [Select]
apt-get install busybox figlet rsync dosfstools
P.S. Cubieboard team sucks. Guys make a lot of money and don't pay users back. There is no site..with a good documentation and tools. Just this f...ing unfriendly forum interface, where you need to put a bunch of confirmation to post a comment :)
« Last Edit: August 09, 2015, 08:00:40 pm by mr.dom »