Author Topic: Enigma2 for DM500 (non-plus)  (Read 1115 times)

0 Members and 1 Guest are viewing this topic.

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
Enigma2 for DM500 (non-plus)
« on: April 19, 2010, 12:11:41 PM »
Enigma2 for DM500 (non-plus)
Quote
An Enigma2 port for DM500. Does not fit into flash so has to be netbooted/multibooted. Consists of the linux root filesystem, the kernel image needs to be loaded from FLASH.
Download Enigma2 for DM500 (non-plus)
You are not allowed to view links. Register or Login

New easy install, just use FlashWizard Pro to install this on NFS multiboot. Detailed instructions

Quote
##########
###
### Enigma2 port for DM500 set up by moveq
###
### Detailed instructions for getting the max out of your DM500 with Enigma2
### Latest & most optimized version of these instructions and the Enigma2 image
### Requirements
#
- DM500 is connected to LAN
- FlashWizard Pro for DM500 NFS multiboot
- NFS server on which FlashWizard can install images

### How to set it up
#
1. Flash an Enigma1 image that has a linux kernel supporting swapon (latest Pli Jade is good)
2. Boot the image you just flashed and when it shows the first dialog/window just leave it there
3. Setup your NFS server if needed (google "Ubuntu NFS server howto" if you don't know what that is)
4. Launch FlashWizard Pro and setup multiboot options
   - Let FlashWizard install it's bootloader on the FLASH when it asks
   - Disable HDD, USB and CF media for multibooting
   - Enable NFS multiboot options (I used path=media/dreamhdd & IP=192.168.0.1 for 192.168.0.1:/media/dreamhdd share)
   - Press autodetect (should show free space on NFS when connection to NFS server & DM500 are ok)
   - Drag & drop the Enigma2 .fw2 file into the box in FlashWizard
   - Let FW do it's job and when done just close it
5. Reboot your DM500 and select "Enigma2" from the bootloader boot menu
6. Wait 1-5 minutes for Enigma2 to boot up
7. When you see the Enigma2 setup wizard now for the first time, just leave it there (don't set it up yet)
8. Telnet into your DM500 (password is either "dreambox" or "" i.e. just press enter, cannot remember which one I had :D)
   - Create a swap file for the linux kernel on the NFS (YES, REALLY!!)
      > dd if=/dev/zero of=/swapfile bs=1024 count=65536
      > mkswap /swapfile
      > losetup /dev/loop/0 /swapfile
      > swapon /dev/loop/0
   - Set the swap file to be enabled during bootup (modify /etc/enigma2/custom_script.sh)
9. Reboot your DM500 again to see that the swap file is in use after bootup
   - Telnet in and run "free"
10. Done! You may now start setting up and using Enigma2

*** NOTE: Due to the swap you'll see the spinner / cogwheels the first time you enter Menu/Channel List/Movie List.
*** That will clear out quickly once the linux kernel has sorted out optimal memory / swap usage.

### Extra
#
I've disabled a few plugins by moving them to:
   /usr/lib/enigma2/python/Plugins/Extensions/disabled
   /usr/lib/enigma2/python/Plugins/SystemPlugins/disabled
To try them out just move them one level up from the disabled directory.
For automatic service search put these files under /etc/tuxbox/.