White screen issue

2009-06-15 Thread 龙智
I compile the latest OpenEzx kernel(2.6.30) , and upload it to my E6 via
boot_usb and gen-blob tools(following Getting Started -
OpenEZX
),  sudo ./boot_usb setflag usb
sudo ./boot_usb gen-blob 0
and then,
./boot_usb zImage-  "" 
after a few seconds, the screen turns white, and nothing else happen. It
looks like the kernel might not be boot normally.
What's wrong with it?


-- 


Mitch Hedberg
- "I drank some boiling water because I wanted to whistle."


Re: White screen issue

2009-06-15 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 09:38 +0800, 龙智 escreveu:
> I compile the latest OpenEzx kernel(2.6.30) , and upload it to my E6
> via boot_usb and gen-blob tools(following Getting Started - OpenEZX), 
> sudo ./boot_usb setflag usb
> sudo ./boot_usb gen-blob 0
> and then, 
> ./boot_usb zImage-  " quotes>" 
> after a few seconds, the screen turns white, and nothing else happen.
> It looks like the kernel might not be boot normally.
> What's wrong with it?

What .config file are you using?

Please, assert that you are using the latest openezx.git, that you are
on the ezx/current branch, and that you are using the .config from
arch/arm/configs/ezx_defconfig.

If you still have a white screen under these conditions, boot the
kernel, and cause the white screen.

Remove the battery, and as fast as possible insert the battery again.
Enter gen-blob usb mode and run:
$ boot_usb read 0xa000 31457280 memdump
$ gzip memdump
and send me the memdump.gz file. (please dont send it to the mailing
list)


-- 
Daniel Ribeiro


signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente


Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 21:06 +0800, 龙智 escreveu:
> Hi Daniel,
> I'm on the ezx/current branch, and using the .config file from
> arch/arm/configs/ezx_defconfig.
> I tried to get memdump but failed. When I insert the battery back, the
> phone automatically boot into the stock operating system, so I haven't
> chance to enter gen-blob usb mode(BTW, I suppose I should run boot_usb
> gen-blob 0 to enter gen-blob usb mode, right? I'm a newbie)

You can also flash gen-blob, so you dont need to send it to MBM every
time. But it doesn't matter in this case.

To prevent your phone to auto powering-on when you insert the battery,
simply remove the usb cable before inserting the battery.


-- 
Daniel Ribeiro


signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente


Re: White screen issue

2009-06-16 Thread 龙智
2009/6/16 Daniel Ribeiro 

> Em Ter, 2009-06-16 às 21:06 +0800, 龙智 escreveu:
> > Hi Daniel,
> > I'm on the ezx/current branch, and using the .config file from
> > arch/arm/configs/ezx_defconfig.
> > I tried to get memdump but failed. When I insert the battery back, the
> > phone automatically boot into the stock operating system, so I haven't
> > chance to enter gen-blob usb mode(BTW, I suppose I should run boot_usb
> > gen-blob 0 to enter gen-blob usb mode, right? I'm a newbie)
>
> You can also flash gen-blob, so you dont need to send it to MBM every
> time. But it doesn't matter in this case.

I haven't flash gen-blob yet.
>

>
> To prevent your phone to auto powering-on when you insert the battery,
> simply remove the usb cable before inserting the battery.

I got such messages:

$ sudo ./boot_usb read 0xa000 31457280 memdump
$Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
Serching for EZX phone: Generic Blob found.
Downloading: FAILED: download failed


>
>
>
> --
> Daniel Ribeiro
>


Andy
-- 

W. C. Fields 
- "If I had to live my life over, I'd live over a saloon."


Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 21:34 +0800, 龙智 escreveu:
> 
> 2009/6/16 Daniel Ribeiro 
> Em Ter, 2009-06-16 às 21:06 +0800, 龙智 escreveu:
> > Hi Daniel,
> > I'm on the ezx/current branch, and using the .config file
> from
> > arch/arm/configs/ezx_defconfig.
> > I tried to get memdump but failed. When I insert the battery
> back, the
> > phone automatically boot into the stock operating system, so
> I haven't
> > chance to enter gen-blob usb mode(BTW, I suppose I should
> run boot_usb
> > gen-blob 0 to enter gen-blob usb mode, right? I'm a newbie)
> 
> 
> You can also flash gen-blob, so you dont need to send it to
> MBM every
> time. But it doesn't matter in this case. 
> I haven't flash gen-blob yet.
> 
> 
> To prevent your phone to auto powering-on when you insert the
> battery,
> simply remove the usb cable before inserting the battery.
> I got such messages:
> $ sudo ./boot_usb read 0xa000 31457280 memdump
> $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
> Serching for EZX phone: Generic Blob found.
> Downloading: FAILED: download failed

This should work. I see no reason for it to fail if you can use boot_usb
to upload the kernel. Please, try to figure out what is wrong, its
exactly the same as uploading the kernel to gen-blob.


-- 
Daniel Ribeiro


signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente


Re: White screen issue

2009-06-16 Thread 龙智
Hi Daniel,
I'm on the ezx/current branch, and using the .config file from
arch/arm/configs/ezx_defconfig.
I tried to get memdump but failed. When I insert the battery back, the phone
automatically boot into the stock operating system, so I haven't chance to
enter gen-blob usb mode(BTW, I suppose I should run boot_usb gen-blob 0 to
enter gen-blob usb mode, right? I'm a newbie)



2009/6/16 Daniel Ribeiro 

> Em Ter, 2009-06-16 às 09:38 +0800, 龙智 escreveu:
> > I compile the latest OpenEzx kernel(2.6.30) , and upload it to my E6
> > via boot_usb and gen-blob tools(following Getting Started - OpenEZX),
> > sudo ./boot_usb setflag usb
> > sudo ./boot_usb gen-blob 0
> > and then,
> > ./boot_usb zImage-  " > quotes>" 
> > after a few seconds, the screen turns white, and nothing else happen.
> > It looks like the kernel might not be boot normally.
> > What's wrong with it?
>
> What .config file are you using?
>
> Please, assert that you are using the latest openezx.git, that you are
> on the ezx/current branch, and that you are using the .config from
> arch/arm/configs/ezx_defconfig.
>
> If you still have a white screen under these conditions, boot the
> kernel, and cause the white screen.
>
> Remove the battery, and as fast as possible insert the battery again.
> Enter gen-blob usb mode and run:
> $ boot_usb read 0xa000 31457280 memdump
> $ gzip memdump
> and send me the memdump.gz file. (please dont send it to the mailing
> list)
>
>
> --
> Daniel Ribeiro
>


Andy Long
-- 

Mitch Hedberg
- "I drank some boiling water because I wanted to whistle."


Re: White screen issue

2009-06-16 Thread 龙智
I tried many times, and exactly get the same result. I did that as
following:
1. upload kernel to the phone, cause the white screen
2. remove the battery, and then put it back as soon as possible
3. run boot_usb setflag usb & boot_usb gen-blob 0 to enter gen-blob USB
mode, then LCD display:
OpenEzx blob 090504
USB ready
4. run boot_usb read 0xa000 31457280 memdump, I got:
$Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
Serching for EZX phone: Generic Blob found.
Downloading: FAILED: download failed
 is there anything else I should pay attention?

BTW, when I flash gen-blob to the phone(
http://wiki.openezx.org/Dual_Boot_GEN2) , I also get the same error.


2009/6/16 Daniel Ribeiro 

> Em Ter, 2009-06-16 às 21:34 +0800, 龙智 escreveu:
> >
> > 2009/6/16 Daniel Ribeiro 
> > Em Ter, 2009-06-16 às 21:06 +0800, 龙智 escreveu:
> > > Hi Daniel,
> > > I'm on the ezx/current branch, and using the .config file
> > from
> > > arch/arm/configs/ezx_defconfig.
> > > I tried to get memdump but failed. When I insert the battery
> > back, the
> > > phone automatically boot into the stock operating system, so
> > I haven't
> > > chance to enter gen-blob usb mode(BTW, I suppose I should
> > run boot_usb
> > > gen-blob 0 to enter gen-blob usb mode, right? I'm a newbie)
> >
> >
> > You can also flash gen-blob, so you dont need to send it to
> > MBM every
> > time. But it doesn't matter in this case.
> > I haven't flash gen-blob yet.
> >
> >
> > To prevent your phone to auto powering-on when you insert the
> > battery,
> > simply remove the usb cable before inserting the battery.
> > I got such messages:
> > $ sudo ./boot_usb read 0xa000 31457280 memdump
> > $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
> > Serching for EZX phone: Generic Blob found.
> > Downloading: FAILED: download failed
>
> This should work. I see no reason for it to fail if you can use boot_usb
> to upload the kernel. Please, try to figure out what is wrong, its
> exactly the same as uploading the kernel to gen-blob.
>
>
> --
> Daniel Ribeiro
>


Andy
-- 

Rodney 
Dangerfield
- "What a dog I got, his favorite bone is in my arm."


Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:04 +0800, 龙智 escreveu:
> I tried many times, and exactly get the same result. I did that as
> following:
> 1. upload kernel to the phone, cause the white screen
> 2. remove the battery, and then put it back as soon as possible
> 3. run boot_usb setflag usb & boot_usb gen-blob 0 to enter gen-blob
> USB mode, then LCD display: 
> OpenEzx blob 090504
> USB ready
> 4. run boot_usb read 0xa000 31457280 memdump, I got:
> $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
> Serching for EZX phone: Generic Blob found.
> Downloading: FAILED: download failed
>  is there anything else I should pay attention?

Dont know. It "Just Works(TM)" here. Im using gen-blob on flash, but as
I said, it shouldn't make a difference.

Check your host dmesg to see if you have an usb reenumeration after you
send gen-blob to the phone. If not, then unplug/plug the usb cable to
force the reenumeration.

> BTW, when I flash gen-blob to the
> phone(http://wiki.openezx.org/Dual_Boot_GEN2) , I also get the same
> error.
-- 
Daniel Ribeiro


signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente


Re: White screen issue

2009-06-16 Thread 龙智
Daniel, can you tell me how to check host dmesg? I've never used this.


2009/6/16 Daniel Ribeiro 

> Em Ter, 2009-06-16 às 23:04 +0800, 龙智 escreveu:
> > I tried many times, and exactly get the same result. I did that as
> > following:
> > 1. upload kernel to the phone, cause the white screen
> > 2. remove the battery, and then put it back as soon as possible
> > 3. run boot_usb setflag usb & boot_usb gen-blob 0 to enter gen-blob
> > USB mode, then LCD display:
> > OpenEzx blob 090504
> > USB ready
> > 4. run boot_usb read 0xa000 31457280 memdump, I got:
> > $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
> > Serching for EZX phone: Generic Blob found.
> > Downloading: FAILED: download failed
> >  is there anything else I should pay attention?
>
> Dont know. It "Just Works(TM)" here. Im using gen-blob on flash, but as
> I said, it shouldn't make a difference.
>
> Check your host dmesg to see if you have an usb reenumeration after you
> send gen-blob to the phone. If not, then unplug/plug the usb cable to
> force the reenumeration.
>
> > BTW, when I flash gen-blob to the
> > phone(http://wiki.openezx.org/Dual_Boot_GEN2) , I also get the same
> > error.
> --
> Daniel Ribeiro
>



-- 

Samuel Goldwyn
- "I'm willing to admit that I may not always be right, but I am never
wrong."


Re: White screen issue

2009-06-16 Thread 龙智
Daniel,
When I send gen-blob to the phone, I got a warning:
$ sudo ./boot_usb gen-blob 0
$Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
Serching for EZX phone: E2/A1200/E6/A910 found.
Uploading kernel: 100% OK
Warning, params is not supported on your phone, please consider using
gen-blob
Calling the kernel...
DONE

does it matter?

2009/6/16 Daniel Ribeiro 

> Em Ter, 2009-06-16 às 23:04 +0800, 龙智 escreveu:
> > I tried many times, and exactly get the same result. I did that as
> > following:
> > 1. upload kernel to the phone, cause the white screen
> > 2. remove the battery, and then put it back as soon as possible
> > 3. run boot_usb setflag usb & boot_usb gen-blob 0 to enter gen-blob
> > USB mode, then LCD display:
> > OpenEzx blob 090504
> > USB ready
> > 4. run boot_usb read 0xa000 31457280 memdump, I got:
> > $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
> > Serching for EZX phone: Generic Blob found.
> > Downloading: FAILED: download failed
> >  is there anything else I should pay attention?
>
> Dont know. It "Just Works(TM)" here. Im using gen-blob on flash, but as
> I said, it shouldn't make a difference.
>
> Check your host dmesg to see if you have an usb reenumeration after you
> send gen-blob to the phone. If not, then unplug/plug the usb cable to
> force the reenumeration.
>
> > BTW, when I flash gen-blob to the
> > phone(http://wiki.openezx.org/Dual_Boot_GEN2) , I also get the same
> > error.
> --
> Daniel Ribeiro
>



-- 

Mitch Hedberg
- "I drank some boiling water because I wanted to whistle."


Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:41 +0800, 龙智 escreveu:
> Daniel, 
> When I send gen-blob to the phone, I got a warning:
> $ sudo ./boot_usb gen-blob 0
> $Id: boot_usb.c 2462 2009-04-12 22:55:17Z ao2 $
> Serching for EZX phone: E2/A1200/E6/A910 found.
> Uploading kernel: 100% OK
> Warning, params is not supported on your phone, please consider using
> gen-blob
> Calling the kernel...
> DONE
> 
> does it matter?

No, this is normal.

-- 
Daniel Ribeiro


signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente


Re: White screen issue

2009-06-16 Thread Daniel Ribeiro
Em Ter, 2009-06-16 às 23:38 +0800, 龙智 escreveu:
> Daniel, can you tell me how to check host dmesg? I've never used this.

Just write "dmesg" on your terminal. This will show your host kernel
messages.

-- 
Daniel Ribeiro


signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente


Re: White screen issue

2009-06-17 Thread 龙智
Daniel,
when the phone enters gen-blob USB mode or unplug/plug the USB cable, dmesg
output:
[  884.836686] usb 2-2: USB disconnect, address 4
[ 1118.136555] usb 2-2: new full speed USB device using uhci_hcd and address
5
[ 1118.311724] usb 2-2: configuration #1 chosen from 1 choice
I don't see messages such as:
usb0: register usbnet at usb-:00:10.2-2, pseudo-MDLM (BLAN) device,
8e:36:06:d5:16:9d
it seems usb doesn't work.

Andy Loong

2009/6/16 Daniel Ribeiro 

> Em Ter, 2009-06-16 às 23:38 +0800, 龙智 escreveu:
> > Daniel, can you tell me how to check host dmesg? I've never used this.
>
> Just write "dmesg" on your terminal. This will show your host kernel
> messages.
>
> --
> Daniel Ribeiro
>



-- 

Samuel Goldwyn
- "I'm willing to admit that I may not always be right, but I am never
wrong."


Re: White screen issue

2009-06-17 Thread 龙智
Fred, I didn't cut any part of the demsg log.

2009/6/17 Fred . 

>
>
>
> 2009/6/17 龙智 
>
>> Daniel,
>> when the phone enters gen-blob USB mode or unplug/plug the USB cable,
>> dmesg output:
>> [  884.836686] usb 2-2: USB disconnect, address 4
>> [ 1118.136555] usb 2-2: new full speed USB device using uhci_hcd and
>> address 5
>> [ 1118.311724] usb 2-2: configuration #1 chosen from 1 choice
>
>
> I got this here, when i connect a phone with genblob:
> Are you sure to not cut any part of the dmesg log?
>
> usb 3-2: new full speed USB device using uhci_hcd and address 7
> usb 3-2: configuration #1 chosen from 1 choice
> usb 3-2: New USB device found, idVendor=22b8, idProduct=beef
> usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> usb 3-2: Product: Motorola Ezx Bootloader
> usb 3-2: Manufacturer: Motorola Inc.
>   Did you typed "dmesg" _before_ connecting the phone, to see the
> differences?
>
>>
>> I don't see messages such as:
>> usb0: register usbnet at usb-:00:10.2-2, pseudo-MDLM (BLAN) device,
>> 8e:36:06:d5:16:9d
>> it seems usb doesn't work.
>
>
> This is normal,  genblob is not linux! It will not bring you any network
> over usb interface... :-)
>
>
>> Andy Loong
>>
>> 2009/6/16 Daniel Ribeiro 
>>
>>> Em Ter, 2009-06-16 às 23:38 +0800, 龙智 escreveu:
>>>
>>> > Daniel, can you tell me how to check host dmesg? I've never used this.
>>>
>>> Just write "dmesg" on your terminal. This will show your host kernel
>>> messages.
>>>
>>> --
>>> Daniel Ribeiro
>>>
>>
>>
>>
>> --
>>
>> Samuel 
>> Goldwyn - 
>> "I'm willing to admit that I may not always be right, but I am never
>> wrong."
>>
>
>


-- 

Rodney 
Dangerfield
- "What a dog I got, his favorite bone is in my arm."


Re: White screen issue

2009-06-19 Thread Fred .
Ok, i seem to read on the irc log, that the problem is solved, 龙智 was using
a different toolchain for building gen-blob than the one the developers
recommends, (some angstrom's or the one from OE are known to be good, it is
documented on the wiki) 龙智, can you confirm this?

Also, does your system, (dmesg) now show you the same vendors, id_product,
and so like my log did?
( just curious about it :) )

Thanks.


Re: White screen issue

2009-06-19 Thread 龙智
Hi,
When I use OE to build kernel, the white screen issue is resolved. Now
kernel can boot normally.
Thanks Daniel and Fred.

Andy Loong

2009/6/19 Fred . 

>
> Ok, i seem to read on the irc log, that the problem is solved, 龙智 was using
> a different toolchain for building gen-blob than the one the developers
> recommends, (some angstrom's or the one from OE are known to be good, it is
> documented on the wiki) 龙智, can you confirm this?
>
> Also, does your system, (dmesg) now show you the same vendors, id_product,
> and so like my log did?
> ( just curious about it :) )
>
> Thanks.




-- 

Rodney 
Dangerfield<http://www.brainyquote.com/quotes/authors/r/rodney_dangerfield.html>
- "What a dog I got, his favorite bone is in my arm."