SEARCH
TOOLBOX
LANGUAGES
modified on 11 April 2012 at 16:33 ••• 273,026 views

Electrum FAQ

From Manuals

(Difference between revisions)
Jump to: navigation, search
(How can I change the MAC address of the board?)
Line 10: Line 10:
=Frequently Asked Questions - Software=
=Frequently Asked Questions - Software=
 +
==How can I use 'apt' to install new packages on the NAND filesystem?==
 +
'apt-get' requires umap/mmap to write to the cache. This is not supported by the JFFS2 filesystem in NAND. A common workwaround is to use a 'tmpfs' filesystem in RAM. We provide the 'apt-setup' and 'apt-purge' scripts to simplify this process. Run 'apt-setup' before installing your packages and 'apt-purge' afterwards. You can ignore any 'fopen' warnings from 'apt-get'. If the cache required by your updates exceeds the available RAM you will need to divide the updates in parts and execute 'apt-setup' and 'apt-purge' before/after each part. Note that this workaround is only required when using a JFFS2 filesystem in NAND as your root filesystem. It is not required if you are using a microSD card as your root filesystem.

Revision as of 15:05, 15 December 2010

Contents

Frequently Asked Questions - Hardware

How can I change the MAC address of the board?

The Micromint Electrum is assigned a MAC address during production from the Micromint block 00:21:a3:xx:yy:zz. This address is stored on the U-Boot configuration as the 'ethaddr' environment variable. To prevent accidental changes to the MAC address, the bootloader console does not allow changing the MAC address once it is set. If you need to substitute the assigned MAC address you can clear the bootloader environment by executing the commands below from the bootloader console. After rebooting, you will be able to change the 'ethaddr' variable. Note that you will need to apply any other changes you made to the bootloader configuration.

Electrum> mw.b 0x20100000 0 4
Electrum> cp.b 0x20100000 0xD0002100 4
Copy to DataFlash... done
Electrum> reset

Frequently Asked Questions - Software

How can I use 'apt' to install new packages on the NAND filesystem?

'apt-get' requires umap/mmap to write to the cache. This is not supported by the JFFS2 filesystem in NAND. A common workwaround is to use a 'tmpfs' filesystem in RAM. We provide the 'apt-setup' and 'apt-purge' scripts to simplify this process. Run 'apt-setup' before installing your packages and 'apt-purge' afterwards. You can ignore any 'fopen' warnings from 'apt-get'. If the cache required by your updates exceeds the available RAM you will need to divide the updates in parts and execute 'apt-setup' and 'apt-purge' before/after each part. Note that this workaround is only required when using a JFFS2 filesystem in NAND as your root filesystem. It is not required if you are using a microSD card as your root filesystem.