Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

Making "snapshot"

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/17/2014 01:44:41      1#

Hello busybee,

Being a member of Firefly and a support engineer, could you please elaborate more on the procedure?




There are several ambiguous points and some missing files, to start with :




c. Bootloader and your images

- Your linux-rootfs.img (ext4 filesystem image, for Linux root) (What do you mean by Your linux? how can I get it and where from ? especially that I am not using any external storage)
- Your linux-boot.img (See wiki doc [/url][url=http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en]

http://wiki.t-firefly.com/index.php/Fir


... _kernel/en to create your own) (make my own ? but I already have a running system, I am lost here)
- Your resource.img (In SDK/kernel, after successful kernel compilation) (Where from ? and how to?realize?that ?)




Thank you for your earliest reply.


Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/17/2014 19:22:31      2#

Hello busybee,




Thank you. Since I am making a snapshot or an image of an existing running system the procedure are not the same.

The hard time I am having is to figure out the way especially downloading the SDK is not a given task, you would spend days trying to get it as it is slow and not reliable.

Could you please be kind enough to help me get the right detailed procedures? my task is the reverse , it is to make an image from my firefly unit.

It is like making an image of an existing windows computer to apply it later to other machines using GHOST or other image making softwares.




Sorry for the troubles, but this is important for me as well as to others I am sure.
Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/19/2014 20:35:20      3#

Hello busybee,

If Firefly support cannot help, where from can we get it ?

Please let me know if you are willing to support or not! that way I can decide which way to go. Thank you
Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/20/2014 08:44:00      4#

jas-rk ,?Thank you, unfortunately the rkflashkit is not detecting my firefly board therefore I am unable to test what you suggested.


Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/21/2014 06:24:50      5#

Hello busybee,

Thank you for the instructions.

The results of sudo du -hxs / is 3.2G

I am stuck a the following point : $ sudo mount -o loop new_ubuntu.img /mnt/new

Getting error ?mount: block device /media/firefly/sd31g/new_ubuntu.img is write-protected, mounting read-only
mount: you must specify the filesystem type


The sd card was formatted as file system type=fat32




could you please advice if the command is correct?


Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/22/2014 08:07:59      6#

Hello,

I was able to make the rkflashkit see my device, I can see the following partitions:

resource, boot, misc, backup

I did backup all of them, but re-flashing them to the other board did not seem to make it identical. actually nothing has changed at all.


Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/22/2014 17:17:53      7#

hello busybee,


thank you, I will try again to do the image using your method.

as for the rkflashkit the only partitions I can see are resource, boot, misc, and backup.

============= 2014-12-22 10:11:54 ============


    Loading partition information

    PARM FIRMWARE_VER:4.4.2
    MACHINE_MODEL:rk30sdk
    MACHINE_ID:007
    MANUFACTURER:RK30SDK
    MAGIC: 0x5041524B
    ATAG: 0x60000800
    MACHINE: 3066
    CHECK_MASK: 0x80
    PWR_HLD: 0,0,A,0,1
    #KERNEL_IMG: 0x62008000
    #FDT_NAME: rk-kernel.dtb
    #RECOVER_KEY: 1,1,0,20,0
    CMDLINE:console=ttyFIQ0,115200 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot)

Partitions:
resource     (0x00008000 @ 0x00002000)   16 MiB
boot         (0x00008000 @ 0x0000a000)   16 MiB
misc         (0x00002000 @ 0x00012000)    4 MiB
backup       (0x0001a000 @ 0x00014000)   52 MiB

-----------------------

Although the linuxroot is stated in the CMDLINE however I cannot see in the form of a partition in order to be able to backup.


I am using the rkflashkit present under the git clone https://github.com/linuxerwang/rkflashkit

Best regards

Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/23/2014 01:07:14      8#

hello busybee,




I did the image as per your instructions, when trying to flash with androidtool I get loading firmware failed.

Unless there is another tool to flash back to the board the image we created it not suitable .




I hope my experience will benefit other members.

Please look into it and advise with proper remedie.


Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/24/2014 02:09:43      9#

Hello busybee,




Please find attached the screenshots, as I mentionned in an earlier post I do not see all partitions.

1. Screeshot of the error for the command sudo rkflashkit @linuxroot my_image_path_and_name

2. the sudo rkflashkit part





Reply

Use props Report

175

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
175
Posted at 12/25/2014 09:41:30      10#

Hello busybee,




Attached is the screenshot, yet the command is producing errors.

Yes I am using the ubuntu image only on my firefly board.

The linuxroot is still not recognized.


Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list