WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: remastering piCore  (Read 5095 times)

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
remastering piCore
« 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), 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: remastering piCore
« Reply #1 on: January 16, 2015, 06:07:48 PM »
There are no .iso image
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #2 on: January 17, 2015, 04:49:30 PM »
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 ?

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #3 on: January 17, 2015, 06:52:57 PM »
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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: remastering piCore
« Reply #4 on: January 18, 2015, 06:23:30 AM »
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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #5 on: January 18, 2015, 04:18:46 PM »
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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: remastering piCore
« Reply #6 on: January 18, 2015, 04:31:51 PM »
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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #7 on: January 18, 2015, 04:51:18 PM »
Yes, it's exactly that : http://www.emmaanuel.com/SqueezeBerry-a-Music-Player-based

Thank you for your answer, I'll try do do this.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: remastering piCore
« Reply #8 on: January 18, 2015, 06:59:58 PM »
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
« Last Edit: January 18, 2015, 07:01:52 PM by Paul_123 »

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #9 on: January 19, 2015, 01:51:24 PM »
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.
« Last Edit: January 19, 2015, 02:06:03 PM by emmaanuel »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: remastering piCore
« Reply #10 on: January 19, 2015, 02:17:11 PM »
Which version? With the latest 6.0rc1 you can save 20% due to default turbo settings.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #11 on: January 19, 2015, 04:01:42 PM »
I'm running a 5.3. It's a good news, I'll try with the 6.0rc1.
what are these turbo settings ?

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #12 on: January 19, 2015, 06:23:30 PM »
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.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: remastering piCore
« Reply #13 on: January 19, 2015, 08:05:15 PM »
Did you remove the waitusb=5 from the command line on the 6.0 rc1 image.

Offline emmaanuel

  • Newbie
  • *
  • Posts: 10
    • www.emmaanuel.com
Re: remastering piCore
« Reply #14 on: January 20, 2015, 12:47:20 PM »
no , I don't.
Because I use a wifi dongle.