MeLe A2000: Difference between revisions

From Lundman Wiki
No edit summary
No edit summary
Line 1: Line 1:
=== MeLE A2000 ===
== Help needed ==


I purchased a MeLE A2000 from Tom over at [http://www.aliexpress.com/product-fm/546571245-Mele-A2000-TV-box-Allwinner-A10-hackable-device-wholesalers.html aliexpress], and been playing around with it as well. First I wanted to install ICS4, to do that I downloaded the '''android_4.0.img''' file from the 'net. Alas, there is a large volume of confusing information on what to do with this.
Hi,


[http://www.lundman.net/ftp/mele/ http://www.lundman.net/ftp/mele/]
I don't know where I can add a discussion but I was wondering if someone can help me,
[https://www.wuala.com/zercosz/Mele%20A2000/Firmware/?key=ThisIsFC2012 https://www.wuala.com/zercosz/Mele%20A2000/Firmware/?key=ThisIsFC2012]


For the MeLE A2000, I also downloaded '''PhoenixCardV303(win7)''' and installed that in my VirtualBox Win7 system, forwarded the OSX USB drive and told it to install '''android_4.0.img'''.
I have An IOBOX and I tried to install an internal HDD 1.5T. The operation failed and IOBOX said that NMT doesn't support this HDD yet.  


[https://www.wuala.com/zercosz/Mele%20A2000/Utilidades%20Mele/?key=ThisIsFC2012 https://www.wuala.com/zercosz/Mele%20A2000/Utilidades%20Mele/?key=ThisIsFC2012]
Although the format failed, I successfully connected with telnet, formatted the partitions, unzipped the NMT software to the correct partition. I also managed to load the init_nmt script and restart gaya and now the NMT works.
[http://www.lundman.net/ftp/mele/ http://www.lundman.net/ftp/mele/]


After that, I inserted the SD card into Mele, and rebooted.
The problem is that NMT doesn't start if I restart the IOBOX.


The power LED will blink RED + BLUE for a while, then power LED will turn off.
I think that the issue is related to the fact that my /dev/hda1 is mounted to /HARD_DISK_A1 and /dev/hda3 is mounted to /HARD_DISK_A3 although the correct mount is /nmt and /HARD_DISK and something with the /share.


Take out SDcard, and reboot MeLE. It will now boot ICS, but only on HDMI@720p.
I thought of changing the init scripts but I failed to do so (since the scripts are not saved).  


I can confirm BubbleUPNP + 2160pPlayer will play 1080p MKVs over network. Nice!
can you help?


thanks,
Gil


=== Google Market/Play ===
<blockquote>Hello Gil,


I installed one of the Terminal programs, and told adb to use TCP (haven't bothered to open my mele yet). Using adb and the instructions found [http://www.slatedroid.com/topic/30855-scripts-allwinner-a10-tablets-google-play-script/ allwinner a10 scripts] I loaded Google Market/Play to the mele.
If the partition setup is correct for the NMT, the disk volume name is HARD_DISK. So if you get HARD_DISK_A1, _A3 etc, it will fail. Should this occur, the typical resolve (at least for common users) would be to make clean re-install of the disk. And make sure your box is on recent firmware. You could google or search the forum for your HDD (brand/model) to see if there is more info there.<br><br>


=== Changing resolution ===
/share is a link to /opt/sybhttpd/localhost.drives/HARD_DRIVE/
<br><br>
I think you'll get better response on the NMT forums.<br>
Cheers --[[User:Dc11ab|dc11ab]] 19:37, 15 January 2009 (JST)
</blockquote>


No idea yet.
== INIT_NMT START ==


Dear.


=== U-boot ===
I would really like to install apps on my external usb HDD,
but I allways get this message after I type:


Since I added ZFS to u-boot for CuBox, and also patched in Samsungs EXT4 patches, I built hno's u-boot to test.
/etc/init_nmt start


https://github.com/lundman/uboot-allwinner/tree/zfs
Result is:


  wget http://lundman.net/ftp/mele/sunxi-spl.bin
 
  dd if=sunxi-spl.bin of=/dev/sdc bs=1024 seek=8        # Obviously, '''sdc''' is my SDcard, change device to applicable.
/ # ls
 
USB_DRIVE_A-1  dev            lib            opt            sys            var
USB_DRIVE_A-2 etc            linuxrc        proc          tmp
USB_DRIVE_A-3  home          mnt            root          upnp
bin            init          modules        sbin          usr
 
/ # cd /opt/sybhttpd/localhost.drives/
 
/opt/sybhttpd/localhost.drives # ls
 
HARD_DISK      NETWORK_SHARE  USB_DRIVE_A-1  USB_DRIVE_A-2  USB_DRIVE_A-3
 
/opt/sybhttpd/localhost.drives # cd /
 
/ # /etc/init_nmt start
 
SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK
sh: 3: unknown operand
mkdir: cannot create directory '/share/Video': No such file or directory
chmod: /share/Video: No such file or directory
mkdir: cannot create directory '/share/Music': No such file or directory
chmod: /share/Music: No such file or directory
mkdir: cannot create directory '/share/Photo': No such file or directory
chmod: /share/Photo: No such file or directory
/etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc.conf: nonexistent directory
 
/ #
 
What could be wrong?
 
Thank you very much
With regards
 
Data3
 
:: Hello Data3
:: What NMT model do you have (A110 etc)? What firmware revision?
:: From the looks of the output it may need an additional symlink for /share somewhere along:
  # ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share
:: /[[User:Dc11ab|dc11ab]]
 
 
'''NMT & FIRMWARE'''
 
Thank you very much on your quick response and srry on my
broken english if I go wrong somewhere...
 
NMT: Popcorn A-110
 
FW: 01-17-100317-15-POP-403
 
My knowledge of Linux is less then zero and I see that I am not the
only one with this kind of problem.
 
I`ll try to add this line
when i arrive home and I`ll tell you what happend.
 
Thank you again!
 
 
 
'''ADDITIONAL SYMLINK FOR /SHARE'''
 
Now i got home and tried again..
Here`s the result:
BusyBox v1.5.0 (2010-03-12 14:25:37 MYT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # mkdir /mnt/temp
/ # mount /dev/sda1 /mnt/temp
/ # ln -s /mnt/temp/syb8634/ /mnt/
/ # mkdir /opt/sybhttpd/localhost.drives/HARD_DISK
/ # '''ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share'''
/ # mount /dev/sda1 /opt/sybhttpd/localhost.drives/HARD_DISK
/ # /etc/init_nmt start
   
   
  wget http://lundman.net/ftp/mele/u-boot.bin
  SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK
dd if=u-boot.bin of=/dev/sdc bs=1024 seek=32          # Obviously, '''sdc''' is my SDcard, change device to applicable.
sh: 4: unknown operand
/etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc.
conf: Too many levels of symbolic links
/
 
:: That could mean we have a link that links back to the original link.
:: I've not used this hack myself so I can't get you any further. If you are lucky lundman may spot this discussion and have a better idea of what to do, otherwise I suggest you bring this issue forth on the networkedmediatank.com forums where more people could have a look at it. / ~~
 
== Errors ==
 
I followed the installation and get to this point:
 
Starting FTP Server...ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_pc.jpg: File exists
ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_tv.jpg: File exists
ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_pc.jpg: File exists
ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_tv.jpg: File exists
ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_pc.jpg: File exists
ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_tv.jpg: File exists
ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_pc.jpg: File exists
ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_tv.jpg: File exists
rm: cannot remove 'httpd.pid': No such file or directory
Start HTTP Server : [FAILED]
Updating samba workgroup...
Updating samba password...Starting samba/mnt/syb8634/server
 
--------------> After a while I get following message:
 
Stop MS UPnP    : [FAILED]
Stop mDNSrespd  : [FAILED]
Stop synMusic    : [  OK  ]
Stop HTTP Server : [  OK  ]
SMP8634 Media Server Server Stopped...
/mnt/syb8634/bin
Start HTTP Server : [FAILED]
 
 
I can connect via FTP but no installation with CSI is possible.
 
 
 
Other problem: after reboot everything is gone and I have to start from scratch.
 
== Errors ==
 
I followed the installation and get to this point:
 
# Starting FTP Server...ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_pc.jpg: File exists
# ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_tv.jpg: File exists
# ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_pc.jpg: File exists
# ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_tv.jpg: File exists
# ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_pc.jpg: File exists
# ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_tv.jpg: File exists
# ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_pc.jpg: File exists
# ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_tv.jpg: File exists
# rm: cannot remove 'httpd.pid': No such file or directory
# Start HTTP Server : [FAILED]
# Updating samba workgroup...
# Updating samba password...Starting samba/mnt/syb8634/server
 
--------------> After a while I get following message:
 
#  Stop MS UPnP    : [FAILED]
# Stop mDNSrespd  : [FAILED]
# Stop synMusic    : [  OK  ]
# Stop HTTP Server : [  OK  ]
# SMP8634 Media Server Server Stopped...
# /mnt/syb8634/bin
# Start HTTP Server : [FAILED]
 
 
I can connect via FTP but no installation with CSI is possible.  
 


U-Boot 2012.04.01-g39085db-dirty (May 29 2012 - 02:29:31) Allwinner Technology
CPU:  SUNXI Family
Board: A10-EVB
DRAM:  512 MiB
MMC:  SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
sun4i#zfsload
zfsload - load binary file from a ZFS filesystem


sun4i#zfsload mmc 0:2 0x48000000 /boot/@/uImage
Other problem: after reboot everything is gone and I have to start from scratch.
Loading file "/boot/@/uImage" from mmc device 0:2 xxa2
zfs fsname = '/boot/' snapname='<NULL>' filename = '/uImage'
4230340 bytes read
sun4i#bootm 0x48000000
## Booting kernel from Legacy Image at 48000000 ...
  Image Name:  Linux-3.0.8+
  Image Type:  ARM Linux Kernel Image (uncompressed)
  Data Size:    4230276 Bytes = 4 MiB
  Load Address: 40008000
  Entry Point:  40008000
  Verifying Checksum ... OK
  Loading Kernel Image ... OK
OK
Starting kernel ...
DRAM: 512[    0.000000] Initializing cgroup subsys cpuset

Revision as of 02:14, 18 June 2012

Help needed

Hi,

I don't know where I can add a discussion but I was wondering if someone can help me,

I have An IOBOX and I tried to install an internal HDD 1.5T. The operation failed and IOBOX said that NMT doesn't support this HDD yet.

Although the format failed, I successfully connected with telnet, formatted the partitions, unzipped the NMT software to the correct partition. I also managed to load the init_nmt script and restart gaya and now the NMT works.

The problem is that NMT doesn't start if I restart the IOBOX.

I think that the issue is related to the fact that my /dev/hda1 is mounted to /HARD_DISK_A1 and /dev/hda3 is mounted to /HARD_DISK_A3 although the correct mount is /nmt and /HARD_DISK and something with the /share.

I thought of changing the init scripts but I failed to do so (since the scripts are not saved).

can you help?

thanks, Gil

Hello Gil,

If the partition setup is correct for the NMT, the disk volume name is HARD_DISK. So if you get HARD_DISK_A1, _A3 etc, it will fail. Should this occur, the typical resolve (at least for common users) would be to make clean re-install of the disk. And make sure your box is on recent firmware. You could google or search the forum for your HDD (brand/model) to see if there is more info there.

/share is a link to /opt/sybhttpd/localhost.drives/HARD_DRIVE/

I think you'll get better response on the NMT forums.
Cheers --dc11ab 19:37, 15 January 2009 (JST)

INIT_NMT START

Dear.

I would really like to install apps on my external usb HDD, but I allways get this message after I type:

/etc/init_nmt start

Result is:


/ # ls

USB_DRIVE_A-1 dev lib opt sys var USB_DRIVE_A-2 etc linuxrc proc tmp USB_DRIVE_A-3 home mnt root upnp bin init modules sbin usr

/ # cd /opt/sybhttpd/localhost.drives/

/opt/sybhttpd/localhost.drives # ls

HARD_DISK NETWORK_SHARE USB_DRIVE_A-1 USB_DRIVE_A-2 USB_DRIVE_A-3

/opt/sybhttpd/localhost.drives # cd /

/ # /etc/init_nmt start

SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK sh: 3: unknown operand mkdir: cannot create directory '/share/Video': No such file or directory chmod: /share/Video: No such file or directory mkdir: cannot create directory '/share/Music': No such file or directory chmod: /share/Music: No such file or directory mkdir: cannot create directory '/share/Photo': No such file or directory chmod: /share/Photo: No such file or directory /etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc.conf: nonexistent directory

/ #

What could be wrong?

Thank you very much With regards

Data3

Hello Data3
What NMT model do you have (A110 etc)? What firmware revision?
From the looks of the output it may need an additional symlink for /share somewhere along:
# ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share
/dc11ab


NMT & FIRMWARE

Thank you very much on your quick response and srry on my broken english if I go wrong somewhere...

NMT: Popcorn A-110

FW: 01-17-100317-15-POP-403

My knowledge of Linux is less then zero and I see that I am not the only one with this kind of problem.

I`ll try to add this line when i arrive home and I`ll tell you what happend.

Thank you again!


ADDITIONAL SYMLINK FOR /SHARE

Now i got home and tried again.. Here`s the result:

BusyBox v1.5.0 (2010-03-12 14:25:37 MYT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # mkdir /mnt/temp
/ # mount /dev/sda1 /mnt/temp
/ # ln -s /mnt/temp/syb8634/ /mnt/
/ # mkdir /opt/sybhttpd/localhost.drives/HARD_DISK
/ # ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share
/ # mount /dev/sda1 /opt/sybhttpd/localhost.drives/HARD_DISK
/ # /etc/init_nmt start

SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK
sh: 4: unknown operand
/etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc. 
conf: Too many levels of symbolic links
/
That could mean we have a link that links back to the original link.
I've not used this hack myself so I can't get you any further. If you are lucky lundman may spot this discussion and have a better idea of what to do, otherwise I suggest you bring this issue forth on the networkedmediatank.com forums where more people could have a look at it. / ~~

Errors

I followed the installation and get to this point:

Starting FTP Server...ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_pc.jpg: File exists ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_tv.jpg: File exists ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_pc.jpg: File exists ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_tv.jpg: File exists ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_pc.jpg: File exists ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_tv.jpg: File exists ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_pc.jpg: File exists ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_tv.jpg: File exists rm: cannot remove 'httpd.pid': No such file or directory Start HTTP Server : [FAILED] Updating samba workgroup... Updating samba password...Starting samba/mnt/syb8634/server


> After a while I get following message:

Stop MS UPnP     : [FAILED]

Stop mDNSrespd  : [FAILED] Stop synMusic  : [ OK ] Stop HTTP Server : [ OK ] SMP8634 Media Server Server Stopped... /mnt/syb8634/bin Start HTTP Server : [FAILED]


I can connect via FTP but no installation with CSI is possible.


Other problem: after reboot everything is gone and I have to start from scratch.

Errors

I followed the installation and get to this point:

  1. Starting FTP Server...ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_pc.jpg: File exists
  2. ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/player/bg_tv.jpg: File exists
  3. ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_pc.jpg: File exists
  4. ln: /mnt/syb8634/web/sys/nmt_8634/TVHD/setting/bg_tv.jpg: File exists
  5. ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_pc.jpg: File exists
  6. ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/player/bg_tv.jpg: File exists
  7. ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_pc.jpg: File exists
  8. ln: /mnt/syb8634/web/sys/nmt_8634/TVSD/setting/bg_tv.jpg: File exists
  9. rm: cannot remove 'httpd.pid': No such file or directory
  10. Start HTTP Server : [FAILED]
  11. Updating samba workgroup...
  12. Updating samba password...Starting samba/mnt/syb8634/server

> After a while I get following message:

  1. Stop MS UPnP  : [FAILED]
  2. Stop mDNSrespd  : [FAILED]
  3. Stop synMusic  : [ OK ]
  4. Stop HTTP Server : [ OK ]
  5. SMP8634 Media Server Server Stopped...
  6. /mnt/syb8634/bin
  7. Start HTTP Server : [FAILED]


I can connect via FTP but no installation with CSI is possible.


Other problem: after reboot everything is gone and I have to start from scratch.