WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core source  (Read 2870 times)

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Tiny Core source
« on: February 04, 2013, 08:48:55 AM »
I need to learn how to build TC from source. For my first try I will just get the source make no changes and just recompile. I'm also following wiki.

My question: is the linux-3.0.21-patched.txz the kernel source with TC patches already applied? Is this and the TC config file all I need to do compilation?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11625
Re: Tiny Core source
« Reply #1 on: February 04, 2013, 08:57:45 AM »
Hi mbertrand
Yes, the patch is already applied. You will also need to install  compiletc.tcz  so you have a proper tool chain.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Tiny Core source
« Reply #2 on: February 04, 2013, 09:27:13 AM »
Well, my TC is on another pc. My excise here is to try to build the source on my Ubuntu and copy file(s) to my tc box.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11625
Re: Tiny Core source
« Reply #3 on: February 04, 2013, 09:34:07 AM »
Hi mbertrand
Then check the dependency list for compiletc (Size tab in Apps) and make sure you have those programs installed
in Ubuntu.  binutils, bison, diffutils, ...., etc.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Tiny Core source
« Reply #4 on: February 04, 2013, 09:34:56 AM »
I will thanks

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Tiny Core source
« Reply #5 on: February 04, 2013, 09:58:55 AM »
I've been using TC for a almost a year now but have never recompiled kernel until now. As I'm ready I saw where when building kernel modules(this is my next project) you need to build with same version of kernel it will be running on. So this made me wonder
I've updated my TC kernel a few times by getting from destribution files the vmlinuz file and overriding my current one and rebooting. This never caused problems Is this because the vmlinuz was always built from same kernel version?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11625
Re: Tiny Core source
« Reply #6 on: February 04, 2013, 10:03:57 AM »
Hi mbertrand
Yes. Current kernel version is 3.0.21

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Tiny Core source
« Reply #7 on: February 04, 2013, 10:06:21 AM »
I was able to rebuild the Tiny Core patched source on my Ubuntu and replaced the vmlinuz on my target machine and all works.
Of course I build with the same version of Tiny Core that is currently running. When I'm browsing Tiny Core's patched source on
http://distro.ibiblio.org/ how do I know what version the kernel is?

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Tiny Core source
« Reply #8 on: February 04, 2013, 10:08:02 AM »
Oops , sorry stupid question!! The kernel version is in the name of the file!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11625
Re: Tiny Core source
« Reply #9 on: February 04, 2013, 10:37:49 AM »
Hi mbertrand
Luckily you found the answer to that yourself. I'd hate to have to make you stand in the corner and take a time out. ::)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Tiny Core source
« Reply #10 on: February 04, 2013, 10:53:49 AM »
... the subforum titled Tiny Tux's Corner getting a whole new meaning...
 ;D
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)