IRC log for #htc-linux on 20111112

00:13.44*** join/#htc-linux defendthecommons (~defendthe@50-48-20-161.drr05.mdtw.ny.frontiernet.net)
00:18.28*** join/#htc-linux bukington (~bukington@fac34-2-82-228-151-145.fbx.proxad.net)
00:53.43*** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star)
01:20.06*** join/#htc-linux raymonddull (~raymonddu@c-98-209-145-76.hsd1.mi.comcast.net)
01:44.39*** join/#htc-linux bukington (~bukington@fac34-2-82-228-151-145.fbx.proxad.net)
01:53.13phhanyone interested in/has a motorola droid 3 ?
01:53.42phhit's technically good and quite cheap (compared to galaxy nexus, at least here), but locked, argh
01:54.58arrrghhhmoto
01:55.04rpierce99imho i wouldn't buy moto, they have a horrible history of keeping their phone on up to date versions of android
01:55.05arrrghhhlooks at room he's in
01:55.16arrrghhhhave you lost it phh ?  :P
01:55.40phharrrghhh: tss :p
01:55.56phhrpierce99: well, it wouldn't be locked i wouldn't care :p and well google bought them now
01:56.09rpierce99i guess that's true
01:56.41arrrghhhapt kill phh before he ruins us all
01:56.41aptACTION shoots a charged neutrino gun at phh before he ruins us all
01:56.46arrrghhhlol
01:57.03arrrghhhi am curious to see what comes of that partnership
01:57.07phhme too
01:57.10arrrghhhi guess the whole unlocked bootloader thing is a big step.
01:57.23phhhum, there have been some news about it ?
01:57.26arrrghhhhow are they at providing kernel source?  never really checked.
01:58.16phhhum afaik they deliver kernel sources
01:58.21phhcan't tell for sure about droid 3 though
01:59.03phhbut droid 3 would be a good replacement to rhod :p
01:59.14phhwhich is getting really old
01:59.37rpierce99i still have over a year on my rhod contract :(
01:59.50phhcontrwhat ? :D
02:00.04rpierce99technically it's not MY contract
02:00.08rpierce99company p hone
02:00.09phhi haven't ever taken a phone contract yet, and i hope i won't ever
02:02.00arrrghhhphh, same.
02:02.03phharrrghhh: so you're interested in droid 3 or ? :p
02:02.06arrrghhhnah
02:02.13arrrghhhkb is only "ok"
02:02.20arrrghhhand i don't want to switch to vz... no thanks.
02:02.55phhit's a world phone
02:03.01arrrghhhso
02:03.12arrrghhhi'm on Sprint... I have no intention of leaving.
02:03.57phhyou wouldn't be able to use it on sprint ?
02:04.47phhthe devices are provider locked ?
02:04.51arrrghhhCDMA suxxors
02:05.02arrrghhhcan't just swap the SIM, y'know
02:05.08arrrghhhchina has swappable UIM's
02:05.11arrrghhhbut USA... does not.
02:05.32phhuim is the unique ID of the mobile ?
02:05.57arrrghhhit's like a SIM for CDMA
02:06.10phhah
02:06.30arrrghhhbut for USA, it's like the SD card in DIAM's
02:06.36arrrghhhnot user-accessible
02:06.43arrrghhhin fact it's probably part of the board.
02:06.47arrrghhhi don't really know tho...
02:07.12phhi thought the phones only had a unique ID and that you could connect on whatever network you want if this id is known by the network
02:07.17arrrghhhwell
02:07.28arrrghhhSprint only activates ESN's from their phone network
02:07.38phhok
02:07.41arrrghhhthey will NOT activate an ESN that didn't come from one of their phones...
02:07.54arrrghhhCricket and other shitty providers don't care, so long as you can sort out how to get the phone working.
02:10.22phh:(
02:10.55arrrghhhyea, it blows
02:11.15phhand you've seen any phone that could replace rhod ?
02:11.23arrrghhhnot really
02:11.35arrrghhhits supposed successor sucks.
02:14.15arrrghhhi think it's called the pro 7 in your parts
02:15.31arrrghhhphh, a RHOD is your daily driver?
02:15.50phhdriver ?
02:15.57phhthat's still my phone if that's the question
02:16.03arrrghhhyes
02:16.06arrrghhhuse it as your main phone
02:16.10arrrghhhin winmo?
02:16.25phhin android
02:16.34arrrghhhreally!??
02:16.40*** join/#htc-linux raymonddull (~raymonddu@c-98-209-145-76.hsd1.mi.comcast.net)
02:16.42arrrghhhwhy haven't you been helping lately :P
02:17.22phhi have got so many other things to do :p
02:17.31arrrghhhyea
02:17.33phhand well only problems i have is slowlyness, i can't see what i could do on that ...
02:17.35arrrghhhwhat build you run?  :P
02:17.47arrrghhhwell there's lots of little problems
02:17.51phhfrx
02:17.53arrrghhhwhich are slowly getting fixed...
02:18.13arrrghhhemwe's been making awesome strides on gb.
02:24.40*** join/#htc-linux raymonddull (~raymonddu@c-98-209-145-76.hsd1.mi.comcast.net)
02:26.25arrrghhh<PROTECTED>
02:27.12phhrhod300 i think
02:27.28arrrghhhnice.  ACL just got one of those as a donor... for a month, lol
02:40.14*** join/#htc-linux bukington (~bukington@fac34-2-82-228-151-145.fbx.proxad.net)
03:10.22*** join/#htc-linux bukington (~bukington@fac34-2-82-228-151-145.fbx.proxad.net)
03:32.26*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
03:33.41*** join/#htc-linux bartman (~bart@2607:f2c0:a000:175:2e0:81ff:fe47:3d01)
04:08.20*** join/#htc-linux Rob2223 (~Miranda@p5DE4B251.dip.t-dialin.net)
04:19.11*** join/#htc-linux bukington (~bukington@fac34-2-82-228-151-145.fbx.proxad.net)
04:58.12*** join/#htc-linux d3tul3 (~detule@pool-96-234-141-27.bltmmd.east.verizon.net)
05:04.17*** join/#htc-linux bzo (~chatzilla@c-174-62-79-238.hsd1.ca.comcast.net)
05:05.36d3tul3WisTilt2 can you verify the kernel side of the leds works for you -> echo "0" (or "1") to /sys/class/leds/caps/brightness and/or sys/class/leds/func/brightness
05:06.27d3tul3both work fine over here, and the logic is in place...make sure you are in a text input field -> the logic listener engages only when the cursor is blinking like in text message input field, or the browser search bar
05:18.31*** join/#htc-linux raymonddull (~raymonddu@c-98-209-145-76.hsd1.mi.comcast.net)
06:02.04*** join/#htc-linux jonpry (~jon@unaffiliated/jonpry)
06:02.22*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
06:50.21*** join/#htc-linux kiozen (~kiozen@ppp-93-104-78-59.dynamic.mnet-online.de)
07:25.29*** join/#htc-linux TheXev (~user@127.sub-174-252-196.myvzw.com)
07:54.30*** join/#htc-linux Andreyxxl[HD2EU] (~Andreyxxl@94.52.236.39)
07:57.55*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:d02b:345e:fad9:236c)
08:00.23*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:d02b:345e:fad9:236c)
08:20.42*** join/#htc-linux rpierce99 (~rpierce99@96-42-102-103.dhcp.stcd.mn.charter.com)
08:44.45*** join/#htc-linux programmer8922 (~Evan@c-174-56-89-117.hsd1.nm.comcast.net)
08:48.11*** join/#htc-linux paulk (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
09:48.08*** join/#htc-linux NYL (~NYL@109.96.49.123)
10:08.45*** join/#htc-linux |Jeroen| (~jeroen@d5152B25B.access.telenet.be)
10:10.55*** join/#htc-linux GlemSom (~glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
10:23.14*** join/#htc-linux rob_w (~bob@host-188-174-140-213.customer.m-online.net)
10:24.32*** join/#htc-linux NYL_ (~NYL@109.96.49.123)
10:33.59*** join/#htc-linux new-lakeman (~lakeman@ppp121-45-168-9.lns20.syd6.internode.on.net)
10:46.12*** join/#htc-linux turbolapin (~quassel@78-199-125.adsl.cyta.gr)
10:56.15*** join/#htc-linux dobrin (~dobrin@85.91.150.26)
10:59.45*** join/#htc-linux marc1706 (~marc@phpbb/modifications/marc1706)
11:05.56*** join/#htc-linux rzk (~rzk@95-25-50-147.broadband.corbina.ru)
11:30.39*** join/#htc-linux Bry8Star_ (~Bry8Star@gateway/tor-sasl/bry8star)
11:30.54*** part/#htc-linux fpu (~nonperson@178.73.49.1)
11:30.57*** join/#htc-linux fpu (~nonperson@178.73.49.1)
11:32.02*** join/#htc-linux Cotulla (~w3489sdf@nat100-255-205-109.tvoe.tv)
12:10.35*** join/#htc-linux bike (~bike@ti0122a340-dhcp1244.bb.online.no)
12:30.50*** join/#htc-linux d3tul3 (~detule@pool-96-234-141-27.bltmmd.east.verizon.net)
12:32.40fpuCotulla you're wince guy, but maybe you could help me somehow fix usb host in evo kernel
12:32.56fputhat's last piece of the puzzle
12:33.35fpuhttp://ibot.rikers.org/%23htc-linux/20110915.html.gz
12:52.12Cotullaö00å,
12:52.15Cotullaw0\0t?
13:05.00*** join/#htc-linux balans2 (~barry@53564629.cm-6-7b.dynamic.ziggo.nl)
13:11.05*** join/#htc-linux LordDeath (~LordDeath@cable-81-173-166-124.netcologne.de)
13:19.31*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:d02b:345e:fad9:236c)
13:39.04*** join/#htc-linux helicopter88 (~helicopte@host100-114-dynamic.1-87-r.retail.telecomitalia.it)
13:46.01*** join/#htc-linux GNUtoo-N900 (~root@host246-111-dynamic.48-82-r.retail.telecomitalia.it)
13:46.56*** join/#htc-linux kiozen (~kiozen@ppp-93-104-78-59.dynamic.mnet-online.de)
13:50.04*** join/#htc-linux ubuntu (7441b85d@gateway/web/freenode/ip.116.65.184.93)
13:57.39*** join/#htc-linux marc1706 (~marc@phpbb/modifications/marc1706)
14:01.10*** join/#htc-linux GNUtoo (~gnutoo@host246-111-dynamic.48-82-r.retail.telecomitalia.it)
14:10.15*** join/#htc-linux balans (~server@82-170-217-205.ip.telfort.nl)
14:34.51*** join/#htc-linux rpierce99 (~rpierce99@96-42-102-103.dhcp.stcd.mn.charter.com)
15:12.24*** join/#htc-linux GNUtoo (~gnutoo@host246-111-dynamic.48-82-r.retail.telecomitalia.it)
15:13.09*** join/#htc-linux |Jeroen| (~jeroen@d5152B25B.access.telenet.be)
15:15.33*** join/#htc-linux helicopter88_1 (~helicopte@host100-114-dynamic.1-87-r.retail.telecomitalia.it)
15:29.45*** join/#htc-linux balans2 (~barry@53564629.cm-6-7b.dynamic.ziggo.nl)
15:34.41*** join/#htc-linux fpu (~nonperson@cmy158.neoplus.adsl.tpnet.pl)
15:35.41fpuhello
15:36.13fpuGNUtoo: audio I somehow fixed, usbhost is pending
15:36.18fpuand that's the hard part it seems
15:41.12*** join/#htc-linux balans2 (~barry@53564629.cm-6-7b.dynamic.ziggo.nl)
15:41.26Cotullayeah or gods at sky will fix it instead and declare it as big help for people
15:42.34phhCotulla: don't you want to hack motorola droid 3 ? :D
15:43.40Cotullahi phh
15:43.48Cotullawhat's there? and what's up with ti?
15:43.50Cotulla*it
15:44.27phhwell it's quite cheap (compared to galaxy nexus), hardware keyboard, omap4, not bad screen resolution
15:44.31phhbut locked bootloader :(
15:44.46Cotullabut how it's protected
15:44.46Cotulla?
15:45.05phhprotection integrated in omap4, i don't know much of it
15:45.42fpuyou won't break it
15:46.30phhwell you don't actually need to break omap's protection
15:46.44phhlike getting kexec to work would be enough :p
15:46.44Cotullait's possible to make it unbreakable
15:47.00Cotullaif use good rules
15:47.07Cotullalike encoding with hardware key
15:47.14fpuhttp://forum.xda-developers.com/showthread.php?t=921013
15:47.14fpursa, yep
15:47.48phhmilestone has been cracked
15:47.53phhwithout knowing the rsa key
15:47.54phhafaik
15:48.02fpuhmm
15:48.52fpuI thought kexec was workaround but bootloader remained intact
15:48.59fpubut I never owned motorola, can be wrong
15:49.09phhfpu: kexec is like haret for linux
15:49.32fpuyes
15:49.53phhand haret works whatever the bootloader protection is
15:49.55fpustill it isn't perfect solution
15:50.41phhthat's enough for me
15:51.30Cotullabut nand is write protected?
15:51.33Cotullaor emmc?
15:51.46phhi'd guess so yes
15:52.05Cotullaand who setup ranges?
15:52.14phhbootloader i'd guess
15:55.27GNUtoofpu, ok
15:55.37Cotullahi GNUtoo
15:56.01GNUtoohi
15:56.35GNUtoophh, for milestone: at what level did it get cracked? at bootrom level?
15:56.51phhi don't know
15:57.11phhi can't find much
15:57.15phhit seems they haven't actually cracked it
15:57.24GNUtoook
15:57.25phhwell just root and write to /system
15:57.28Cotullaheh
15:57.42GNUtoobecause last time I looked the bootloader was still signed
15:57.44GNUtoolet me look
15:57.54CotullaMotorolla starts war against community :(
15:58.10*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:a5c1:44b6:858b:9878)
15:58.16phhwell we can hope google will open them
15:58.52Cotullamaybe
15:58.54GNUtoohttp://and-developers.com/
15:59.11Cotullabut I will stay with HTC I think for now
16:00.06phh"It consist from: * small kernel module, for creating device for booting/controlling boot * small userspace program, which give for module boot image and flags * universal bootloader, which can uses many places for booting"
16:00.10phhand we'll call it kexec !
16:00.18phhthere is no cool htc phone :(
16:00.32GNUtoowhat about nexus S?
16:00.43Cotullait just question what kind of destination u want
16:00.43arrrghhhhtc ^^
16:00.54phhi'd like a keyboard
16:00.58GNUtoook
16:01.02arrrghhhNS is sammy
16:01.06Cotullaif just hacking some shitty bootloaders
16:01.11Cotullait can be good for u
16:01.11phhGNUtoo: 1.it's not htc, 2.it's already old
16:01.16GNUtoook
16:01.28fpuI see no good qwerties too
16:01.29fpuDroids are locked, what else is there?
16:01.37CotullaI am going much forward now, like developing paravirtulization one OS under another ;)
16:01.39phhCotulla: yeah well considering omap4 has fully available docs
16:01.40phhindeed it's possible
16:01.41phhbut hu
16:01.42phhm
16:02.04Cotullaomap4 full? I heard only basic, isn't it?
16:02.23phhwell afaik it's only missing 3D (since it's imagination's
16:02.23phh)
16:02.41CotullaI just means
16:02.44Cotullanowdays
16:03.02Cotullanew hardware appear like mushrooms after rain . . .
16:03.09phhwat ?
16:03.17arrrghhhlol
16:03.42Cotullayeah
16:03.57Cotullaas well native android phones are boring actually
16:04.02Cotullathere nothing hack almost
16:04.49phhyeah well that's why i'm playing with an uC right now :p
16:05.02CotullauC? what is it?
16:05.49*** join/#htc-linux helicopter88 (~helicopte@host107-118-dynamic.47-79-r.retail.telecomitalia.it)
16:06.16phhmicrocontroller
16:06.22Cotullahehe
16:06.23phhwelll it's not so micro.
16:06.26Cotullawhich?
16:06.33phhSTM32F4
16:06.38phhthe board is STM32F4-Discovery
16:06.52phhi really can't see how this can still be called microcontroller but well :D
16:07.08Cotullais it ARMv7-M?
16:07.35GNUtoobtw just for curiosity: does haret work on windows phone 7
16:07.38phhCotulla: yup
16:07.43CotullaGNUtoo, no
16:07.49Cotullaphh, and only THUMB2?
16:08.06GNUtoook
16:08.20phhCotulla: you mean no original thumb ?
16:08.34Cotullano ARM mode
16:08.56phhuh ?
16:08.59phhi haven't tried arm mode
16:09.06phhbut there are some ARM without arm mode ?!?
16:09.22phhmain.c:1:0: error: target CPU does not support ARM mode
16:09.22phhok
16:09.57CotullaI heard some new uC doens't support ARM, only THUMB2
16:10.02GNUtooCotulla, they are boring with android, but what if you port GNU/Linux mainline to one of them
16:10.10phhwell gcc -mcpu=cortex-m4 -marm complain
16:10.15phhso indeed it seems like it doesn't support arm
16:10.54CotullaGNUtoo, yes, but u know the truth. without big team of pro, big amount of testers it's rather hard task usually
16:11.10phhthat makes it even more interesting !
16:11.22GNUtooyou complain because android is too easy....and then complain because GNU/Linux porting is too hard....hmmm
16:11.51*** join/#htc-linux fpu (~nonperson@cmy158.neoplus.adsl.tpnet.pl)
16:12.48Cotullait's wrong to make terms
16:12.51Cotulla"easy" "hard"
16:12.55GNUtoook
16:13.02GNUtooI wonder if there is something in between
16:13.06Cotullahmhm
16:13.10CotullaI means something else
16:13.13Cotullafun and etc
16:13.19GNUtoook
16:13.32Cotullaor implementation of new ideas
16:13.55GNUtooelse there is the baseband level
16:14.15GNUtoomaybe porting the htc dream baseband to osmocombb
16:14.26GNUtoo*porting osmocombb to the htc dream baseband
16:14.41Cotullawhat is osmocombb?
16:14.58GNUtoofloss software for basebands CPUs
16:15.04GNUtooit replace your baseband code
16:15.22Cotullabut it's mission impossible . . .
16:15.44GNUtoono
16:15.58phhGNUtoo: on qualcomm, baseband does a lot more than just baseband
16:16.30GNUtoook
16:16.48GNUtoolike audio, GPS etc...
16:25.03Cotullaphh, and that are u doing with it? checks state of fridge door and turns on siren if it open at the middle of night by cat?
16:25.08Cotulla:D
16:25.49phhCotulla: atm ? blinking leds :p
16:26.03phhi want to make an oscilloscope with it
16:26.07phhbut i cna't even make usb working -_-'
16:26.57Cotullawhy?
16:27.22phhwhy not ?
16:27.26phhah for usb ?
16:27.30Cotullayes
16:27.33Cotullau need some usb stack
16:27.41Cotullaare u using RTOS there?
16:27.42phhthere is one provided by ST
16:27.43phhna
16:28.00phhwhen i activate interrupts, it ends up at $pc=base of ram
16:28.02phhand stays there
16:28.29Cotullahm
16:28.32Cotullaso plain execution
16:28.37Cotullawith WFI?
16:29.07phhhum i don't remember if i let wfi
16:29.14phhna without wfi
16:29.30phhbut that was just a test, let's readd it
16:30.29phhah and all memory read made by gdb gives same result  (0xf44f0301) which is totally wrong
16:31.08Cotullastrange
16:31.31phhif i reset cpu i can read back expected values
16:32.26Cotullawill u bring some RTOS up there?
16:32.38phhcan't tell
16:34.46phherr i've just been thinking. how the hell does it know where the stack is
16:35.01Cotullastart up code should init it, no?
16:35.41phhstart up code is main() :D
16:35.53Cotullau sure? open in IDA
16:36.03Cotullathere can be GCC start up
16:36.13phhwell in gdb i do j main
16:36.16phhso yes i'm sure
16:36.20Cotullait's because C debugger
16:36.29Cotullaor it setup break point at main()
16:36.40phhok, if you prefer, when i do set $pc=main
16:36.41phhit does the same
16:36.53Cotullabut u can look SP
16:36.56Cotullain GDB
16:37.05phhyeah well $sp is in .text segment :D
16:37.10GNUtoois porting the nexus S kernel to mainline doable?
16:38.32Cotullaso it's wrong?
16:38.39Cotullaor maybe it's at the end of text segment?
16:39.24phhCotulla: it's right in the middle of text segment
16:39.31Cotullalol
16:41.23*** join/#htc-linux Andreyxxl[HD2EU] (~Andreyxxl@94.52.236.39)
16:48.02GNUtoomy kernel blocks there: Uncompressing Linux... done, booting the kernel. any ideas?
16:48.47Cotullawhich device?
16:49.16GNUtoonexus S(herring) with mainline + some modifications to make it "boot"
16:49.46GNUtoomainline version is linux-next from some days ago which contain some stuff for serial debugging
16:50.05GNUtoolike printk with the serial that is already setup by the bootloader but it doesn't seem to work
16:50.10GNUtoothe big problem is the absence of md
16:50.22GNUtoomd is memory display in uboot
16:50.42GNUtoolast time I ported a board to mainline I used md to get the log buffer messages
16:56.27GNUtoomaybe I should transform printk in the lower level boot-loader-initialized prints?
16:56.41GNUtoobecause obviously the early init is working
16:57.08GNUtooif it prints uncompressing linux... done booting the kernel it means that the first init part succedded
16:58.19Cotulladid u try with Image
16:58.20Cotulla?
16:58.22Cotullanot zImage
16:58.32Cotullamaybe wrong addresses of kernel
16:58.35GNUtooI'll try
16:59.06GNUtooah?
16:59.14GNUtoobut the early init seem to work
16:59.27Cotullabut uncompressing means that it decode zImage
16:59.28Cotullato memory
16:59.30Cotulla?
16:59.32GNUtoono
16:59.44GNUtooit means that early init of the cpu etc succedded
16:59.51GNUtooand then that it uncompressed
16:59.57GNUtooit's a self-extracting thing
17:00.31phhhum thumb2 is funny
17:00.32CotullazImage has own uncompressor code
17:00.37GNUtooindeed
17:00.38Cotullawhich isn't related with kernel
17:00.39phhmany instructions are actually 32bits
17:00.41GNUtoothat's what I meant
17:00.43GNUtooah?
17:00.53Cotullajust compressed version of Image
17:00.54CotullazImage
17:01.08GNUtooyes but before the compressed image there is an aseembly part
17:01.21Cotullayes, but it doesn't do a lot of
17:01.26GNUtooah ok
17:01.29Cotullaonly turn off mmu for uncompression time
17:01.31Cotulla*on
17:01.39GNUtooyes
17:02.10Cotullalook at D:\cygwin\usr\sapphire\arch\arm\boot\compressed\
17:02.21GNUtooI know a bit how it works
17:02.24GNUtoook
17:02.40GNUtoowith piggy backing etc...
17:04.10GNUtoowith Image it didn't change
17:04.27Cotullabut string disappear?
17:04.30GNUtoono
17:04.52Cotulla" uncompressing linux"?
17:04.55GNUtooindeed it's strange
17:05.05Cotullait must
17:05.07GNUtooUncompressing Linux... done, booting the kernel.
17:05.13GNUtoook
17:06.16GNUtoo<PROTECTED>
17:06.19GNUtooaha
17:06.26GNUtooit's because it didn't wrote anything
17:06.30Cotulla:D
17:06.33GNUtoothat's because the kernel is 7M big
17:07.02*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
17:21.12Cotullaphh maybe u need some start up code
17:21.23phhi'm afraid so :(
17:21.35Cotullawhere u got current project?
17:21.41phhi'll stop hardsetting addresses everywhere and start using proper linker
17:22.04phhhttps://github.com/texane/stlink/tree/master/example/blink
17:22.08Cotullahm it's without MMU
17:22.10Cotullaright?
17:22.28phhyes
17:22.40Cotullalol github got animation
17:22.49Cotullamaybe we will see in 3D it soon
17:24.38Cotullalool  delay is nice one
17:26.06Cotullahm how it found that main() must be located at the start of image
17:26.53phhagain, i'm doing j main in gdb
17:26.55phhso it doesn't know
17:31.00*** join/#htc-linux Alex[sp3dev] (~alexander@178.176.32.95)
17:32.51*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:a5c1:44b6:858b:9878)
17:45.28GNUtooCotulla, yes the uncompressing disappear with Image
17:46.30Cotullaso it's common problem
17:46.33Cotullacheck base address
17:46.58Cotullaso phh, write some start up code
17:47.03Cotullaput it at the start of image
17:47.06Cotullaand init there SO
17:47.07CotullaSP
17:47.17phhah i tried to
17:47.24phhbut it seems like it doesn't run that code
17:47.27*** join/#htc-linux kiozen (~kiozen@ppp-93-104-78-59.dynamic.mnet-online.de)
17:47.27phhor something overwrites sp later
17:47.35phhanyway i'm using proper ldscript now
17:47.39phh+asm init code
17:48.27GNUtoocan I change the base address? more precisely s5pv210/s5pc110 has a different base address than the nexus S
17:48.36GNUtooand it's memory is discontinuous
17:48.57GNUtooso I really wonder if I can change 0x3.... to 0x2....
17:49.11GNUtoobecause mkbootimg has a --base option
17:49.21GNUtooif I change in both kernel and mkbootimg?
17:50.50Alex[sp3dev]GNUtoo: i'd suppose that the bootloader may ingore the value from the boot image and always load kernel to some fixed address so your kernel should act like the stock one
17:51.07GNUtoook
17:51.24GNUtoobut it doesn't seem to ignore it
17:53.54GNUtoolet me try it
17:54.12Alex[sp3dev]GNUtoo: yesterday i've fixed the sleep of death issues with sdio stack ported from 3.1 to 2.6.35. so now, wl1251 works, psm works and i can disable power by just ifconfig wlan0 down
17:54.37GNUtoonice!!! but I failed at porting dream to 37
17:54.44GNUtoogpiolib issues
17:56.01Alex[sp3dev]what's with gpiolib? i mean, i've added gpiolib support for msm7200a in my tree. you can use it if you change the function to pcom call. even if you do not, it should actually work for arm11 owned gpios
17:56.25GNUtoooh nice
17:56.31GNUtooI'll give a look then
17:56.54GNUtoobasically I had input issues
17:57.05GNUtooit somehow worked but lacked the click or something like that
17:57.09Alex[sp3dev]but forget dream and move on. no one's using dream nowadays. if you manage to make nexus s or n900 or any other popular up-to-date device work with GNU/Linux, that'd be better.
17:57.20GNUtooindeed
17:57.45GNUtoothe thing is that there is already someone working on the modem of the nexus S
17:57.53GNUtooso....
17:58.02GNUtooall he is waiting is me to fix the kernel
17:58.07GNUtoobut I fail to boot mainline...
17:58.20Alex[sp3dev]btw, i've googled and looks like samsung galaxy s2 and optimus 3d both use XMM6260 modem which is supported by ofono. what modem does nexus use?
17:59.27GNUtooit's a intel x-gold with a custom samsung protocol on top
17:59.29Alex[sp3dev]GNUtoo: i'm just saying because i plan to get myself an s2 or nexus prime if i have money after buying a new laptop
18:00.15GNUtooXMM6260 seem AT
18:00.19Alex[sp3dev]well, xmm is x-gold. i thought it was infenion
18:00.29GNUtooI don't remember well
18:00.41GNUtooI just know that samsung put their protocol on top
18:00.55Alex[sp3dev]ok, intel bought infineon
18:05.53Cotullahey Alex
18:05.59Alex[sp3dev]hey Cotulla
18:13.38Cotullahow is it?
18:14.01CotullaGNUtoo, there Makefile.boot
18:14.05Cotullawhich specify base address
18:17.31GNUtooyes I've changed all that
18:18.09GNUtoohttp://www.pastie.org/private/htrys4gln147v9sdjjih1q
18:19.59Cotullaand? not working
18:20.00Cotulla?
18:21.42GNUtoono
18:21.49GNUtooand mkbootimg:
18:22.16GNUtoo--base 0x30000000 --cmdline "console=ttySAC2,115200" --ramdiskaddr 0x31000000 --pagesize 0x1000
18:22.33CotullaPHY_OFFSET also fixed?
18:22.44GNUtoolet me look
18:22.52GNUtooI think that changed to PLAT_PHY_OFFSET
18:22.56*** join/#htc-linux rpierce99 (~rpierce99@96-42-102-103.dhcp.stcd.mn.charter.com)
18:24.47GNUtooI did that in the patch
18:24.49GNUtoo-#define PLAT_PHYS_OFFSET    UL(0x20000000)
18:24.49GNUtoo+#define PLAT_PHYS_OFFSET    UL(0x30000000)
18:32.35fpuI am confused, ehci-msm7201.c are identical in linuxtogo and evo
18:33.36Cotullawhy not
18:33.51Cotullait's not impossible
18:34.02fpulinuxtogo has usbhost, evo doesn't
18:34.21Cotullabut ehci is standard
18:34.26fpuI'm trying to find some sense in all of this but it's like walking in a maze
18:34.29Cotullaquestion is about support stuffs
18:35.39fpuI don't understand exactly what you mean. I thought if usb host driver is the same in two kernels, and both compile it, it should work in both
18:36.57CotullaI means it's complex stuff
18:36.59Cotullawhole host
18:37.04Cotullaehci is base driver
18:37.14Cotullabut different devices can have differences
18:37.29Cotullalike power
18:37.32Cotullaclocks
18:37.52fpudevice is the same
18:37.57Cotullano . . .
18:38.19Cotullausb host and usb client
18:38.25Cotullathey are used same hardware
18:40.10Cotullaso it's important to deactivate other driver
18:41.37fpudo you mean usb gadget functionality?
18:41.43Cotullayes
18:42.07Cotullait's why it a problem
18:42.07GNUtooPHYS_OFFSET seem only for non-mmu builds now
18:42.45fpuwhat you're saying is if I disable usb gadget in menuconfig it should work?
18:42.48fpuit's too simple to be true
18:42.53Cotullano
18:42.59Cotullathere also power for usb phy
18:43.17Cotullaand etc
18:43.35fpuman, it's complicated. I'm lost.
18:43.49Cotullayes
18:43.57Cotullaotherwise it was fixed long time ago
18:44.02Cotullalook for usb gpios
18:44.42GNUtoohttp://sven.killig.de/android/N1/2.2/usb_host/
18:44.43Alex[sp3dev]when i experimented with usb host on msm7200a, the ulpi setup was the same as for client
18:45.01fpuGNUtoo: that seems to be the same driver
18:45.20GNUtooit contains infos on how to replicate what he did
18:45.56Alex[sp3dev]if it works in one kernel, just compare board files in mach-msm and kernel config. simple, right?
18:48.22*** join/#htc-linux marmotta (~skodde@unaffiliated/skodde)
18:49.51fpuGNUtoo: all useful I found there was tgz with patched kernel files
18:50.02GNUtoook
18:50.03fpuhmm, ehci-hcd.c is different in these two
18:50.50Alex[sp3dev]you only need 3 lines in ehci-hcd for msm
18:50.54Alex[sp3dev]http://gitorious.org/~ast/linux-on-qualcomm-s-msm/alex-linux-xperia/commit/60d3f2bf857f7ef7d0c5339b2e94233604b60052
18:50.59fpusorry, they're actually the same. Just slightly differently formatted one line, hence different md5sum
18:51.25CotullaAlex problem not in that
18:51.31Cotullaevo kernel there other usb stack
18:51.38Alex[sp3dev]not sure if trolling, but comparing sources by md5sum is awesome
18:51.53Cotullawhy not
18:52.21Alex[sp3dev]why not troll? ok
18:52.31Cotullaalso there gpiogs
18:52.38Cotullaso it more complex
18:52.57Alex[sp3dev]which gpios? ulpi gpios are set up in the same way as for client
18:53.33CotullaQSD8650  have separate ULPI pinouts
18:53.39Cotullanot GPIO
18:54.18fpuhttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commit;h=aa178e5125be247a71d1bedc1d1620df79533da0
18:54.34fpuAlex[sp3dev]: ehci-hcd.c in evo has these lines
18:55.08fputhat's commit that moved back linuxtogo from evo usb stack to old one (working)
18:55.12Cotullausb also used to detect power charge
18:55.17*** join/#htc-linux bartman (~bart@2607:f2c0:a000:175:2e0:81ff:fe47:3d01)
18:55.17Cotullanone/usb/ac
18:55.33fpucan that be what I'm looking for?
18:55.35Alex[sp3dev]Cotulla: on kovsky i also use usb to differentiate ac vs usb
18:56.23Cotullayes but this all important
18:56.34GNUtoono other idea for the boot problem?
18:56.44Cotullait booted before?
18:56.50Cotullathis kernel,
18:56.50*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:6ced:856:8f37:389d)
18:56.53Cotulla?
18:56.53GNUtoono
18:57.08GNUtoobut there is git history for the android kernel
18:57.18GNUtooI can try to make the 35 boot
18:57.19Cotullauart works?
18:57.28GNUtooon 35 with HEAD yes
18:57.35GNUtooit crashes at some point but it works
18:58.03GNUtoothere is also a strange thing tough
18:58.09GNUtoottySAC2 is the kernel cmdline
18:58.17GNUtooit makes print boot messages and kernel printks
18:58.32GNUtoobut after that it's /dev/foo_serialN
19:01.17*** join/#htc-linux GNUtoo-N900 (~root@host246-111-dynamic.48-82-r.retail.telecomitalia.it)
19:04.24*** join/#htc-linux LordDeath (~LordDeath@cable-81-173-166-124.netcologne.de)
19:10.00fpuok, I copied files mentioned in this commit from linuxtogo to evo
19:10.12fpuand made sure kernel config is identical re. usb
19:10.16fpulet's see what happens
19:11.07fpuCotulla you were right
19:11.09fpuI had usb gadget enabled
19:12.24*** join/#htc-linux mastermerlin (~Adium@p4FEE4DA5.dip.t-dialin.net)
19:14.34fpuhttp://pastie.org/2853456
19:14.50fputhat's one of the files I copied from linuxtogo tree
19:17.36*** join/#htc-linux mastermerlin (~Adium@p4FEE4DA5.dip.t-dialin.net)
19:17.48CotullaI am?
19:18.06CotullaI am exist
19:18.09Cotullabecause I can thiknk
19:18.17fpu:-)
19:19.24Cotullau doubt?
19:21.14CotullaGNUtoo, u should try via UART debug code-flow
19:21.23Cotullabut it's not very easy task
19:22.17Cotullafpu, u need disable it
19:22.23Cotullaand there also some gpio for usb
19:22.25Cotullaafauk
19:22.26Cotullafgail
19:22.29Cotullaafaik
19:22.31fpuCotulla: I disabled
19:22.40fpubut it doesn't matter, it doesn't compile with error I pasted
19:22.45Cotullawhy
19:22.55Cotullaok fix it
19:23.04fpuI'd like to know how :-)
19:23.48fpuhttp://pastie.org/2853499
19:23.55fputhis seems to be the part causing problems, in devices.c
19:24.13Cotullahm
19:25.07Cotullaso
19:25.11Cotullado that there
19:25.17Cotullago and search where GPIO_CFG defined
19:25.22Cotullaand look why it not defined
19:27.53fpulooking
19:30.03*** join/#htc-linux swc|666 (~gecko@unaffiliated/swc666/x-4934821)
19:34.41*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:f584:332f:1551:6008)
19:36.15*** join/#htc-linux d3tul3 (~detule@pool-96-234-141-27.bltmmd.east.verizon.net)
19:36.23fpufound it
19:36.35Cotulla35-27 = 8
19:36.39Cotulla8*60 = 480
19:36.55Cotullasizeof("GPIO_CFG") = 9
19:36.56Cotullaso
19:36.56fpuand so much work for every compilation error? and still no guarantee it will work? life is depressing :-)
19:36.58Cotulla9 / 480
19:37.27Cotullamy congratulations! your search speed is 0,01875 bytes per second! :P
19:37.54Cotullafpu, yes
19:37.55Cotullait's hard work
19:38.05Cotullabut after 101 iterations, u will got level up
19:38.08Cotullaand will do it faster
19:38.21fpuOf all #include<> files, it was last
19:38.23fpumy luck
19:38.46Cotullabut u can use search function
19:39.09fpulike, cat?
19:39.20fpucat | grep blabla
19:39.48Alex[sp3dev]like grep -r
19:40.07CotullaI am using FAR
19:40.09Cotullaand I am happy
19:40.16Cotullaeven I learned how to use reg-exp there
19:40.28Cotullaf u c k i n g   p o w e r f u l
19:40.37fpuAlex: oh yes, that is better. thank you.
19:41.02Alex[sp3dev]'Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.'
19:41.33fpuhttp://pastie.org/2853572
19:41.50fpunow I have no idea how to fix this first error
19:42.20fpuI'm going, will keep trying tomorrow. Thanks for help guys, g'night
19:42.20CotullaAlex, yeah
19:42.25Cotullabut honestly I used it only once
19:42.34Cotullato find "aPages[*]"
19:42.36Cotullainside all files
19:42.41Cotulla:D
19:43.18Alex[sp3dev]but regex are cool. their syntax is too cryptic, i keep forgetting how to use lookahead and backtracking
19:43.43Cotullafpu, u sure ur config right?
19:51.16GNUtoo-N900ok
19:51.36GNUtoo-N900whats uart denug code flow?
19:51.43GNUtoo-N900a kernel option?
19:52.12CotullaNO
19:52.14Cotullano
19:52.24CotullaAlex, how is cfg1?
19:52.34GNUtoo-N900so printk like thing?
19:53.26Alex[sp3dev]Cotulla: i'm not working on it today. learning opencv and reading book on image processing. yesterday i tried different cfg1 (initial, wince, linux), all failed. i'll get to it on wednesday
19:54.39Cotullanice
19:54.48Cotullaw00t b00k?
19:55.24CotullaGNUtoo
19:55.26Cotullayes
19:55.45CotullaI am usually debug start of linux kernel by adding debug marks inside code
19:55.54Cotullauntil I find reason . . .
19:56.09GNUtoo-N900ok
19:57.02*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:d597:3cde:cfcf:3419)
20:01.50Cotullalol Alex u loved package manager of UBuntu?
20:07.03Alex[sp3dev]Cotulla: which of them? dpkg or apt-get or aptitude?
20:07.24Cotullaso linux
20:07.29Cotullajust wanted to install GIMP
20:07.36Cotullait said that no packages available 404
20:07.41Cotullain GUI and in CUI
20:07.45Cotullathen I go to some site
20:07.54Cotullaand found there instructions how to install it
20:07.55Cotullalol
20:08.15Alex[sp3dev]obviously you needed to do apt-get update before
20:08.28Cotullawhy it can't do automatically?
20:08.47Alex[sp3dev]because it would be slow to do it every time
20:09.06Cotullajust hash -> different hash -> warn user
20:09.59Cotullathe second bad thing
20:10.06Cotullathat u can remove all packages
20:10.09Cotullain GUI
20:10.12Cotulla:D
20:11.45Alex[sp3dev]why is it bad? you must be able to do whatever. software must not be designed to restrict user from using their computer.. anyway, even though there are glitches in apt and rpm, there's no alternative
20:12.04Cotullabecause I removed gnome when I first time try to install something inside :)
20:12.38Cotullaso default items which comes with OS must be locked or only updatable
20:13.14Alex[sp3dev]Cotulla: O RLY? what if i do not want gnome? or want to replace coreutils with my own package?
20:13.53Cotullathen u can delete it from command line ;)
20:14.03Cotullaor setup some
20:14.05Cotullagod mode
20:14.06*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:7969:6dc9:46da:1768)
20:15.07Alex[sp3dev]this is wrong. ideally in gui, though, some protection should be by default but only if you can turn it off. but well. i don't care. aptitude is enough for me and i don't actually want to use GUI except for browser and blender
20:15.33Cotullalol
20:15.40Cotullau too brutal
20:15.44Alex[sp3dev]actually here is the problem
20:15.58Cotullalol GIMP show crap instead of PSD
20:15.59Alex[sp3dev]those who don't like stuff in linux cannot fix it themselves. those who can fix don't care
20:16.17Cotullayes
20:17.06Alex[sp3dev]at least it is better than in proprietary software where you cannot really do anything unless you're buying like some thousand copies for your enterprise
20:19.41Cotullabut u can hack proprietary  software
20:19.50Cotullawhile free/open source not
20:20.18Alex[sp3dev]that sucks. why should i bother digging my way through disassembly while i could just take sources and fix?
20:21.37Cotullau think so
20:21.39Cotullabut it's wrong
20:21.41Cotullaand u know that
20:21.54Cotullahow long time u search ur error in wlan driver
20:21.55Cotulla;)
20:22.12Alex[sp3dev]if it was closed-source and not working at the same time, it would take even more time
20:26.47*** join/#htc-linux bike (~bike@ti0122a340-dhcp1244.bb.online.no)
20:34.33*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:79ed:7713:baf0:669d)
20:44.46*** join/#htc-linux mitsutak_ (~mitsutaka@p2004-ipbf2206marunouchi.tokyo.ocn.ne.jp)
20:48.50*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:c422:8ef0:963b:2c8f)
21:15.24*** join/#htc-linux rpierce99 (~rpierce99@96-42-102-103.dhcp.stcd.mn.charter.com)
21:15.38*** join/#htc-linux fpu_ (~nonperson@dsc177.neoplus.adsl.tpnet.pl)
21:15.44*** join/#htc-linux marc1706 (~Marc@phpbb/modifications/marc1706)
21:45.09*** part/#htc-linux Cotulla (~w3489sdf@nat100-255-205-109.tvoe.tv)
21:48.12*** part/#htc-linux Alex[sp3dev] (~alexander@178.176.32.95)
21:58.49GNUtooah everyone is gone....
21:59.06GNUtootoo bad because all what I missed was a kenrel parameter for early printk
21:59.07GNUtoohttp://www.pastie.org/private/og42qxiinpw3iphghnfxyg
22:10.35*** join/#htc-linux T-Junk (~TechnoJun@chaosarmy.org)
22:11.26*** part/#htc-linux T-Junk (~TechnoJun@chaosarmy.org)
22:13.27*** join/#htc-linux T-Junk (~TechnoJun@chaosarmy.org)
22:15.49*** join/#htc-linux jason` (j@nitrology.com)
22:32.21*** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star)
22:42.48*** join/#htc-linux Rajko (~rajkosto@2001:470:d76b:da7a:c422:8ef0:963b:2c8f)
22:57.47*** join/#htc-linux Rajko (~rajkosto@2001:470:d76b:da7a:c422:8ef0:963b:2c8f)
23:09.40*** join/#htc-linux TheXev (~user@127.sub-174-252-196.myvzw.com)
23:38.41*** join/#htc-linux marc1706 (~marc@phpbb/modifications/marc1706)

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