IRC log for #htc-linux on 20090927

00:06.20*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
00:16.39*** join/#htc-linux thedicemaster2 (n=thedicem@24.132.89.51)
00:20.51Orbital_sFeartmzt: I got it, you can echo to /dev/kmsg and get messages to dmesg
00:21.26Orbital_sFearthanks for your help
00:23.54*** part/#htc-linux Orbital_sFear (n=ldupin@bbb72-0-189-133.bendbroadband.com)
00:29.38*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
00:51.22*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
01:00.49*** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a)
01:14.36*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
01:15.14*** join/#htc-linux root2 (n=root@rgnb-5d87d95e.pool.mediaWays.net)
01:18.30*** part/#htc-linux Renfield (n=Renfield@c-24-218-184-34.hsd1.nh.comcast.net)
01:36.32*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
01:58.10*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
02:04.47luke-jrhttp://wiki.xda-developers.com/index.php?pagename=RaphaelLinux suggests even Raph is nowhere near working?
02:18.24*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
02:23.54*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
02:45.44*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
03:00.59*** join/#htc-linux dcordes-kais (n=dcordes-@ip-77-25-120-76.web.vodafone.de)
03:01.45dcordes-kaisluke-jr young jedi
03:02.35dcordes-kaisdcordes-kais this information is probably misleading.
03:03.35dcordes-kaiss/dcordes-kais/luke-jr/
03:03.46luke-jrdcordes-kais: ?
03:09.08*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
03:11.09*** join/#htc-linux ppman (n=mkern@pool-71-250-6-82.nwrknj.east.verizon.net)
03:11.47ppmanhey, I'm interested in building some Angstrom-based stuff for kaiser, which machine do I use?
03:13.52*** join/#htc-linux root2 (n=root@rgnb-5d87ce2a.pool.mediaWays.net)
03:19.27*** join/#htc-linux cr2 (n=cr2@109.84.130.177)
03:23.43*** join/#htc-linux Bry8Star (n=Bry8Star@71.137.228.95)
03:32.54*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
03:41.43*** join/#htc-linux junalmeida (n=junalmei@201.19.126.132)
03:46.42*** join/#htc-linux Bry8Star (n=Bry8Star@adsl-71-137-228-95.dsl.irvnca.pacbell.net)
03:54.23*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
04:16.53*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
04:27.44*** join/#htc-linux droid001 (n=g1@p4FDCF391.dip.t-dialin.net)
04:39.49*** join/#htc-linux Bry8Star (n=Bry8Star@70.239.151.164)
04:43.54*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
04:58.33*** join/#htc-linux townkat (n=town@86.127.6.111)
05:01.39*** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-88-217-24-48.dynamic.mnet-online.de)
05:05.32*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
05:29.50*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
05:33.53*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
07:36.03*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
08:07.47cr2morning
08:16.37*** join/#htc-linux pleemans (n=toi@d54C2A96D.access.telenet.be)
08:18.02cr21462     if (configMgr_start(drv->adapter.CoreHalCtx) != OK)
08:18.03cr21463     {
08:18.05cr21464         print_err("TIWLAN: Failed to start config manager\n");
08:22.37phhcr2: yeah,  just have to understand what this actually means.
08:25.20phhmaybe it means it just can't talk to the card... or just to the userland... or anything else
08:25.55cr2where is this function located ?
08:26.50phhyou have to get the whole ti driver
08:26.57cr2and does the compiler do wrong struct packing ?
08:27.01cr2no
08:27.16phhmmm haven't though about compiler
08:27.31cr296    CHECK_STRUCT_SIZE(beacon_probeRsp_t, SIZEOF_BEACON_FRM);
08:27.44cr256 #define SIZEOF_BEACON_FRM        0x57
08:27.45cr257 #else
08:27.47cr258 #define SIZEOF_BEACON_FRM        0x53
08:27.48cr259 #endif
08:28.05cr271         print_info(KERN_INFO"\n.... ERROR in size of %s struct 0x%08x  should be 0x%08x.....\n", \
08:28.07cr272                  #_type, (int)sizeof(_type),(int)_size); \
08:32.53phhdo you know which compiler is used to build g1 ?
08:33.32cr2what were your numbers ? let's check them directly
08:34.07phhhttp://pastebin.com/m24a88226
08:37.55cr255 #ifdef EXC_MODULE_INCLUDED
08:38.05cr2what does it mean ?
08:39.56cr249 typedef struct
08:39.57cr250 {
08:39.59cr251     int err_code;
08:40.00cr252     char *desc;
08:40.02cr253 }
08:40.03cr254 configMgr_error_desc_t;
08:40.15*** join/#htc-linux kiozen (n=kiozen@rgnb-5d87dc81.pool.mediaWays.net)
08:40.42cr2which error number did you get ?
08:45.13*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
08:46.20phhdo you know where can i read it ?
08:46.36cr2!= OK
08:46.53cr2is it printed then ?
08:47.46phhit doesn't seems to be printed anywhere
08:50.49*** join/#htc-linux timebomb (n=tb@85.177.142.5)
08:54.34phhargh
08:54.48phhhow do we print messages to kernel ?
08:55.17phhoops, i changed the wrong file
08:56.52phhthe bad thing being that rmmod wlan crashes the kernel so i have to reboot at every crash ...
08:58.04cr2<PROTECTED>
08:58.07cr2hmm
08:58.57cr2<PROTECTED>
08:58.59*** join/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk)
08:59.02phhin wlan_loader there is something about it i'm wondering:
08:59.04phh<PROTECTED>
08:59.04phh<PROTECTED>
08:59.04phh<PROTECTED>
08:59.04phh<PROTECTED>
08:59.05phh<PROTECTED>
08:59.07phh<PROTECTED>
08:59.17cr2what is the value of hSmeSm ?
08:59.18phhthe comment seems to say that a cli has to be launched somwhere
08:59.23phhand maybe not just wlan_loader
08:59.55cr2don't know what they mean 'cli'
09:00.11cr2irq disabled ?
09:00.24phhcli useually means command line interface
09:00.58phhcr2: error code is 3
09:01.30phhargh
09:01.33phhtiwlan.ini is wrong
09:01.37cr2<PROTECTED>
09:01.51phhi'll try with G1's one then
09:01.59phh(the one i use is from the android git)
09:02.11cr2where do you get the "wrong" one ? :)
09:03.59phhgroumpf i have to restart at every single change
09:04.19phhi hate that driver.
09:05.03phh(yes, even just for a config change.)
09:07.27phhwth ?!?
09:07.33phhmessages changed, error hasn't
09:07.38phh[   44.462921] TIWLAN: 780.932921: Firmware running.
09:07.38phh[   46.947479] TIWLAN: 783.417479: HAL_CTRL  ,ERROR:Timeout waiting for the hardware to complete initialization
09:07.38phh[   46.974273] TIWLAN: 783.444274: HAL_CTRL  ,ERROR:Firmware download failed!
09:07.38phh[   47.002227] TIWLAN: 783.472228: HAL_CTRL  ,ERROR:whal_hwCtrl_Config: failed to initialize
09:07.38phh[   47.042755] configMgr_start3
09:08.06phhhere's maybe the clock problem.
09:08.32phh[   38.926788] clock-wince: pc_clk_set_rate: id=19 rate=11000000
09:08.32phh[   38.940643] clock-wince: set mdns: 19, 11000000; bitidx=7, offset=a4, ns=0
09:08.32phh[   38.962280] clock-wince: set_mdns_host_clock: 19, freq=7372800
09:08.36phhbut i guess you already know that.
09:09.06cr2it takes the first frequency below the rate
09:09.28cr2you can add the 12.28 line, and name it 11
09:09.34cr2then it will be picked
09:10.21phhok
09:10.38cr2the list should be sorted by frequency
09:16.24phhthe line should be:
09:16.27phh<PROTECTED>
09:16.29phhright ?
09:16.41phhbecause i still get:
09:16.44phh[   51.596282] clock-wince: set mdns: 19, 11000000; bitidx=7, offset=a4, ns=0
09:16.44phh[   51.619659] clock-wince: set_mdns_host_clock: 19, freq=7372800
09:18.45cr2have you softed the list ?
09:18.51cr2s/sof/sor/
09:19.08cr2the 7372800 is before the SD block
09:19.49phhbetween         MSM_CLOCK_REG(3686400*16,    6, 0x19, 0x0c, 0, 2, 4, 1), /* 3686400 */ and MSM_CLOCK_REG(19200000, 1, 0x0a, 0x05, 3, 3, 1, 1), /* 19.2MHz */
09:20.20cr2<PROTECTED>
09:20.25cr2...
09:20.35cr2<PROTECTED>
09:20.44cr2this is in head
09:21.13cr2put it before the 12000000
09:22.26cr2<PROTECTED>
09:22.27cr2<PROTECTED>
09:22.36cr2i guess you can put 12 here
09:22.44phhok
09:22.47cr211 is only confusing
09:22.58cr2or we can use 12.28 as in wince
09:23.09phhbt hu, where do you have this max_dtr ?
09:23.28cr2arch/arm/mach-msm/board-htcraphael-mmc.c
09:23.34phhoh ok
09:24.34cr2btw, does your stty support 4000000 speed ?
09:24.59cr2then we may try to switch BT bps without .bts
09:25.22cr2just came into my mind
09:25.30phhcr2: you already made me try
09:25.44phhhciattach -s 115200 ttyHS1 texas 4000000 flow
09:25.55phh(it's the command from G1 iirc)
09:25.55cr2stty -F /dev/ttyHS1 speed 4000000
09:26.08cr2not hciattac
09:26.37phhyou want to communicate with the BT chip by hand ?
09:27.04cr2the easiest option. but wifi first :)
09:27.18phhyep
09:28.47phh[   78.298706] clock-wince: set mdns: 19, 11000000; bitidx=7, offset=a4, ns=0
09:28.47phh[   78.322113] clock-wince: set_mdns_host_clock: 19, freq=7372800
09:28.50phhi'm doing it wrong ...
09:29.16cr2change .max_dtr        = 11000000, to 12000000
09:29.24phhi changed it to 13M ..
09:29.34cr2hmm
09:29.48phhdiamond does use this file too ?
09:30.27cr2yes
09:30.44cr2and we will merge the panel code, once it works
09:30.50cr2for both
09:31.16cr2obj-$(CONFIG_MACH_HTCDIAMOND) +=
09:31.29cr2board-htcraphael-mmc.o
09:33.13phhhttp://pastebin.com/m3928ee84
09:33.16phhhere is my current diff
09:36.59cr2and it does not work for the clock ?
09:38.01cr2<PROTECTED>
09:38.03cr2<PROTECTED>
09:38.12cr2<PROTECTED>
09:38.13cr2<PROTECTED>
09:38.23phhit still tries to pick up 11M and get 7M ...
09:38.33cr2hmm
09:38.45cr2is 11 hardcoded somewhere else ?
09:39.05phhnot in TI driver
09:39.59phhin other board mmc
09:40.10phhbut they aren't supposed to be builds
09:40.13phh-s
09:41.17phhoops
09:41.18phhmy bad
09:41.35phhi pushed the kernel in the wrong place
09:41.42cr2hehe
09:42.08*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
09:45.31phh[   58.628540] clock-wince: set mdns: 19, 13000000; bitidx=7, offset=a4, ns=0
09:45.31phh[   58.643402] clock-wince: set_mdns_host_clock: 19, freq=12288000
09:45.43phh[   63.586456] TIWLAN: 3072.919402: Working on a 1251 PG 1.2 board.
09:45.43phh[   63.615173] TIWLAN: 3072.948119: Starting to process NVS...
09:45.43phh[   63.660766] TIWLAN: 3072.993682: NVS version 6.3.7 found.
09:45.43phh[   63.671661] TIWLAN: 3073.004607: Radio type is 0x1C.
09:45.43phh[   63.694793] TIWLAN: 3073.027739: Finished processing NVS.
09:45.45phh[   63.718261] configMgr_start3
09:45.47phh[   63.727905] TIWLAN: TIWLAN: Failed to start config manager
09:45.52phhgrrr
09:45.56phhno "firmware running" this time
09:47.24cr2Working on a 1251 PG 1.2 board.
09:47.34cr2that means the sdio works
09:47.49cr2why is the firmware not loaded ?
09:48.30phhmaybe some timeout mmm
09:48.50phhlet's try building kaiser's driver
09:51.47townkatandroid booting hangs at ieee80211_crypt:registred algorithm  'NULL', is it a known problem ?
10:03.11phhkaiser's driver seems to do the same :(
10:03.18phherr no
10:03.44phhi just get NOK /o\
10:04.54*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
10:34.36*** join/#htc-linux GNUtoo (n=gnutoo@host134-152-dynamic.51-79-r.retail.telecomitalia.it)
10:37.14*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
10:38.34phhcr2: anyway i think we'd better try with wl12xx, since it is most likely to be goes mainline
10:39.02cr2ok
10:39.15phhbut it seems to need some platform code, and i don't know anything of this
10:44.15*** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
10:46.49*** join/#htc-linux Zinbolic (n=zinbolic@84.238.80.215)
10:51.00phhyes, TI driver do some thing to wake up wifi chip, and then wl12xx is able to detect... but conflicts and friends said kernel should crash.
10:52.13phhhaha just an sdio_enable_func
10:52.39phhmm maybe not
11:12.39DJWillisphh: the platform code for WL12xx is trivial and WL12xx is already well on the way to mainline (if it is not already there). It has not taken me very long to get it running on several devices BUT there is a snag, you have to read the calibration file (NVS) from the EEPROM and that is not really working, I am trying to sort that.
11:14.18phhyeaha \o/
11:14.18phhdriver loaded
11:14.23phhhum nothing in iwlist scan.
11:14.36phhDJWillis: calibration is no big deal for DIAM/RAPH afaik
11:14.45phhit's always at the same place
11:14.59DJWillisphh: true ;-)
11:15.25phh[  398.706939] wl1251: WARNING WLAN not ready
11:15.25phh[  398.724304] firmware: requesting wl1251-nvs.bin
11:15.25phh[  399.371276] wl1251: 181 tx blocks at 0x3b788, 35 rx blocks at 0x3a780
11:15.25phh[  399.396362] wl1251: firmware booted (Rev 6.0.4.40)
11:15.31phhbut nothing works then ...
11:15.43DJWillisphh: It would be nice to get EEPROM based calibration reading into the mainline deiver.
11:15.58phhDJWillis: i don't think it is possible
11:16.04phhi think every board has to do it
11:16.10DJWillisphh: you DO realise that you hace just loaded a calibration file from the file system.
11:16.30phhuh ?
11:16.47DJWillisphh: no, the WL1251 (and WL1271) modules come with factory calibration setups burnt onto the EEPROM on the module.
11:17.12phhon the *wifi* module ?
11:17.16phhwhy is there on nand then ?
11:17.35phhand i thaught theses ones were eeprom less
11:18.38DJWillisphh: hmmm, ok, TI 1251 modules 'can' have the EEPROM with the calibration data, I assumed that the RALPH/DIAM etc. had the full module not running in EEPROM'less mode.
11:19.18phhwell i'm not totally sure they are eeprom less, but as both calibration and firmware are in the NAND, i assume it is eepromless
11:19.25DJWillisphh: I'll confess I thought the modules had the EEPROM's and they where not being read out. Can't say I have checked in detail my WL1251 work is on other devices.
11:20.14DJWillisphh: have you compaired a few NVS dumps from devices to check they are not all the same and some hang over from development? Just checking ;-)
11:21.01phherr, i'm just thinking i did it the wrong way
11:21.18phhmy device had three calibration data, and two lasts are identical
11:21.28phhi assumed the right one was one of those but mmm
11:21.39phhand no i haven't checked against other devices since i've got only one
11:22.06DJWillisphh: I know the Google G1 has an EEPROM and that one of the calibration dumps floating around is taken from that. That is why I would be supprised if the RALPH/DIAM are EEPROM'less. Last time I had WiFi on the RAPH was with the WiLink4 driver however.
11:22.54phhany idea on how to check ?
11:24.25DJWillisphh: with the WL1251 driver, that is the problem I am trying to work around ;-), you can try the TI WiLink driver with EEPROM reading (i.e. do not give it an NVS just the firmware and see if you can do a scan ;-)). The code is inside the Wilink4 state machine but it's evil ;-)
11:24.52phhDJWillis: wilink is the one in android ?
11:25.33DJWillisphh: close enough, yep, Android is based on TI's WiLink4 driver so I tend to ground all those 'driver forks' as WiLink4
11:25.42phhok
11:26.08phhthis one doesn't work, but no idea why and i can't understand it's code, so i decided togive wl12xx a try
11:26.35phhbut if you think it's mistake i'll go back on TI's driver
11:26.55DJWillisphh: join the club, that was the WHOLE reason for the WL1251 driver, the TI code makes your eyes bleed ;-)
11:27.02phh:)
11:27.46phhDJWillis: is there something to do to switch radio with wl12xx ?
11:28.11DJWillisphh: no, WL1251 is slower unless you move the SDIO IRQ to a GPIO IRQ but it's a lot easier to understand, supports 'modern' Linux and IS the way to go but it does not support reading the calibration EEPROM at the moment.
11:29.08DJWillisphh: the fact you have loaded a calibration NVS from the filesystem and IW scan does nothing implies you have duff calibration ;-)
11:29.23cr2DJWillis: why reading EEPROM from nand is such a bg deal ?
11:29.24phhok
11:29.30DJWillisphh: switch radio?
11:29.57DJWilliscr2: well if you have pre-calibrated modules ;-), it's not HTC specific.
11:30.07cr2DJWillis: isn't the radio id coming from eeprom ?
11:30.29cr2ok
11:30.48cr2DJWillis: in unix everything is a file :)
11:30.57DJWilliscr2: no, I am talking about reading the EEPROM into the ARM on the WL1251, not reading the calibration NVS from NAND/SD. The device firmware will always have to come from NAND/SD/etc. etc.
11:31.01cr2imho the eeprom should be a file in the filesystem.
11:31.06phh0[ 1416.144775] wl1251: ERROR sdio write failed (-84)
11:31.06phh[ 1416.161010] mmc0: Data CRC error
11:31.06phh[ 1416.168762] msmsdcc_data_err: opcode 0x00000035
11:31.07phh[ 1416.176452] msmsdcc_data_err: blksz 4, blocks 1
11:31.09phhand looping
11:31.11phhhu.
11:31.33cr2phh: too fast ? dma ?
11:32.15DJWilliscr2: /proc/calibration under WiLink4 (some varirents) but you have to set it up. So as WL1251 does not read the calibration part of the EERPOM (and when we try and read it we get back 0x0 :-o) that does not expose it.
11:32.21cr2DJWillis: the loader i see has 3 parameters: firmware, eeprom and tiwlan.ini
11:32.29phhhaha
11:32.43phhcr2: debugfs/htcraphaelmmc_dbg/wifi_pwr has to be to 1 i guess ? :D
11:33.08cr2DJWillis: what's the purpose of /proc/calibration ? i prefer plain file
11:33.10DJWilliscr2: I am well aware of that, your talking about Google ti_loader and not wlan_cu I assume?
11:33.18cr2yes
11:33.30cr2i find this way more logical
11:33.37DJWilliscr2: I did not put it there, that comes from the WiLink4 driver.
11:33.56cr2google does it in a braindead way too
11:34.05cr2by creating an ATAG
11:34.31cr2to play some stupid games with the nand layout
11:35.01DJWilliscr2: ok, tell me this, if you assume you have, say 4000 devices, all with a unique calibration from the factory on the WL1251's EEPROM do you suggest flashing a unique image to every device with a rip of that calibration  to a file ;-)
11:36.23cr2DJWillis: why not mount /dev/mtd/eeprom_cal ?
11:37.03cr2it's position for the HTC nands is known and fixed.
11:37.17cr2the same in the g1 nand
11:37.25phhcr2: trout_wifi_power does (dis|en)able the radio of the wifi chip ?
11:37.38DJWilliscr2: the 'non braindead' way to do it is read the device specific parts (i.e. NVS) from the EEPROM on driver load and just embed the firmware into the image that is common to all devices. I am at a loss as to how you plan to mount a device specific EEPROM as a damm MTD device.
11:37.47cr2but ones create ATAG instead, and others the HTC_READ_EEPROM_IOCTL
11:38.12DJWillisphh: it cuts/enables the power to the MMC interface the chip is on.
11:38.21phhhu ?
11:38.28cr2DJWillis: we talk about 0x800 bytes, that are stored on the device.
11:38.30phhhow can it detect the card when it is set to 0 /o\
11:39.05cr2DJWillis: and how to access these 0x800 bytes
11:39.33cr2i think that a plain file, or an mtd partition is the most user-friendly way to do it
11:39.50cr2and not creating ATAGs or reading from /proc/
11:41.01*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
11:42.06phhdev-friendly i'd say :p
11:42.48phhcr2: so for CRC errors, i should go back to 7MHz ?
11:43.30*** join/#htc-linux x-fak (n=WinGuru@reactos/tester/x-fak)
11:43.50DJWilliscr2: I sort of agree but I am trying to say 'why' when the driver should be doing this all itself. By all means dump the calibration data to a file/device etc. but there is NO need for the driver to depend on that at all.
11:44.19phhcr2: i'm just thinking, the 12.288Mhz you gave me is supposed to work ? since it's the clock it tries to use
11:44.30cr2DJWillis: ok
11:44.35phh(          MSM_CLOCK_REG(12288000, 1, 0x5, 0x2, 3, 2, 4, 1), /* 12.288MHz */)
11:44.43cr2phh: i've dumped these settings from my raph
11:44.55cr2phh: but you may try to run at 144400
11:45.08*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
11:45.09cr2why not.
11:45.13DJWilliscr2: it's just that adding any FS dependancies tha do no need to be there seems 'brain-dead' to me ;-)
11:45.25phhcr2: by setting max_dtr ?
11:45.41cr2DJWillis: /lib/firmware/* is used by many drivers
11:45.51cr2phh: yes
11:46.01cr2phh: select the slowest speed
11:46.14cr2phh: it's used for SD init already
11:46.22phhok
11:46.35DJWilliscr2: of course it is (and WL1251 uses it) for the device agnostic bits (such as the firmware), the calibration is unique to each and every WL1251 module.
11:47.32cr2DJWillis: ok, i only care about a working driver in the end :)
11:48.01DJWilliscr2: I am not that aware of Android specific crapage as I spent more time with the origional WiLink4 driver. Yep, funny that, my aim is to get a good working driver.
11:48.36cr2DJWillis: the g1 tiacx driver has only 1 advantage for us. it works. and the source looks really horrible.
11:49.22DJWilliscr2: on the 1251 there are 2 parts, the device firmware (that runs on the WL1251's ARM etc.) and the device calibration (unique to that module). Yep, I used that driver 1st on the Pandora, it works but, man it is SO nasty even TI disown it ;-).
11:49.44DJWilliscr2: and Nokia took one look and wrote there own (what became WL12xx) ;-)
11:51.08*** join/#htc-linux pr0p (n=asdf@87.70.54.117)
11:51.33DJWilliscr2: WiLink4 is also going to become harder and harder to keep working with newer kernels (IMHO) with WEXT being refactored down and more and more work going into the MAC80211 space etc. etc.
11:52.04phhcr2: same thing ...
11:52.12cr2nokia always reinvents the wheel
11:52.23cr2phh: idon't see an easy waytodisable dma
11:52.25phhand it's freq is actually 144000 :/
11:52.56cr2144kHz
11:54.05phhbtw, disabling wifi reboots the system (either with trout_wifi_pwr or TI driver)
11:54.35phhbut i guess that the first thing to do is to get it working :)
11:59.06phh[  205.490753] mmc0: Command timeout
11:59.12phhmaybe 144000 is too low now ?
11:59.58GNUtooyou're talking about trout...did someone got wifi+alsa?
12:00.19phhsorry it's not trout, it's just the function that's named so
12:00.26GNUtooah ok
12:01.13DJWilliscr2: that maybe true but in this case I can see the reason Nokia did it ;-)
12:16.13phhgrrr
12:16.17phhit loaded successfully once
12:16.20phhand now it won't even load
12:16.27*** join/#htc-linux thedicemaster (n=thedicem@j89051.upc-j.chello.nl)
12:38.19cr2phh: i'm not sure if the driver power/reset logic is the same as in wince
12:53.57*** join/#htc-linux W8TVI (n=nnme@71.238.235.30)
13:09.05phhgrr, now i know why when driver loaded iwlist scan gave nothing, my wifi router was down... but i can't get this driver up again ...
13:09.27*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
13:17.11*** join/#htc-linux ppman (n=mkern@pool-70-111-208-218.nwrk.east.verizon.net)
13:17.54ppmananyone on here that maight be able to help me with some angstrom development for these phones?
13:22.47*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
13:23.42phhcr2: i think it's some timeout thing for the CRC errors
13:23.53phhif i load the module without firmware nor calibration
13:23.59phhthen reload it with firmware without calibration
13:24.05phhand then with firmware and calibration
13:24.21phhthen i get the "[  383.775543] wl1251: firmware booted (Rev 6.0.4.40)"
13:25.16phhYUEEEEEEEAAAAAAAHHHHHHHHAAAAAAaaa
13:25.17cr2phh: timeouts in which program ?
13:25.18phhiwlist scan works !!!
13:25.22phhcr2: wifi driver
13:25.22cr2:D
13:25.52phhgroumpf no wpa_supplicant built
13:26.13cr2you should describe it
13:27.04phhfor the record i used wince firmware not android one (don't know if that changes anything)
13:27.14phhand wifi_pwr doesn't set power on MMC, but on the radio
13:27.43phh(the chip respond if wifi_pwr isn't setted, but no wifi respond, if wifi_pwr is setted iwlist scan just works)
13:30.35*** join/#htc-linux rayman18 (i=opera@85.49.147.79)
13:33.32cr2which gpio is that ?
13:33.46cr21 gpio is shared between bt and wifi
13:38.46phhhttp://htc-linux.org/wiki/index.php?title=WL1251 here it is
13:41.02cr2great
13:41.23ppmanjust curious, how much work is being put into rhodium?
13:41.40ppmanbecause that's an awesome phone - if it was running linux, it's be perfect...
13:43.34cr2nothing
13:43.45cr2ppman: do you have rhodium ?
13:43.56ppmanno, but I might soon
13:44.20phhi successfully connected to an open wifi network \o/
13:44.41ppmanphh: which device?
13:44.46phhppman: diam100
13:45.08ppmancool
13:48.51cr2ppman: http://www.htc-linux.org/wiki/index.php?title=Topaz
13:49.19cr2compare that to http://www.htc-linux.org/wiki/index.php?title=Raphael
13:49.47ppmantopaz is diamond?
13:50.09ppmanwow..
13:50.28phhdiamond2 i think
13:50.31ppmanthen there's us - all we're missing now is camera and bt and audio at the same time...
13:51.13cr2ppman: ?
13:51.13phhcr2: btw, what's the status of the camera on raph/diam ?
13:51.21cr2phh: do you have 2 cams ?
13:51.23ppmancr2: kaiser
13:51.30phhcr2: yes
13:51.45cr2ppman: bt and audio work
13:51.53ppmanat the same time?
13:51.55cr2phh: the gpios are in wiki
13:52.24cr2phh: but the clcoks need to make an rpc call
13:52.31phhok
13:52.36cr2i don't know if it belongs to clock-wince.c
13:53.17cr2phh: but you may try to add the CAMERA pmem area, and the structs from sapphire
13:53.30cr2phh: but do one simple thing first.
13:53.41cr2dump the gpios 'watch gpios 0'
13:54.05cr2when the cams are off, cam3mpix is on and camvga is on
13:54.33phhwell not today, i have some other work to do
13:54.39phhi'll ask you back next weekend i guess
13:54.45cr2then you will know which one is mux, and its state
13:54.51cr2ok
13:55.02cr2for me it's not a priority
13:55.18phhthere is not many things to do left you know ? :p
13:55.24phhonly 4MHz bt and GPS
13:55.29phhoh panels first
13:55.48cr2tvout
13:55.52cr2and fm radio
13:56.17cr2but for tvout the codeaurora kernel is better
13:57.05cr2ppman: why shouldn't bt work at the same time as audio ?
13:57.28cr2ppman: don't know about bt pcm audio
13:57.33ppmanthe bt audio conflicts with the regular audio? not sure...
13:57.49ppmanthe name of one of the zImages got me
13:57.51phhppman: it should
13:58.05ppmanit was like... zImage-working-bt-broken-audio or something
13:58.31cr2does bt really use uart1dm on kaiser ?
13:58.41cr2or is it an uart1 hack ?
13:58.58cr2i.e. can you switch to 4Mbit
13:59.04ppmanI haven't delved too deep into kernel work in a long time...
13:59.28cr2it's not really kernel
13:59.34ppmanback when I was developing, I wrote the first terrible battery and modified keyboard drivers...
13:59.39cr2do you load the bt firmware ?
14:00.03phhcr2: oh we need a good battery driver too
14:00.11ppmanphh: what chip?
14:00.25ppmancr2: I don't know anything about bt on here..
14:00.39cr2ok
14:00.58phhppman: don't know
14:01.04cr2phh: the calculation is not good ?
14:01.16phhcr2: yes
14:01.27cr2ok
14:01.35ppmancan't help you there, I just write terrible battery drivers :P
14:01.41cr2it's some hardcore fp asm
14:02.07phhcr2: if you have a disassembler you can look at HTC's wince tool
14:02.28cr2wince tool ?
14:02.31phhthere is a debug tool for battery
14:02.49cr2how is it called ?
14:02.55phhsee http://forum.xda-developers.com/showthread.php?t=416334
14:03.39cr2phh: what is your wifi fw md5sum ?
14:03.52phhread the wiki :p
14:04.02phhebf5c2036d37bc56b4d41ddcbda4311e  /lib/firmware/wl1251-fw.bin
14:04.12phhfile was called Fw1251r1c.bin
14:05.06cr2http://www.htc-linux.org/wiki/index.php?title=WL1251
14:05.18cr2added mine
14:05.19cr2ebf5c2036d37bc56b4d41ddcbda4311e Fw1251r1c.bin, used on raph100
14:05.27cr2ok, it's the same
14:06.55phhi made a little script to get wifi "automatically", let's see if it works.
14:07.39cr2"The firmware is a 192-byte file"
14:07.44cr2kilobyte
14:07.51cr2and only about it
14:08.14cr2185388
14:09.10phhcr2: if you want to try the driver, there is some little (dirty) patch against compat-wireless i had to set
14:10.08cr2hehe
14:10.35phhhttp://pastebin.com/m2ce8eb55
14:10.43cr2can we merge the wl12xx into kernel tree
14:10.45phhit tries to link against usb host functions
14:11.02phhcr2: if you know how to, you can
14:11.22phhbut i think you'll have to update to 2.6.30 or something like that
14:11.33cr2.29 now
14:12.07cr2the tools seem to assume usb
14:12.23cr2anchor->urb_list
14:12.46cr2irrelevant for us
14:12.59phhyes i know
14:13.16cr2g1 fw is bigger
14:13.39phhstrange
14:16.13cr2bs=8192 count=1 skip=4048
14:16.21cr2which offset is it ?
14:16.34cr2bs=1 skip=64
14:17.02phhit's 4048*8192
14:17.24cr233161216+64
14:17.27phhyep
14:17.38phhthis doesn't seems right to me.
14:17.47cr233161280
14:18.20cr20x02500000 , and +0x800
14:18.39phh38 797 312 + 2048
14:18.53phh=38 799 360
14:18.59phhyep, the wiki seems wrong.
14:19.40cr238797312
14:19.44cr2unlikely
14:19.45phh<PROTECTED>
14:19.48phh<PROTECTED>
14:19.55cr2your value is inside SPL
14:19.55phhhere is the command i used to get the calibration(s)
14:20.36cr2err
14:20.58cr2how does your partition table look like ?
14:21.09*** join/#htc-linux Shihan (n=pjr@124-170-54-129.dyn.iinet.net.au)
14:21.44phhhu ? there is a partition table ?
14:22.01cr2mtd
14:22.07phhanyway i checked and it is the values as stated in http://www.htc-linux.org/wiki/index.php?title=RaphaelNAND
14:22.09*** join/#htc-linux rayman18 (i=opera@79.pool85-49-147.dynamic.orange.es)
14:23.03cr2ash, you mean the WL1251 is wrong
14:23.10phhyes sorry
14:23.23cr2you don't have nand
14:23.33cr2well. not in the raph100 sense
14:23.37phh?
14:23.58cr2you talk about the builtin MMC
14:24.05phhno
14:24.06phhthe NAND.
14:24.16cr2hmm
14:24.24cr2and you can read the first 36MB ?
14:24.49cr2<PROTECTED>
14:24.57phhno they are all 0xff in my dump
14:25.14cr2ok, it's nand mpu.
14:25.30cr2you can flip 1 bit, and it goes away :)
14:25.34cr2but be careful.
14:26.40cr238799360 and 38797312 are values in raph wiki
14:26.53phhin the RaphaelNAND page yep
14:26.57phh(if my calculator is right :)
14:27.10cr238799424 and 38797376
14:27.13cr2are your values
14:27.33cr2the WL1251  wiki speaks of DIAM500
14:27.43phhargh
14:27.48cr2i'm a bit confused now.
14:27.57phhdiam500 might be not the same as raph/diam 100 ...
14:28.24cr2but why do yo uhave offset to raph wiki ?
14:28.41cr264bytes
14:29.08phherr you're right
14:29.17phhdon't know
14:29.38phhmaybe a header header ?
14:30.19cr2the wiki speaks of 4048*8192+64
14:30.48cr2we have 0x2500000
14:31.01phhisn't the "header header" thing possible ?
14:31.05phhor maybe CRC
14:31.09phhor such things
14:31.12cr2The calibration file starts with the header 0x02 0x11 0x56 0x06 0x1C 0x06.
14:31.24cr20x800  wifi eeprom. 0x12 0x51 0xee 0x00
14:31.27phh(mine does starts with 0x02 0x11 ...
14:31.28phh)
14:31.39cr2and the -64 offset ?
14:32.00cr21251 ee is obvoiusly an id
14:32.10phh+64 to RaphaelNAND and +0 to WL1251
14:33.29cr24736*8192+64 on raph
14:33.42cr24048*8192+64 on diam500 ?
14:34.02phhit seems so
14:34.06phhbut maybe the wiki poster failed somehow
14:34.19cr2where did he loose 736-48 ?
14:35.13cr2it's about 5.5MB
14:35.36phhwhere does the RaphaelNAND page comes from ?
14:35.52phhit's just the partition table ?
14:36.16cr2th first 36MB should be protected
14:36.56phhoh the diam500 address should be protected you mean ?
14:37.13phhyup that's weird.
14:38.20cr2yes
14:38.44cr2must be some read failure on his side
14:39.25cr2do the first 64bytes contain something after the sig ?
14:39.31cr2i'll check the dll
14:39.44phhcr2: do you know how to embed code (ie shell script) in the wiki ?
14:41.01cr2<verbatim>
14:41.54phhdoesn't work
14:41.57cr2we need to recheck the powerup/reset sequence in the driver
14:42.13cr2<verbatim> FOO </verbatim> ?
14:42.21phhyep
14:42.34phhit'll just show <verbatim> FOO </verbatim
14:43.28cr2leave the trailing space
14:43.46cr2like in 'dd' lines
14:43.51cr2and md5sums
14:43.52Shihanhowdy guys, i've got a possibly daft question.. the kernel that the hero boots, is the source used to boot it generally available? (i.e. the one htc themselves build off)
14:44.32phhcr2: the dd lines use <pre>, thanks haven't thaught of reading theses :)
14:45.21cr2the length is at +0xc offset to the header
14:45.53cr2version is 45,49,4a
14:46.32phhcr2: i added a shell script to enable wifi with working timings
14:46.51phhbut it needs 40s to start.
14:47.36cr20x02 0x11 0x56 0x06 0x1C 0x06.
14:47.52cr241 42 43 44 45 46
14:48.49cr2why 3 wlans ?
14:49.11phhudev loves messing this up
14:49.27phhat first load it's wlan0 then wlan1 and then wlan2  or something like that
14:50.02*** join/#htc-linux sdt555 (n=titus@147.145.40.44)
14:50.31cr2ok
14:50.34*** part/#htc-linux sdt555 (n=titus@147.145.40.44)
15:04.39cr2the +0x800 copy is a reserve copy
15:04.43cr2raid1
15:07.38*** join/#htc-linux dcordes-kais (n=dcordes-@ip-77-24-93-43.web.vodafone.de)
15:08.55cr2phh: spl starts wifi @144kHZ
15:12.36*** part/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk)
15:13.09phhwell i don't even know what spl actually is
15:13.58cr20xee1251, 0x0, 0x0
15:14.06cr2wince bootloader
15:14.14cr2can test wifi too
15:14.32cr2which speed do you use now ?
15:14.45cr20x7c0
15:14.46phh7M
15:15.00cr20xee1251, 0x0, 0x0, 0x7c0
15:15.10cr20x7c0 is length
15:15.18phh[   98.134063] clock-wince: pc_clk_set_rate: id=19 rate=11000000
15:15.18phh[   98.157379] clock-wince: set mdns: 19, 11000000; bitidx=7, offset=a4, ns=0
15:15.18phh[   98.182464] clock-wince: set_mdns_host_clock: 19, freq=7372800
15:15.18cr2+x40=0x800
15:15.22phhso it's the current kernel
15:15.32phhcurrent git i mean
15:15.45phh(in the wifi point of view i mean)
15:15.49cr2will it work with 144kHz ?
15:16.13cr2also need to check the powerup sequence and timing
15:16.34phhi think i got timeout when i ran it @ 144kHz
15:16.40phhbut maybe i did it wrong
15:16.45cr2it is in board-htcraphael-mmc.c ?
15:16.55phhyes
15:16.58phhthe max_dtr value
15:17.14cr2all sdio stuff runs at 144kHz in the wince bootloader.
15:17.43phhthere is actually part of the process done @ 144kHz
15:17.43UnknownArtistshi, i hve an htc arte110 and want to run linux on it
15:17.57cr2ok
15:18.07UnknownArtistsso first i have cloned that git repo by: git clone git://linuxtogo.org/home/groups/mobile-linux/kernel.git
15:18.33UnknownArtistsi alos have buuilt a toolchain: crossdev -t armv5te-softfloat-linux-gnueabi
15:18.52UnknownArtistsbut if i try to run: make HTCARTEMIS_DEFAULTCONFIG
15:19.09UnknownArtistsi got the following error: make: *** No rule to make target `HTCARTEMIS_DEFAULTCONFIG'.  Stop.
15:19.25phhno capslock ...
15:19.29UnknownArtistswhats the problem? have i cloned the wrong git-repo?
15:19.55phhtry lowcase.
15:19.59cr2make htcartemis_defconfig ?
15:20.40cr2phh: int trout_wifi_power(int on) looks a bit different from wince.
15:21.12UnknownArtistsok first same error and if i write defconfig instead of defaultconfig is got:  Can't find default configuration "arch/x86/configs/htcartemis_defconfig"!
15:21.53cr2UnknownArtists: are you sure that it's the right git for omap ?
15:21.56ShihanARCH=arm perhaps?
15:22.05cr2ali1234:
15:22.09UnknownArtistsi also couldn't find any occurance of "arte" in the Makefile
15:22.14cr2hm, he is not here
15:22.49UnknownArtistscr2, some time ago miknix told me in this channel to use that git
15:23.25cr2UnknownArtists: maybe, i don't know.
15:23.25UnknownArtistswhere could i find out if it is the right one?
15:23.41UnknownArtistsor where to find alternatives
15:23.41cr2ask miknix or ali1234
15:23.47cr2linwizard
15:23.51cr2#linwizard
15:24.06UnknownArtistsok thanks
15:24.58townkatcr2, is kernel still broken for blac /
15:24.59townkat?
15:25.16phhtownkat: it will until someone fix it
15:25.44townkatwhat is to be done then ?
15:25.58phhset the correct driver name
15:26.03cr2phh: what is the call sequence for trout_wifi_power / int trout_wifi_reset(int on) ?
15:26.03phhand i think there is some panel code to write
15:26.20phhcr2: what do you mean with "call sequence" ?
15:26.25cr2townkat: as a hack you may add the toshiba name, but it's wrong
15:26.34phhif you want the order used to start the wifi on linux, read my script shell
15:26.42phhthe driver doesn't do anything by himself
15:26.44cr2phh: you've posted some tiacx log, where these functions were clalled
15:28.11phhhttp://pastebin.com/m24a88226 that's what you want ?
15:28.51townkatwhere should i add toshiba name cr2 ?
15:29.19cr2phh: yes
15:29.53cr2<PROTECTED>
15:30.08cr2change the name to TC358720XBG
15:30.13cr2but it's a hack
15:31.08phhcr2: i do it the other way (first CD then power) and it works so don't think it is releavant
15:31.16cr2because the client name for blac100 is S1D13774
15:31.38cr2phh: i see what wince does
15:31.57cr2townkat: the right fix is different
15:32.33phhcr2: but you'll have to check what pwr(0); does, it seems kernel code does it wrong (as said before, it crashes the kernel
15:32.34phh)
15:32.52cr2phh: looking at it right now
15:33.43cr2townkat: err. add S1D13774 as name
15:34.16cr2it is the right fix, although incomplete, because the proper epson init is not yet written.
15:34.53phhcr2: without panel code, what happens is that panel never suspend ?
15:35.02cr2yes
15:35.17phhok
15:35.29cr2phh: you have hitachi or sharp panel ?
15:35.52phhthe first one you coded i guess
15:36.14phh(since it worked on the first kernel update)
15:36.28phhbut don't know which one is it
15:36.29cr2there was no init then
15:36.54cr2print the TC358720XBG gpio value
15:37.09cr2look at the raph-panel.c code for type detection
15:37.44cr2townkat: does it boot now ?
15:38.45townkatit may take a while
15:38.52cr2ok
15:38.53townkati am learning linux too now
15:38.54townkat:)
15:39.07cr2trout_wifi_power: 1
15:39.16cr2trout_wifi_reset: 0
15:39.25cr2trout_wifi_set_carddetect: 1
15:40.37cr2int trout_wifi_reset(int on) is more or less empty
15:41.04phhand as far as i've seen it doesn't change a thing
15:46.00cr266,67=0; msleep x64; vreg c=1, vreg d=1,66,67=1, msleep x14
15:47.59cr2reset does nothing
15:48.06cr2power does
15:50.05cr2ok, msleep 0x64 maybe added before the vreg on
15:50.16cr2otherwise looks ok
15:50.30cr2phh: the eeprom header is well docuented
15:51.51phhthe 64 "missed" bytes you mean ?
15:52.11cr2sig, 0, 0 , len, crc, die0, die1, die2, die3, countryid
15:52.12cr2yes
15:53.33cr2you may check with your data
16:06.41*** join/#htc-linux UnknownArtists (n=unknown@84.19.198.69)
16:07.38Shihantheres nothing to stop you using a second partition on an SD card as an ext2 root partition is there?
16:12.00ali1234back
16:13.56cr2phh: cant find my nand dump.
16:16.32townkatcr2, i did that, same error
16:16.38townkatandroid booting hangs at ieee80211_crypt:registred algorithm  'NULL', is it a known problem ?
16:17.26phhno error above this message ?
16:17.42townkatit may be, i only noticed this becaus is the last line
16:17.46townkatwhat should i look for ?
16:19.31cr2NULL is not a problem
16:19.42cr2townkat: but the lcd works
16:21.00townkatit was "working" the same before changing client name
16:21.09cr2ok
16:21.31phhtownkat: do a "screenshot" maybe
16:22.00townkatk
16:22.03townkati try
16:22.56phhi'd bet on broken initramfs, which gives really tough to find messages
16:25.24townkati am using the diamond android, with blackstone zimage and  only mtype changed for blackstone, is it ok ?
16:30.50*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
16:38.47*** join/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk)
16:48.15*** join/#htc-linux balans (n=Administ@53543B53.cable.casema.nl)
16:53.52phhtownkat: maybe some drivers doesn't work... give a screenshot we'll se
16:53.52phhe
16:58.00*** join/#htc-linux pr0p (n=asdg@87.70.54.117)
17:02.27Shihanam i in the wrong channel or am i asking stupid questions?
17:03.56rayman18Shinhan: what are you asking?
17:03.57phhfirst one i think, afaik, most people here have non-android phones
17:04.39Shihanwell, mine is non-android, kaiser
17:04.57phhyou're asking about hero
17:05.44Shihanyes, mostly out of curiosity and i've not found anyone who knows an answer to that... there is a link in the htc-linux wiki page, but its dead
17:09.02Shihanpersonally though im more interested in how i can mess with a kaiser, hence the sd card question
17:16.19Shihanhmmm, well i guess no one knows, or no one knows what ext2/3 are?
17:16.30phhlinux "basic" filesystems
17:16.37phhfor desktop
17:18.42*** join/#htc-linux timebomb (n=tb@dslb-092-076-094-128.pools.arcor-ip.net)
17:20.59townkatis this clear enough ? http://img213.imageshack.us/img213/5082/cute0115.jpg
17:21.27townkatthe screen also seem corrupted a bit
17:21.33townkatphh
17:22.11phhenough to be read yep
17:22.42phhcan't find anything wrong :/
17:22.54phhgood luck tracing that
17:23.18townkatthnx
17:23.32townkatand thank you for looking at it
17:23.33townkat;)
17:27.09Shihanhmmm, so where would a kaiser user go who interested in messing with linux on his phone? (most places seem to lead here) but i feel like im in the wrong place
17:27.49phhwell yes it is here, but not on such times :p
17:27.57phhit's more like 2am ~
17:28.06phhGMT
17:28.25Shihanahhh, fair enough:) good to know im not taking crazy pills
17:29.01*** join/#htc-linux balans (n=Administ@53543B53.cable.casema.nl) [NETSPLIT VICTIM]
17:29.01*** join/#htc-linux W8TVI (n=nnme@71.238.235.30)
17:29.03phh(and i hate that since i'm GMT+2 and they begin talking when i have to go to bed.)
17:29.45Shihanim gmt+10.. 3:30am here... :)
17:30.17townkati am gmt+2 too
17:30.22phh3:30 am saturday sunday or monday ?
17:30.31phhmonday i'd guess
17:30.47Shihanmonday, and i have an early start which i shall regret later
17:40.09*** join/#htc-linux W8TVI (n=nnme@71.238.235.30)
17:43.49*** part/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk)
17:47.39*** join/#htc-linux zwon (n=sven@ip-78-94-250-13.unitymediagroup.de)
17:49.50*** join/#htc-linux W8TVI (n=nnme@71.238.235.30)
17:51.14*** join/#htc-linux balans (n=barry@53543B53.cable.casema.nl)
17:54.11*** join/#htc-linux W8TVI (n=nnme@71.238.235.30)
18:01.37luke-jrum
18:01.45luke-jris it possible to blow WinCE away at all?
18:04.15zwonhi everybody
18:04.33*** join/#htc-linux W8TVI (n=nnme@71.238.235.30)
18:06.24zwoncr2 told me i have to add "board_htcraphael.disable_wifi=1" to the kernel command line...stupid question but where is this command line?
18:06.26*** join/#htc-linux GNUtoo (n=gnutoo@host134-152-dynamic.51-79-r.retail.telecomitalia.it)
18:07.05townkatin startup.txt
18:07.44zwonhm should i add this command to the set cmdline tag?
18:07.46*** join/#htc-linux balans1 (n=Administ@53543B53.cable.casema.nl)
18:08.17townkatu should have something like this
18:08.18townkatset cmdline "msmts_calib=115.105.863.911 msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=movistar.es ppp.username=MOVISTAR ppp.password=MOVISTAR no_console_suspend"
18:08.28townkatadd that between the " "
18:08.53zwonok thank you
18:09.01townkatnp
18:09.12townkatwhat device do u have ?
18:14.27*** join/#htc-linux leobaillard (n=leobaill@63.48.73-86.rev.gaoland.net)
18:14.41leobaillardhi all !
18:17.43leobaillardI'm currently trying to get a working version of your wonderful project on my DIAM100 : it boots and all, I get to the locking screen but when I try to press the menu button, the screen trembles and goes to black and the phone crashes...
18:17.49leobaillarddo you have any ideas ?
18:20.06*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
18:25.48phhleobaillard: where do you get your kernel from ?
18:26.23leobaillardwell, let me remember...
18:26.47phhor the date should be enough
18:27.09phhif it's > 20 it's most probably known to be broken
18:27.09leobaillardthe last one I think
18:27.15leobaillardaround 09/22
18:27.24phhok, known to be broken then
18:27.28leobaillardokay
18:27.39leobaillardis there one that I can try ?
18:27.39phhget it from http://cs-alb-pc3.massey.ac.nz/vogue/files/?C=M;O=D
18:28.40leobaillardthx, I'm gonna try that, but I have another problem : the ppp.stuff settings for the data connection ar not taken into account by haret
18:28.51phhit's not a problem with haret :p
18:28.57leobaillardit throws me errors at booting
18:29.04leobaillarddefault.txt ?
18:29.25phhit says so when there is the tux logo or before ?
18:29.47phhif there is the tux logo, then it's normal
18:29.50leobaillardbefore, when I launch Linux, haret shows me errors
18:29.57phhok
18:30.02phhthen you misplaced quotes i guess
18:30.31leobaillardquotes are needed ?
18:30.36phhyes
18:30.41phhyou should have something like:
18:30.45leobaillardhttp://pastebin.com/d5006ea3d
18:31.02phhset cmdline "msmts_calib=115.105.863.911 msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=movistar.es ppp.username=MOVISTAR ppp.password=MOVISTAR no_console_suspend"
18:31.20phh(on only one line)
18:32.12leobaillardoh okay, I thought it was classic variables
18:32.24leobaillardthe rest of my .txt seems correct to you ?
18:32.29*** join/#htc-linux stickboy (n=anonymou@cpe-74-68-145-150.nyc.res.rr.com)
18:32.43phhho you putted these var there... yep that's wrong :p
18:32.57phhdon't know about other stuff
18:33.09phhseems fine
18:33.19phhbut just copy and modify existing default.txt
18:33.25leobaillardokay
18:37.16phhif you need more informations please note that i'm french too and that i may accept pvs :)
18:38.15leobaillardt'es français ?
18:38.16leobaillarderf
18:38.22leobaillardlà je me sens con :þ
18:38.48leobaillardc'est bon à savoir en tout cas :)
18:39.00*** join/#htc-linux ppman (n=mkern@pool-70-111-211-39.nwrk.east.verizon.net)
18:39.15phhleobaillard: french's only for private messages
18:39.21ppmanhow does the framebuffer work?
18:39.24ppmankaiser, specifically
18:40.54*** join/#htc-linux balans (n=barry@53543B53.cable.casema.nl)
18:41.10ppmanlike, I can make a device node for it, right?
18:41.31phhppman: yes it's normal framebuffer
18:41.37phhon most systems it's called /dev/msmfb
18:41.39phh(don't know why)
18:42.26phhif your system hasn't got it, check /proc/devices to know which major fb is, then /proc/fb to check the minor and do mknod /dev/fb c major minor
18:42.28*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
18:42.55rayman18wiffi now works on andriod?
18:43.07phhrayman18: it always worked
18:43.13ppmanrayman18: for which device?
18:43.17phhbut i think you're thinking about a particular device :p
18:43.33rayman18oh, sorry, im talkin about diam100, of course
18:43.34rayman18:)
18:43.46phhrayman18: not on android yet
18:43.49phhbut it does on linux
18:44.09rayman18ok, it means soon on adroid i guest..
18:44.11rayman18:)
18:44.19phhs/guest/guess/ but yes
18:44.25phhbut it means a lot of troubles
18:44.39phhas far as i've seen it means a total rebuild of the rootfs
18:44.59rayman18thanks for the info phh
18:45.28phhif noones does that until next weekend i will, so you'll have wifi in android next week i think :)
18:45.33phh(and bluetooth)
18:45.51rayman18really? :)
18:46.00rayman18thanks for the work
18:46.21rayman18if i could help.....
18:46.21phhall the thanks must go to cr2 and dcordes (and maybe other)
18:46.26phhi had almost nothing to do
18:47.24rayman18but i havent enought....knowledge
18:47.29rayman18to be helpfull
18:47.37rayman18only can test.....and test...
18:47.49rayman18but i love this proyect
18:47.51rayman18:)
18:48.25rayman18thanks again for the info
18:48.29ppman29, 0, c is my fb.. kthx
18:48.30phhi might need some testers next weekend :p
18:48.48rayman18heheh
18:48.53rayman18if you need....tell me
18:48.55rayman18:)
18:48.56*** join/#htc-linux balans (n=barry@53543B53.cable.casema.nl)
18:51.39phhwell i'll need someone to check some code won't brick my diamond ;)
18:52.03rayman18mmmm
18:52.11rayman18that kind of test....
18:52.19rayman18:p
18:52.45phhwell i'm kidding, as far as i know there is no reason to brick a diamond with that
18:53.06rayman18i know  :D
18:53.32rayman18and hope so
18:53.33rayman18too
18:53.37rayman18<PROTECTED>
18:54.57rayman18but that could be the perfect excuse to get a new android terminal like Hero.....
18:55.02rayman18hehehe
18:55.35ppmanandroid sucks...
18:55.38ppmangoogle killed it.
18:56.56phhyeah
18:57.08phhthey could have done a GUI of linux
18:57.14phhbut no, they wanted there own kernel.
18:57.44ppmanmy sarcasm detector hates you.
18:57.53rayman18but......WM sucks more......
18:57.54phh:p
18:58.19ppmanandroid is great, but not so much if they won't let us use stuff like market
18:59.28phhwell you just have to copy it from an official one
18:59.33phhbut that kinda suck :/
18:59.39ppmanwhich is illegal
19:00.05phhi know :(
19:02.41phhrayman18: that's weird you're the only one who have reacted to my announce
19:06.35rayman18everybody sleeping......
19:06.41rayman18<PROTECTED>
19:07.09*** join/#htc-linux balans1 (n=barry@212-123-149-239.ip.telfort.nl)
19:07.22rayman18it's my turn soon...
19:07.47rayman18now 9:07 PM
19:07.49ppmaneveryone lives in really weird timezones..
19:08.39phh:)
19:09.16cr27,b22
19:09.16rayman18<PROTECTED>
19:09.27cr2dumb me. it's vibra
19:14.36*** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34)
19:17.25rafyvittohey c2 how's the bluetooth radio work going?
19:17.59phhrafyvitto: just works :p
19:18.08phh(ok, only low rate)
19:18.42phhlike 100kbps
19:20.47cr2#define SUPPORT_WRONG_ECC_CONFIG 1
19:21.01cr2phh: how can we check if we need this ?
19:21.10phhcr2: no idea
19:21.15phhi tried to look at what it does
19:21.18phhbut i haven't found
19:21.37cr2#if SUPPORT_WRONG_ECC_CONFIG
19:21.38cr2<PROTECTED>
19:21.40cr2<PROTECTED>
19:21.41cr2#endif
19:22.09cr2<PROTECTED>
19:22.26cr2it's part of the dma buffer
19:22.57cr2maybe by looking how wince does the dma transfer
19:23.19cr2if you are brave, you can disable it :)
19:23.25cr2and try to read from nand
19:23.33phhand try to erase it ? :D
19:23.53phhdma transfer won't erase with reading i think but hum
19:23.55phhseems dangerous :p
19:24.11cr2if  #define SUPPORT_WRONG_ECC_CONFIG 1
19:24.24cr2is wrong, then it "was" dangerous :)
19:24.52cr2and such small mines are all over the g1 code.
19:25.18cr2wtf prevented them to write a small comment in the source ;)
19:26.16phhqualcomm i'd say.
19:26.29cr2hehe
19:27.11cr2NAND_EBI2_ECC_BUF_CFG
19:29.02cr2<PROTECTED>
19:29.04cr2<PROTECTED>
19:29.25cr2do you have this value from dmesg ?
19:29.54phhmy 2MB dmesg isn't enough ...
19:30.19cr2initramfs supports /var/log/messages*
19:30.29phh(and mtd isn't built in this kernel)
19:30.51cr2yes, it was considered dnagerous.
19:31.01cr2because of this issue, and no partitioning
19:31.14phhdon't worry i changed a lot of thing in the kernel configuration :p
19:31.19*** join/#htc-linux balans (n=barry@53543B53.cable.casema.nl)
19:31.22phhoh
19:31.28phhthat one does have mtd actually.
19:31.41cr2:)
19:31.50phhcr2: /var/log/messages doesn't have boot logs ...
19:32.03cr2<PROTECTED>
19:32.13phharf
19:32.28phhmy dmesg is still not large enough :D
19:32.30phhi'm missing 4s log
19:32.40*** join/#htc-linux luke-jr (n=luke-jr@2002:62b3:1d4c:0:20e:a6ff:fec4:4e5d)
19:32.45phhbut the one you want is on the second line (you lucky !)
19:32.49phhSep 27 16:36:39 htcraphael user.info kernel: [    4.253326] <6>NAND_EBI2_ECC_BUF_CFG: 1ff
19:32.54cr2phh: ok
19:33.10cr2phh: can you telnet to haret ?
19:33.24phhnot today
19:33.29cr2ok
19:34.05cr2i'm interested if we can mmutrace the nand
19:34.15cr2or it will hang like BT
19:35.29cr2in msm_nand it's all dma
19:35.36cr2so, unlikely
19:35.46phhso i got lucky to be able to dump my whole nand ?
19:36.15cr2if you really want to do it, you can do it.
19:37.06phhi just did a dd if=/dev/mtdblock0ro of=/media/sdcard bs=8192
19:37.24*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
19:38.29cr2with "wrong_ecc_config" ?
19:38.48phhcan't remember
19:38.56cr2i had some errors in the dump
19:39.02cr2compared to the wince dump
19:39.12phhah, i haven't checked
19:39.21cr2that's why i'd like to verify this issue
19:39.26phhwifi works, so i don't care.
19:39.36cr2lol
19:39.51phhyeah i'm selfish i know :p
19:40.14townkatcr2, did u see my screenshot ?
19:40.30cr2#define NAND_EBI2_ECC_BUF_CFG     NAND_REG(0x00F0)
19:40.37cr2townkat: yes. it looks ok
19:40.56cr2townkat: can you boot with initramfs ?
19:41.07townkathow to do that ?
19:41.54cr2i normally build linload.exe
19:43.33phhlinload ... ?
19:43.58phhjust copy the angstrom initramfs into initrd.gz in the same place as zImage
19:43.58*** join/#htc-linux zwon_ (n=sven@ip-78-94-250-13.unitymediagroup.de)
19:44.18zwon_hi again
19:44.26zwon_http://pastebin.com/m23290d25
19:44.45zwon_could somebody help me?
19:44.53phhwhat's the problem ?
19:45.06phhkernel works at least
19:45.11townkatif i give you full access to my android dir can u do that? i am not sure i know what to do
19:45.32phhzwon_: root=/dev/ram0 ?!?
19:45.35phhthat seems *really* weird
19:45.57zwon_what should itype else
19:46.01phhram0 is only for initrd (not initramfs), and it's initramfs according to your log
19:46.14phhjust drop the root= thing
19:46.31cr2#if SUPPORT_WRONG_ECC_CONFIG
19:46.32cr2<PROTECTED>
19:47.34cr2<PROTECTED>
19:47.35cr2<PROTECTED>
19:47.43cr2<PROTECTED>
19:47.45cr2<PROTECTED>
19:47.46cr2<PROTECTED>
19:48.47cr2but you have 1ff
19:48.50cr2Sep 27 16:36:39 htcraphael user.info kernel: [    4.253326] <6>NAND_EBI2_ECC_BUF_CFG: 1ff
19:49.06cr2phh: i suggest to disable :)
19:49.15phhok
19:49.41phhand how safe on a range from 0 to 10 is it ? :D
19:49.46phh-10 ? :D
19:49.58cr2phh: where ?
19:50.11phhhow safe it is to disable it i mean
19:50.16cr2<PROTECTED>
19:50.18cr2<PROTECTED>
19:50.19cr2#if SUPPORT_WRONG_ECC_CONFIG
19:50.21cr2<PROTECTED>
19:50.22cr2<PROTECTED>
19:50.23cr2#endif
19:50.54cr2it's just an extra feature
19:50.54phhok i'm crazy, i'm trying.
19:50.59cr2ok :)
19:51.35cr2your saved value is 0x1ff, and the "working" value is 0x203 then
19:51.46cr2otherwise you stay with 0x1ff
19:51.55phhif it stops, it's maybe for a good reason you know.
19:52.01cr2you may see ecc errors at read
19:52.16cr2but it's unlikely
19:52.26phhzwon_: remove the root=/dev/ram0 thing in your cmdline
19:52.33cr2unless you write into nand, nothing happens. imho
19:52.42phhcr2: i wrote only read only driver
19:52.49phhbuilt*
19:52.51cr2ok
19:52.57phhi'm not THAT crazy ! :p
19:53.04cr2LOL
19:53.23cr2it's a pity that druidu is not here
19:53.52phhcrossing fingers.
19:55.04phh*grrrr*
19:55.22phhi still get that stupid [   66.660369] msm_nand_read_oob: unsupported ops->len, 512 thing
19:55.31cr2it's normal
19:55.47phhi DO bs=8192 !
19:55.54phhand strace confirms dd does 8192 !
19:56.20phhand actually that was the problem even before WRONG_ECC_CONFIG
19:56.37phhwhen i successfully dumped my nand, it was on android's initramfs
19:56.39cr2(ops->len % mtd->writesize) != 0
19:56.52phhwait
19:56.53phh*write* size ?
19:57.12phh...
19:57.15phh131072 works.
19:57.29cr20x20000 ?
19:57.38phhah no, 131072 doesn't
19:57.57phhwtf
19:58.05phhit's discountinuous
19:58.24cr2the physical block size is 0x800
19:58.29cr2+0x40
19:58.36phh+0x40 ?
19:58.57cr2ecc and things
19:59.01phhjust thinking ... i might have wrong build option...
19:59.45phhgroumpf can't remember which option i used
19:59.52phhwas it direct char or block device ?
20:00.08phhlet's try again with char.
20:00.54cr20x10 extra per 512byte
20:01.11phhlet's reenable wrong_ecc_config but using char device
20:01.43tmztwifi works?
20:01.50phhtmzt: yes :)
20:02.28cr2B11
20:05.23phhcr2: that was it
20:05.31zwonphh: http://pastebin.com/m1557916f
20:05.31phhmtdchar do works even with WRONG_ECC_CONFIG
20:05.34phhmtd block doesn't
20:05.40phheither with or without WRONG_ECC_CONFIG
20:06.05phhzwon: root=/dev/ram0 is still here ...
20:06.21cr2zwon: mmc0 is wifi ?
20:06.28zwonhm i deleted it^^
20:07.00phhcr2: i think the block layer is stupid and/or need some settings to set block size to something else than 512bytes
20:07.04cr2[    3.438415] mmc0: Qualcomm MSM SDCC at 0x00000000a0500000 irq 26,102 dma 8
20:07.13cr2no, it's sdc2
20:07.16*** join/#htc-linux Nanto (n=Vegita@54031C33.catv.pool.telekom.hu)
20:07.26phhwhile char is direct
20:07.32phhso dd gives the right block size
20:07.44cr2phh: something is incomplete at the mtd layer setup
20:08.22phhcr2: well if mtd char works, you won't need anything else for a long time (until using linux as NAND os i'd say.)
20:09.04cr2phh: ok. it's a noble goal :)
20:09.12cr2zwon:  mmc0: MMC clock 144000 -> 32000000 Hz, PCLK 66000000 Hz
20:09.38cr2zwon: can you reduce the speed ?
20:09.54*** join/#htc-linux c4software (n=Adium@roo49-2-88-161-139-221.fbx.proxad.net)
20:09.56zwonto 25MHz?
20:10.01cr224
20:10.12phhmmc is 32Mhz ?!?
20:10.15cr2also wit h the commandline parameter
20:10.19phhisn't that *really* high ?
20:10.23cr2phh: SD
20:10.36*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
20:10.36cr2phh: mmc is 20MHz
20:10.38phhah not the same thing ?
20:10.42cr2no
20:10.48phhi still haven't understand the difference -_-
20:10.50c4softwarehi
20:11.01cr2it was political at the beginning
20:11.07townkatphh,  there is no initramfs file in initrd.gz
20:11.13cr2so the sd driver in linux is called mmc
20:11.15phhtownkat: ?!?
20:11.20phhtownkat: initrd.gz *is* an initramfs
20:11.30*** part/#htc-linux rayman18 (i=opera@79.pool85-49-147.dynamic.orange.es)
20:11.45tmztno-console-suspend?what does that do?
20:12.13phhtmzt: on default linux configuration, console "suspend" by himself on a timeout
20:12.15cr2zwon: "msmsdcc_fmax=24000000
20:12.19phhmeaning it blanks the screen
20:12.22townkatphh, i i only need to extract initrd.gz ?
20:12.23phhwhich might me annoying
20:13.04c4softwarei have left this week end whats new on current kernel ? (wifi and BT enable for everyone ?)
20:13.44phhc4software: not for everyone
20:13.54phhwell don't know if it's for everyone
20:14.00phhonly diam100 tested for wifi
20:14.05phhand BT only on diam100 & raph100
20:14.09c4softwarenice
20:14.16c4softwarei will pm you phh
20:15.01townkat\o/ ?
20:15.43rafyvittoi cant enable my bluetooth it says starting and then goes back to turn on< does it torn on on angstrong?
20:16.19cr2rafyvitto: echo 1 > /sys/class/rfkill/rfkill0/state
20:16.29cr2rafyvitto: but it's the same on g1 afair
20:16.40phhcr2: it won't be enough
20:16.46phhthe G1 command line won't work on diam100
20:16.53phhalso the default kernel doesn't have UART HS
20:17.01phh(if we are speaking about raph/diam)
20:17.15cr2i think it has
20:17.21cr2i've added it long ago
20:17.43phhcr2: not default configuration
20:17.49phhon diamond at least
20:17.51phhmaybe raphael
20:18.15*** join/#htc-linux W8TVI (n=nnnme@71.238.235.30)
20:18.27cr2CONFIG_SERIAL_MSM_HS=y
20:18.53cr2ok, not on diam
20:19.10phhwho is "in charge" of diamond ?
20:19.17phhbecause there are many lacks against raphael
20:19.27cr2you :)
20:19.38townkat:)
20:19.54phhi don't know a thing about MSM /o\
20:20.11cr2you only need to know a thing about git
20:20.18phhtrue
20:20.34cr2everything else you can discuss here
20:21.24townkati extracted the initrd.gz and changed startup.txt accordingly, it hang at the same line
20:21.35phhcr2: there is noone else who usually does this ?
20:21.50cr2what ?
20:22.11phhwho commited *diamond* ?
20:22.25cr2many people
20:22.27c4softwarehmmm a doc exist for power management for the lcd panel
20:22.42cr2but they seem to be busy now
20:23.34phhok
20:23.40*** join/#htc-linux balans1 (n=barry@212-123-149-239.ip.telfort.nl)
20:24.11cr2and the devices are so similar, that it does not really matter
20:24.26cr2raph just has most hardware
20:24.30cr2features
20:24.57phhwell i bought the cheapest useful smartphone i found
20:25.17phh150euro for such a thing, it's enough to me :)
20:25.48townkati tried with the old initrd.cpio.gz i have from the old working android we have for blac, still hang at the same error, this should mean its not the initramfs isnt it ?
20:25.48phh(i bought it second hand two months ago.)
20:25.59phhtownkat: guess so yes
20:26.05phhmaybe framebuffer is corrupted
20:26.09phhdon't know how to see that
20:26.20*** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34)
20:26.35cr2townkat: you boot with wifi enabled ?
20:34.04townkatyup
20:34.08townkatshould i disable it ?
20:36.41cr2townkat: yes
20:36.55townkati disabled it now
20:36.56townkatsame
20:37.31townkatwhat about bluetooth?
20:37.44townkatboard_htcraphael.disable_wifi=1 does not disable bt isnt it ?
20:39.20zwonhttp://pastebin.com/m5d7f9b93
20:39.33zwonstill same mmc errors
20:44.04townkatzwon, how do you get that data out of console ?
20:44.11townkatis there some log file or... ?
20:46.46zwonin haretconsole type PWF config.txt 0xe000d 0x20000
20:47.15zwonthen you get a dmesg file to your haret dir
20:47.28townkatahh, i see
20:48.35townkatthnx
20:48.44townkatu have a transcend card ?
20:50.53*** join/#htc-linux balans (n=barry@212-123-149-239.ip.telfort.nl)
20:52.10zwonright xD
20:52.18zwonhow do you know
20:52.20zwon?
20:54.39townkati seen u have a blacstone
20:54.45townkati have one too
20:55.05zwonah ok
20:55.08townkatbut i dont have a transcend card
20:55.19zwonyou have a transcend card too?
20:55.26zwonah ok^^
20:55.34townkatmine boots more, but still not complete
20:55.42*** join/#htc-linux pr0p (n=asf@87.70.54.117)
20:56.01townkatbut it boots the old android package in the wiki completly
20:56.27*** join/#htc-linux timebomb (n=tb@e177142005.adsl.alicedsl.de)
20:56.53zwonhm doesnt work with mine too
20:57.05zwonxD
20:58.06zwoni think i need a new card...but if i buy one android will start as NAND
20:58.18*** join/#htc-linux pr0p (n=asf@87.70.54.117)
20:58.42townkatdid u try to boot from internal flash ?
20:59.09zwonhm no i dont found a tutorial
20:59.27townkatjust put the files in the internal flash i think
20:59.31townkattmp
20:59.47zwonhm ok i'll try
21:00.03tmztGlem: what machines are enabled in your kernels?
21:01.04townkatwhat mkes haret to boot directly without presenting the window?
21:02.50*** join/#htc-linux ipauldev (n=ipauldev@phassinger.dsl.visi.com)
21:03.18tmztcr2: cli is clear interrupts
21:04.00tmztwell not in that case maybe
21:04.07ipauldevG1 Screen Replacement DIY - http://digg.com/d315ixu
21:04.13*** part/#htc-linux ipauldev (n=ipauldev@phassinger.dsl.visi.com)
21:04.34*** join/#htc-linux ipauldev (n=ipauldev@phassinger.dsl.visi.com)
21:05.53*** part/#htc-linux ipauldev (n=ipauldev@phassinger.dsl.visi.com)
21:06.34tmzttownkat: startup.txt or linboot instead of haret
21:06.41tmztask r2 about the econd one
21:06.51tmzts/ec/sec/
21:07.32townkatabt the first one
21:07.36townkatwhat in startup.txt ?
21:08.34*** join/#htc-linux dream_kill (n=nospam@89.131.127.37)
21:09.02townkats/startup/star
21:09.11townkats/startup/star/
21:09.48townkatwhat in startup.txt ?
21:09.51townkats/startup/star/
21:09.59townkat:D
21:13.22tmztsame as default.txt
21:13.44zwontmzt: it wont work on internal flash
21:13.45*** join/#htc-linux rashire2 (n=ed1112wa@pool-98-114-209-170.phlapa.fios.verizon.net)
21:13.51tmztbut if you put boot in startup.txt it starts linux without showing anything
21:14.02townkatahh
21:14.06townkatso boot is the key
21:14.07townkat;)
21:14.10townkatthank you
21:14.11tmztzwon: the loop files can't be on nand
21:14.12townkat:D
21:14.35tmztzwon: they can only be internal on diamond
21:14.48tmztas it has embedded sd
21:15.04zwonwhich are the loop files?
21:15.09zwone2img ...?
21:15.19cr2tmzt: why not on nand ?
21:15.51tmztcr2: it ha to loop mount things and linux can't access nand yet I think
21:16.01tmztcr2: how do I get wifi working?
21:16.21tmztyes, e2img
21:16.21cr2tmzt: wiki
21:16.22tmztin git?
21:17.32cr2http://www.htc-linux.org/wiki/index.php?title=WL1251
21:17.39tmztI think I'm going to work on getting an shr image to work so I can have current X
21:17.55cr2the eeprom data for diam500 is strange
21:18.29cr2tmzt: why did you patch the fbmem.c file ?
21:18.40cr2how does it work on other phones
21:19.31phhcr2: i'm currently trying to get wifi work for c4software's diam100 btw
21:19.31zwonhm i got the loop files on both
21:20.24*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
21:22.19tmztcan we export panel id in htchw or somewhere
21:22.26tmztclass mddi-client maybe
21:22.44tmztcr2: I did?
21:23.02tmztmsm-fb?
21:23.28cr2-               if (i) return i;
21:23.29cr2+               //if (i) return i;
21:23.31cr2+               if (i) return 0;
21:23.35cr2drivers/video/fbmem.c
21:23.49cr2i = fb_set_var(info, &var);
21:23.54tmztah
21:24.01cr2what's wrong with this call ?
21:24.14tmztthat should be remove pixclock check instead
21:24.34tmztbecause X sends 0 for pixclock
21:24.58tmztthat's an upstream patch but not sure if it goes in that file
21:25.02cr2what should be returned for pixclock ?
21:25.11tmztreturned?
21:25.16tmztthis is the set
21:25.32cr2ok, why not set it ?
21:25.38tmztit should succeed reguardless or what pixclock is
21:25.51tmztbecaue it can't be 0
21:26.05cr2can't it be solved in fb_set_var ?
21:26.12tmztyes
21:26.16tmztit should be
21:26.27tmztlook at 2.6.31 to see how it was fixedx
21:26.31cr2where is fb_set_var for msmfb ?
21:26.36tmztI did this because it worked
21:26.40tmztlook i opsn
21:26.41cr2hehe
21:26.42tmztops
21:26.56tmztthen I found out why it was broken
21:26.59cr2we have .27, or .29
21:27.18tmztif strace dumped the struct it would have been obviou
21:27.22tmztupstream
21:27.31tmztthere's a patch committed
21:27.39cr2well, what should we patch in .27 git ?
21:28.03tmztI believe they removed the pixclock check
21:28.14tmzton linus tree
21:28.22cr2ok
21:28.37cr2what was the problem with msm_ts ?
21:28.55tmztit returned cooked coordinates
21:29.03tmztand X/tslib wants raw
21:29.10cr2i think we had msm_ts2 ?
21:29.28townkathmm, i managed to ouput a txt from haret and it seem to go further than it show on screen
21:29.36townkathttp://pastebin.com/mefa001d
21:29.56townkatthe screen output stops at   [   44.696868] ieee80211_crypt: registered algorithm 'NULL'
21:30.00tmztnew X has it's own calibration which  intend to use
21:30.11tmztmaybe didn't are one
21:30.14cr2the current msm_ts contains such android things, that there is no chance it will be used anywhere
21:30.15tmztsee
21:30.31cr2then we can purge all this
21:30.56tmztwith the vkeyb changed to a hook its ok
21:31.02cr2btw, what about msm_ts from .29 tree ?
21:31.21tmzthaven't looked
21:32.02cr2i think current msm_ts.c needs to be moved into msm_ts_android.c
21:32.34*** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34)
21:33.33tmztI want tup use darkstars method of using a userspace program for calibration but be able to configure kernel with the results
21:33.45tmztbut X doesn't need it
21:33.56tmztright
21:34.12cr2it's not the kernel issue anyway
21:34.18tmztor config upotion to disable that
21:34.29tmztas well as vkeyb
21:34.41tmzttrue
21:34.45cr2if android needs it, leave it as an android-dependent hack, but dont spoil the kernel source
21:35.09tmztbut until android user space can do calibration
21:35.14tmztthey need it
21:35.27tmztbut with darkatae
21:35.28cr2ok
21:35.51tmztdarkstar method it could be done before starting android
21:35.56cr2does adsp/sound depend on pmem ?
21:36.11tmztnot for playsc
21:36.22tmztplaywav I think
21:36.35tmztbut audiod
21:36.45tmztbut audioflinger does
21:37.05tmztit should be alas dma
21:37.17tmztalsa
21:37.45cr2yes, but if i will disable pmem and other android stuff, what will i loose ?
21:38.17cr2playwav is good enough as /dev/dsp
21:38.40cr2for now
21:39.04tmztnot sure
21:39.12cr2because making the mixer and equalizer properly work with alsa is a challenge.
21:39.31tmztyes
21:40.01tmztthat will probably emaib I  htchw
21:40.26tmztunless why use request firmware or something
21:41.14cr2yes, i mean only right now
21:41.35cr2when you do cat file.wav > /dev/dsp, it's more or less the same as playwav
21:42.38cr2we can even write the custom /dev/dsp driver for it, to hide the whole ioctl business
21:43.04cr2-       fb_info->var.yres_virtual = msmfb->yres * 2;
21:43.05cr2+       fb_info->var.yres_virtual = msmfb->yres;
21:43.18cr2can this be done in some better way ?
21:43.26phhcr2: wifi works for c4software too :)
21:43.39cr2phh: congratulations :)
21:43.51c4softwareYep, but we need to launch the load.sh script twice
21:43.55cr2phh: but we need to find a less hacky way :)
21:44.09phhcr2: yeah
21:44.17tmztcr2: oss is not worth it
21:44.21phhi'll make a build with it still
21:44.42cr2tmzt: yeah
21:45.55tmztI've split drivers/video/msm into msm-single with its own Kconfig option
21:49.17townkatanyone pls take a look at my dmesg ?
21:50.01cr2tmzt: can we malloc the framebuffer ram too ?
21:50.25cr2instead of
21:50.28cr2<PROTECTED>
21:50.30cr2<PROTECTED>
21:50.55cr2it can be put into SMI though
21:51.32tmztdidn't we discuss that?
21:51.47tmztif it could allocate enough ram
21:51.48cr2i'm only a bit afraid about non EBI1 dma
21:52.05cr2how does it work for pxafb ?
21:52.12cr2on universal
21:52.20tmztit's in devices.c
21:52.22cr2also a vga 16bit screen
21:52.30cr2ok, here it's 18bit
21:53.04cr2yes, a good question if the SMI is faster
21:53.48tmztdoes g1 use smi or ebi?
21:53.52*** join/#htc-linux pr0p (n=ag@87.70.54.117)
21:54.20tmztso there's no new code for wifi? that debugfs entry is already committed?
21:54.25cr2find ./kernel -name Kconfig | xargs grep PMEM
21:54.27cr2./kernel/drivers/misc/Kconfig:config ANDROID_PMEM
21:54.47cr2who has said that ADSP depends on it ?
21:54.52tmztANDROID PMEM is the allocation of the pmem devices
21:55.02tmztthat's for userspace
21:55.12tmztPMEM itself is needed I think
21:55.14cr2== not needed for X
21:55.24tmztnot sure how this affects non-android
21:55.33tmztX only uses msmfb
21:55.43cr2isn't pmem something arm9 related ?
21:56.03cr2i think it's some qualcomm innovation, originally
21:56.11tmztyeah
21:56.19tmztlike rpc is used to allocate it
21:56.29cr2tmzt: does your wifi fw match the wiki ?
21:56.33cr2yes
21:56.43tmztand their drvers use physical addresses
21:56.52tmztI think so
21:59.41*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
21:59.47cr2can you dump the eeprom ?
22:00.18cr2phh: what are the differences between your eeprom and c4software ?
22:00.41phhc4software: give me your calibration to phhusson@free.fr
22:00.54c4softwareno problem
22:01.04*** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
22:01.15c4softwarejust a minute
22:02.03cr2c4software: with the 0x40 header is even better
22:02.47c4softwaremail send
22:03.09phhc4software: calibration.2 then :D
22:03.42cr2i wish we can teach the mtd layer about our blocksize
22:05.44cr2[   10.459887] msm_nand_read_oob: unsupported ops->len, 512
22:05.47cr2[   10.474108] end_request: I/O error, dev mtdblock3, sector 0
22:05.47cr2[   10.487597] Buffer I/O error on device mtdblock3, logical block 0
22:06.04phhcr2: use mtd char
22:06.46cr2i have a partition table
22:06.55cr2need to remeber where is what
22:07.36tmztI think you can
22:07.53tmztust that yaffs2 sets up the ops itself
22:08.39tmztso you have to take the code from there
22:09.07cr2tmzt: it's google-git-only ?
22:10.17*** join/#htc-linux thedicemaster (n=thedicem@j89051.upc-j.chello.nl)
22:10.17tmztwhat is?
22:10.27cr2yaffs2
22:10.34tmztfrom that driver I mean
22:10.45tmztno we should have it
22:11.07tmztI mean that only that fs works
22:11.39tmztlen is 2k?
22:16.10Captnoordre
22:16.11Captnoordyo all
22:16.26cr20x800
22:16.27cr2yes
22:16.47Captnoordhow's wifi?
22:16.47Captnoord:P
22:16.56phhon diam/raph ? good and you ? :p
22:17.15Captnoordjust got back from my girl so i'm good....
22:17.16Captnoord:P
22:17.18Captnoordyou?
22:17.40phhi'm too :p
22:18.23cr2phh: i've dumped a good chunk of nand with my wrong partition table from May :)
22:18.46cr2it didn't account for the 36MB offset
22:19.42phhhu ?
22:19.46tmztapps partition table?
22:20.12*** join/#htc-linux jummama (n=AndroidI@m420536d0.tmodns.net)
22:20.20phhcr2: if you want some prebuilt kernel/wifi driver, i've got on http://husson.hd.free.fr/zImage-27-09-2009 / http://husson.hd.free.fr/d2.tar
22:20.35phhi don't know how it will do on raphael
22:20.50phhbut i think keyboard isn't build :/
22:22.23tmztphh: raph 500 support?
22:22.37tmztwait
22:22.37phhtmzt: don't think so
22:22.40tmztthat breaks thkbga
22:22.53phhthkgba .. ?
22:23.05tmztthat's ok
22:23.09tmztthings
22:23.10phhtmzt: it has been built with raphael CDMA
22:23.34phhbut i don't think wifi will work as easily
22:23.49phhbut first you have to get your calibration data :p
22:31.41c4softwareits time for me to go :)
22:31.47c4softwaregnight everyone
22:33.53cr2err.
22:33.57cr2wince dmesg in nand
22:34.30cr2x260000 offset
22:35.43cr2x2e0000 end
22:35.43jummamahey, just wondering if there's been any work toward an X server on dream other than Xfbdev patches
22:36.25cr2jummama: 2d acceleration for msm7201A ?
22:36.55jummamayeah
22:37.39cr2afaik no
22:37.49jummama3d would be nice, but i'll take what i can get
22:38.46jummamathanks
22:38.48cr2ask tmzt
22:39.11phhhow does android do ?
22:39.17phhmaybe there is some EGL ?
22:39.25phh(in which case you could use Xegl)
22:40.47jummamaandroid has opengles, maybe it'd be possible to get an xserver running inside android with the chrooted debian trick
22:41.25phhor just copy the egl libs to your own system
22:41.32phhi don't think they heavily rely on android
22:42.58*** join/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk)
22:43.21jummamahmmm... thanks for the idea!
22:53.16*** join/#htc-linux |Jason8|| (i=JayAte@server1.tiltshellz.org)
22:54.51*** join/#htc-linux Orbital_sFear (n=ldupin@bbb72-0-189-133.bendbroadband.com)
22:56.24*** part/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk)
23:02.52*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
23:02.59Untouchab1eGood evening
23:11.53cr2good night
23:14.37*** join/#htc-linux luke-jr (n=luke-jr@2002:62b3:1d4c:0:20e:a6ff:fec4:4e5d)
23:43.31*** part/#htc-linux Orbital_sFear (n=ldupin@bbb72-0-189-133.bendbroadband.com)

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