Showing posts with label WM8650 FAQ. Show all posts
Showing posts with label WM8650 FAQ. Show all posts





















































Patch Download Market4android22  : Download













?       - alias for 'help'
autoscr - run script from memory
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
decompanima - decompress logo image to the dest position.
dhcp    - invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
show    -
echo    - echo args to console
erase   - erase FLASH memory
exit    - exit script
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatstore - store binary file to a dos filesystem
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
ide     - IDE sub-system
iloop   - infinite loop on address range
imd     - i2c memory display
iminfo  - print header information for application image
imls    - list all images found in flash
imm     - i2c memory modify (auto-incrementing)
ims  - set i2c device context from memory
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loop    - infinite loop on address range
memory bit operation :
Format : mbit
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing)
mmcinit - init mmc card
  mmcinit 0 -- init mmc device 0
  mmcinit 1 -- init mmc device 1
mmcread - read data from SD/MMC card
   
   -read data from SD/MMC card block address 'block_num' on 'dev_id'
    to memory address 'addr' size is 'bytes'
mmcwrite - write data to SD/MMC card
   
   -write data to SD/MMC card block address 'block_num' on 'dev_id'
    from memory address 'addr' size is 'bytes'
mtest   - simple RAM test
mw      - memory write (fill)
nandrw  - NAND sub-system
nboot   - boot from NAND device
nfs - boot image via network using NFS protocol
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
poweroff - wmt device power off.
printenv- print environment variables
protect - enable or disable FLASH write protection
randmac - generate a random MAC address and save to "ethaddr" environment variable
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
sdwaitins - wait sd card inserted or removed
sdwaitins 0 -- waiting removed
sdwaitins 1 -- waiting inserted
setenv  - set environment variables
sleep   - delay execution for some time
test    - minimal test like /bin/sh
textout - show text to the screen
textout x y "str" color
color is 24bit Hex, R[23:16], G[15:8], B[7:0]
for example: textout 0 0 \"hello world\" FFFFFF
tftpboot- boot image via network using TFTP protocol
version - print monitor version
WMT #

additional info:

WMT # help nandrw
nandrw
nandrw info  - show available NAND devices
nandrw erase start_block block_numbers - erase blocks skip bad block
nandrw erase all   - erase full blocks except table blocks (last 4 blocks)
nandrw tellme nand - show nand flash info
nandrw tellme bad - show bad blocks from bad block table
nandrw tellme table - show bad block table
nandrw r off addr size - read nand flash from offset 'off' to memory
    address `addr' with skip bad blocks
nandrw w addr off size - write nand flash from memory address 'addr' to nand
    flash offset `off' with skip bad blocks

WMT #











Hi,
I maked a simple editor for wmt_scriptcmd file.
After import the original wmt_scriptcmd file is posible save into another file with .wmt extension.
All files with .wmt extesion are editable and after compilation result a new wmt_scriptcmd file.
This result file is posible to copy directly into your SD card.

link : http://adf.ly/5UtiX    (last update on 13/01/2012)


With save_envbin.zip is posible to save your environment variable from device.
The script will create into the SD card file env.bin.
Open this file with WMTEditor (select env.bin on Open File Dialog).

I added new features:

Now from  your env.bin  is posible to create automatic the wmt_scriptcmd file. At the same time it creates a backup file with  name of your  tablet (ex. : 7inch_std_vt1603.wmt)



This program will help you to identify more easier your tablet !

ATENTION : I tested this program only for 7" tablet!

Greeatings from diabetu and sorry for my english  !
* save_envbin.zip (0.37 kB - downloaded 63 times.)
Hi to all!

This application was created to use for educational purposes with VB 2008 Express.
You can use this application  without any restriction and without any warranty!
Be carefull, use this application at your own risk !




I created a new application to helped to install Uberoid named "UberoidTool" !




link: http://sh.st/vEQpI
News on v1.00 (25-01-2012)
    - In this version settings backup is done directly on the tablet.
    - After installing Uberoid's can make a backup of the file env.bin from sdcard.
    - Env.bin file can be viewed with  wmt_editor http://wondermediatablets.blogspot.in/2012/02/wmtscriptcmd-editor.html!


link: http://sh.st/vEQfI
News on v0.36e:
  - The application is to big because include the Kernel for tablet with power LED Green and Blue.
  - You have now option to select the color of power LED.


link: http://sh.st/vEQki
News on v0.35e :
  - Is posible now to generate the Uberoid firmware from your backup folder .

News on v0.34e :
- solved the error reported by satcomranger! Thanks


Short description:

Copy this application on "changer.bat" (Uberoid kit) folder and run this.

This application will suggest that you have to he made!

