November 15, 2019, 07:59:41 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Existing sd card image -> store it to emmc

Started by cubieboard_user12123, March 24, 2015, 03:20:59 pm

Previous topic - Next topic

cubieboard_user12123

March 24, 2015, 03:20:59 pm Last Edit: March 24, 2015, 03:24:10 pm by cubieboard_user12123
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 ?



allen

March 25, 2015, 05:38:32 am #1 Last Edit: August 10, 2015, 02:47:36 am by allen
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

cubieboard_user12123

thx very much-> i´ll try that and will give you feedback! :)

cubieboard_user12123

March 25, 2015, 12:07:17 pm #3 Last Edit: March 25, 2015, 12:38:03 pm by cubieboard_user12123
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 !!!!!

cubieboard_user12123

March 25, 2015, 12:40:34 pm #4 Last Edit: March 25, 2015, 12:44:10 pm by cubieboard_user12123
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.


EverydayDiesel

July 31, 2015, 12:26:00 am #5 Last Edit: July 31, 2015, 09:22:58 am by EverydayDiesel
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

mr.dom

August 08, 2015, 12:55:03 am #6 Last Edit: August 09, 2015, 08:00:40 pm by mr.dom
Quote from: allen on March 25, 2015, 05:38:32 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.
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 :)