Android Tablets Forum banner
1 - 20 of 30 Posts

·
Registered
Joined
·
239 Posts
Hi,

Since there really wasn't a section to post that into, I thought I'd post here.
Mods feel free to move around if required.

I will just throw everything I know out here, maybe someone else have ideas also.
Please don't post useless comments in this thread, if you don't know what you're reading,
please google it.

I take no responsability whatsoever for whatever you do.

U-boot env variables
bootcmd=
bootdelay=0
baudrate=115200
ethaddr=00:01:02:65:04:75
ipaddr=10.28.6.11
serverip=10.28.6.92
gatewayip=10.28.6.1
netmask=255.255.255.0
hostname=arm_m3
default_env=1
loadaddr=0x82000000
testaddr=0x82400000
usbtty=cdc_acm
console=ttyS0,115200n8
mmcargs=setenv bootargs console=${console} boardname=m1_mid
chipname=8726m
machid=2958
spl_start=0
spl_size=0x80000
boot_start=0x400000
boot_size=0x80000
boot_block_size=0x200000
boot_reserved=0xc00000
logo_batt_low_start=0x4000000
logo_batt_low_size=0x400000
logo_batt_charge_start=0x4800000
logo_batt_charge_size=0x400000
logo_boot_start=0x5000000
logo_boot_size=0x400000
logo_update_start=0x6000000
logo_update_size=0x400000
kernel_start=0x8000000
kernel_size=0x800000
recovery_start=0xa000000
recovery_size=0x1000000
hw_start=0xd000000
hw_size=0x1000000
env_start=0xf000000
env_size=0x80000
boot_mem=83000000
osd1_mem=84100000
spl_name=zt-update/ZT282.spl
boot_name=zt-update/ZT282.boot
kernel_name=zt-update/ZT282.kernel
recovery_name=zt-update/ZT282.recovery
hw_name=zt-update/ZT282.hw
env_name=zt-update/ZT282.env
command_name=zt-update/command
logo_boot_name=zt-update/boot.logo
logo_update_name=zt-update/boot_update.logo
logo_batt_low_name=zt-update/batt_low.logo
logo_batt_charge_name=zt-update/batt_charge.logo
kernel_debug_name=zt-debug/ZT282.kernel
recovery_debug_name=zt-debug/ZT282.recovery
hw_debug_name=zt-debug/ZT282.hw
kernel_raw_debug_name=zt-debug/uImage
recovery_raw_debug_name=zt-debug/uImage_recovery
hw_raw_debug_name=zt-debug/uImage_hw
stdin=serial
stdout=serial
stderr=serial

Environment size: 1555/524284 bytes
gd->env_addr: 0x8b7a6c3c

u-boot process up to command prompt
wait pll02 target is 0320 now it is 0x00000320
wait pll04 target is 0300 now it is 0x00000300

þ0x000000c0
00=0x00000000
01=0x00000000
02=0x0000031f
03=0x00000180
04=0x00000300
05=0x00000000
06=0x00000000
07=0x000000c0
08=0x00000000
09=0x00000000
0a=0x00000000
0b=0x00000000
0c=0x00000000
0d=0x00000000
0e=0x00000000
0f=0x00000000
10=0x00000000
11=0x00000000
12=0x00000000
13=0x00000000
14=0x00000018
15=0x00000000
16=0x00000000
17=0x00000000
18=0x00000000
19=0x00000000
1a=0x00000000
1b=0x00000000
1c=0x00000000
1d=0x00000000
1e=0x0000017f
1f=0x0000031f
20=0x00000000
21=0x00000000
22=0x00000000
23=0x00000000
24=0x00000000
25=0x00000000
26=0x00000000
27=0x00000000
28=0x00000000
29=0x00000000
2a=0x000x00029d76

wait pll03 target is 01f4 now it is 0x000001f3
wait pll1e target is 01f4 now it is 0x000001f4

ddr3 : 000001f4 MHz
Aug 9 201212:25:44
lane00 Success06
lane01 Success06
lane02 Success06
lane03 Success06
Training result:
RSLR0=00000249
RDGR0=000000aa
DLLCR0=00000000
DLLCR1=00000000
DLLCR2=00000000
DLLCR3=00000000
DQTR0=ffffffff
DQTR1=ffffffff
DQTR2=ffffffff
DQTR3=ffffffff
DQSTR=000006db
DQSNTR=000006db

