Moderator Control Panel ]

MOI box won't update via SDCard [SOLVED]

Quick start guide for beginners.

MOI box won't update via SDCard [SOLVED]

Postby DJSubterrain » Sat Aug 15, 2015 12:34 am

Hi,

I've downloaded the latest update (tbs-moi-dvb-s2-streaming-box-2900-firmware_v2.0.3.zip) and unzipped the contents and copied the three files to a MicroSD card which has been formatted with fat32 (from the documentation I presume this is correct). The contents now show MOI2900_fs.bin, MOI2900_k.bin and MOI2900_uboot.bin.

From the support information I've read the blue power light should come on when the unit is powered up and the green Tuner A light should flash while the update is taking place then stop but this isn't happening, the power light shows blue and shortly after the Tuner A light comes on but is just staying on constant green, the MicroSD card is clicked into place correctly, the box does not respond to trying to access the webpage while the Tuner A light is on like that.

My serial number is T2900S130500054, model number is TBS2900, the barcode is "6 947229 029006" and the present software version is 1.2.

Could someone advise me why it won't update, how long an update should take and what I can do to initiate the update?

Should I be resetting the unit prior to update?

The instructions I'm following :

19.How to update MOI?
To perform a system upgrade, you can either use a micro SD card, or update directly through the WUI (Web User Interface).
1) Use a miscro SD card to update:
• prepare a formatted FAT32 file system micro SD card.
• download the latest firmware from http://www.tbsdtv.com, copy the files from the firmware package to the micro SD card.
• power off MOI, insert the micro SD card to the "Micro SD" slot at the back of the MOI box.
• power on MOI, the upgrade will start automatically and the LED light "Tuner A" at the front stays flashing until the upgrade is complete, then power off MOI disconnecting the mains, take the micro SD card out and reboot MOI to finish the whole procedure.
Last edited by DJSubterrain on Tue Aug 25, 2015 1:30 am, edited 1 time in total.
DJSubterrain
 
Posts: 13
Joined: Sat Sep 14, 2013 5:08 am

Re: MOI box won't update via SDCard

Postby Huntress » Sat Aug 15, 2015 2:15 am

On the download page where you get the firmware is a tutorial.


How to update:

1. from V2.x to V2.0.3
Copy the files in the firmware V2.0.3 folder to your micro SD card, power on MOI to start the update.

2. from V1.x to V2.0.3
1) Connect RS232 serial cable & install software.
Connect one end of the RS232 cable to MOI, the other end to your PC, install the software:
- for Windows users: TTERMPRO
- for Linux users: minicom
2) Update through micro SD card*
Prepare a formatted micro SD card, copy the file "MOI290-fs.bin" into it, insert it into the SD card slot on MOI, power on MOI, "Enter" uboot quickly (within about 3 seconds after MOI is powered on) and input the command lines:
setenv loadmmcfs 'fatload mmc 0:1 40000000 MOI2900_fs.bin'
setenv updatekfs 'nand erase 50c0000;nand write.yaffs 40000000 50c0000 ${filesize}'
save
then input "re", MOI will start to update.

Your software is 1.2, so you have to start with step 2.
Huntress
 
Posts: 6
Joined: Fri Sep 20, 2013 3:09 pm
Location: Germany

Re: MOI box won't update via SDCard

Postby DJSubterrain » Sat Aug 15, 2015 2:29 am

How do I enter command lines? Do I SSH onto the box using the IP address? I don't have any cable with the box, if it's required for updating surely it should have been included with the equipment?

(Thanks for the help btw)

I did previously buy a usb converter cable but it does not have an RS232 connector on the end it just has four separate cables, white, green, red and black.

It's this one :

http://www.amazon.co.uk/dp/B008AGDTA4/r ... TE_3p_dp_1

Would that do the trick? If so, any idea which cable goes where?
DJSubterrain
 
Posts: 13
Joined: Sat Sep 14, 2013 5:08 am

Re: MOI box won't update via SDCard

Postby nwagenaar » Sat Aug 15, 2015 5:05 pm

No, that won't work. You need to use a proper USB to RS232 unit with a 9-pins COM connection and use a RSR232 null-modem cable. There's a 9-pin RSR232 port on the back of the device.

Use a terminal client like Hyper Terminal or Putty (it allows you to directly connect through one of the COM devices) for command input as described earlier.
nwagenaar
 
