IRC log for #htc-linux on 20080828

00:09.10*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
00:10.50*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
00:17.48*** join/#htc-linux ptl (n=patola@201.82.16.182)
00:25.39*** join/#htc-linux tcccp (i=hey@223.66.238.89.arpa-addr.in) [NETSPLIT VICTIM]
00:26.18*** join/#htc-linux SanMehat (n=san@nat/google/session)
01:12.14marajinyo SanMehat
01:13.34marajinuhoh
01:13.39marajinoom-killer is triggering on perses
01:16.14marajinwowzer
01:16.18SanMehatyo
01:16.20marajinopenfire is leaking memory like a mofo
01:16.36SanMehat?
01:19.27marajinSanMehat: oom-killer? the linux kernel OutOfMemory process termination
01:19.46marajinopenfire (java based XMPP server) was using like half the memory of the whole system
01:19.56SanMehatah
01:20.01marajinwhich is inconcieveable considering it's only got er 3 users
01:20.09marajinso somethings leaking very naughtily
01:20.12SanMehati thought you were having a seizure for a second there.. :)
01:20.34marajinwho me?
01:20.36marajinnaw
01:47.49*** join/#htc-linux marajin (n=marajin@87-194-102-189.bethere.co.uk)
01:47.53marajinahem
01:47.55marajinwhoops
01:57.23*** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net)
01:59.53*** join/#htc-linux heise2k (n=rheise@65-78-40-52.c3-0.upd-ubr6.trpr-upd.pa.cable.rcn.com)
02:00.16*** join/#htc-linux tetsuo\0 (n=user@201-213-104-15.net.prima.net.ar)
02:01.24*** join/#htc-linux SmallR2002 (n=SmallR20@79-69-87-203.dynamic.dsl.as9105.com)
02:26.55*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
03:50.28*** join/#htc-linux ltxda (n=ltxda@c-98-201-10-242.hsd1.tx.comcast.net)
04:51.45*** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net)
05:13.18*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
05:29.00*** join/#htc-linux pleemans (n=peter@dD577D009.access.telenet.be)
05:44.52*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
05:48.21*** join/#htc-linux patoche (n=patoche@46.61.197-77.rev.gaoland.net)
05:56.40*** join/#htc-linux tmzt_ (n=ircuser@adsl-70-228-98-147.dsl.akrnoh.ameritech.net)
06:01.18*** join/#htc-linux patoche (n=patoche@46.61.197-77.rev.gaoland.net)
06:06.57*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfaede.pool.einsundeins.de)
06:34.28*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:00.14*** join/#htc-linux kring (n=kring@211.155.128.98)
07:01.38*** part/#htc-linux kring (n=kring@211.155.128.98)
07:01.44*** join/#htc-linux kring (n=kring@211.155.128.98)
07:13.19*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
07:13.30*** join/#htc-linux ay^ (n=flux@c-7a64e253.1129-1-64736c10.cust.bredbandsbolaget.se)
07:13.48kringhello dcordes
07:17.52*** join/#htc-linux LunohoD_ (n=alex@e180070163.adsl.alicedsl.de)
07:20.00dcordeskring: hi there
07:20.22tcccpHello kring and dcordes
07:20.36dcordeskring: did you have success with your aim of turning on the GPS from within linux (proc comm?) ?
07:20.46dcordestcccp: morning
07:20.53tcccpapropos
07:20.55dcordeshow are you?
07:20.56tcccpcoffee - bb :)
07:21.06dcordeshmmm coca
07:21.07tcccpFine! Monday first day not being unemployed
07:21.10dcordes(cola)
07:21.22dcordesyou going to ossetia?
07:21.35tcccpNegative
07:22.06dcordesI just read they are sending some of our troops unarmed there after the fights are gone
07:22.29dcordesanyway, congrats
07:22.32tcccpdcordes: rumor has it there are recruits to take care of
07:22.37tcccpbrb
07:26.36kringdecordes: not yet. I paused researching these days since I changed my harddisk.
07:26.40tcccpre
07:28.37*** part/#htc-linux ay^ (n=flux@c-7a64e253.1129-1-64736c10.cust.bredbandsbolaget.se)
07:30.13kringtcccp: congrats.
07:30.35tcccpkring: Well...we'll see
07:31.04kringit seems kaiser use old amss, but diamond use amss 6.x as android hardware.
07:34.36dcordeskring: yes I think swetland and SanMehat mentioned that it is 6.*
07:36.15dcordeskring: not in the diamond, but in the hardware they use with the msm kernel
07:36.16kringI almost finished reading dllmain of smem.dll in diamond
07:36.36dcordesis dllmain an area of dlls?
07:36.58kringthe entry function of dll
07:37.38kringincluding lot of smem setup function, such as smem_init smem_log_init smem_smsm_init..
07:38.06dcordesnice. did you see any parallels to the kaiser stuff present in memory map?
07:38.41kringnot, looks like in android more.
07:39.33dcordesbut at least smem has same base address, no?
07:40.10kringsure. smem, vic & csr are the same
07:40.13kring:)
07:40.52dcordesso kaiser-smd.c will be functional on diamond.
07:41.06kringno
07:41.59kringthere are some minor differences.
07:42.28dcordeslike?
07:43.25*** join/#htc-linux zoolooc (n=lucian@nrbg-4dbfaede.pool.einsundeins.de)
07:44.25kringI didn't calculated carefully. wait a second.
07:44.28dcordesI would like to put them in :) http://wiki.xda-developers.com/index.php?pagename=DiamondMemoryMap
07:44.55dcordesI will copy kaiser smem as a basis
07:46.34dcordessorry I have to go will be back in an hour
07:46.57*** join/#htc-linux kiozen (n=oeichler@rgnb-5d865713.pool.einsundeins.de)
07:48.47kringin anroid, heapinfo located in +0x90
07:53.01kringin android, heap_info located in +0x90, size 0x10,  smem_heap_entry located in +0xa0, size 0x200
07:53.22*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
07:53.49kringin diamond, heap_info located in +0xc0, size 0x10,  smem_heap_entry located in +0xd0, size 0x800
07:55.00kringbut the struct of both smem_heap_info and smem_heap_entry are the same to those in android
07:58.19*** join/#htc-linux ginge (n=ginge@host81-149-155-58.in-addr.btopenworld.com)
07:58.25kringis there any body has diamond hardware can comfirm me?
08:00.23kringI just analyzed the dlls downloaded for xda forum and have no diamond mobile.
08:07.49*** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl)
08:48.40dcordesdriving school so sucks
08:48.47*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:49.11BabelO_hi
08:49.41dcordeskring: Espenfjo has diamond
08:49.57dcordeshi BabelO_
08:50.02gingeBabelO: morning. dcordes: hi
08:50.29dcordesI hope I will not fall asleep during the next 45 mins of driving movie
08:50.36dcordeshi ginge
08:50.46BabelO_kiozen: around ?
08:50.51BabelO_hi ginge, dcordes
08:50.55kiozenBabelO_
08:50.56kiozenyes
09:17.28*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
09:37.31dcordesdarn this was one refreshing brainwash
09:38.55swetlanddiamond is 7201A (same chip as we've been working with), but not the same AMSS version (shared memory interface is probably going to be somewhat different)
09:42.54swetlandhey, here's a question -- does one need some kind of specially modified vogue to boot stuff with haret?
09:43.04swetlandhas totally not followed any of this closely
09:45.23dcordesdarn this was one ultimate brainwash
09:46.09dcordesargh kaiser already sent the message
09:46.13dcordesit's taking over control
09:46.50kringdcordes, diamond MSM_CSR+0x414 is also A2M_INT5  to notify smsm_state_changing
09:48.14dcordesbase is 0xc0100000 ?
09:48.18swetland#define MSM_A2M_INT(n) (MSM_CSR_BASE + 0x400 + (n) * 4)
09:48.34kringdecordes: yes, phy address
09:48.50dcordesok I will copy it to diamond table
09:48.51swetlanddiamond is 7201A, so at least for hw regs all the stuff from the git.android.com repo will apply
09:49.13dcordesok swetland
09:49.18dcordeskring: you know the google repo, right?
09:49.21kringsounds good
09:49.38kringdecordes: yes i know.
09:49.42swetlandit sounds like (from what I'm seeing in scrollback) the shared memory stuff is closer to 6.x
09:50.02swetlandbut as we were still getting changes to AMSS after diamond shipped, I'm sure there are some differences
09:50.09dcordesswetland: was that line an excerpt from msm_iomap.h?
09:50.14swetlandsmd.c
09:50.47swetlandprobably should be in a header, but happens to be locally defined in smd.c
09:51.27dcordeskring: we should still document it in the wiki
09:52.06dcordesswetland: have you seen the dma problems with msm_sdcc on kaiser we get?
09:53.08swetlandI haven't seen any details
09:53.12kringswetland: in diamond, there is a mapping table, looks {{size=0x40, ch=3}, {0x80, 1}, {0x10, 2}, {0x800, 4}, {8, 5}, {4, 6}, {0xC8, 7}, {0x20, 8},  {4, 0x6B}, {0, 0}}
09:53.26swetlandit may be 7200A has excitingly *different* sdcc issues than 7201A
09:53.45dcordeswe don't even have 7200A but 7200
09:53.46swetlandbut I certainly know the sdcc controller is a very very cranky beast
09:53.52dcordesswetland: in kaiser that si
09:53.56swetlandnods
09:54.07swetlandI'll be interested to hear if the sdcc code works better on diamond
09:54.15kringthey use it for maping(smem_mem_type fixed items) to offset to shared_mem_base
09:54.19swetlandif it does, that I fear the kaiser issues are 7200 vs 7201A hw issues
09:54.50swetlands/kaiser issues/kaiser sdcc issues/
09:55.01dcordesswetland: as of now we couldn't try anything on diamond because a) kernel doesn't boot or b) we have an fb problem that causese the console not to display
09:55.19swetlanddoh!
09:55.28dcordesand of course no serial
09:55.34dcordesor any other connection in
09:55.46swetlandhaving a serial port is so very very handy for early bringup
09:56.06dcordesyes I took note of that with the beagleboard
09:56.12dcordesserial is very powerful
09:56.17swetlandwe worked on some omap850 based hardware way back when which only had serial muxed with usb, which made debugging usb a huuuge pain in the ass
09:56.21kringit seems that the "size" means prev_channel's size, any idea on the "ch" member?
09:56.44swetlandthe 7201A hw we're working with thankfully has uart3 exposed for debugging. huge lifesaver
09:56.54gingecan never get enough uarts
09:57.08dcordeshm I don't know if we have serial pins somewhere on the kaiser and friends
09:57.11swetlandsilicon vendors never give you enough
09:57.12kringswetland: you need a stable usb firmware first..
09:57.39gingedcordes: I found some on the PCB, but not had time to make a voltage adapter for it
09:57.39dcordesginge: do we?
09:57.41swetlandkring: when you're writing the usb client code from scratch on the platform you don't have that luxury. you just suffer a lot
09:58.00dcordesginge: is this the jtag stuff or rs232 standard?
09:58.17swetlandftdi sells some nice USB->Serial@3.3V adapters. handy stuff
09:58.19gingenot found all the jtag pins yet, this is TTL 232
09:58.48gingeswetland: Nah, I will just make one. Much more fun ;)
09:58.49kringi think usb client is no more difficulty than serial, either bulk or iso mode..
09:59.42swetlandginge: depends on time and budget. having a handful of usb/serial modules in the box'o'stuff is a nice timesaver, though I've certainly soldered together enough little levelshifter boards in my time
09:59.59swetlandkring: depends entirely how braindamaged your usb client controller is
10:00.18gingeswetland: true enough. Depends on how much time you have.
10:00.20kringswetland: i agree.
10:00.20swetlandsometimes you get lucky and they're pretty decent. often they are impressively buggy.
10:00.33swetlandand sometimes the uart is *worse*
10:00.36gingeswetland: I have programmed FPGAs to do logic shifting before now. Talk about overkill
10:01.00dcordesbattle! :)
10:01.34kringswetland: i ever developed an usb driver on winmo while the driver of usb host controller is buggy..
10:02.24gingekring: you never lived! working around bug after bug is fun ;)
10:02.50gingetakes a sly look at msm chips and grrrs
10:03.11kringginge: yes. :)
10:03.14swetlandif it makes you feel any better, the databooks are not a huge help ^^
10:03.26gingefigures
10:03.31swetlandI mean, well yeah, they are, but the hw is still insane in many ways
10:03.45swetlandof course all databooks lie and all hardware has bugs
10:04.07gingeyou know when you are in trouble when the errata is bigger than the datasheet
10:04.08dcordesare there many design/hardware problems with the msm?
10:04.22kringswetland: could you explain what's the meaning of img(QTC_LP etc..) in adsp code?
10:04.49swetlandcan you point me at a specific part of adsp.c or whatnot?
10:04.56kringis it speical radio rom release?
10:05.27kringstatic qdsp_module_type *qdsp_task_to_module[] = {
10:05.27kringqdsp_combo_task_to_module_table,
10:05.27kringqdsp_gaudio_task_to_module_table,
10:05.27kringqdsp_qtv_lp_task_to_module_table,
10:05.27kring};
10:05.33swetlandthe arm9 manages loading the firmware for the ADSP (apps dsp)
10:05.42*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
10:05.48swetlandand it can load different firmware with different combinations of dsp tasks
10:06.08kringis it selected when boot?
10:06.15swetlandit can change at runtime
10:06.29swetlandthough the current amss build we're working with only uses the combo image ever
10:06.36kringcan we select "customized" taskset?
10:07.05swetlandmaybe if you have an amss source license, though I dunno if they support dsp source licenses
10:07.06kringor only these predefined 3 image workable?
10:07.24swetland(simple answer, no)
10:07.52kringi found code to use rpc to enable task,
10:07.58swetlandfrom my world the dsp is a magical black box configured for me by the arm9
10:08.17swetlandthat contains a number of smaller black boxes that eat command packets and regurgitate messages
10:09.07swetlandsadly, like the shared memory stuff, it is likely to change from amss version to version, so I don't know how much of what we have for 6220/6225 applies to older stuff
10:09.24kringint msm_adsp_enable(struct msm_adsp_module *module)
10:09.34gingeswetland: safe to say: not much
10:09.49kringin adsp.c
10:09.57swetlandhow it all works will become clearer when we push the audio in/out drivers and some other stuff (likely next week)
10:11.53kringsadly, I found no entry looks like gps in enum qdsp_module_type..
10:12.41swetlandgps?
10:12.49kringI thought htc using rpc to switch gps on/off
10:13.06swetlandthe GPS on 7K has nothing to do with the DSP
10:13.07dcordesginge: on kaiser we don't use the rpc stuff, do we?
10:13.31dcordeskring: maybe it's a proc comm function?
10:13.49dcordeskring: can't you use the smd0?
10:14.14gingedcordes: not as such. I started to get the rpc working so we can set clocks and whatnot
10:14.31dcordesah so the cpu scalin approach you have uses rpc?
10:14.36dcordesscaling
10:15.05swetlandyeah, clock control via proc_comm is new to 6.x
10:15.21swetlandthey added it at our request because I wanted to be able to do it from IRQ context, etc
10:15.32kringswetland: in kaiser, gps data read from a smd channel
10:15.48swetlandch27 probably? ^^
10:15.58kringisn't it generat from arm9?
10:16.28kringswetland: yes.
10:16.40swetlandyes, the gps stuff runs on the A9 (well it does for us at least -- I'm assuming that the winmo supporting amss builds aren't *massively* different)
10:17.58kringmaybe I mess up adsp and arm9. I thought they are the same.
10:18.20dcordesswetland: 27? we use 3 device nodes now. I wasn't aware there are so many. or is it 27 something else than serial interface id?
10:19.02kringdcordes: remember I said there is a smd array?
10:19.02dcordessmd0 AT, smd1 gprs, smd7 gps
10:19.26kringdecordes: it is another index system..
10:19.46swetlandoh maybe the channel numbers are different too!
10:19.47dcordesoh, I have bad memory sorry
10:20.30swetlandkring: 72xx has an arm9 (modem) arm11 (apps) mdsp (dsp for baseband modem stuff) adsp (dsp for a/v/codec/camera/etc stuff)
10:20.39kringthere is a smd channel array, and only sparse indexs are used
10:21.10gingethe channel numbers are different, the fifo layout is different etc
10:21.22kringswetland: thanks.
10:21.32dcordesI never understood the fifo layout
10:22.05dcordesI got the meaning of a circular buffer but not what teh different addresses in the KaiserMemoryMap are for
10:22.05kringI wonder why in both winmo and android name at 0, data 4 and gps 7..
10:22.29dcordesdata 4 being gprs?
10:22.33kringit's quit geeky to me.
10:22.47swetlandwell the smd channel id stuff is based on AMSS, not the apps OS
10:22.58kringso how about 1, 2, 3,4, 5,6..
10:23.29kringwhich one is smd channel id? ( for gps, 7 or 23?)
10:23.53dcordeswe have 0 1 ukn ukn ukn ukn ukn 7
10:24.16dcordeswait ignore me. sorry.
10:25.17kringdcordes: maybe the channel marked Unknown3 Unkown4 Unkown5 can be mapped to them. :)
10:26.53dcordesisn't one of them 3g data?
10:27.21kringmaybe..
10:28.17dcordesI will look through my smem rawdumps and see if there is data written to one of the mystery chans
10:28.44dcordeskring: you know the dump function in haret? it's very useful
10:29.11*** join/#htc-linux Marex (n=vasum7am@auryn.karlin.mff.cuni.cz)
10:29.12dcordesit helped a lot making the present smd buffers work
10:29.18dcordeshi Marex
10:29.41kringconst int sharemem_len = 0x100000;
10:29.41kringchar* sharemem_p = (char*)MSM_SHAREMEM_BASE;
10:30.25kringdecordes: I use the raw access code above. :)
10:31.48dcordesin winmo?
10:32.18kringI just searched 0x041f0(at channel offset), 0x041fc(at tx buff offset) in the whole sharemem area.
10:32.25kringand found nothing..
10:32.31kringdecordes: yes
10:33.17kringI supposed there maybe some structure like heap_info in android..
10:34.39kringdecordes: in winmo, after execute SetKMode(TRUE);SetProcPermissions(-1);
10:34.58kringyou will have enough access for exploring
10:36.24dcordesthat's interesting
10:36.38dcordeswe had trouble tracing smem in the paste
10:37.57dcordeskring: did you make phone calls or rgister/deregister from the network before or while you dumped the at channel?
10:38.10dcordesin some of my haret dumps, the fifos seem empty
10:38.18dcordesI think they are flushed every then and now if nothing goes on
10:38.52dcordeswhen I caused at traffic while dumping, that was no problem
10:39.00kringyes, there is nothing in unknow channels
10:39.24dcordesif you have nothing in AT channels, your search method must be wrong
10:39.26kringboth "before" and "while"
10:39.32dcordesuse pdump in haret to compare
10:39.40kringunkown channels.
10:39.54dcordesso you get data in the AT?
10:39.59kringyes
10:40.04*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
10:40.13kringand in data channel
10:40.27dcordes< kring> and found nothing.. <- I thought you mean AT chan offset by it
10:41.08kringmysterious agps, even I disable smem.dll loading, there are data in rx&tx buffer
10:42.32dcordesyou must ask cr2, he found mysterious stuff in the quickgps.exe
10:42.48dcordesagps seems to have an own personality
10:42.49kringand gps channel, if i just wait data, there is nothing
10:43.48kringif i access COM4(by gpsid_qct driver), data appears in gps channel.
10:44.12kringso i alway think there is ticks in reading gps rx channel
10:44.12dcordescan't you trace what the access to com4 triggers?
10:44.41dcordesI wondered the same, (just by using it, not decompiling or so)
10:45.20kringi traced proc_comm
10:45.44kringnothing channged when access com4
10:46.07dcordeshm what else can it use?
10:46.33kringi want to decompile it..but it's to big.
10:46.44kringabout 100kB.
10:47.32kringand also i trace AT,  nothing too.
10:48.12dcordestrace proc_comm while using AT?
10:48.14kringit's the same problem met in linux? we cann't read nmea report from smd7?
10:48.15dcordesI'm confused now
10:48.31dcordesI did read nmea data from smd7 in the paste
10:48.35dcordesturn on gps in windows
10:48.46dcordesaccess com4
10:48.48kringI traced proc_comm, found nothing, and traced AT, found nothing
10:48.49dcordesthen boot linux
10:49.07dcordessorry, what exactly do you mean by tracing?
10:49.30kringproc_comm, print the values of proc_comm.
10:49.44dcordesI think we can do that in haret
10:49.46dcordesginge: can't we?
10:50.12kringAT,  print the data in AT tx buffer
10:51.07dcordesprint=dump memory?
10:51.16kringthere is no special at command sent to arm9 when i open com4.
10:52.26kringdcordes: yes, i wrote some codes in winmo.
10:52.54kringto access shared memory.
10:53.38dcordesyou can do this with haret
10:53.48dcordeseven remotely
10:54.29kringdcordes: visual studio supports online debug :)
10:54.43dcordesok
10:56.02dcordesso if gps is not turned on via proc_comm not via AT.. maybe it's another fifo buffer?
10:56.29dcordesdo we have all the fifos documented now in the wiki? (I added the two you told me)
10:56.33dcordeshttp://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
10:56.47kringthe last one maybe rpc via some secial smd channel
10:57.11kringaccording to the android code.
10:58.11kringsadly, no gps or nmea can be found in that codebase.
10:58.43kringso I think the only way is RE the winmo driver..
11:01.34dcordesswetland: how do you trigger gpsone on/off on the msm7201A with amss6?
11:01.46*** join/#htc-linux patocheppc (n=zsirc@193.253.141.73)
11:02.00dcordesalthough different chip/arm9 code, maybe it's a hint for kring
11:03.00*** part/#htc-linux ginge (n=ginge@host81-149-155-58.in-addr.btopenworld.com)
11:04.05*** join/#htc-linux ginge (n=ginge@host81-149-155-58.in-addr.btopenworld.com)
11:04.07gingekring be careful with the rpc, it isnt fully supported in our AMSS
11:04.15gingeooo weird
11:06.01swetlanddcordes: we do rpc calls to the arm9
11:06.17kringginge: work around buggy rpc is fun :)
11:07.08kringswetland: is rpc the only way left to comm with arm9 except AT, proc_comm?
11:07.33swetlandpretty much. there is some low level handshake stuff with the smsm_state bits for power collapse and whatnot
11:07.52swetlandbut basically you have the shared memory region, the smsm state thing, the smd channels, rpc which goes over one of them
11:08.02swetlandand proc_comm which is pretty low level
11:08.33kringdcordes: +0x60660 there are some intereting data. did you memdumpped it?
11:08.59*** join/#htc-linux patocheppc (n=zsirc@193.253.141.73)
11:10.04swetlandwhoo. new laptop *and* a couple beagleboards are supposed to show up in the morning
11:10.05kringswetland: I think smd channel and smsm state are not the same level as shared memory region, they are above it.
11:10.26swetlandkring: yes
11:10.46kringswetland: i see. thanks.
11:10.46swetlandwell, "in" it
11:11.37kringany one has idea on diag port?
11:12.46kringi remember when upgrade quancomm mobile, there are 3 port appears, AT, Diag.., NMEA.
11:13.46dcordesswetland: you need the omap3 for work or private use?
11:13.57dcordesswetland: I have a beagle too
11:14.32swetlandbit of both.
11:14.51*** join/#htc-linux patocheppc (n=zsirc@193.253.141.89)
11:16.30*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
11:16.53kringswetland: is the code for rpc calls to arm9 to turn on gps in android code?
11:17.06swetlandnot in the published kernel code
11:17.38kringwill it be published later?
11:17.49swetlandI'm not sure if that's going to be able be kernel code / open sourced (there are a handful of "proprietary" bits from qualcomm)
11:18.23swetlandI don't expect that'd stop you folks from picking it apart and figure out what it does, of course
11:18.28*** join/#htc-linux Tonny (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net)
11:18.35dcordesso gps triggering is part of userspace code?
11:18.54swetlandright now all the gps stuff is a userspace library that uses rpc to talk to the a9
11:19.22kringdcordes: I think it's some specific rpc
11:19.45kringdcordes: we can just trace the whole channels to catch it when open COM4 :)
11:20.07dcordescan you do it with winbloze studio?
11:20.11kringswetland: thanks for the hints. :)
11:20.33kringdcordes: yes.
11:20.45kringmaybe i will try haret :)
11:21.13dcordeslol, you never ran it on kaiser?
11:21.25swetlandit's fun watching people take this all apart.  somebody was asking me the other day how long I thought it'd be after the open source release until people ported to other phones... "what do you mean? without the source there are guys who have it making calls on existing hardware"
11:21.43dcordesmaybe you can provide parts of your code routines for Kevin2 to improve msm* research with haret
11:22.45dcordesswetland: the android userland poking (rilphone) is all dzo's work.
11:23.56kringdcordes: I will provide if i think my code is better :)
11:24.19swetlanddid he replace rild entirely with his own thing?
11:24.50dcordesyes
11:25.01kringdcordes: do you have any ideas on diagnosis port?
11:25.15dcordeson his vogue (msm7500) , but it also works for calls on kaiser
11:25.29dcordeskring: debug port or so? no idea, maybe
11:25.30dcordesginge: does
11:25.38swetlandhe have sources for that published somewhere?
11:25.43dcordesno
11:26.08kringi think there maybe some close relations between AT and DIAG and NMEA..
11:26.10dcordesnot that I'm aware. it's all based on the emulator blob image
11:26.16swetlandnods
11:26.23dcordeshe even made one for the new sdk image
11:26.27kringbecaused they are equally muxed by usb
11:27.09dcordeskring: I can't help with it. ginge also nows stuff about usb
11:27.17dcordeshe's the kaiser kernel expert
11:28.19kringdcordes, not the debug port like jtag..
11:28.39dcordes<PROTECTED>
11:28.51dcordesusb2serial thing?
11:28.56kringit's like AT port and gps port, maybe in the unknown channel.
11:29.22dcordesah, a fifo that gives debug info?
11:29.35dcordes..from the arm9?
11:29.50kringyes.
11:30.07kringand for upgrade.
11:30.36kringswetland: is it an smd port in android?
11:30.37*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
11:31.56kringif so, maybe one of the unknow channel in htc is also for that.
11:32.08kringnot for 3g only.
11:34.37dcordeskring: how can you get output from the "arm9 debug" chan in winmo?
11:34.52dcordesmaybe during flash process when flasher reads out amss verison?
11:35.14dcordesmaybe there's a function in the flash utilities that only reads
11:36.08kringdcordes: I cann't open. I just think maybe one of the unknow channle is for that.
11:36.25dcordesyea I mean, how can we make the modem write to it?
11:36.34dcordesto identify which unknown
11:36.46kringI have no idea.
11:36.55dcordesyou say it's used for upgrading
11:36.56kringbut in vogue, I found one.
11:37.01dcordesupgrading what, radio rom?
11:37.33dcordeskring: you should tell dzo about it. I bet he doesn't use it in his working tree
11:37.54dcordeshttp://cs-alb-pc3.massey.ac.nz/vogue/diffs (vogue-smd.c)
11:39.53kringyes.
11:39.56dcordesunfortuantely we have not made a memory map for vogue yet
11:40.19kringgoogle "vogue DMRouter.exe"
11:41.23kringI found the vogue setup share memory for AT,DM,GPS,DATA
11:42.20dcordesperhaps it's trivial to put it in vogue-smd.c
11:42.41dcordescan you put the addresses in a small textfile and provide?
11:42.50dcordesor email directly to dzo?
11:43.30kringI don't have a vogue now.
11:43.53kringyes. I will found the info for my notes.
11:44.53kringmaybe it's the difference between MSM7200 and MSM7500?
11:45.21dcordes..that causes what?
11:46.27dcordes7200 vs. 7500 = slightly different SMD setup. compare the vogue-smd.c contained in http://cs-alb-pc3.massey.ac.nz/vogue/diffs with htc-msm kaiser-smd.c
11:46.53kringwow
11:47.33kringI think there maybe some improvement in vogue-smd.c
11:47.39dcordes:)
11:47.46kringjust read the code. :)
11:47.46dcordestell it dzo, he will be happy
11:48.00dcordesoh well, I can't code.
11:48.39dcordesbut I know kaiser-smd has a new look
11:48.45dcordesdifferent
11:48.58dcordesmartin__ tidied it up
11:49.03dcordes~seen martin__
11:49.05aptmartin__ <n=martin@the.earth.li> was last seen on IRC in channel #htc-linux, 22d 22h 56m 21s ago, saying: 'marbalon: mmutrace does work for most stuff, it's just some of the smem that doesn't show up.'.
11:50.54kringmmutrace cann't test dynamic behaviour
11:51.08gingeback. yeah vogue AMSS is different once again. Debug port is on the kaiser board. I will get some photos with the traces I know.
11:51.37gingekring: you can do a watch on areas in haret, but if mmu does a dynamic relocation, you have to know in advance what the address it
11:52.05kringaccording to the document, it cann't do active test, only passive observation
11:52.26kringeg, no program existing to changed it. mmutrace will found nothing
11:52.42gingethats right, yeah. You have to watch while you press buttons etc
11:53.13dcordesare you guys talking about two different debug ports?
11:53.27dcordesginge: I think kring means smd fifo debug port
11:53.36gingeI see. I meant hardware debug
11:53.45kringyes. but some functional htc didn't implemented will no be catch by mmutrace, i am sure. :)
11:53.46gingeJTAG etc
11:54.04gingekring: yeah :)
11:54.07dcordesno we were talking about smd chan for maintining and debugging arm8
11:54.13dcordesarm9
11:54.30kringginge, in vogue, there is another port named DMR1: in winmo
11:54.47gingehmm
11:54.49kringusing one pair of fifo
11:55.00*** join/#htc-linux kfm82ibook (n=kfm82@p54BEDA8C.dip.t-dialin.net)
11:55.35kringI guess some fifos in kaiser are opened for that
11:56.03gingemaybe. There are a few fifos we don't know about/don't know what they do
11:56.27gingeI can't say I looked too hard at extra SMD channels, other then messing with agps
11:56.53kringis apgs protocol opened?
11:56.53gingeis still beating the sd driver into submission
11:57.10dcordesI thought you gave up on him
11:57.13gingeno, it isn't.
11:57.17kringdatas in agps tx buffer it had to understand
11:57.23gingesd? I keep going back
11:57.47gingekring: yeah, it seems to download a binary blob into the a9 and does some magic
11:58.12kringginge: are you reading gpsid_qct.dll driver?
11:58.20gingedcordes: I got the sd almost working.... until I got scaling working, and than it falls over
11:58.58gingekring: yeah, I did decompile that to see wht was happening. Most of wat I looked at were fifo dumps in winmob when getting agps updates
11:59.06kringit may contains secret of agps and gps smd device which i am eager to known.
11:59.27gingeI think agps is going to be tricky. gps, probably not so.
11:59.28kringdid you found any rpc code?
11:59.57kringconstruct rpc request and send to arm9
12:00.06gingenothing that I could point to and say, "this is doing x"
12:00.47kringI will join you to read that driver. :)
12:01.11gingeheh. I need to get back into this now that work has settled down
12:01.52gingeI need to read my notes on power collapse. msm pm is.... odd
12:02.11kringI know nothing about pm..
12:02.23dcordesswetland: do you have some thoughts on pm :) ?
12:02.43gingepoor fella ;)
12:04.46kringit seems diag port can be used to tweak radio..
12:04.47gingeselect * from isdndb where card="dialogic" and version="1.81"
12:04.50gingeargh
12:05.30gingekring: interesting... tweak how?
12:06.42kringhttp://forum.xda-developers.com/showthread.php?p=2500770
12:06.58gingedamn you can't step away from your desk for 2 seconds without someone stealing your mouse or keyboard (in this case both)
12:07.18gingekring: oh nice
12:08.15kring<PROTECTED>
12:09.43ginge"NAND read for MSM7200 using hotpatch is untested and may brick your phone !"
12:09.54gingehmm
12:10.36kringI think this guy researched very deeply.
12:10.48gingeyeah, it looks like it. Impressive work
12:12.03dcordessomebody ever played with the bootloadeR?
12:13.04gingenot as such. I briefly had a look at SPL init sequences for the sd so we could find the right flags
12:14.43dcordesbig parts of the memory map come from spl disassembly
12:15.18gingeyeah
12:15.28gingeI have the whole thing disassembled somewhere...
12:15.36gingelooks through 3GB of files and notes
12:16.12gingehmm... well it will be somewhere. Maybe on the old craptop
12:31.44*** join/#htc-linux sni1 (n=igor@92.124.50.220)
12:32.12*** part/#htc-linux sni1 (n=igor@92.124.50.220)
12:45.47*** join/#htc-linux sni1 (n=igor@92.124.50.220)
12:55.54*** join/#htc-linux kring (n=kring@221.222.168.61)
12:56.41kringhello decordes, ginge.
12:57.52gingedcordes: welcome back
13:00.16gingekring: welcome back (oops)
13:08.28*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
13:08.59gingesomeone ate my biscuits and cake :(
13:10.01kringdcordes: i found my notes on vogue in my office. i will send to dzo tomorrow.
13:11.12kringginge: is it your lunch?
13:11.35gingeit was
13:11.40gingehealthy ;)
13:12.14kringI just finished supper :)
13:15.23*** join/#htc-linux |patoche| (n=patoche@46.61.197-77.rev.gaoland.net)
13:19.41kringginge: did you found fifo pump on unknow channels in gpsid_qct
13:21.18*** join/#htc-linux lama (n=lama@estel.wpia.uw.edu.pl)
13:21.34lamaah what a shame - have you seen htc dream specs?
13:22.07lamaonly 64mb of ram....
13:22.10gingekring: fraid not. Like I said before, not looked too closely at the other channels.
13:22.27gingelama should be enough, its not like it is running windows mobile
13:23.16*** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com)
13:23.43gingekring: I would be interested to know what else there is in there though. Maybe a side project to save me from msm sdc induced madness
13:29.18*** part/#htc-linux sni1 (n=igor@92.124.50.220)
13:30.56kringginge: i cann't understand what you said..:(. maybe i need improve my english skill.
13:32.55gingeYour english is better than mine, at least less lazy. I basically said:- yes, I should look at that but I didn't decompile the gps dll yet
13:35.59kring:)
13:44.51*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
13:45.49*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
14:02.52*** join/#htc-linux Alex[sp3dev] (n=alex_dfr@86.110.163.25)
14:06.30*** join/#htc-linux AbsoLutE (n=allnet@202.93.37.94)
14:30.39*** part/#htc-linux zoolooc (n=lucian@nrbg-4dbfaede.pool.einsundeins.de)
14:34.58*** join/#htc-linux patocheppc (n=zsirc@193.253.141.89)
14:44.52*** join/#htc-linux the_sys0p (n=the_sys0@cpe-76-88-212-37.bak.res.rr.com)
15:27.04*** join/#htc-linux Red_Lion (n=lion@194.226.40.193)
15:43.18*** join/#htc-linux patoche (n=patrice@lns-bzn-61-82-250-101-227.adsl.proxad.net)
15:46.27*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
15:48.47*** join/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
16:05.16*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
16:05.52*** join/#htc-linux Othello (i=Othello@gateway/tor/x-f7d165c585f1709f)
16:26.16*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
16:28.13*** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl)
16:37.57*** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net)
16:53.56*** join/#htc-linux pH5 (n=ph5@e178222159.adsl.alicedsl.de)
17:06.07*** join/#htc-linux skodde (n=skodde@e178051073.adsl.alicedsl.de)
17:12.17*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
17:34.15herriojrginge: what's your latest patch?
17:38.38*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
18:03.55*** join/#htc-linux Tonny_ (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net)
18:15.09*** join/#htc-linux kiozen (n=oeichler@rgnb-5d865713.pool.einsundeins.de)
18:16.10*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
18:20.19*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfaede.pool.einsundeins.de)
18:25.59*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
18:28.39tetsuo\0Titchy on my Qtek 9000 FTW!
18:32.29marajintetsuo\0: yay!
18:33.08tetsuo\0yay indeed
18:56.50*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
19:06.05*** join/#htc-linux Raketemensch_ (n=Rakete@24-151-90-116.static.nwtn.ct.charter.com)
19:07.53*** join/#htc-linux ali1234 (n=al@62.24.214.38)
19:09.59*** join/#htc-linux wasup (n=Tech@208.47.103.106)
19:10.43*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
19:15.34*** part/#htc-linux wasup (n=Tech@208.47.103.106)
19:26.24*** join/#htc-linux exco (n=exco@e181065224.adsl.alicedsl.de)
19:37.18*** part/#htc-linux everettx (n=gcc80x86@fuzzyneural.net)
19:37.20herriojrdcordes: the patch you linked is no longer in my chat history, could you send it again?
19:37.41dcordeshi there
19:37.42dcordeshttp://www.headfuzz.co.uk/files/android/git-diff-110808-b.diff
19:37.49dcordesas I said, I hope it's somewhat recent
19:38.10marajinwell it's 11th august man
19:38.16marajinit says it right there in the file anem :p
19:38.18marajinname
19:38.38*** join/#htc-linux tetsuo\0 (n=user@201-213-104-15.net.prima.net.ar)
19:39.29dcordesgit clone git://git.android.com/kernel.git kernel
19:39.47dcordesgit checkout -b android-msm-2.6.25 origin/android-msm-2.6.25
19:40.14dcordesherriojr: to checkout android-msm-2.6.25 branch from googlegit
19:47.17herriojrawesome, thanks
20:08.46*** join/#htc-linux patoche (n=pat@lns-bzn-61-82-250-101-227.adsl.proxad.net)
20:08.49*** join/#htc-linux ltxda (n=ltxda@c-98-201-10-242.hsd1.tx.comcast.net)
20:16.30*** join/#htc-linux Raketemensch (n=Rakete@24-151-90-116.static.nwtn.ct.charter.com)
20:24.59*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
20:36.54*** join/#htc-linux NickBee (n=NickBee@122.163.137.224)
20:38.56NickBeeHello Guys
20:39.35NickBeehow to flash hx4705 with WM from SD card
20:39.36NickBee?
20:53.37*** join/#htc-linux chab7 (n=kvirc@183-17-170.ip.adsl.hu)
21:09.57herriojrNickBee: what exactly are you asking?
21:10.30NickBeeI need to reflash my hx4705, but don't have the usb cable
21:10.44NickBeei read at couple of places how i can flash it using SD card
21:10.52NickBeebut i am still stuck
21:11.13NickBeeand sadly, this is the second time in past 6 months i am stuck with the same problem :(
21:12.05excowhy don't you just buy a USB-Cable? (like 2$?), NickBee
21:12.28NickBeeI have ordered the same ... but it shall take about 15 days to come
21:15.33herriojrwhat step are you stuck on?
21:16.15herriojrNickBee: what step are you stuck on?
21:16.24NickBeeI was following the steps: http://resco.net/forums/ShowPost.aspx?PostID=2804
21:16.47NickBeei have copied the .nbf after removing first 2600bytes to SD
21:16.59herriojrhttp://www.etenblog.com/2007/10/22/flash-your-rom-from-sd-card/
21:17.26NickBeeand when i restart ipaq in bootloaded, it does not recognises the image in SD
21:17.26herriojrtry that one, seems to be a bit easier
21:18.51NickBeedoes eten has the same bootloader as hp?
21:19.02NickBeeas the steps are very different it seems
21:20.09NickBeealso, i have the .nbf file, there is no temp.dat file created after i run update
21:20.17herriojroik
21:21.05*** part/#htc-linux exco (n=exco@e181065224.adsl.alicedsl.de)
21:22.49herriojrdid you read the end where it says if that doesn't work, you will need to find the utility to write the image to the SD card?
21:23.38NickBeei have downloaded the utility i.e. ntrw.exe
21:23.47*** part/#htc-linux ali1234 (n=al@62.24.214.38)
21:23.49NickBeeand it says that it did copies over the file
21:24.30herriojrand you verified that ECEC comes after the first 64 bytes?
21:24.57NickBeeyup
21:26.14herriojrI don't know, I don't have the slightest clue...I don't have one of those lying around here
21:26.39NickBeecan understand, thanks for the time though
21:29.38herriojrwhat format is the sd card in?
21:29.45NickBeefat
21:29.47NickBeefat16
21:30.03NickBeeits a 1gb card
21:30.07*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
21:30.13herriojryeah, I see your post there at the end
21:32.14herriojrhow did you install the image on the sd card?
21:32.27NickBeei used ntrw.exe
21:32.47herriojrfrom what I read, you need the usb cord to install it, but I could definately be wrong :)
21:33.22NickBeeyup, having the USB cord will definitly help, but the problem is then i need to wait 15 odd days ...
21:33.49herriojrI think somehow the image wasn't properly installed on the sd card
21:33.54NickBeewhich by all standards is too much :)
21:34.02NickBeethats exactly my though
21:34.11NickBeebut am unable to figure a way to verify
21:34.22herriojrcan you read the card if you hook it up to your computer?
21:34.31herriojrit says you shouldn't be able to
21:34.31NickBeenope, its a windows box
21:34.49NickBeeand yes, it asks is i need to format it
21:34.56NickBeewhich is somewhat correct
21:35.03NickBeebut still does not confirms 100%
21:35.12herriojrdo you have a linux box?
21:35.45NickBeeonly a VM
21:35.49NickBeenot a seperate bpx
21:35.54NickBeebox*
21:36.12herriojrvmware?
21:36.16NickBeeyup
21:36.17herriojrI can view my card through vmware
21:36.50herriojrlet me see what command we need....I had problems with sd cards earlier
21:37.01NickBeeok ...
21:40.37NickBeei am trying to write the image with a different application now
21:43.36NickBeenope, didn't worked
21:46.32herriojrI can't find the command
21:46.53NickBeei have tried 3 programs to write image
21:46.56herriojrI wish there were any easier way to search for commands if you can't remember their names :)
21:46.56NickBeeto sd
21:47.02NickBee:)
21:47.16NickBeeseems that its something else
21:47.33NickBeemaybe the bootloader version ... or something
21:47.38herriojryou want to check its table
21:48.00herriojrI had an issue where I actually it formatted as 2 different fs in the same location
21:48.08herriojrso I had to go back and rebuild the table
21:48.20NickBeehmm ...
21:48.24NickBeemaybe
21:48.32NickBeelet me try to re-format the card
21:49.54NickBeeIts 4 in the morning here ... can't do any more meaningful work :)
21:50.17herriojrwhat's the device?
21:50.25NickBeehx4705
21:50.29NickBeehp ipaq
21:50.39herriojrno, what's it mounted as on your file system under /dev/
21:51.06NickBeei have still not connected it to linux
21:51.21herriojrmake sure you don't have any disks in your drives
21:51.36herriojralso - did you install VMWare tools?
21:52.09NickBeenope
21:53.05herriojryou'll need to do that first
21:53.20herriojrwhat OS do you have installed on vmware?
21:53.54NickBeeits fedora core 6
21:54.20herriojrI *think* it supports it...just go to VM->Install VMWare Tools
21:54.23herriojrit will mount a drive
21:54.34herriojrinside the drive will be two packages...pick your poison for installing
21:54.47NickBeeok
21:54.55NickBeebooting
21:55.22herriojrdcordes: ok, you're going to think I'm retarded, but it dropped off my history again...
21:55.57Miekhttp://www.headfuzz.co.uk/files/android/git-diff-110808-b.diff ?
21:56.38herriojrok thanks
21:56.39dcordes_thanks
21:57.02dcordes_herriojr: do you know irclog.iclem.net ?
21:57.17herriojrnope
21:57.21dcordes_it has livelogs ;)
21:57.24herriojrI do now :)
21:58.48herriojrok, downloaded, so I won't ask again :)
21:59.20NickBeeok, its ready
21:59.39herriojrok, so is the sd card showing up?
21:59.39NickBeetools are installed
21:59.45NickBeeyes
22:00.03herriojrok, what is it under /dev/
22:00.05herriojr?
22:00.14*** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
22:00.25imfloflohi everyone
22:00.55NickBeeforgive my ignorance, but how to tell which is the card?
22:01.05NickBeei see: sda, sda1, sda2 etc
22:01.13herriojrdo mount
22:01.24herriojrand you will see what device is associated with which folder
22:01.27NickBeei think its automatically mounted
22:01.38herriojrmount displays the mounted devices
22:01.41NickBeeas i see the removable disk on my desktop now
22:01.51imfloflois anybody working on porting android to the HTC polaris here ? or juste kaiser members?
22:02.06*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
22:02.09herriojrI think we also have vogue people
22:02.10NickBee/dev/sdb
22:02.23herriojrdo fdisk -l /dev/sdb
22:03.34NickBeeit says: this doesn't looks like a partition table
22:03.43NickBeeand probably i have selected a wrong device
22:04.01herriojrit is surprising it was mounted btw
22:04.13herriojrespecially since it was recognized as unformatted
22:04.13NickBeeyes
22:04.24NickBeeno, i reformated the card
22:04.29herriojrah ok
22:04.33NickBeejust after i tested it again
22:04.37herriojrlemme pull out my sd card to test really quick
22:04.57NickBeebut even after reformatting, linux shows that something is wrong
22:04.59NickBeeOk
22:06.19NickBeebrb
22:07.15herriojrhttp://pastebin.ca/1187904
22:07.20herriojrthat's what I get for a formatted drive
22:07.24herriojron an sd card
22:07.53herriojryour card shouldn't be formatted....I'll blow mine away to show you how that should look :)
22:09.00*** join/#htc-linux ali1234 (n=al@62.24.214.38)
22:09.50NickBeeback
22:10.26herriojrhttp://pastebin.ca/1187906
22:10.54NickBeevery strange, if its not formatted, how is linux able to mount it (and then report that it does not seems to have a valid table) :)
22:11.58herriojroh yeah, sorry ,that's not what I mean, the table I had was screwed up and listed two partitions in the same location
22:11.58ali1234often memory cards and such have a filesystem on the raw disk without partition table, ie /dev/sdb rather than /dev/sdb1
22:12.27ali1234in that case fdisk will often report crazy partitions, because it misinterprets the FS data as partition table
22:12.49herriojrI learn something new everyday :)
22:13.53NickBeeso, how can i fix the sd card first?
22:14.00NickBeeformat it from inside linux?
22:14.10ali1234i didn't see your original question, so i have no idea :)
22:14.44NickBee:) I need to flash  myhx4705 using SD card
22:14.58ali1234define "flash"?
22:15.23NickBeeneed to install wm6.1
22:15.30NickBeefrom .nbf file
22:15.34ali1234oooookay
22:15.47herriojrit's not recognizing the image he has on his sd card
22:15.57herriojrso I wanted to see if there was something wrong with that
22:16.24ali1234that requires a specially formatted card, and it also requires an unlocked bootloader or it will be denied
22:16.47herriojryou can help him out, I need to run off to a soccer game
22:16.54herriojrand you seem to know more of what you're talking about :)
22:16.54ali1234i'll try
22:17.04NickBeethanks Herriojr :)
22:17.17ali1234what device is it actually? i never heard of myhx4705... googling it...
22:17.30NickBeeIts hx4705
22:17.30herriojrdcordes: I'll try to look at some of the sd card issues when I get home
22:17.55ali1234ah right "my" is not part of the name :)
22:18.08NickBee:)
22:18.10ali1234ok it's an ipaq? i only know htc...
22:18.32NickBeeyup, its an ipaq and an old one
22:18.35herriojras far as I know, he's trying to install production firmware
22:18.49ali1234does it use SPL do you know?
22:19.05NickBeeno idea ali
22:19.19NickBeethe worst thing is i have done this in past
22:19.32ali1234so is it not booting?
22:19.38NickBeeIt boots fine
22:19.49NickBeebut the OS is wm2003se
22:19.57NickBeewanted to upgrade it to wm6.1
22:19.57ali1234is it a phone or just a PDA?
22:20.02NickBeejust a pd
22:20.04NickBeejust a pda
22:20.13ali1234ok... so no operator locks or stuff like that to deal with
22:20.20NickBeenope
22:20.23ali1234that makes it a bit easier
22:20.38NickBeethe way it works is, the os image is on SD card
22:20.51NickBeeand you take the device to bootloader
22:21.17NickBeeand if the sd card is set, the bootloader will pickup the image and ask if i need to install the image
22:21.25ali1234HTC can do the same
22:21.33ali1234so at what point does it fail?
22:21.44ali1234you go into the bootloader, but it doesnt see the card?
22:21.49NickBeeyup
22:21.55NickBeeit doesn't sees an image on card
22:22.29ali1234does the bootloader have the ability to backup the current rom to SD?
22:22.37NickBeenope
22:22.39ali1234in HTC bootloader you can do that, and it will format the card properly etc
22:22.57ali1234you need to use the USB cable and the remote shell tool on PC though
22:23.05ali1234you sure there is nothing like that?
22:23.25NickBeeafaik, nothing of that sort
22:23.37NickBeei.e. without a usb cable
22:23.43NickBeewith a usb connection it can
22:23.44ali1234oh make sure that your disk is not formatted as fat32... bootloader usually only can read fat12/fat16
22:23.53ali1234because of limits on code size
22:24.20ali1234can the card be read in WM5?
22:24.45NickBeethe pda is able to read the card
22:24.55NickBeeits running wm2003
22:24.55ali1234you dont have a USB cable?
22:24.59NickBeenope
22:25.21NickBeewith a usb cable, its as easy as 123 :)
22:25.40NickBeebut ... my dog won't let me live an easy life
22:25.41ali1234yep you can back up the rom to SD using the cable
22:26.01NickBee(he left some peices of the cable for me to understand what he did with it)
22:26.59ali1234it looks like you need to raw write the nbf file to the SD card
22:27.08NickBeeyup
22:27.17NickBeewe did that using three different utilities
22:27.27NickBeebut something is not right
22:27.30ali1234so in linux you would: dd if=whatever.nbf of=/dev/sdb
22:27.42ali1234that will erase your card btw
22:27.53NickBeelet me try that
22:28.14ali1234oh wait
22:28.22ali1234the comments say to cut the first 2600 bytes
22:28.44ali1234oh wait, that comment is saying it didnt work when he did that :(
22:29.16NickBeeyup, i have the .nbf after removing first 2600 bytes
22:29.32ali1234how did you remove it?
22:29.41NickBeeusing a hex editor
22:30.23ali1234hmm ok... try writing that file using dd to the main disk block device
22:30.30ali1234that's all i can really suggest
22:31.13NickBeedoing that now
22:32.15NickBeeits writing the data to card now
22:32.32NickBeedone
22:32.36NickBeetesting now
22:33.39ali1234you could install linux instead :) http://handhelds.org/hypermail/hx4700-port/9/0991.html see part III - no cable required
22:34.11NickBeenope, no luck
22:34.19NickBeeabout linux yes
22:34.46NickBeewould love to see a matured release for hx4705 soon
22:34.59NickBee(though its one of the best supported device so far)
22:35.22NickBeebut for a person who have been using windows for about 12years now, it is still not easy :)
22:35.33ali1234i wouldnt hold my breath. i think everyone is going to buy android phones :(
22:36.10NickBeei would love to see ubuntu mobile on this PDA
22:36.29NickBeethat would save me some hard earned money from buying a umpc for sure :)
22:36.32ali1234isn't ubuntu mobile designed for netbooks like the eee?
22:37.00NickBeeyes, but maybe any ubuntu flavour like xubuntu or embedded
22:37.17NickBeeanything that can run descent desktop app. like firefox or openoffice
22:37.56NickBeeinfact, if firefox alone can run, i won't need to stick with this wm any more
22:38.18ali1234maybe debian armel is what you need - but these PDAs are not very powerful
22:38.50NickBeethis one is, with 624mhx and 128mb, its pretty descent
22:38.54*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
22:38.57NickBeewhats debian armel ?
22:39.05NickBeegoogling now
22:39.08ali1234debian port for ARM EABI
22:39.16ali1234should be released in september
22:39.45ali1234debian supports all kinds of exotic CPUs (unlike ubuntu)
22:40.07NickBeeCool
22:40.21ali1234i think even with ~600mhz you'll still be lacking in power... and the small screen wont help either
22:40.38ali1234i mean when was the last time you tried to use the internet on even an 800x600 screen? these days it is not fun
22:41.13NickBeetrue
22:41.20NickBeebut maybe ...
22:41.21NickBee:)
22:41.50ali1234personally i want an ARM based netbook with 10 hour battery life...
22:42.05ali1234i dont care that it couldnt run windows :)
22:42.32NickBeeanybody will love it
22:42.43ali1234yeah i dunno why somebody hasn't made it yet
22:42.54NickBeefujistu claims of 11hrs battery on their tablet
22:43.16NickBee(with a normal battery, not extended)
22:44.15ali1234i guess the jury is still out on the new "low power" x86 chips
22:44.35ali1234but if they claim 11 hrs, you know it's going to actually be 4 hours, dropping to 2 hours when the battery is 6 months old...
22:45.20NickBeethey need to make money out of something :)
22:45.56NickBeegotta say it was a pleasure talking to you ...
22:46.11NickBeeits 4:15am here and gotta take a nap
22:46.16ali1234sorry i couldnt really help... i have never had any HP device
22:46.37NickBeehopefully will find something tomorrow (or will wait till the ebayer ships me the new cable)
22:46.47ali1234WM6 isnt even that good...
22:46.54ali1234but i would say that
22:47.01NickBeenot an issue, we tried atleast (and i learned couple of new things)
22:49.14NickBeeOk, bye, take care
22:49.26ali1234cya
23:59.36*** join/#htc-linux ALo (n=alogeno@227.Red-79-150-192.staticIP.rima-tde.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.