WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Custom kernel compilation  (Read 1708 times)

Offline yogi_al

  • Newbie
  • *
  • Posts: 39
Custom kernel compilation
« on: July 23, 2015, 05:32:51 PM »
Hi,

Iam using TC4.0 for the POS terminals that Iam working on. I need support for COM5 port for which I made changes to the below line items in the configuration item.
CONFIG_SERIAL_8250_NR_UART=6
CONFIG_SERIAL_8250_RUNTIME_UARTS=6

I followed the instructions on http://wiki.tinycorelinux.net/wiki:custom_kernel, till step #8 because all I needed was the kernel image.
I built the following version linux-3.0.21-patched.txz which I downloaded and did not apply any patches to it.

After I built the kernel bzImage (I tried giving "make vmlinuz " but it didnt allow me to). I booted my POS with the tinycore image and the bzImage that I built, the system halts when booting mid way.

Do I need to build the modules as well(building gave me compile errors -  saying XT_DSCP_MASK not defined ???) and use those, rather than using the tinycore.gz file?

Any help will be greatly appreciated. Thanks in advance folks.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Custom kernel compilation
« Reply #1 on: July 25, 2015, 10:46:20 AM »
If you built it on TC 4, and only changed those options, the compiler should match and there wouldn't be a need to rebuild modules. Where does it hang?
The only barriers that can stop you are the ones you create yourself.