Posts: 32
Joined: Tue Jul 30, 2013 3:19 am

Re: MOI box won't update via SDCard

Postby DJSubterrain » Wed Aug 19, 2015 5:28 am

You couldn't point me to these on Amazon UK by any chance? Thanks again for the help, very disappointed none of this was included with the unit if it was required to update it.

By the way, my unit doesn't look like this (with the RS232 port) :

Image

It actually looks like this, with a port that is labelled RS232 but which I don't think is RS232 (It only has 4 pins), unfortunately I have no clue what the correct name for that port is:

Image

So I don't think those cables will do for me, I presume they're for the unit with the full RS232 port.
DJSubterrain
 
Posts: 13
Joined: Sat Sep 14, 2013 5:08 am

Re: MOI box won't update via SDCard

Postby DJSubterrain » Wed Aug 19, 2015 6:28 am

OK, Just found this...I presume this is what I need to get?

https://shop.tbsdtv.com/usb-to-uart-adapter-p-112.html

Image

Rather annoying that the label on the rear of the unit quite clearly states RS232 when it should be labelled UART like the image on the BuyDVB website.
DJSubterrain
 
Posts: 13
Joined: Sat Sep 14, 2013 5:08 am

Re: MOI box won't update via SDCard

Postby Huntress » Thu Aug 20, 2015 12:05 am

DJSubterrain Wrote:OK, Just found this...I presume this is what I need to get?

https://shop.tbsdtv.com/usb-to-uart-adapter-p-112.html

Image

Rather annoying that the label on the rear of the unit quite clearly states RS232 when it should be labelled UART like the image on the BuyDVB website.


In the package of your Moi should be RS232 -> 4 Pin Adapter. I have the same MOI, and mine was shipped with adapter.
Huntress
 
Posts: 6
Joined: Fri Sep 20, 2013 3:09 pm
Location: Germany

Re: MOI box won't update via SDCard

Postby DJSubterrain » Thu Aug 20, 2015 2:22 am

Think I'll just buy this usb connector, it's recommended by that website for the Matrix/ MOI+/MOI Pro IPTV Streaming Server, so I presume it should work with ours, won't need to buy 2 cables instead of just one.
DJSubterrain
 
Posts: 13
Joined: Sat Sep 14, 2013 5:08 am

Re: MOI box won't update via SDCard

Postby DJSubterrain » Tue Aug 25, 2015 12:51 am

OK, Received the cable (Very quickly I might add, would recommend you buy the cable above from that supplier, took them 4 days to get it from Hong Kong to Scotland (Actually 3 days for the actual posting via DHL), £14 in total including the postage as I paid for the quickest post available), I've never seen the cable anywhere else also.

I'm on Windows 10, it tried to install the drivers but couldn't find any, so, after a quick Google search, I found these :

http://drivers.softpedia.com/get/Other- ... l#download

