Motorola Development Community

Member Login

Quick Search



Development Hacking, development, scripts etc


Reply
  #11  
Old 03-21-2009
muromec's Avatar
MotoFans MODR
 
Join Date: Oct 2007
Location: Odessa, Ukraine
Posts: 123
Thanks: 0
Thanked 45 Times in 26 Posts
Default

seems something sucks.
Reply With Quote
  #12  
Old 03-21-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Yeah, i requested an updated kernel source tree to moto...
Reply With Quote
  #13  
Old 03-22-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

vmlinux15 , vmlinux1, vmlinux10 , vmlinux12, vmlinux3, won't boot here on my a1200
(with good batteries, no sd card, and unplugged of the computer's usb or charger)
Should i do something else before / after flashing this?

btw, i used "bootusb flash 0xa0000 sdhc-qtopia-kernel-to-flash" instead of flashcp, but added the required 0x800 bytes' offset...and if i go back to a backup i made (bootusb read 0xa0000 0x100000 backup) then it reboot fine.


I have the last "test" fw from 06/03...

Last edited by sabrod; 03-22-2009 at 07:00 PM.
Reply With Quote
  #14  
Old 03-22-2009
muromec's Avatar
MotoFans MODR
 
Join Date: Oct 2007
Location: Odessa, Ukraine
Posts: 123
Thanks: 0
Thanked 45 Times in 26 Posts
Default

this is strange. try simply boot kernel with boot_usb and login via ssh
Reply With Quote
  #15  
Old 03-22-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Sorry, i was googling...
bootusb method: the screen is going crazy (some scrached screen, then some lcd garglings flashes, splitted in 4 horizontals divisions)...
with sdhc15 kernel, should i try ssh ing on this junk ?
Or try another build?

Last edited by sabrod; 03-22-2009 at 07:29 PM.
Reply With Quote
  #16  
Old 03-22-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

i'll try ssh-ing...
(OT) it seems my 2.4 compilations for A910 is auto powering off the phone... I'll review my mtd layout as it seems there is such function on the cfi NOR flash driver.
Reply With Quote
  #17  
Old 03-22-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

ssh works!!! But well, the screen is just "funny"
8Go sandisk SDHC mount and list the files OK!! ... i didn't made more test, because i'm on low batt, and I'm also concerned about the lcd garglings !!! lol
dmesg shows :
Code:
mmc_media_transfert: request past end of partition
end_request: I/O error, dev f3:02 (mmc), sector 0
FAT: unable to read boot sector
jffs2: attempt to mount non-MTD device f3:02
[...]
long list of
Code:
sdhc address fix
I'm from flash mode, so I also have the:
Code:
MUX DLCI:0 Send SABM timeout!
On sdhc 15... wtf ?
f3:02 > is the 2nd part of SD... i have only one part on this 8gig sdhc!


here is a 2nd vmlinux-sdhc15' dmesg with another sd (non sdhc):
http://pastebin.com/m4371456e

Last edited by sabrod; 03-22-2009 at 11:24 PM.
Reply With Quote
  #18  
Old 03-23-2009
muromec's Avatar
MotoFans MODR
 
Join Date: Oct 2007
Location: Odessa, Ukraine
Posts: 123
Thanks: 0
Thanked 45 Times in 26 Posts
Default

>bootusb method: the screen is going crazy

its normal

>here is a 2nd vmlinux-sdhc15' dmesg with another sd (non sdhc):
>T[125]if_cond failed 19 (ERROR_TIMEOUT)

Damm! AGGRH! don`t know what to do with this

>i didn't made more test, because i'm on low batt

you can manually turn charging on with hwtool -c 4 7

so kernel works and you can flash it to mtd. maby you missed something first time

>f3:02 is the 2nd part of SD... i have only one part on this 8gig sdhc!

mmca2 can be somewhere in fstab
Reply With Quote
  #19  
Old 03-23-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Well, hex-editing the file before flashing it shows me the kernel start at 0x800...
I used boot-usb each time with all sdhc kernels i tried...

I'll use the flashcp method next time, but i'm a little confused... Even the backup/rewrite works!

(the good point i see, is that maybe my a910 kernels works !! As i flashed them the same way and they does boot "loop" or stuck to the bootlogo... )

Do you have a gen2 pach to remove the big logo, and see the console at boot-time ?
Reply With Quote
  #20  
Old 03-23-2009
muromec's Avatar
MotoFans MODR
 
Join Date: Oct 2007
Location: Odessa, Ukraine
Posts: 123
Thanks: 0
Thanked 45 Times in 26 Posts
Default

>I'll use the flashcp method next time, but i'm a little confused...

i`m using this to update kernel on phone:

Code:
flash_kernel() {
 dd if=/dev/zero of=/tmp/mtd bs=1048576 count=1 
 dd if=$1 of=/tmp/mtd bs=2048 seek=1 conv=notrunc
 boot_usb flash 655360 /tmp/mtd || return

 rm /tmp/mtd

}

flash_kernel vmlinuz
>Do you have a gen2 pach to remove the big logo, and see the console at boot-time ?

no

Last edited by muromec; 03-23-2009 at 02:00 PM.
Reply With Quote
 
Reply

Tags
sdhc, support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
E6 patch - SDHC and SD support epinter E6 General Chat 28 01-01-2010 04:10 AM
support SDHC for E6/E6E lovegff E6 General Chat 142 09-24-2009 03:11 PM
help...format 8g sdhc card sam_fisher E6 General Chat 1 09-09-2009 05:27 PM
SD or SDHC???wats ur suggestion?? vinayinfo E6 General Chat 10 08-03-2009 11:23 AM
what is Sdhc kernel ? ravisoni7 E6 General Chat 16 07-14-2009 11:37 AM

 
Advertisement

Partner Links





Web Analytics