Announce

Image create tools for Lemaker Guitar

11 1904
hnsncxy  
Edited by MKT at Mon Nov 9, 2015 00:19

Hello Everyone
We have improved the tool, and it will support to add new partition to the System Firmware for EMMC. However, the tool will don't support to create the System image for the SD card.  But we has already provide detailed tutorial to tell you make image for SD card in the wiki at http://wiki.lemaker.org/LeMaker_ ... ker_Guitar_OS_image,  and you can make image system for SD card according to tutorial steps.

v1.0.2 Release notes:
1. optimize the maker_install.run
2. support to add new partition to the system firmware for EMMC
3. add options "-g|--cfg" which be used to specify the partition configuration
4. new github repository for the "image-create-tools" at  https://github.com/LeMaker/image-create-tools
5. new github repository for the linux platform firmware at https://github.com/LeMaker/hwpack-actions

if you meet some bugs, you can fix it and feel free to contribute your code to the Repository. Of course, you can also report bugs to http://bugs.lemaker.org/

Thanks for sghazagh and tkaiser'suggestions.

tkaiser  
Dangerous/insane stuff. I just opened an issue on Github: https://github.com/LeMaker/image-create-tools-actions/issues/1

hnsncxy  
tkaiser replied at Sat Oct 10, 2015 05:41
Dangerous/insane stuff. I just opened an issue on Github: https://github.com/LeMaker/image-create-to ...

Thanks for your feedbak, I'am dealing with the problem.

Ialso tried to play with this tool.
An easy BusyBox rootfs does not work on SD either.
For eMMC, we need to create our own partitions. 8gb eMMC cannot be left blank and we need to partition it as number as we need to be able to boot to each of them which we want.
This tool is very unmature and needs lots of imporovement.
Why we need to make compress file from rootfs when we can just address the containing folder?
I understand you used 'rootfs.img' to be used by script to create the eMMC partitions.But it is not necessary for SD image to have fixed partition size.
Why not using 'fdisk' which is common and no need installation instead of fixed value 'parted' application?
And lot more comments....!!!

hnsncxy  
Edited by hnsncxy at Mon Oct 12, 2015 10:49

An easy BusyBox rootfs does not work on SD either.
We has tested the tool in the past and it can work,  these released Linux System image is made by using the tool on our forum.  Could you record the output information and send to us when you use the tool to make image ?

For eMMC, we need to create our own partitions. 8gb eMMC cannot be left blank and we need to partition it as number as we need to be able to boot to each of them which we want.
This tool is very unmature and needs lots of imporovement.
In order to make system image compatible with different capacity SD card and save burn time, and the tool only support to create system image with 3500M, if  you have a larger capacity SD card(>4G), you can refer to the wiki  to use unallocated space at http://wiki.lemaker.org/LeMaker_Guitar:How_to_resize_system_partition

Why we need to make compress file from rootfs when we can just address the containing folder?
we need to judge the rootfs wether is the newest or not, and i don't find better method to judge directory, and we also want to compatible with the rootfs.tar.xx from the Linux system distribution website.

I understand you used 'rootfs.img' to be used by script to create the eMMC partitions.But it is not necessary for SD image to have fixed partition size.
In order to make image for sd card easy, and have same size with the image for emmc. We will release the detailed steps which tell you to make SD card image step by step in the next week.

Why not using 'fdisk' which is common and no need installation instead of fixed value 'parted' application?
The Guitar use the GUID Partition Table(GPT)not Master Boot Record(MBR), and it don't support to use the 'fdisk' tool to partition.

Thanks for your feedback and support.




Edited by sghazagh at Mon Oct 12, 2015 13:54

Ok Make sence,
But you didn't get my point.
I need to partition eMMC with more than one partition.
For example, one partition with 4GB for Linux A, and another Partition with whatever left for Linux B.
In that case by changing rootfs command in Uenv.txt file and point it to any of rootfs partitions, we can boot to that one.
How can we do that?
And if it is possible, can we just update one of the partitions in eMMc and not whole of that?

hnsncxy  
Edited by hnsncxy at Wed Oct 14, 2015 09:00
sghazagh replied at Mon Oct 12, 2015 13:46
Ok Make sence,
But you didn't get my point.
I need to partition eMMC with more than one partition.

We are improving the tool, and it will support to add new partition to the System Firmware for EMMC. However, the tool will don't support to  create the image for the SD card. We will provide detailed tutorial to tell you make image for SD card in the wiki in the next week, and you can write a shell tool to create image according to your needs.

hnsncxy  
sghazagh replied at Mon Oct 12, 2015 13:46
Ok Make sence,
But you didn't get my point.
I need to partition eMMC with more than one partition.

Hello sghazagh
We have improved the tool, and can support to add new partition to the system firmware for The EMMC.

I have tested the new tool and it works fine.
I could create my .fw image and it has been loaded to eMMC successfully.

Thanks,

For SD image creation, I still do suggest to use my script which I had shared on this post:
http://www.lemaker.org/thread-22534-1-1.html

It's very handy and much easier than what it explained in WIKI.
User just need to run the script and image file will be created accordingly.

here is the GITHUB ==> https://github.com/elar-systems/LeMaker-Guitar

You have to log in before you can reply Login | Sign Up

Points Rules