MeLe A2000: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== | === MeLE A2000 === | ||
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. | |||
[http://www.lundman.net/ftp/mele/ http://www.lundman.net/ftp/mele/] | |||
[https://www.wuala.com/zercosz/Mele%20A2000/Firmware/?key=ThisIsFC2012 https://www.wuala.com/zercosz/Mele%20A2000/Firmware/?key=ThisIsFC2012] | |||
I | 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'''. | ||
[https://www.wuala.com/zercosz/Mele%20A2000/Utilidades%20Mele/?key=ThisIsFC2012 https://www.wuala.com/zercosz/Mele%20A2000/Utilidades%20Mele/?key=ThisIsFC2012] | |||
[http://www.lundman.net/ftp/mele/ http://www.lundman.net/ftp/mele/] | |||
After that, I inserted the SD card into Mele, and rebooted. | |||
The power LED will blink RED + BLUE for a while, then power LED will turn off. | |||
Take out SDcard, and reboot MeLE. It will now boot ICS, but only on HDMI@720p. | |||
can | I can confirm BubbleUPNP + 2160pPlayer will play 1080p MKVs over network. Nice! | ||
=== Google Market/Play === | |||
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. | |||
=== Changing resolution === | |||
Changing resolution can be done by modifying the boot time scripts that the A10 uses. Usually done on a separate boot partition. For example, the Mele image has the files: | |||
mount /dev/mmcblk0p1 /mnt | |||
ls -l /mnt/ | |||
evb.bin | |||
git clone https://github.com/amery/sunxi-tools | |||
cd sunxi-tools | |||
make | |||
./bin2fex /mnt/evb.bin > evb.fex | |||
/ | Edit the file any odd way you want, changing '''screen0_output_type''' and '''screen0_output_mode'''. See modes here: [https://github.com/amery/linux-allwinner/blob/allwinner-v3.0-android-v2/include/linux/drv_display_sun4i.h#L132] | ||
./fex2bin evb.fex > /mnt/evb.bin | |||
If you are running the Android 4 (ICS) Beta that was released, to change the resolution to HDMI 1080p, you can do this. Using either a terminal program on Android (ConnectionBot for example) or the USB Console (if connected). | |||
On the mele root shell | |||
setprop service.adb.tcp.port 5555 | |||
stop adbd | |||
start adbd | |||
netstat -na # Check that it is listening on port 5555 | |||
/ | On remote adb machine | ||
adb connect 192.168.xxx.xxx # Put in the Mele's IP | |||
adb shell | |||
adb> mount -t vfat /dev/block/nanda /mnt/obb | |||
adb> exit | |||
adb push script-HDMI-1080p60.bin /mnt/obb/ | |||
adb shell | |||
adb> cd /mnt/obb | |||
adb> busybox cp script-HDMI-1080p60.bin script.bin | |||
/ | If you don't want to edit the script file yourself, you can download my prepared one: | ||
[http://www.lundman.net/ftp/mele/script-HDMI-1080p60.bin script-HDMI-1080p60.bin] | |||
=== U-boot === | |||
Since I added ZFS to u-boot for CuBox, and also patched in Samsungs EXT4 patches, I built hno's u-boot to test. | |||
/ | https://github.com/lundman/uboot-allwinner/tree/zfs | ||
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. | |||
wget http://lundman.net/ftp/mele/u-boot.bin | |||
dd if=u-boot.bin of=/dev/sdc bs=1024 seek=32 # Obviously, '''sdc''' is my SDcard, change device to applicable. | |||
/ | |||
/ # | 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 | |||
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 07:10, 20 June 2012
MeLE A2000
I purchased a MeLE A2000 from Tom over at 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.
http://www.lundman.net/ftp/mele/ 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.
https://www.wuala.com/zercosz/Mele%20A2000/Utilidades%20Mele/?key=ThisIsFC2012 http://www.lundman.net/ftp/mele/
After that, I inserted the SD card into Mele, and rebooted.
The power LED will blink RED + BLUE for a while, then power LED will turn off.
Take out SDcard, and reboot MeLE. It will now boot ICS, but only on HDMI@720p.
I can confirm BubbleUPNP + 2160pPlayer will play 1080p MKVs over network. Nice!
Google Market/Play
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 allwinner a10 scripts I loaded Google Market/Play to the mele.
Changing resolution
Changing resolution can be done by modifying the boot time scripts that the A10 uses. Usually done on a separate boot partition. For example, the Mele image has the files:
mount /dev/mmcblk0p1 /mnt ls -l /mnt/ evb.bin
git clone https://github.com/amery/sunxi-tools cd sunxi-tools make ./bin2fex /mnt/evb.bin > evb.fex
Edit the file any odd way you want, changing screen0_output_type and screen0_output_mode. See modes here: [1]
./fex2bin evb.fex > /mnt/evb.bin
If you are running the Android 4 (ICS) Beta that was released, to change the resolution to HDMI 1080p, you can do this. Using either a terminal program on Android (ConnectionBot for example) or the USB Console (if connected).
On the mele root shell
setprop service.adb.tcp.port 5555 stop adbd start adbd netstat -na # Check that it is listening on port 5555
On remote adb machine
adb connect 192.168.xxx.xxx # Put in the Mele's IP adb shell adb> mount -t vfat /dev/block/nanda /mnt/obb adb> exit adb push script-HDMI-1080p60.bin /mnt/obb/ adb shell adb> cd /mnt/obb adb> busybox cp script-HDMI-1080p60.bin script.bin
If you don't want to edit the script file yourself, you can download my prepared one: script-HDMI-1080p60.bin
U-boot
Since I added ZFS to u-boot for CuBox, and also patched in Samsungs EXT4 patches, I built hno's u-boot to test.
https://github.com/lundman/uboot-allwinner/tree/zfs
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. wget http://lundman.net/ftp/mele/u-boot.bin dd if=u-boot.bin of=/dev/sdc bs=1024 seek=32 # Obviously, sdc is my SDcard, change device to applicable.
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 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