Stage 00 Result 00000000
Stage 01 Result 00000000
Stage 02 Result 00000000
Stage 03 Result 000000000x00000000
0x000000c0
Systemp Started
ext=0x00630008
pages_in_block=0x00000080
0x12345678
ucl decompress
decompress finished
ready

U-Boot 2010.06([email protected]) (Aug 09 2012 - 12:25:28) ZT282 H3-1a

aml_i2c_init 8f89a820 8f89c608
aml_rtc_init
DRAM: 1 GiB
unknow ddr type
NAND: Amlogic nand flash uboot driver for M3, Version 1.1 (c) 2010 Amlogic Inc.
No NAND device found!!!
NAND device id: ec d7 94 7a 54 43
NAND device: Manufacturer ID: 0xec, Chip ID: 0xec (Samsung 2 Generation NAND 4GiB K9GBG08U0A)
m3_nand_adjust_timing: start 6 end 7 bus 5
select ecc mode NAND_BCH24_1K_MODE(42 + 2),highest NAND_BCH40_1K_MODE(70 + 2),oob 640(each
)
chip: page 8192 block 1048576 size 4353687552
oob: size 640
mtd: page 8192 block 1048576 size 4353687552 ce 1 internal chip 1 plane 1
oobsize 640 eccbytes 336 oobfree(len 16 off 0) oobavail 16
nandboot initialized ok
No NAND device found!!!
NAND device id: ec d7 94 7a 54 43
NAND device: Manufacturer ID: 0xec, Chip ID: 0xec (Samsung 2 Generation NAND 4GiB K9GBG08U0A)
2 NAND chips detected
m3_nand_adjust_timing: start 6 end 7 bus 5
select ecc mode NAND_BCH24_1K_MODE(42 + 2),highest NAND_BCH40_1K_MODE(70 + 2),oob 640(each
)
chip: page 8192 block 1048576 size 4353687552
oob: size 640
mtd: page 32768 block 4194304 size 8707375104 ce 2 internal chip 1 plane 2
oobsize 2560 eccbytes 1344 oobfree(len 64 off 0) oobavail 64
nandmulti initialized ok
MMC: SDIO Port B: 1
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial
KGDB: ready
Net: No ethernet found.
Lcd: LCD screen clear!
LCD: 1024x600 24bbp
Dcache status 1
Icache status 1
Hit any key to stop autoboot: 0
reg 0xffffffff 0xfffffff3 0x0 0x0

