IRC log for #handhelds on 20070528

00:11.03dnixhem, how to start manually an X session in familiar?
00:11.20dnixI would like to start matchbox at startup :(
00:19.58psokolovskydnix: /etc/init.d/gpe-dm start
00:20.52dnixI would like to no install gtk
00:22.33dnixIhave a h3630 and I want to have a small X in rom and opie in my cf card
00:22.33psokolovskythen why you need X at all?
00:22.33psokolovskydnix: that's useless
00:22.33dnixwhy?
00:22.33psokolovskyno, you tell why ;-)
00:22.49dnixa min X will grant to me access to my data and if I want to use the apps, then I switch to opie
00:22.54dnixlooks logic
00:24.10psokolovskyX grants access to data?? well, good luck, I personally don't understand you. X is GUI server, not data access framework.
00:25.03dnixyeah, but with a min X I can type inside my console commands to do ssh, configure wifi etc etc (this is what I mean for access data)
00:27.21psokolovskywhoa! cool! the you'd better know how to start X in the configuration you need. there's no startx. to run X server, run Xfbdev. still, look into gpe-dm for standard params to it.
00:27.35psokolovsky(still, it's wastage, why don't stick to opie sole?)
00:28.12dnixbecause it's no granted that the cf card stay always mounted :(
00:29.19psokolovskydnix: then, stop wasting your time, join 2.6 port team, and make sure that kernel will behave the way you need ;-)
00:29.34dnixI would really like if only I was able to write something usefull!
00:29.48dnixI would also help to port familiar to h6300
00:29.51dnixetc etc
00:29.57dnixbut I'm not a good C coder :(
00:30.35dnixbut if you want I can try to get more involved
00:31.45*** join/#handhelds orospakr (n=orospakr@bas4-ottawa23-1177611383.dsl.bell.ca)
00:31.56dnixuhm... how to solve this: update-rc.d: /etc/init.d/opie: file does not exist
00:32.26psokolovskydnix: if you want ;-)
00:32.45psokolovskydnix: you apparently have opie not installed (or some important package)
00:33.20dnixyeah, as I want to put all the qt thing in my cf card, I've started from a console image
00:33.35dnixcreated a dest opie /media/cf in ipkg
00:33.40dnixand now installing
00:34.12dnixanyway, I would be interest in try to do something usefull
00:34.38*** join/#handhelds mithro (n=tim@lester.mithis.com)
00:42.08dnixhehehe
00:42.10dnixsolved...
00:42.37psokolovskydnix: one not overcomplex, but utterly useful task you could do is to make defconfigman support for h3600...
00:42.43psokolovskydnix: good for you ;-)
00:43.20dnixpsokolovsky: if somebody teach to me how to do it I would be pleased!
00:44.03psokolovskydnix: see http://defconfigman.sf.net . Check out from SVN. Do like other machines do. Voila.
00:44.23dnixok!
00:56.55mzbpsokolovsky: now have a 2.4 device to add to the testing pool :)
00:57.20mzbserial power-adapter mod works with it too (bonus!)
00:57.45mzbso I think I'll add my pics+instructions to a new wiki page
00:58.24mzb(I didn't get definitive results on hx4700, but this confirms that the mod works on devices other than h2200)
01:04.12dnixhem, why in distro there isn't familiar?
01:16.00dnixok, good night, tomorrow I will play with defconfigman :-D
01:16.04*** part/#handhelds dnix (n=denix@gra94-5-82-226-239-102.fbx.proxad.net)
01:25.49*** join/#handhelds noclouds (n=mhfan@218.22.26.90)
01:44.36*** join/#handhelds emte_ (n=emte@d64-180-45-14.bchsia.telus.net)
02:38.04*** join/#handhelds ricmm (i=ricmm@201.208.134.108)
02:52.34*** join/#handhelds kb7sqi (n=kb7sqi@cpe-075-183-106-019.triad.res.rr.com)
03:08.32*** join/#handhelds kb7sqi (n=kb7sqi@cpe-075-183-106-019.triad.res.rr.com)
03:25.24*** join/#handhelds mithro (n=tim@lester.mithis.com)
03:31.00*** join/#handhelds LeedsHK (i=1000@pcd415219.netvigator.com)
04:14.21*** join/#handhelds emte__ (n=emte@d64-180-45-14.bchsia.telus.net)
04:19.48*** join/#handhelds aquadran (i=aquadran@scummvm/undead/aquadran)
04:27.53*** join/#handhelds Seth_F (n=hunterkl@host-65-125-48-97.clearviewcatv.net)
04:32.01mzbnew wiki page created to power connector mod: http://www.handhelds.org/moin/moin.cgi/HpIpaqPowerAdapterMod
04:58.19*** join/#handhelds emte (n=emte@d64-180-45-14.bchsia.telus.net)
04:59.30*** join/#handhelds hvontres|home (n=hvontres@adsl-75-35-103-170.dsl.sndg02.sbcglobal.net)
05:34.07*** join/#handhelds goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
05:35.36*** join/#handhelds emte_ (n=emte@d64-180-45-14.bchsia.telus.net)
05:53.05*** join/#handhelds sadeness_ (n=LamersIn@nat1.rlan.ru)
06:02.10*** join/#handhelds zap (n=zap@16.170.249.ozerki.net)
06:45.29*** join/#handhelds hvontres|home (n=hvontres@adsl-75-35-103-170.dsl.sndg02.sbcglobal.net)
06:53.30*** join/#handhelds bluelightning (n=blueligh@125-237-74-233.jetstream.xtra.co.nz)
06:57.57bluelightninghi mzb
06:58.03bluelightningdid your h5550 arrive safely?
06:58.44bluelightningheh just got your email this second :)
07:01.13mzbbluelightning: cool ;)
07:01.24mzbany hints on getting battery into learning state?
07:01.47bluelightningnot really, I have to admit that I didn't use it a lot
07:02.01bluelightningit was given to me in exchange for some PC fixing work I did for someone
07:02.07mzbI'm currently on serial console, all services stopped, and everything (!) but h5400_asic unloaded
07:02.09mzbah
07:02.25mzbcan't get it to go below 3823 mV
07:02.46mzbthen it just dies
07:03.08mzbI've done a full charge (?) and discharge (twice?)
07:03.09bluelightningthere is this page: http://handhelds.org/moin/moin.cgi/battery_20learning_20_28hp55xx_29
07:03.36mzbyes, I've been using that
07:03.46bluelightningah ok
07:03.55mzbkeep getting this:
07:03.57mzbroot@h5550:~# cat /proc/asic/battery
07:03.58mzbUnable to read DS2760 battery monitor
07:04.14mzbI have seen the real thing ... but not sure how/when
07:05.01mzbunplugging the power when fully charged (says something around 4200 mV?) then gives me 9995 mV !!!
07:05.22mzband it's just died again
07:05.24mzbhmmm
07:05.27bluelightningdoh :(
07:05.32bluelightningnot sure I can help I'm afraid... you might try one of the kernel hackers who are working on 2.6 for the h5000 series, perhaps they have a better idea of how it should work
07:05.49mzbcan you plug in the battery while it's running on power?
07:06.04mzbok np ... I'll fiddle/investigate/etc ;)
07:06.05bluelightningIIRC the battery has to be connected for it to even power up
07:06.57bluelightningor, you can short two terminals apparently, but I don't remember which, and I imagine shorting the wrong ones would be extraordinarily bad (TM)
07:06.58mzbyes, dead right :(
07:07.54mzbyes it would be (a short would cause excessive drain) ... you should load it with some resistors, and then monitor it down to a certain voltage ...
07:08.34mzbhmmm ... yes, might have to do it "the hard way" ;)
07:08.57mzbeverything else seems pretty ok ... although haven't been able to change volume (oh dear;)
07:09.59mzbmultimeter time!
07:11.02*** join/#handhelds Chicken (n=Alex@pD9E32529.dip.t-dialin.net)
07:17.01mzbI'm guessing at 3.7V nominal, it's a 3 cell pack ... so I was going to discharge it down to 3V, but it's only reading 2.62 ... *sigh* :)
07:17.46mzbhmmm ... a challenge!
07:39.50*** join/#handhelds niv_one_three (n=niv@82.166.207.32)
07:45.54mzbthis is confusing me: Unable to read DS2760 battery monitor
07:46.12mzbI'll have to have a look at the source and see what's going on ... another time
07:46.45mzbtime to do computer stuff for family :(
07:46.47mzbbbl
07:55.04mzbbluelightning: what was the problem with the old battery? Wouldn't hold a charge, or chip blown?
07:55.50bluelightningIt wouldn't hold any charge at all, as soon as you took the battery off it powered down
07:56.27bluelightningerm, I mean as soon as you took the AC off... heh
07:58.38mzbbluelightning: I'm guessing the replacement battery doesn't use the ds2760 (or something?) ... just wondering if it's worth trying to recover the old battery (I've learned a few crude tricks from Dad over the years;)
07:59.05mzbI might open this one up at some stage and investigate
07:59.23bluelightningunfortunately I threw away the old one, so I can't give you that :(
07:59.33mzbok, np :)
07:59.36bluelightningit had a very hard life so I figured it was totally dead
07:59.39mzbit's strange, because I have seen asic battery info on occasion
08:00.35bluelightningI've certainly heard of cheap replacement batteries not having the proper chips in them
08:00.40mzbsometimes you can shock cells back into life ... flicking 12V car battery across the cells (dangerous!) sometimes "burns" them
08:00.54bluelightningyes I've heard of doing that with nicads
08:01.04*** join/#handhelds Marex (n=Marex@85.132.236.161)
08:01.04bluelightningmy dad blew up two car battery chargers doing that :/
08:01.29bluelightningin fact they weren't really chargers they were proper power supplies
08:01.30mzbheh ... yeah charger can't handle the current
08:02.10mzbhas to be big lead-acid battery ... and only "millisecond" contact (you don't want the cells to explode!;)
08:02.23bluelightningI'll keep that in mind :)
08:03.06mzbthen lot's of charge/discharge cycles (only take down to 1V per cell)
08:03.20mzbsometimes worth the effort ... depends on the battery, I guess
08:03.32bluelightningI guess safety glasses would be desirable for such an operation :)
08:03.47mzbheh ... you'd want a body suit! :)
08:05.46mzbI'll try leaving this on charge overnight to bring it back to normal levels and try a few more experiments ... might not be worth it in the long run, but it's occurred to me that monitoring battery status during ramdiskrescue extraction would probably be a pretty good idea
08:06.09mzbI'm being summoned to pull my finger out ... must go ... talk to you later
08:17.03*** join/#handhelds noclouds (n=mhfan@218.22.26.90)
08:18.28*** join/#handhelds emte_ (n=emte@d64-180-45-14.bchsia.telus.net)
08:22.24*** join/#handhelds mithro (n=tim@ppp246-117.static.internode.on.net)
08:35.06*** join/#handhelds emte_ (n=emte@d64-180-45-14.bchsia.telus.net)
08:39.09mzb# modprobe h3600_asic_battery learn_voltage=4000
08:39.15mzbafter a while:
08:39.20mzb<PROTECTED>
08:39.21mzbyay!
08:40.05mzbhmmm: Jan  1 01:15:25 h5550 user.warn kernel: h3600_asic_battery_update: canceling learning
08:40.10mzbheh
08:40.17mzbbugger ... has to wait
08:59.49*** join/#handhelds mmp (n=mmp@adsl-d124.84-47-51.t-com.sk)
09:24.20*** join/#handhelds zecke (n=ich@91.64.161.147)
09:35.12*** join/#handhelds goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
09:57.45*** join/#handhelds zybl0re_ (n=zybl0re@S010600112f8c4e0a.gv.shawcable.net)
10:11.41*** join/#handhelds zybl0re (n=zybl0re@S010600112f8c4e0a.gv.shawcable.net)
10:29.34*** join/#handhelds pgfeller (n=pgfeller@170.156.78.83.cust.bluewin.ch)
10:33.11*** join/#handhelds mr_nice (n=mr_nice@p54A9F628.dip.t-dialin.net)
10:58.31*** join/#handhelds dnix (n=denix@gra94-5-82-226-239-102.fbx.proxad.net)
10:59.11dnixhi all
11:05.28*** join/#handhelds \homer (n=flo@dslb-084-059-097-127.pools.arcor-ip.net)
11:11.59*** join/#handhelds mr (n=mr_nice@p54a9df78.dip.t-dialin.net)
11:27.28*** join/#handhelds pgfeller (n=pgfeller@29.166.78.83.cust.bluewin.ch)
11:33.56*** join/#handhelds mr_nice (n=mr_nice@p54A9DC83.dip.t-dialin.net)
11:37.42*** join/#handhelds vovkav (n=Andrey@1269.ostrov.net)
11:44.29*** part/#handhelds vovkav (n=Andrey@1269.ostrov.net)
12:00.09*** join/#handhelds \homer (n=flo@dslb-084-059-097-127.pools.arcor-ip.net)
12:04.28*** join/#handhelds hardwalker (n=hardwalk@125-229-196-168.dynamic.hinet.net)
12:10.02*** join/#handhelds dariballdesk (n=dariball@p54b1d5a0.dip.t-dialin.net)
12:26.52*** join/#handhelds Marex-notebook (n=marex@85.132.236.161)
12:28.57*** join/#handhelds jg (n=jg@c-24-218-178-107.hsd1.ma.comcast.net)
12:56.47*** join/#handhelds Marex (n=Marex@85.132.236.161)
13:52.17*** join/#handhelds Chicken (n=Alex@pD9E32529.dip.t-dialin.net)
14:08.44*** join/#handhelds agd5f (n=alex@c-69-143-17-173.hsd1.va.comcast.net)
14:08.58*** join/#handhelds reenoo (n=r@p5489E89B.dip.t-dialin.net)
14:09.56*** join/#handhelds emte (n=emte@d64-180-45-14.bchsia.telus.net)
14:27.06*** join/#handhelds orospakr (n=orospakr@132.213.238.4)
14:33.02*** join/#handhelds wolog (n=wolog@brusc.guerrier.com)
14:34.05*** join/#handhelds jg (n=jg@c-24-218-178-107.hsd1.ma.comcast.net)
15:00.15*** join/#handhelds thaytan (n=jan@core.fluendo.com)
15:25.38*** join/#handhelds mzb (n=ubernut@ppp108-88.static.internode.on.net)
15:26.09*** mode/#handhelds [+o mzb] by ChanServ
15:30.41*** join/#handhelds vovkav (n=Andrey@1269.ostrov.net)
15:33.20*** join/#handhelds mmp (n=mmp@158.195.16.153)
15:44.45*** join/#handhelds zap (n=zap@16.170.249.ozerki.net)
16:15.12*** join/#handhelds jg (n=jg@c-24-218-178-107.hsd1.ma.comcast.net)
16:37.08*** join/#handhelds emte_ (n=emte@d64-180-45-14.bchsia.telus.net)
17:03.15*** join/#handhelds dfox (n=dfox@r5cv25.net.upc.cz)
17:09.44*** join/#handhelds mmp (n=mmp@TheWide.ubyt.sdjls.uniba.sk)
17:12.32*** join/#handhelds chazco (n=chazco@AC9FBC75.ipt.aol.com)
17:15.24*** join/#handhelds yann (n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net)
17:16.05*** part/#handhelds chazco (n=chazco@AC9FBC75.ipt.aol.com)
17:29.44*** join/#handhelds Seeraa (n=dennis@195.158.181.64)
17:33.10*** part/#handhelds vovkav (n=Andrey@1269.ostrov.net)
17:41.52*** join/#handhelds goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
18:01.11*** join/#handhelds mmp_ (n=mmp@TheWide.ubyt.sdjls.uniba.sk)
18:36.33*** join/#handhelds gremlin[it] (n=gremlin@217.201.15.92)
18:48.01*** join/#handhelds exastra (n=go@c-24-21-152-246.hsd1.mn.comcast.net)
18:48.54*** part/#handhelds exastra (n=go@c-24-21-152-246.hsd1.mn.comcast.net)
18:49.17*** join/#handhelds exastra (n=go@c-24-21-152-246.hsd1.mn.comcast.net)
20:14.52*** join/#handhelds avkig (i=ariel@gateway/tor/x-c971a7681781c777)
20:15.15*** join/#handhelds emte (n=emte@d64-180-45-14.bchsia.telus.net)
20:18.00*** join/#handhelds BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
20:18.08BabelOhi
20:25.51*** join/#handhelds goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
20:30.23*** part/#handhelds dnix (n=denix@gra94-5-82-226-239-102.fbx.proxad.net)
20:34.21*** join/#handhelds dnix (n=denix@gra94-5-82-226-239-102.fbx.proxad.net)
20:36.16*** join/#handhelds zybl0re (n=zybl0re@S010600112f8c4e0a.gv.shawcable.net)
20:38.16*** join/#handhelds Disconnect (n=dis@c-68-48-132-97.hsd1.md.comcast.net)
20:38.26*** join/#handhelds ricmm (n=ricmm@201.208.134.108)
20:39.34*** join/#handhelds Jakkes (n=root@h208015.upc-h.chello.nl)
20:41.48Jakkesdir
20:46.02*** join/#handhelds \homer (n=flo@dslb-084-059-097-127.pools.arcor-ip.net)
20:52.14*** join/#handhelds unique311 (n=unique31@ool-457ae2a6.dyn.optonline.net)
20:54.08Marexaquadran, ping
20:54.14Marexaquadran, hi, are you around?
20:56.31aquadranMarex: yes
20:57.23Marexaquadran, I found out, that on PalmTC 2 INput GPIOs and 3 OUTput GPIOs has something to do with WiFi
20:57.33Marexdont you think its a bit too less?
20:58.13aquadranMarex: heh, i'm not ported of PalmTC :)
20:58.34Marexaquadran, youre working on mypal 716
20:58.40aquadranyes
20:58.50Marexwhich is nearly the same ;] we talked about it some time ago
20:58.58aquadranah, right
20:59.26Marexhmm ... but still ... I cant find any other gpios :]
20:59.52MarexI think those two inputs may be for 2 sockets ...
21:00.30Marexand those three outputs ... hmm ... wifi power, reset, add ?
21:02.51aquadranMarex: i don't know, it might be done differenlty. mypal wifi use more gpo pins
21:03.31Marexaquadran, thats why Im curious about it, but there arent any more :-/
21:04.05aquadranMarex: mypal have two input. each one for each slot. card ready
21:05.00Marexaquadran, which I doubt is important on TC since it has only one slot with wifi
21:05.07Marexyou cant plug CF card into TC
21:05.09aquadranMarex: 6 output for cf slot2(wifi)
21:05.21aquadranbut two of them are for wifi chipset
21:05.43aquadranPOWER 1.8V and POWER_N 3.3V
21:05.59aquadranthat have from wifi module specs
21:06.06MarexI looked at that driver ... yeah
21:06.42aquadranmypal seems have some lowlevel control of cf slots
21:06.50aquadranwhat for so many pins
21:06.52aquadran?
21:07.19*** join/#handhelds mmp (n=mmp@TheWide.ubyt.sdjls.uniba.sk)
21:07.22Marexhmm ... Ill try trusting those three pins are some power, reset and something ;]
21:07.46aquadranMarex: how use pins i found from dissassembly original driver
21:07.47Marexbut I still havent found out why both of those two inputs are on when wifi is on
21:08.06Marexaquadran, :] ok
21:08.10aquadranwifi chipset doesn't have reset pin
21:09.07Marexcf slot does have, doesnt it<
21:09.08Marex?
21:09.19aquadranyes
21:10.06Marexaquadran, well ... I got to those five gpios by dumping all gpios with wifi on and off ...
21:10.09Marexhmm ...
21:10.33aquadranMarex: it might be handled by hardware, and you might need only simply power on and reset
21:10.49aquadranMarex: i did same way :)
21:11.18MarexIll just try all possible permutations and see :b
21:11.30Marexit wont take long I guess ... there are 27 of them
21:11.51aquadranheh, it started work for me by trying combinations :]
21:12.11aquadranbut at least i have some dissassembly info
21:12.40Marexhmm ... me and objdump ... two enemies :b
21:14.54*** join/#handhelds broken_star (n=broken_s@pD9E07924.dip.t-dialin.net)
21:15.00broken_starhello everyone
21:15.11broken_starthought to try my luck on this channel
21:15.18broken_staranyoneonly?
21:15.31broken_staronline*
21:20.49Marexbroken_star, nah :b
21:21.07broken_starhi Marex
21:21.14Marexhi broken_star
21:21.27broken_starso i take u r an expert on familiar?
21:21.29broken_star:)
21:22.16mmpbroken_star: just ask question:)
21:22.40broken_stari finally managed to install familiar on my iPAQ and made it to run properly, but now i have a weird problem for some time
21:22.49broken_starand this is the brightness of the display
21:22.56broken_starit has become very very dark now
21:23.18broken_starand no matter how much i try to put it high, it stays the same, :(
21:23.57broken_starit happened after the iPAQ woke up from suspend mode, i have restarted it couple of times but no luck
21:24.10broken_starcould someone pls tell where might be the problem?
21:24.54broken_starohhhhhhh
21:26.24broken_starand now just when i am typing, i touched the screen and the display is back to its normal. very strange indeed! thanx for ur time guys
21:27.00Marexheh
21:40.26*** join/#handhelds joss193 (n=joss193@dhcp-18-128.cable.infonet.ee)
21:40.51joss193hi, tffs as a partition identifier, someone aware of this type..
21:41.14joss193seems there is tffs subdir in device catalogue rather than mtd/
21:48.02aquadranMarex: heh, i like this. just enter channel, ask question and shortly exit without chance anyone wrote answer :)
21:48.53Marexaquadran, as I never seen it ;]
21:49.06Marexaquadran, but its fun :b
21:49.33aquadranMarex: i saw such thing quite a lot :)
21:49.40Marexaquadran, I feel like Im close to pcmcia
21:49.59Marexah ... dang :D
21:50.20Marexvery interesting ... I killed the device
21:50.47joss193Marex: refering to me?
21:50.59aquadranMarex: it's rather difficult ...
21:51.55MarexI felt like I was getting close :b
21:52.03Marexjoss193, nah ;]
21:52.19joss193ok any of you guys can tell me one of two, where can i find the configuration of kernel, or two.. possible to overwrite the cramfs image, if the partition is there?
21:52.44joss193seems here that upon every reboot, the files are renerated again, regarldless that some indeed have rw even
21:52.55joss193seems like it extracts it from a flash always
21:53.35joss193possible to overwrite this image without logging to bootloader via jtag and serial cable?
21:54.42aquadranjoss193: it would be easier for us if you mention what pda it is ? :)
21:55.08joss193aquadran: it is samsung i858 with mizi
21:55.28aquadranso it's not officiay supported
21:55.44joss193yeah, but it is well bundled with linux here..
21:56.18aquadranjoss193: does it have linux originaly ?
21:56.32joss193aquadran: yeah..this one that i am having really has..
21:56.45joss193i mean this one that i have access to
21:57.24joss193but this is first one i have touched also..and it seems that all of the filesystem is regened upon every reboot
21:57.45joss193want to do some changes here, like modyfying fstab and such and commit those to flash
21:57.58joss193for instance change the filesystem type for sd cards
21:58.43aquadranjoss193: to where it extract files from flash ?
21:58.46aquadranto ram ?
21:58.52joss193aquadran: i think so..
21:59.07joss193aquadran: but i am not that convienient or sure about it
21:59.21joss193but it seems like it, at leasst cramfs should refer to this procedure
22:01.01joss193aquadran: but this is just a usr dir that has this..
22:01.02aquadrandoes that linux have some sources for generating image ?
22:01.16joss193aquadran: yeah i have a utility for that
22:01.34joss193which should generate an image suitable for their bootloader
22:01.48aquadranjoss193: check bootparam cmdline
22:02.07joss193aquadram: yeah, but i do not have a serial cable
22:02.19joss193aquadram: i have only usb ether connection..
22:02.50joss193aquadram: in other words, howto to check this
22:02.51joss193?
22:02.54aquadranjoss193: i mean cat /proc/cmdline
22:03.21joss193yeah ram is there
22:03.25joss193initrd=0xa1000000,2m root=/dev/ram0 mem=60m console=dummy0
22:03.45joss193aquadram: this refers to what?
22:04.06aquadrani think it refer where initrd is in ram
22:04.20aquadran2m size at 0xa1000000
22:04.54joss193aquadram: yeah, but initrd is not in question at the moment..
22:05.07aquadranbootloader load kernel image and initrd into ram from flash
22:05.10joss193aquadram: since i have not found the kernel configuration file to rebuild this image
22:05.31aquadran2.4 or 2.6 kernel ?
22:05.35joss1932.4 here..
22:05.40joss1932.4.25
22:06.16joss193and armvtel5 or something should be the arm core
22:06.29aquadranlook into /boot/config* maybe there is
22:06.48aquadranif /boot exit
22:06.50joss193have no such dir at all
22:07.13aquadranso kernel and initrd is indeed in flash
22:07.47joss193aquadran: yeah but i can not reproduce this exaclty if i am missing the configure, or can i
22:07.49aquadranso you propably can't get config from pda
22:08.17joss193aquadram: can this be rebuilt from modules.dep or some other sources put together?
22:08.34*** join/#handhelds ricmm (i=ricmm@201.208.134.108)
22:09.16joss193ok nontheless..this is not the issue here...seems i have the utility to overwrite the image in flash at least
22:09.20aquadranjoss193: from modules.dep you can get list of modules
22:09.37joss193yeah, but not those that have been build into zimage yes?
22:09.48aquadranyes
22:09.58joss193that is what i thiugh, perhaps stringing the zimage, might work, but ..ah nevermind
22:10.45joss193so the question, where can i get the load address for filesystem image in the flash memory?
22:11.00*** join/#handhelds \\homer (n=flo@dslb-084-059-100-212.pools.arcor-ip.net)
22:11.37aquadranjoss193: bootloader know this
22:12.06aquadranjoss193: you have utility, so you don't need to know
22:12.16joss193aquadran: you think that only bootleader knows this?
22:12.35joss193aquadran: hmm, this utility takes the device as parameter i think
22:13.00aquadranjoss193: what filesytem you mean ? initrd ?
22:13.05joss193but it do not have files, seems that physical character devices of discs are at /dev/rd/
22:13.19joss193aqudran: no root filesystem and home and usr
22:14.10aquadranjoss193: that should be in initrd files as it boot from  root=/dev/ram0 first
22:14.39joss193ok, can i grep those locations out+
22:14.40aquadrancheck /sbin/initrd if it is script or binary
22:14.54aquadranerr /sbin/init
22:15.23joss193binary
22:15.54aquadranso you should have in /etc/rc0.d ,...
22:16.29aquadrancheck in /etc/inittab what is default level
22:16.41aquadranfor ex. id:2:initdefault:
22:16.43joss193only thing i have is at init.d/rc.S
22:17.02aquadranso check it what is inside this script
22:17.11aquadranit's always first script
22:17.24joss193::sysinit:/etc/init.d/rcS
22:17.31joss193indeed it is, and this is the first
22:17.39joss193and this one is a script
22:17.55joss193which has those partitions marked there..which to mount, same as mount shows
22:18.47*** join/#handhelds exastra (n=go@c-24-21-152-246.hsd1.or.comcast.net)
22:19.13joss193aquadran: you think that fstab is generated from that script?
22:19.22joss193by that .
22:19.23*** part/#handhelds exastra (n=go@c-24-21-152-246.hsd1.or.comcast.net)
22:20.20joss193doc.o wonder what is that module for
22:20.30aquadranit's driver for flash
22:22.47*** join/#handhelds emte (n=emte@d64-180-45-14.bchsia.telus.net)
22:22.56joss193ok.
22:23.23joss193Seems that this script mentions all but the actual very root / itself
22:23.40joss193home is even extracted from tgz file..:)
22:23.48aquadranhe
22:26.08joss193aquadran: which indicates that /dev/root is mounted elswhere..
22:26.24joss193and also this script does not reveal thos flash addresses
22:26.48joss193perhaps there is a utility to do that
22:28.36aquadrando you have /proc/mtd ?
22:29.54aquadranjoss193: if home is extracted initrd might be /dev/root
22:30.50joss193no funny thing i do not have that proc/mtd
22:30.50aquadranmaybe it mount rest /usr,..
22:30.50joss193aquadran: no initrd is not /dev/root
22:30.50joss193root filesstem is
22:31.00joss193which is linked to /dev/rd/0
22:31.16joss193initrd is /dev/rd/initrd
22:31.22aquadranrd is initrd
22:31.32joss193rd means initrd?
22:31.40aquadranrd mean ramdisk
22:32.02joss193aquadran: which means that root filesystem should be on ramdisk?
22:32.10aquadranpossible
22:32.26joss193this filesystem can be modified, and has ext3 filesystem
22:32.27aquadranat least part of it (base)
22:32.46joss193but it really forgats the changes after each reboot
22:33.13aquadranso initrd
22:33.42joss193cat /dev/rd/initrd
22:33.42joss193cat: /dev/rd/initrd: No such device
22:33.52joss193allthough it clearly is there..
22:34.00aquadranyou can't cat
22:34.32aquadranbut you could with dd
22:34.32joss193dev/root on / type ext2 (rw)
22:34.46joss193i could extract the contents with dd?
22:35.12joss193heh perhaps, i could just rewrite the /dev/root with new image than?
22:35.30aquadranonly that which is in ram :)
22:35.55aquadranso do you have /pro/mtd ?
22:36.04aquadran/proc/mtd
22:36.29joss193aquadram: no
22:36.43aquadranor mtd command ?
22:36.48joss193nop
22:36.52joss193nwither is there
22:36.55joss193is'nt
22:37.00joss193isn't
22:37.31aquadranwhat you have when you type 'mount' ?
22:38.04joss1936lines ok?
22:38.09joss193pastebin..
22:38.09aquadranok
22:38.56joss193http://pastebin.ca/516993
22:39.45aquadransoftware you have on /dev/tffs/disc0/part1 on /usr type cramfs (ro)
22:39.59joss193aquadran: yeah..
22:40.24joss193aquadran: but i do not know, where it is on the flash
22:40.34joss193aquadran: and it is ro
22:40.55joss193ah one line left out
22:41.13joss193none on /dev/shm/T-flash type supermount (rw,noatime,dev=/dev/mmc/disc0/part1,fs=vfat,tray_lock=never,--,shortname=winnt,iocharset=utf8)
22:41.32joss193this is needed to be changed to ext3..but it is renerated upon every reboot:)
22:41.59aquadranjoss193: you you can replace cramfs on /dev/tffs/disc0/part1
22:42.18joss193aquadran: with what?
22:42.24joss193at etc/fstab?
22:42.49aquadran/etc/fstab is from initrd
22:43.19*** part/#handhelds BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
22:43.48joss193ok those..are from flash partitions? but why only read-only?
22:43.57aquadranjoss193: do you have more in /dev/tffs/disc0/ except partX ?
22:44.14joss193disc0 is the only  occurance
22:44.24joss193part1 part2 part3 there
22:44.40aquadranso /dev/tffs/disc0/part1 is like /dev/hda1
22:44.42joss193and disc also
22:44.54joss193aquadran: yeah..
22:45.50joss193but it is cramfs and at /usr
22:46.10joss193how can i tell it not to be cramfs, instead something else, i think i can not
22:46.20aquadranjoss193: you could replace by using 'dd' dd if=new_cramfs_file of=/dev/tffs/disc0/part1 but you must be sure to know if you still can restore software if something goes wrong
22:47.07joss193and i could also use an overlay filesystem..
22:47.14aquadranjoss193: in /etc/fstab, but changes are lost after reboot
22:47.34joss193aquadran: yeah indeed...
22:47.39*** part/#handhelds rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
22:47.42joss193aquadran: how come i not lost the changes?
22:47.46aquadranjoss193: so you need replace initrd
22:48.04aquadranwith your own changes in initrd
22:48.43joss193aquadran:ok how can i do this, can't i just replace that /dev/root part , which is the root filesystem?
22:48.52aquadranjoss193: do you have more in /dev/tffs/ ?
22:49.12aquadranjoss193: initrd is on flash
22:49.19aquadranwith kernel
22:49.20joss193part3  part2  part1  disc0
22:49.26joss193this is the contents..
22:50.15aquadranjoss193: you said you have utility
22:50.28joss193so i need to have access to bootloader to change that?
22:50.50joss193aquadran: yeah but this says something weird, if i point it to /dev/rd/0
22:50.51aquadranpropably
22:51.45aquadranjoss193: do you have /dev/mtd ?
22:51.58joss193nop
22:52.32aquadranjoss193: look into /sbin dir if you have some commands with names flash or doc
22:52.40joss193this is the thing they do not seem to use mtd config, to renerate those partitions
22:52.46aquadranor /usr/sbin /usr/bin
22:53.37aquadrani think you should have ability to replace kernel and initrd for software upgrade/fixes
22:54.18joss193by kernel you mean root filesystem? or just the zimage?
22:54.25aquadranimage
22:54.44joss193aquadran: ok but this one is not needed yet actually..step by step
22:54.56joss193i only want to change /etc/fstab contents
22:55.17aquadranthis only mean change initrd in flash
22:55.49joss193ok, so intrd image should carry this file?
22:56.05joss193hmm..
22:56.16joss193no i can not find such commands
22:56.22joss193mizi only give imagewrite
22:56.39joss193http://www.mizi.com/developer/s3c2410x/Linuette_chap_6_en.htm
22:56.55joss193and somewhere should be a utility called bon
22:57.01joss193which i have not found
22:57.18joss193http://www.mizi.com/developer/s3c2410x/index.html
22:57.51aquadranimagewrite use mtd
22:58.20aquadranit seems mtd is not used
22:58.48joss193aquadran:indeed..
22:58.56joss193so this can be a problem here:(
22:59.09joss193http://www.mizi.com/developer/s3c2410x/Linuette_chap_6_en.htm#chap_f_e
22:59.50aquadranjoss193: does samsung don't have any software upgrades ?
23:00.13joss193aquadran: i do not know much about that..only thing i have is this site
23:00.15aquadranmtd seems not exist in kernel
23:00.58aquadrandmesg tell you anything usefull ? if you have dmesg command :)
23:03.17joss193tffs:     partition 0x1 size 0x4f18000 start offset 0x2000
23:03.17joss193tffs:     partition 0x2 size 0x276000 start offset 0x4f1a000
23:03.18joss193tffs:     partition 0x3 size 0x23be000 start offset 0x5190000
23:04.09joss193but those are not a problem...you said them contents can be overwritten with dd
23:04.21joss193thins is with this initrd partitions
23:04.55joss193dev/rd/initrd and /dev/rd/0 which is linked to /dev/root
23:05.01aquadrannone of them have initrd
23:05.02joss193but there are lots of those
23:05.19joss193yeah those rd/X have those
23:05.49aquadranjoss193: initrd and kernel might be also on diffrent flash chip
23:06.28joss193aquadran: hm ok, dd their contents i can only reach to this part, which is written to ram?
23:07.06joss193what happens if i do dd if=someimage of=/root/dev ?
23:07.22joss193what happens if i do dd if=someimage of=/dev/root (as /dev/rd/0) ?
23:07.39joss193perhaps it writes this to flash?
23:08.00aquadranjoss193: you overwrite current filesystem, but it's in ram only
23:08.57joss193aquadran: ah, which means that it will diisapear those changes after reboot again..
23:08.57aquadrannope it's not connected to flash. bootloader load initrd into ram from flash and tell to kernel where is it by command line params
23:09.04joss193well that tends to be sad, since this runlevel script is there at /etc/also
23:09.48joss193aquadram: yeah...but those tffs partitions are flash partitions?
23:10.00aquadranyes
23:10.28joss193one question does not that cramfs refer that it is used from ram?
23:11.04joss193or it is just a silly filesystem name..intented to be used on ram drive, but used with flash here?
23:11.58joss193aquadram: in that case since settings have (rw) should those changes there be available adter reboot?
23:12.11aquadranjoss193: yes
23:12.53joss193yes for both questions then, ok..so intrd also manages that, weather those partitions are rw or ro
23:13.02joss193will do a test then...
23:13.12mzbcramfs is a ro fs, and iirc it was designed by Linux himself (or am I confusing it with something similiar?)
23:13.23mzbs/Linux/Linus/
23:13.24aquadrancramfs might work like initrd but readlonly, and seem directly from flash partition
23:14.11mzbslightly better compression than initrd too
23:14.33mzbso joss193, to answer one of your questionsm it's not just a silly name
23:15.28joss193mzb:yeah those are flash partitions, and indeed. those that carry rw can write also , those changes are there after reboot
23:15.38aquadranjoss193: i see you have some free space on that flash about 10MB so initrd and kernel maybe is hidden in flash
23:15.44joss193but software partition comes with ro
23:16.03joss193df -h output?
23:16.55joss193http://pastebin.ca/517083
23:17.26joss193usr is full as full:)
23:17.51mzbjoss193: I was simply referring to your question about cramfs, not partitions.  ie. partition != filesystem
23:18.17joss193mzb: cramfs is filesystem as i understand, no?
23:19.11joss193mzb: partition is just a reference of a stack of blocks?
23:19.19joss193-?
23:20.01joss193nevermind..the problem is how to change this flag of usr partition ro to rw, and contents of initrd then:(
23:20.43aquadranjoss193: you can't cramfs is itself readonly from what i know
23:21.19aquadranor i messing with squashfs
23:21.20mzbabsolutely
23:21.22joss193aquadran: ah this does not even matter most, dev/root is more important..since that carries a path directives
23:21.42joss193and other bootup info
23:21.54joss193and this runlevel script..
23:22.55joss193aquadran: so lets just remind something, you think that this rootfilesystem is also half on ram and half on flash as bootloader says this, correct?
23:23.46joss193aquadran: so that can mean, that init script changes are written to the flash while fstab are not
23:23.52mzbthis should tell you everything you need to know: # cat /proc/mounts
23:23.52joss193can this be so even?
23:24.02mzb(assuming you have proc mounted)
23:25.14joss193rootfs / rootfs rw 0 0
23:25.16joss193/dev/root / ext2 rw 0 0
23:25.24joss193those are the ones at question
23:26.11mzbthat would tend to indicate that your root is writable .. what else are you asking?
23:28.18joss193mzb: yeah but this is only writable to ramdisk, which is flushed at boottime this is the problem here
23:28.18mzbif you compared those entries to a live linux system, I think you'd see something similar
23:28.19joss193mzb: dev/root is a symlink to those rd dirs that should indicate a ramdisk usage
23:28.19joss193mzb: and not there is a ramdisk and also a rootfs / what is that line for?
23:29.21mzbif you read my last msg ... you will see that a normal linux system has one too: I can't tell you what it's for.
23:29.57joss193mzb:yeah but that is the problem, that root that carries the bootime options is really not changable
23:30.29mzbrootfs / rootfs rw 0 0
23:30.32joss193like those flash sectors where this information is stored are hidden or such
23:30.38mzb/dev/hda7 / ext3 rw,data=ordered 0 0
23:30.42aquadranjoss193: you need find out if your bootloader can replace initrd
23:30.47mzbthat is NOT the problem
23:31.24joss193aquadran: as this mizi tutorial shows they use mtd which is not actual here..:(
23:32.03joss193mzb: it is writable and i know fstab contents..but it is writable on ram
23:32.04aquadranjoss193: does it refer to that pda ?
23:32.24mzbjoss193: you are saying that you can create a file on the root system (ie: # touch /me), and then when you reboot "me" is not there?
23:32.28joss193aquadran: well that is the thing, i guess not, but i assumed..it is
23:32.45*** join/#handhelds jg (n=jg@c-24-218-178-107.hsd1.ma.comcast.net)
23:32.46joss193i think i519 and i858 have other initrd's
23:33.00joss193assumed it was
23:33.40joss193think this board and tutorial there describes procedures for i519 which is slightly different
23:35.55mzbah, just saw your command line, now I get it .... you'd need to create another initrd and (be able to) write it back to flash at 0xa1000000,2m
23:36.10joss193aquadran: and there does not seem to be a way to just dissasable the intrd to see..where those hidden partitions are, or sectors that include this data....
23:36.23mzb_or_ be able to change your command line and boot from something else
23:36.40joss193mzb: correct, but using what utilities?
23:36.51mzbdd and gzip come to mind
23:37.29mzb# dd if=/dev/ram0 bs=1M count=2 of=myinitrd.gz
23:37.31joss193mzb: ok seems i can not replace the bootparameters with initrd itself..
23:39.39mzbmight work, but the block size might be all wrong
23:39.54joss193mzb: how to find out the real one?
23:39.54mzbdunno
23:39.55mzbthen you: # gunzip myinitrd.gz
23:39.55mzb# mkdir myinitrd-mnt
23:39.55mzb# mount -o loop myinitrd myinitrd-mnt
23:39.55joss193mzb: go ahead was planning to do that..
23:39.58joss193the thing is, how can i write this to position you refered, and where did you get a value for this
23:40.07mzbyou _can_ make changes to the mounted loopback, but it won't compress as well doing it that way ... it's better to copy the whole dir into a new one a compress a new initrd with gzip -9
23:40.29aquadranjoss193: bootparams are passed when kernel start execute
23:40.29mzbfrom your command line
23:40.40joss193ok so intrd or zimage hold them?
23:41.34joss193i know where to pass those with grub, but do not know how with embedded
23:41.34mzbin theory, you *should* be able to shove the recompressed initrd back into the same place while running ... but you'll find out very quickly that if you don't get it right you've got a brick
23:41.49aquadranjoss193: it might be fixed int zimage kernel or bootloader as default
23:41.57dnixnite
23:41.59*** part/#handhelds dnix (n=denix@gra94-5-82-226-239-102.fbx.proxad.net)
23:42.11mzbthe command line tells me that your initrd is 2MB is size starting at certain location ... I'd say the bootloader gets the kernel from a different section of flash
23:42.25mzb(up to 2MB in size)
23:42.57joss193mzb: yeah but it takes it from ram..
23:43.22joss193and if i put it back there, and switch off the phone, the initial is taken again
23:43.22aquadranmzb: that might be in at the end of flash as from begining partitions are placed
23:44.30joss193mzb: you have a way to sniff those intrid real flash borders where this is loaded by bootloader?
23:44.50joss193aquadram: i think it is before those three partitions
23:45.01mzbjoss193: your cmdline seems to suggest it's taking it from flash, doesn't it? ... or are you suggesting that the bootloader get's the initrd from somewhere else and loads it into ram for the linux kernel? Seems like a lot of effort for little gain
23:45.16aquadranjoss193: nope, it's only 0x2000, which is IPL
23:45.27joss193IPL?
23:45.45joss193mzb: i thought so..since rd aquadran said is a ramdisk device
23:46.02aquadrandoc early bootloader which load second bootloader
23:46.28joss193dev/root is a symlink to /dev/rd/0
23:46.45joss193which holds this / and it seems this comes from ram
23:46.54aquadran0xa0000000 is ram
23:47.06mzb<PROTECTED>
23:47.35joss193mzb: ok, so how to put this zimage to place then?
23:47.37aquadrandoc is from 0x0
23:47.45mzbdiff?
23:48.29joss193mzb: you think if i dd the changed zimage back to ram0 it does load a new one after reboot?
23:48.29mzbno
23:48.37aquadranit's not compatible with this info, first partition is 0x4f18000 size and have /usr
23:48.43joss193i think i need a program that can sniff the location after address to do that
23:49.12joss193but the thing is i am missing kernel devices for those..
23:49.24joss193else it should be easy and obvious
23:50.04joss193mzb: so you suggest?
23:50.05aquadranjoss193: consider also this if you change something wrong, you are not able boot and fix it
23:50.19joss193aquadran: i know that..
23:50.30mzbI'd suggest you find a mizi list/channel :)
23:51.02joss193aquadran: but i will do that, if there is a way to dump the borders of the zimage flash locations
23:51.30joss193aquadran: sinze i assume that bootlader is the same for those devices..at least i know that..
23:51.50aquadranjoss193: i'm not sure if you understand me. flashing from linux is way one thing
23:51.58aquadranyou need do that from bootloader
23:52.29joss193aquadran: yeah that is what i thought..since kernel just do not see those locations:(
23:52.31mzbcan't he use this imagewrite utility? (still sounds like dangerous option;)
23:52.49aquadrankernel not support mtd
23:52.59joss193mzb: i have no serial cable here
23:53.13aquadranor no mtd partitions defined in kernel driver
23:53.23mzbtrying to make life hard(er) for yourself? :)
23:53.39joss193mzb: eh?
23:53.49joss193mzb: well i just do not have one..
23:54.07joss193mzb: should buy, but i do not know which could work..
23:54.16joss193mzb: that usbserial is ment for what
23:54.28mzbwell, even if you _were_ able to change the root image in flash, if you had a problem (likely) you wouldn't be able to fix/debug
23:54.38mzb"dev suicide"
23:54.40joss193plug this connection to hosts usb and generate a serial emulation device?
23:55.16joss193mzb: well with jtag calble and serial this can be done only
23:55.29joss193mzb: this can wake up a dead board
23:55.59aquadranjoss193: but without proper setup info that will be useless
23:56.33joss193aquadran: yeah..i opened the device, this not easy by any means
23:57.11mzbhmm ... well setting up a jtag and using it will be 1000000x harder than just opening the unit
23:57.48joss193mzb: i have no jtag cable as well
23:58.02aquadranjoss193: heh, i mean how data should be placed on flash. if you overwrite you lost chance to get information
23:58.37joss193mzb: should i be able to emulate serial to host when it is connected via usb cable?
23:58.38aquadranand source of data to restore
23:59.15aquadranjoss193: anyway, i'm going to sleep
23:59.17aquadrannite
23:59.19joss193mzb: or this usbserial is ment for connections that involve connectors
23:59.44joss193usb to serial converters it is..nevermind

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