Step 1.
 Prepare your SD Card to make a backup of your tablet environment.
 After selection of SD Card you have the option to format or not selected SD.
 On "Prepare" step application copy into SD a generic script.


 Turn off your tablet and insert a SD. Power on the tablet ! Wait to script running!
 After this remove the SD and insert back into pc.

Step 2.
 In this step make a backup of your tablet environment! Please save the backup folder into safety location!
 On "Transfer" the application copy the Uberoid into SD Card with your original tablet settings!



I wait your feedback!

Enjoy!












Use any terminal emulator such a ConnectBot to extract these values:

wmtenv get touchcodec (older ROMs use this)
wmtenv get wmt.model.no
wmtenv get wmt.audio.i2s
wmtenv get wmt.gpt.gsensor
wmtenv get wmt.bus.i2c
wmtenv get wmt.sys.keypad
wmtenv get wmt.display.param
wmtenv get wmt.display.tmr
wmtenv get wmt.display.pwm
wmtenv get wmt.io.mxcgsensor
wmtenv get wmt.io.gsensor
wmtenv get wmt.io.touch
wmtenv get wmt.vt160x.bat
wmtenv get wmt.io.ts.2dcal

If all options of Uberoid fail, you can mod the env_uboot file now yourself with the proper settings! Just be sure to pick the right kernel (else cam/hibernation will fail)

Or try this script out using ScriptManager or Gscript from the market:

ubootnfo.sh:

Code:
#!/bin/sh
echo "wmt.model.no:" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.model.no >>/LocalDisk/ubootnfo.txt;
echo "wmt.audio.i2s" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.audio.i2s >>/LocalDisk/ubootnfo.txt;
echo "wmt.gpt.gsensor" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.gpt.gsensor >>/LocalDisk/ubootnfo.txt;
echo "wmt.bus.i2c" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.bus.i2c >>/LocalDisk/ubootnfo.txt;
echo "wmt.sys.keypad" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.sys.keypad >>/LocalDisk/ubootnfo.txt;
echo "wmt.display.param" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.display.param >>/LocalDisk/ubootnfo.txt;
echo "wmt.display.tmr" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.display.tmr >>/LocalDisk/ubootnfo.txt;
echo "wmt.display.pwm" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.display.pwm >>/LocalDisk/ubootnfo.txt;
echo "wmt.io.mxcgsensor" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.io.mxcgsensor >>/LocalDisk/ubootnfo.txt;
echo "wmt.io.gsensor" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.io.gsensor >>/LocalDisk/ubootnfo.txt;
echo "wmt.io.touch" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.io.touch >>/LocalDisk/ubootnfo.txt;
echo "wmt.vt160x.bat" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.vt160x.bat >>/LocalDisk/ubootnfo.txt;
echo "wmt.io.ts.2dcal" >>/LocalDisk/ubootnfo.txt;
wmtenv get wmt.io.ts.2dcal >>/LocalDisk/ubootnfo.txt;
echo "Touchcodec:" >>/LocalDisk/ubootnfo.txt;
wmtenv get touchcodec >>/LocalDisk/ubootnfo.txt;

NOTE: Not all values will have output! That's OK :)



Also WMT provides a script for this!

envlog.sh:

Code:
#!/bin/sh

# Display all boot settings in 'one-line' style
# for internal debug purpose.
#
# Written by Vincent Chen <vincentchen@wondermedia.com.tw>

for f in `find $1 -name "uboot_env_*" | sort`
do
  printf "\$cat $f\n\n"
  cat $f |tr '\n' '~'|sed 's/\\\~//g'|tr '~' '\n'|\
      sed 's/  //g'|sed '/^$/d'
  echo
done
 
 
 


NOTE: Before installing the ROM on a unknown tablet we recommend using this backup tool by Dia Betu:
UberoidTool: Installing Uberoid was never this easy! [DOWNLOAD]
or read the manual instructions here: Backup settings / env_uboot before flash


1. Extract archive to your local PC in a temporary location
2. Try to identify your tablet model (M009s/M003s/M012s/etc.)
3. Run CHANGER.BAT from your this temporary directory and see what models there are
4. Put in the number of your model and press <enter>
5. CHANGER will ask you to copy to SD, press "Y" <enter>
6. Enter the drive letter of your SD as listed on the SDTOOL that is now on the screen
7. Turn off your tablet
8. Insert SD
9. Turn on your tablet
10. Follow on screen instructions
11. Enjoy a better tablet

or

1. Extract archive to SD CARD (so a directory SD:\FirmwareInstall is present and the 
    file wmt_scriptcmd in the sd root)
2. Try to identify your tablet model (M009s/M003s/M012s/etc.)
3. Run CHANGER.BAT from your SD root and see what models there are
4. Put in the number of your model and press <enter>
5. Turn off your tablet
6. Insert SD
7. Turn on your tablet
8. Follow instruction
9. Enjoy a better tablet