available u-boot commands
(limited list, didn't go through all the sub-commands yet ie. nand, ubifs, etc)
Hit any key to stop autoboot: 0
reg 0xffffffff 0xfffffff3 0x0 0x0
8726M_ref # <INTERRUPT>
8726M_ref # help
? - alias for 'help'
EFUSE - EFUSE licence/mac/hdcp/usid read/write commands
arc - start ARC application at address 'addr'
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
bmp - manipulate BMP image data
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
chpart - change active partition
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
defenv - default environment
dhcp - boot image via network using DHCP/TFTP protocol
drawstr - Display text on the screen
echo - echo args to console
editenv - edit environment variable
efuse - efuse licence/mac/hdcp/usid read/write commands
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
false - do nothing, unsuccessfully
fastboot- please run cmd: fastboot
fatexist- find the file from a dos filesystem
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
gadgetstart- please run cmd: gadget start
go - start application at address 'addr'
help - print command description/usage
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
kgdb - enter gdb remote debug mode
lcd - manipulate LCD function
loadb - load binary file over serial line (kermit mode)
loadenv - load environment at address 'addr'
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - mmcinfo <dev num>-- display MMC info
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mw - memory write (fill)
nand - 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
power - Perform POWER control cpu
printenv- print environment variables
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
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
test - minimal test like /bin/sh
testpd - test power down mode, ARC application at address 'addr'
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
ubi - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
ydump - YAFFS device struct
yls - yaffs ls
ymkdir - YAFFS mkdir
ymount - mount yaffs
ymv - YAFFS mv
yrd - read file from yaffs
yrdm - read file to memory from yaffs
yrm - YAFFS rm
yrmdir - YAFFS rmdir
yumount - unmount yaffs
ywr - write file to yaffs
ywrm - write file from memory to yaffs

My favorite command is "true" ...


Work time, Will update the thread as I find out more tonight/later

Thanks

DW
 

·
Registered
Joined
·
228 Posts
I do not completely understand your logs, though I do know that uboot has the task of booting up the tablet. The ecc part where you added the smilie is another stupid choice of the developers I think?
Can we change the uboot parameters withouth source? I extracted all the files from .recovery and .kernel, but I did not manage to extract the information necessary to compile cwm recovery for this tablet as I found no info on how to compile it for initramfs based devices. Do you have any clue?
 

·
Registered
Joined
·
239 Posts
As far as I know, its the "lack" of fastboot that kills us.

I know some people had success on the ZT280 (IIRC) on xda, but thats all I know. Or was it another amlogic tablet ..

I'm currently exploring options, but my knowledge is quite limited, though I learned a lot.

As per changing the boot options without the source, the only way to test it would be to try.
My latest thoughts were either do that in u-boot prompt (change envvar), or create a custom autoscript that does it.
But I am unsure about how to do the header on the script though, I would be incline to think I can't just change text after...

Pretty much where I am now, as I just got home.

Currently trying to decide how big my balls are, if you get what I mean


Glad to see I'm no the only one looking around


DW

EDIT: doesn't work so I scratched it
 

·
Registered
Joined
·
228 Posts
I think unless we get the source from Zenithink, there is not really much we can do. Im quite sad, that they do not respond to my mail.
Would have suprised me, if there was any reply at all. So, never buy anythink zenithink anymore.
 

·
Registered
Joined
·
239 Posts
Discussion Starter · #5 ·
Yeah, been there for a while (not buying Zenithink EVER again) but since I'm stuck with the thing anyway, might as way play with it.

there is a ZT282.env that can be flashed with the rom, containing the u-boot environnement variables, but I am still unsure on how to create it.

maybe using an autoscript would work, once again, headers...

Will see if I somehow get a brilliant idea...

DW
 

·
Registered
Joined
·
228 Posts
where is this env file found?
I saw that you can create custom uboot images... somebody booted ubuntu 10.04
Wont be any use in improving android though without source.
 

·
Registered
Joined
·
213 Posts
I realise it's hard going guys, but you could make some money. There's a lot of us with these pads that want custom roms. I personally don,t want an ipad, I tried it and it sucks. You can't do anything. Even jailbroken it sucks. I want to flash different roms and stuff and would be willing to pay(as would others) for the right tools.
 

·
Registered
Joined
·
228 Posts
We are trying
But without the kernel source from zenithink there is like nothing we can do, additionally it seems that nobody who excels at all things android/coding is here.
There is not much more to do than putting in some lame build.prop tweaks and modding applications with apktool or removing and adding them from the rom, sadly. Even if we could boot another environment, what use would it be without drivers?
 

·
Registered
Joined
·
239 Posts
Discussion Starter · #9 ·
What he said.

Also, just to screw with you guys, IIRC flash 11 works on other manufacturers tabs. M3 ones I mean.

Why do you think my tablet is so god damn messed up ....


I wish I hadn't though, since flash is hopeless, and now my GPS wont work anymore.

F..k this thing, over and over and over (repeat indefinitely).

DW
 

·
Registered
Joined
·
228 Posts
The Upgrade ones have Gps inside?
Do they have a real magnetometer to? not like the original C91 fantasizing about it, in its copypasted config
 

·
Registered
Joined
·
228 Posts
Wow, sorry, I skipped the sentence with the serial usb somehow

Then of course this is strange. Did you verify the modules are loaded? (Sorry if you already made that sure)
 

·
Registered
Joined
·
22 Posts
I do not completely understand your logs, though I do know that uboot has the task of booting up the tablet. The ecc part where you added the smilie is another stupid choice of the developers I think?
Can we change the uboot parameters withouth source? I extracted all the files from .recovery and .kernel, but I did not manage to extract the information necessary to compile cwm recovery for this tablet as I found no info on how to compile it for initramfs based devices. Do you have any clue?
I take it that ours is an initramfs device? Being so, this guide would not work.

I have found a completely unrelated device tree here on Github, but it may contain what you are looking for. (source found in this thread on XDA)

On second thought, I also found something built from samsung kernel sources + teamhacksung initramfs template found here that may help....

Overall (and I am sure you have seen this) I found this thread here on SlateDroid very interesting!

**Edit** Oh, and whilst I am throwing links at you, I just found this one that I think applies to the above.
 
1 - 20 of 30 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top