Menu
Logo

Wyse SX0: Tiny Core 


 


 

 



Custom kernel for Tiny Core 7.2 (Feb 2017)

As part of my revisit to the SX0 I built a new Tiny Core Linux kernel for the -02L version. The timing problem during initialisation that existed in the past no longer exists so all I ended up doing were two small modifications:

  1. Edited .config to remove all the IDE drivers other than the one for CS5536.
  2. Patched the pata_cs5536.c driver to enable the IDE interface.

To do (2) find the function cs5536_init_one() in the file drivers/ata/pata_cs5536.c and add the two lines shown:

.......
        if (use_msr)
                printk(KERN_ERR DRV_NAME ": Using MSR regs instead of PCI\n");

        cs5536_read(dev, CFG, &cfg);
        cfg |= IDE_CFG_CHANEN;             <<---ADD
        cs5536_write(dev, CFG, cfg);       <<---ADD

        if ((cfg & IDE_CFG_CHANEN) == 0) {
                printk(KERN_ERR DRV_NAME ": disabled by BIOS\n");
.......

Download the kernel:vmlinuzSX0_72
Download the .config file:configSX0_72

You could further optimise the kernel, but my experience is that the more you remove the more likely it is that something breaks so I ended up leaving the rest alone.

Custom kernel for Tiny Core 5.2 (March 2014)

I have a custom kernel for the old and new versions of the SX0. This is relatively straight forward to do and should you wish to do the same the approach I used to build the kernel is documented here.

The kernel was built for Tiny Core 5.2 and should be useable with subsequent minor upgrades that still use the 3.8.13 kernel.

Build details

The issues with the Wyse SX0 are:

The former is solved by including the pata_cs5535 driver, whilst the latter is solved by patching the pata_cs5536 driver as documented under the Linux tab.

So the Wyse SX0 kernel on offer has been stripped of all IDE drivers other than the pata_cs5535 and the modified pata_cs5536 driver.

You can always build your own version to match you target hardware. (Exclude the unwanted driver).

Downloads

The relevant files are:

The kernel:vmlinuzSX0_52
The .config file:configSX0_52
The modified driver:pata_cs5536.c

 


Any comments? email me.    Last update February 2017