The assumption is that you already installed the SDK on your Linux machine. If not, please follow the instructions in Chapter 4 SDK Installation Overview of the Quick Start Guide. The guides mentioned in this post are in the Documentation folder of the ISO image/CD.
Beware: This will erase Evolution from your MatchPort.
These are the steps to convert an Evolution MatchPort to Linux
Your MatchPort should now boot into Linux.
If you want to convert the Linux MatchPort back to Evolution, boot back into dBUG and erase the flash with this command:
fl e 0x20000 0x3d0000 (for 4MB flash - original MatchPort AR)
fl e 0x20000 0x7d0000 (for 8MB flash - Linux MatchPort AR or MatchPort b/g
Then you can use Lantronix Device Installer to restore one of the Evolution images posted on the Lantronix website.
MatchPort AR with 4MB
4MB of flash is the bare minimum of flash for Linux. If is not a recommended configuration.
Depending on your requirements (no ROMFS?, no JFFS2?, resize both) you will have to adjust the preconfigured file system sizes. Take a look at Chapter 5 Default Flash Memory Map and Custom Layout in the User Guide. The kernel command line option mtdparts can be very helpful for your experiments.
Beware: This will erase Evolution from your MatchPort.
These are the steps to convert an Evolution MatchPort to Linux
- Replace Evolution with the Linux boot loader (Chapter 3, Installing dBUG)
- reset the MatchPort
- erase the remaining flash space with
fl e 0x30000 0x3c0000 (for 4MB flash - original MatchPort AR)
fl e 0x30000 0x7c0000 (for 8MB flash - Linux MatchPort AR or MatchPort b/g Pro) - reset the MatchPort (to get dBUG in a well-defined state)
- configure dBUG (see Chapter 3, Basic Configuration)
- 'set autoboot flash' within dBUG
- 'set filename imagez.bin' within dBUG
- download and flash linux with 'dnfl imagez.bin' from within dBUG
- reboot
Your MatchPort should now boot into Linux.
If you want to convert the Linux MatchPort back to Evolution, boot back into dBUG and erase the flash with this command:
fl e 0x20000 0x3d0000 (for 4MB flash - original MatchPort AR)
fl e 0x20000 0x7d0000 (for 8MB flash - Linux MatchPort AR or MatchPort b/g
Then you can use Lantronix Device Installer to restore one of the Evolution images posted on the Lantronix website.
MatchPort AR with 4MB
4MB of flash is the bare minimum of flash for Linux. If is not a recommended configuration.
Depending on your requirements (no ROMFS?, no JFFS2?, resize both) you will have to adjust the preconfigured file system sizes. Take a look at Chapter 5 Default Flash Memory Map and Custom Layout in the User Guide. The kernel command line option mtdparts can be very helpful for your experiments.
Comment