• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Dreamplug 3.2.5 alternate new kernel  (Read 3372 times)
spinifex
Full Member
***

Karma: 8
Posts: 167



View Profile WWW
« on: February 11, 2012, 11:38:05 PM »

This kernel is for Dreamplugs only and addresses a few issues including the new U-Boot(s) that use a different machine id.

You can download at
      http://www.spinifex.net/plugs/downloads/dreamplug/kernel/dreamplug-3.2.5.tar.xz

Install instructions are at
     http://www.spinifex.net/plugs/downloads/dreamplug/kernel/README.kernel

The alternate features are:

U-Boot arcNumber
Dreamplug U-Boots use different arcNumbers depending on when you aquired your Dreamplug. It is either 2659(0xA63) or 3550(0xDDE). The 2659 is also used by the Guruplug. This kernel will boot a Dreamplug which uses either value. There is no need to update the U-Boot environment.
I have tested this on three different U-Boots with both arcNumbers. I would welcome further testing.


SPI flash
This kernel contains support for reading and writing the SPI flash using the u-boot-tools fw_printenv/fw_saveenv utilities.
To take advantage of this feature install u-boot-tools -

Code:
# apt-get install u-boot-tools

Then set the config file to -

Code:
# cat /etc/fw_env.config

# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundand
# environment sector is assumed present.
# MTD device name       Device offset   Env. size       Flash sector size
/dev/mtd0               0x30000         0x1000         0x1000

This is known to work for
  U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06)

Backup your environment before testing fw_saveenv.
The device offset may change for other versions of U-Boot.

** IMPORTANT **
Because this gives you unconstrained access to the SPI flash, you can use this facility to destroy U-Boot and render your Dreamplug unusable.

Boot from ESATA
The kernels is compiled with CONFIG_SATA_MV=y set in the .config. This means that these kernels can be used to boot from a (micro) SDHC with the rootfs on an ESATA drive.

LEDS
The Dreamplug LEDS are named left to right as:
  plug:blue:2
  plug:green:3
  plug:blue:4


CPU Frequency Scaling
To make use of this -

Code:
# apt-get install cpufrequtils

and see kernel Documentation/cpu-freq/user-guide.txt
                                                     
Logged

ratel
Newbie
*

Karma: 0
Posts: 7


View Profile WWW
« Reply #1 on: February 12, 2012, 04:11:11 AM »

thnx mate! Going to try this one on my "sandbox" dreamplug
Logged

Pages: [1]
Print
Jump to: