please help me

Bootloader development related

please help me

Postby cx_star » Wed Mar 30, 2011 3:07 pm

i boot from tf and load the kernel to ram successful,but next nothing happen ....why?

there is some debug messages, it show the kernel in the ram is right.
Code: Select all
Kernel recognised
the date from 50008000
                e1a00000 | e1a00000 | e1a00000 | e1a00000
00000003: e1a00000 | e1a00000 | e1a00000 | e1a00000
00000007: ea000002 | 016f2818 | 00000000 | 001d62a8
0000000b: e1a07001 | e1a08002 | e10f2000 | e3120003
0000000f: 1a000001 | e3a00017 | ef123456 | e10f2000
00000013: e38220c0 | e121f002 | 00000000 | 00000000
00000017: e28f00d0 | e890307e | e0500001 | 0a00000a
0000001b: e0855000 | e0866000 | e08cc000 | e0822000
0000001f: e0833000 | e08dd000 | e5961000 | e0811000
00000023: e4861004 | e156000c | 3afffffa | e3a00000
00000027: e4820004 | e4820004 | e4820004 | e4820004
0000002b: e1520003 | 3afffff9 | eb000028 | e1a0100d
0000002f: e28d2801 | e1540002 | 2a000016 | e04d3005
00000033: e0840103 | e1500005 | 9a000012 | e1a05002
00000037: e1a00005 | e1a03007 | eb000bdd | e28000ff
0000003b: e3c0007f | e0851000 | e28f2e26 | e59f3054

                abd6b6b8 | 95b7ea24 | 5ea2fdda | 4f2a0348
0007586b: 3e6ba6fc | 97bf4a78 | 3aeaf22e | c0bc15a5
0007586f: 32d35e73 | 2d432e19 | f8d31e78 | ee9b8a90
00075873: c03ddfcc | e3d7a9ec | fd3f55db | c2070a1a
00075877: 97a2fdda | 2ff9409a | 7ce7cfea | 62b15c1a
0007587b: f0323ac6 | 5f0a9792 | a98b4ef6 | 25f27c86
0007587f: ec618cef | 46fabc81 | ace6885f | ce6e736c
00075883: 3739b9cd | 9cdce6e7 | 937373fb | eae3131b
00075887: fa07ff30 | 4090a720 | 00003af2 | 001d62b4
0007588b: 001de2dc | 00003200 | 001d622b | 001de2ec
0007588f: 001de2e0 | 00003180 | 001de2b8 | 001de2c0
00075893: 0000344d | 00003134 | 001d62ac | 00003278
00075897: 001de6ec | 001de2d8 | 001de2e8 | 0000323c
0007589b: 001de2c8 | 001de2e4 | 000031c0 | 001de2cc
0007589f: 001de2d4 | 001de2c4 | 001d62a8 | 001d62b8
000758a3: 001d62b0 | 001de2bc | 001de2d0 | 00000000
000758a7:
Kernel commandline: loglevel=7 rootdelay=1 init=/init root=/dev/mmcblk0p1 rw s3c-ts.xmin=1090 s3c-ts.xmax=2850 s3c-ts.ymin=1090 s3c-ts.ymax=3040
Starting kernel --->
cx_star
Junior member
Junior member
 
Posts: 42
Joined: Mon Dec 27, 2010 9:56 am

Advertisement

Re: please help me

Postby MadRocker » Wed Mar 30, 2011 8:15 pm

Good to hear you are getting this far.
2 things you would need to do to make this work.
Kernel cmd line and JetQI points to kernel location, both needs to change to TF space root=/dev/??????? name.

JetQi would need to find the place where the kernel is root=/dev/mmcblk0p1 change this to other options ie: tf card naming root=/dev/mmcblk1p0 or root=/dev/mmcblk1p1 or other root=/dev/?????0p1 where the TF might be.

You should be able to see it if you use samsung touchwiz and usb mass storage or pcs studio mode and connect to a linux virtualbox or linux pc should show what and where the TF is and mounted then use this naming to change the root=/dev/mmcblk0p1 to the correct TF name then it should work.

Once you have the correct place or a possible root=/dev/????????0p1 that might be correct, recompile the kernel cmd line options and change root=/dev/mmcblk0p1 to correct name.

Also change the JetQI to point to TF flash when looking for the kernel

This after re-compile should be able to boot and then hand over to rest of the JetDroid files.

PS> with normal JetDroid you should be able to partition the 1.35gb space of 2gb phone inbuilt space into a fat32 and use it. I had mine like this for a few weeks, sry forgot the complete method to do this.
It takes about 2 hours to get this correct the first time in both windows and linux working with this space.

Hope this helps.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: please help me

Postby cx_star » Thu Mar 31, 2011 12:57 am

thank MadRocker!
my phone had dead and can't use the samsung 'OS. so i have no way to find the correct TF name.
but i think my bootloader can find the kernel and load it to ram, and if the kernel is run, it will name mmcblk0p1 for the TF.

what condition JetKernel need to work? the baseband init or lcd init in bootlader or any other GPIO init?
cx_star
Junior member
Junior member
 
Posts: 42
Joined: Mon Dec 27, 2010 9:56 am

Re: please help me

Postby MadRocker » Thu Mar 31, 2011 6:42 pm

Dopi will have to give you this information.

I will be able to give you this info on 5 April once back home, 38hours flying time.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: please help me

Postby cx_star » Sun Apr 03, 2011 2:35 am

thank MadRocker!
i am waiting
cx_star
Junior member
Junior member
 
Posts: 42
Joined: Mon Dec 27, 2010 9:56 am

Re: please help me

Postby MadRocker » Mon Apr 04, 2011 4:28 pm

When I place the phone in media player mode in Touchwiz then linux mounts it as
internal
gphoto2://[usb:001,005]/store_00010001
sdcard
gphoto2://[usb:001,005]/store_00020001

pcstudio
Code: Select all
SAMSUNG Mobile Modem
Manufacturer: SAMSUNG Electronics Co.,Ltd.
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 02(comm.)
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 04e8
Product Id: 6601
Revision Number:  1.00

Config Number: 1
   Number of Interfaces: 2
   Attributes: c0
   MaxPower Needed: 400mA

   Interface Number: 0
      Name: cdc_acm
      Alternate Number: 0
      Class: 02(comm.)
      Sub Class: 02
      Protocol: 01
      Number of Endpoints: 1

         Endpoint Address: 83
         Direction: in
         Attribute: 3
         Type: Int.
         Max Packet Size: 64
         Interval: 1ms

   Interface Number: 1
      Name: cdc_acm
      Alternate Number: 0
      Class: 0a(data )
      Sub Class: 00
      Protocol: 00
      Number of Endpoints: 2

         Endpoint Address: 81
         Direction: in
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 0ms

         Endpoint Address: 02
         Direction: out
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 0ms


mass storage mounts as tflash for sdcard
Code: Select all
GT-S8000
Manufacturer: SAMSUNG
Serial Number: 3570410399********
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 04e8
Product Id: 4005
Revision Number:  1.00

Config Number: 1
   Number of Interfaces: 1
   Attributes: c0
   MaxPower Needed: 400mA

   Interface Number: 0
      Name: usb-storage
      Alternate Number: 0
      Class: 08(stor.)
      Sub Class: 06
      Protocol: 50
      Number of Endpoints: 2

         Endpoint Address: 02
         Direction: out
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 0ms

         Endpoint Address: 81
         Direction: in
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 0ms


When I place the phone in upload mode "volume up + camera + power"
Code: Select all
hub
Speed: 480Mb/s (high)
Number of Ports: 4
USB Version:  2.00
Device Class: 09(hub  )
Device Subclass: 00
Device Protocol: 02
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 413c
Product Id: a005
Revision Number: 50.18

Config Number: 1
   Number of Interfaces: 1
   Attributes: e0
   MaxPower Needed:   2mA

   Interface Number: 0
      Name: hub
      Alternate Number: 0
      Class: 09(hub  )
      Sub Class: 00
      Protocol: 01
      Number of Endpoints: 1

         Endpoint Address: 81
         Direction: in
         Attribute: 3
         Type: Int.
         Max Packet Size: 1
         Interval: 256ms

   Interface Number: 0
      Name: hub
      Alternate Number: 1
      Class: 09(hub  )
      Sub Class: 00
      Protocol: 02
      Number of Endpoints: 1

         Endpoint Address: 81
         Direction: in
         Attribute: 3
         Type: Int.
         Max Packet Size: 1
         Interval: 256ms

Code: Select all
SAMSUNG Mobile Modem
Manufacturer: SAMSUN GMO
Speed: 480Mb/s (high)
USB Version:  2.00
Device Class: 02(comm.)
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 04e8
Product Id: 6601
Revision Number:  0.00

Config Number: 1
   Number of Interfaces: 2
   Attributes: a0
   MaxPower Needed: 500mA

   Interface Number: 0
      Name: cdc_acm
      Alternate Number: 0
      Class: 02(comm.)
      Sub Class: 02
      Protocol: 01
      Number of Endpoints: 1

         Endpoint Address: 81
         Direction: in
         Attribute: 3
         Type: Int.
         Max Packet Size: 16
         Interval: 32ms

   Interface Number: 1
      Name: cdc_acm
      Alternate Number: 0
      Class: 0a(data )
      Sub Class: 00
      Protocol: 00
      Number of Endpoints: 2

         Endpoint Address: 82
         Direction: in
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 0ms

         Endpoint Address: 02
         Direction: out
         Attribute: 2
         Type: Bulk
         Max Packet Size: 512
         Interval: 0ms


dmesg | tail
[ 928.417392] EXT2-fs (sdc2): warning: mounting unchecked fs, running e2fsck is recommended
[ 1511.208549] WARNING! power/level is deprecated; use power/control instead
[ 1511.271059] usb 1-6: USB disconnect, address 7
[ 1565.039148] usb 1-6: new high speed USB device using ehci_hcd and address 8
[ 1565.153455] usb 1-6: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 32, changing to 9
[ 1565.153832] usb 1-6: New USB device found, idVendor=04e8, idProduct=6601
[ 1565.153835] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1565.153838] usb 1-6: Product: SAMSUNG Mobile Modem
[ 1565.153840] usb 1-6: Manufacturer: SAMSUN GMO
[ 1565.155108] cdc_acm 1-6:1.0: ttyACM0: USB ACM device


Maybe you can try to work with ttyACM0 and telnet or something to the phone and try to force load the firmware.

Hope this helps.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: please help me

Postby cx_star » Mon Apr 04, 2011 5:01 pm

thank MadRocker
"Maybe you can try to work with ttyACM0 and telnet or something to the phone and try to force load the firmware" i don't understand....
cx_star
Junior member
Junior member
 
Posts: 42
Joined: Mon Dec 27, 2010 9:56 am

Re: please help me

Postby MadRocker » Mon Apr 04, 2011 6:02 pm

This port is open when the firmware upload is active.

You will have to look and see if you can make it active then you can load normal samsung firmware or make a connection to this port and push the firmware by force up into the phone.

Somehow using this port you should be able to communicate with the phone similar to JTAG.

More than this I do not know.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: please help me

Postby cx_star » Tue Apr 05, 2011 2:22 pm

thank MadRocker
"normal firmware upload" need a useful bootloader,but my bootloader is broken.
i boot from tf and load the useful old bootloader but failed when call it.
also i tried to use a jtag but the connect is difficulty and i am not good at using a jtag.

now my puzzle is why it not work when the right bootloader or JetKernel is in the right address of ram.
cx_star
Junior member
Junior member
 
Posts: 42
Joined: Mon Dec 27, 2010 9:56 am

Re: please help me

Postby Dopi » Wed Apr 06, 2011 8:22 am

cx_star wrote:now my puzzle is why it not work when the right bootloader or JetKernel is in the right address of ram.

Where exactly did you load the bootloader in RAM? Which adress?

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Next

Return to JetQi

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron