Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: emmaanuel on January 16, 2015, 05:12:01 PM
-
Hello,
I want to build my own ISO image of piCore with all what I need inside.
So I started to remaster my piCore (http://wiki.tinycorelinux.net/wiki:remastering (http://wiki.tinycorelinux.net/wiki:remastering)), but I don't understand where I can download the .iso of piCore, I only find the .img
Any help ? maybe my question is very easy to answer ;D
Thank you
Emmanuel
-
There are no .iso image
-
Ok.
Do I have to transform the .img file into an .iso file ? if it's possible ...
Or maybe there is another way to start the remastering process ?
-
To give you more details of what I try to do:
I've done some customization of the ast version of piCore to run a personal project. Now I would like to make a small iso with everything inside, without doing a big "dd" image.
After some research, this can be done by remastering the piCore.
To do this I've used your tutorial and I ran piCore inside qemu. This is working fine.
Now I need to get all the content of the / of the piCore.
And this is where I am lost.
Thanks in advance.
Emmanuel
-
There are no ISO image for piCore and in general for other embedded system, ISO is CD/DVD format. Remastering piCore means
- modifying initrd image
- adding extensions, changing /opt/bootlocal.sh, customizing backup, adding custom data, etc.
where 1) is optional. Study how SSH and X versions work, they are remastered base versions.
-
Ok, I was thinking that the modification of the initrd was mandatory to the remaster.
I follow your recommandation, and I've been comparing the SSH master and the "minimal" master.
The first partition (the one with the initrd) is exactly the same on the 2 master, the only difference is the second partition which contain the ssh stuff.
As I undertand, this could have been done by including the ssh stuff in the initrd, is that correct ?
I assume it's more easy to maintain like it's done, but do you think the boot time could be shorter if everything is in the initrd ?
Thank you for you help.
Emmanuel
-
Yes, a standalone initrd boots faster but you are loosing the possibility to update system from repo for example and it may cause issues using a persistent /tce repo, so I do not advice. However it may work if you have a dedicated appliance with no user interface, like an internet radio with an LCD display and few control buttons, a robot and so.
-
Yes, it's exactly that : http://www.emmaanuel.com/SqueezeBerry-a-Music-Player-based (http://www.emmaanuel.com/SqueezeBerry-a-Music-Player-based)
Thank you for your answer, I'll try do do this.
-
That seems like a lot of work for the benefit. What is your boot time with extensions?
I used to build my own for the same reasons.......but upgrades are quite difficult. So now I use stock piCore. I think it has been about 6 mon since I rebooted the box too.
But if your still dead set here are a link to an older posts that may help.....
http://forum.tinycorelinux.net/index.php/topic,14634.msg88856.html#msg88856
-
my boot time with picore, few extension and wifi connected is 35-40s.
I use it for a radio, and I a boot several time a day.
I would like to go down to 20s or less if it's possible.
-
Which version? With the latest 6.0rc1 you can save 20% due to default turbo settings.
-
I'm running a 5.3. It's a good news, I'll try with the 6.0rc1.
what are these turbo settings ?
-
I've just done some test.
Clean version 6.0rc1 with SSH took 15s to boot, versus 20s for the version 5.3.1 with SSH.
It's a very good point.
I'll add my extension sto see how far I can go.
-
Did you remove the waitusb=5 from the command line on the 6.0 rc1 image.
-
no , I don't.
Because I use a wifi dongle.
-
no , I don't.
Because I use a wifi dongle.
Should not matter for wifi, as that is all hotplug anyway. Give it a shot.
-
I've tried, and my last mesure was not including this waiting time because I'm not using any usb device for this speed test.
After 15s , my network ethernet interface is up, and it's the last message of the dmesg.
If I remove the waitusb I get the same time.
-
lol, my dev system is up to about 56 seconds, but then there are 130 extensions mounted.
My model A pi in my alarm clock radio boots a little faster, but then it has full battery backup. The batteries will keep it running for almost 16hours without power (not streaming anything obviously. If the power is out, or something makes it unable to stream, it has a little piezo buzzer to wake me up.