After installing the 64bit ones (I'm on Windows 10 Pro 64bit) the device was listed in my device manager as the "CP2109 USB to UART Bridge", then I fired up the TTERM software and set it up.

My port was shown as COM3 on the device manager so, in TTERM, I had to go to Setup menu, then Serial Port, then set it to the following:

Image

I set the new connection to COM3 and it sat waiting..

Once that was done and my MOI was connected using the small cable, I pulled the power cable out of the MOI and waited 10 seconds, then plugged it in, the following showed on the terminal window:


MOI2900 # OK

U-Boot 1.3.4 (Mar 7 2013 - 16:38:41) for MOI2900


CPU: S5PV210@1000MHz(OK)
APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz
MPLL = 667MHz, EPLL = 80MHz
HclkDsys = 166MHz, PclkDsys = 83MHz
HclkPsys = 133MHz, PclkPsys = 66MHz
SCLKA2M = 200MHz
Serial = CLKUART
Board: MOI2900
I2C: i2c1_init GPD1CON
ready
DRAM: 512 MB
Flash: 8 MB
SD/MMC: 1886MB
NAND: 256 MB
*** Warning - using default environment

start normally!
MAC address: **:**:**:**:**:**
In: serial
Out: serial
Err: serial
checking mode for fastboot ...
Hit any key to stop autoboot: 0


The last line has a countdown, just press any key (e.g. SPACE) to stop the countdown.

Then copy and enter the following commands:

Code: Select All Code
setenv loadmmcfs 'fatload mmc 0:1 40000000 MOI2900_fs.bin'
setenv updatekfs 'nand erase 50c0000;nand write.yaffs 40000000 50c0000 ${filesize}'
save


(You can right click in the terminal window to paste the commands, then hit enter to submit them)

Once you've done that you should see the following:

Saving Environment to SMDK bootable device...
Erasing Nand...
Writing to Nand...
Saved enviroment variables


Then enter the following command:

Code: Select All Code
re


Then you should something similar to the following with some counters showing progress of the flash:

reset...

OK

U-Boot 1.3.4 (Mar 7 2013 - 16:38:41) for MOI2900


CPU: S5PV210@1000MHz(OK)
APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz
MPLL = 667MHz, EPLL = 80MHz
HclkDsys = 166MHz, PclkDsys = 83MHz
HclkPsys = 133MHz, PclkPsys = 66MHz
SCLKA2M = 200MHz
Serial = CLKUART
Board: MOI2900
I2C: i2c1_init GPD1CON
ready
DRAM: 512 MB
Flash: 8 MB
SD/MMC: 1886MB
NAND: 256 MB


start normally!
MAC address: **:**:**:**:**:**
In: serial
Out: serial
Err: serial
checking mode for fastboot ...
Hit any key to stop autoboot: 0
Partition1: Start Address(0x800), Size(0x3ae800)
reading MOI2900_k_bk.bin

** Unable to read "MOI2900_k_bk.bin" from mmc 0:1 **
Partition1: Start Address(0x800), Size(0x3ae800)
reading MOI2900_fs_bk.bin

** Unable to read "MOI2900_fs_bk.bin" from mmc 0:1 **
Partition1: Start Address(0x800), Size(0x3ae800)
reading MOI2900_k.bin

3610872 bytes read

NAND erase: device 0 offset 0x48c0000, size 0x400000
Erasing at 0x4ca0000 -- 100% complete.
OK

NAND write: device 0 offset 0x48c0000, size 0x400000
Main area write (32 blocks):
4194304 bytes written: OK
Partition1: Start Address(0x800), Size(0x3ae800)
reading MOI2900_fs.bin
The input address don't need a virtual-to-physical translation : 40000000
The input address don't need a virtual-to-physical translation : 41fffe00
The input address don't need a virtual-to-physical translation : 43fffc00
The input address don't need a virtual-to-physical translation : 45fffa00
The input address don't need a virtual-to-physical translation : 463ca000

104639040 bytes read

NAND erase: device 0 offset 0x50c0000, size 0xaf40000
Skipping bad block at 0x05180000
Skipping bad block at 0x08f20000
Skipping bad block at 0x0b480000
Skipping bad block at 0x0f6e0000
Erasing at 0xffe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x50c0000, size 0x63caa40

Bad block at 0x5180000 in erase block from 0x5180000 will be skipped
Bad block at 0x8f20000 in erase block from 0x8f20000 will be skipped
Writing data at 0xb1c4000 -- 100% complete.
104639040 bytes written: OK

NAND read: device 0 offset 0x48c0000, size 0x400000
Main area read (32 blocks):
4194304 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Welcome to Moi
Moi login: root
Password:


(I've removed the mac code for obvious reasons)

Then I disconnected the small cable (no mean feat...Best to use a mini flat screwdriver to prise the connector off so you don't snap/strip the cables).

Took the MOI Box back up into the loft where I keep it and hooked it all up to the network and satellite cables again and then powered it back up.

Annoyingly the IP address was reset back to default, so had to re-configure my router, connect to the box using the webpage, which now shows the new version number (see below) and re-configured the IP.

Image

Now I presume I'm going to have to set up the TVHeadend again :(

Hopefully this little guide will help out anyone else stuck on a version number previous to version 2.
DJSubterrain
 
Posts: 13
Joined: Sat Sep 14, 2013 5:08 am

Re: MOI box won't update via SDCard [SOLVED]

Postby DJSubterrain » Tue Aug 25, 2015 1:32 am

TVHeadend seems to be much more buggy now :(

Webpage has crashed multiple times while configuring it.

Anyone have a guide on how to update the TVHeadend or is it not worth it?
DJSubterrain
 
Posts: 13
Joined: Sat Sep 14, 2013 5:08 am

Next

Return to Install and setup

Who is online

Users browsing this forum: No registered users and 1 guest

cron