irclog2html for #elinux on 20051103

00:00.03Genesisit seems to be compatible
00:00.09T0mWGenesis: not on 8051 you won't
00:00.19T0mWGenesis: oh
00:00.35T0mWGenesis: you want the dev environ on linux, correct?
00:00.43Genesisheu
00:00.50Genesisyeap
00:00.57Genesisjuste for compiling
00:01.13Genesisand other debug stuff
00:01.47T0mWGenesis: that is tough one.  There might be some compilers now to do 8051 code on a linux host.  What I have been using for years has been a DOS based compiler and I run that under dosemu
00:02.10Genesisoki sure
00:02.21Genesisi'll try
00:02.23T0mWGenesis: the compiler, linker and assembler are all msdos based tools
00:02.24MonMothasdcc can target 8051 IIRC
00:02.32Genesisi saw sdcc
00:02.33MonMothathere are a couple of assemblers, I use as31
00:02.47Genesisso no pb :)
00:02.59T0mWMonMotha: prolly, but I have old code that I have to maintain as well that was on the dos compiler.  :(
00:03.08Genesisi need to learn to interface it with relay card
00:03.09MonMothaT0mW: ah, well, then dosemu for you I guess
00:03.15MonMothaT0mW: you know much about ELF bwt?
00:03.16MonMothabtw
00:03.24T0mWMonMotha: issue is not the compiler, it is the run-time libc for 8051
00:03.45MonMothaT0mW: ah, I don't know that the sdcc stuff comes with much of a libc
00:04.04T0mWMonMotha: enough to know that objcopy is your friend.
00:04.46Genesisthx T0mW
00:05.01T0mWGenesis: why not get a small 32bit ARM processor, like the Philips LPC2000 family?  You can use gcc + binutils on it and the processors are really cheap
00:05.31Genesisi've
00:05.43Genesistoo complex to make this correct for the moment
00:05.46Genesisi've juicebox
00:05.52T0mWGenesis: 64K of RAM + 128K of Flash, 60MHz core, dual serial ports, SPI, etc. all for less than $10 in single peice quantities
00:06.09Genesiswich board for example ?
00:06.12Genesisi'm european
00:06.14*** join/#elinux file[desk] (n=jcolp@207.231.238.34)
00:06.27T0mWGenesis: then you'll probably go with Olimex
00:06.42Genesisi searsh
00:06.43T0mWGenesis: google on LPC2000
00:06.54*** mode/#elinux [+o ibot] by ChanServ
00:07.07T0mWGenesis: there is a hot mailing list on Yahoo Groups, very active
00:08.00MonMothaT0mW: well, I'm doing something silly here.  I have a linux binary I need to figure some stuff out about.  I uses files that are in some obfuscated format, but, due to thel ibs it links against, are I'm pretty sure fairly standard under the hood
00:08.07T0mWGenesis: the chips have their own built-in bootloaders to program the Flash, JTAG for debugging, most people use a wiggler
00:08.29T0mWMonMotha: then objdump it
00:08.29MonMothathere are some references to various procedures within the binary that look interesting, but none of my tools see them as debugging symbols
00:08.43MonMothatried it, doesn't even know where procedures begin or end
00:08.52T0mWMonMotha: then it is not elf
00:08.53CosmicPenguinyou should be able to see the calls, though, right?
00:09.01MonMothaT0mW: it's most certainly elf
00:09.03Genesisi need to know what is a wiggler ?
00:09.05Genesisi need to write an automaton core in pure C
00:09.05MonMothaat least the beginning is
00:09.21Genesisand a compiler to the code
00:09.44MonMothait's a 100% valid x86 linux binary.  I can run the darn thing, at least partialy (it needs to use X but has issues talking to my X server).  If it ran 100%, I'd just chuck a debugger on it and watch it
00:10.02MonMothathough without full symbols, even setting breakpoints is hard.  I can at least see where it calls libraries
00:10.22T0mWGenesis: google on "jtag wiggler", but get on the Yahoo LPC2000 group and search for info there.  You simply use an ARM7TDMI gcc cross-compiler to build your target code
00:10.53*** join/#elinux file (n=jcolp@mctnnbsa31w-142166093076.nb.aliant.net)
00:10.53*** mode/#elinux [+v file] by ChanServ
00:11.28T0mWMonMotha: oh, sorry, the ELF has been stripped then, yeah, if they interspersed data + code it would have problems
00:12.02MonMothaT0mW: yes, it has been stripped.  However, some of the debugging info seems to remain, just in a way that none of my tools know how to use
00:12.07Genesisoki
00:12.58MonMothathe end has a bunch of references to the compiler used (gcc 3.3.5), presumably one for each linked file
00:12.59T0mWMonMotha: there is a lot of symbol formats: techtronix, dwarf, gstubs, etc.
00:13.47MonMothawell, I see some symbols for things I'm interested in
00:13.53T0mWMonMotha: I'm not into ELF that deeply
00:14.18MonMothasome of these files have an "ENC3" header at the beginning.
00:14.19MonMotha00035a40  69 6e 74 20 64 65 63 6f  64 65 5f 66 69 6c 65 28  |int decode_file(|
00:14.19MonMotha00035a50  63 68 61 72 2a 2c 20 75  6e 73 69 67 6e 65 64 20  |char*, unsigned |
00:14.19MonMotha00035a60  63 68 61 72 2a 29 00 45  4e 43 32 00 2e 2e 2f 2e  |char*).ENC2.../.|
00:14.19MonMotha00035a70  2e 2f 72 5f 64 65 63 6f  64 65 2e 63 70 70 00 63  |./r_decode.cpp.c|
00:14.23MonMothathat's inmy output coude then
00:14.29MonMothaoutput binary that is
00:15.17T0mWGenesis: good start for you: http://www.olimex.com/dev/lpc-p1.html
00:15.30MonMothado you know how I could relocate some of these strings into ELF space so that I can look for references to them?
00:15.41T0mWGenesis: there is a document link about setting up dev environ and JTAG debugging
00:15.44MonMothas/ELF space/program runtime space/
00:16.01T0mWMonMotha: no, sorry
00:16.06MonMothadarn...
00:16.21GenesisT0mW : it sould run linux *?
00:16.32T0mWGenesis: no, not enough memory
00:17.23*** join/#elinux file[laptop] (n=jcolp@mctnnbsa31w-142166093076.nb.aliant.net)
00:17.25Genesisoki
00:17.25Genesisnevermind
00:17.37T0mWGenesis: my development for the LPC2106 and LPC2138 are hosted on Linux, but no, the chips cannot run linux
00:18.39*** join/#elinux AMDPenguin (n=nobody@aus-ext-proxy02.amd.com)
00:19.20T0mWMonMotha: you know, that dump you gave looks like garbage.  that that stuff doesn't look like symbolic data to me.  I've never seen symbolic data give the parms to a function
00:19.24*** join/#elinux eggers (n=eggers@cpe-70-112-81-8.austin.res.rr.com)
00:19.47MonMothaT0mW: no clue what it is.  It's definately down in the strings in that binary
00:20.07MonMothathere is a completely valid linux executable in there, for sure.  I can run it on my desktop (though it crashes)
00:20.15T0mWMonMotha: bss with garbage inside it?
00:20.53MonMothapossible, I guess
00:21.01MonMothathough the stuff that's near each other makes sense
00:22.04MonMothatheir ENC3 encoded files are, I believe, some sort of obfuscated PNG
00:22.04T0mWnormal symbolic tables have a symbol text name, followed by line number(s) and address location fields.  That dump only has textual data.
00:22.24MonMothacorrect.  ENC3 I think is used in that case as a string for magic header comparison
00:22.29MonMothaer ENC2
00:22.43T0mWMonMotha: I have seen symbol data where another table pointed to text strings located elsewhere...
00:23.41MonMothahum
00:23.50T0mWMonMotha: I wonder if you are looking at a non-gcc compiler ELF, where they embedded their proprietary symbolic data?
00:24.17T0mWMonMotha: you can do that too, make up your own symbol table format
00:24.18MonMothapossible, though there's a shitton of references to GCC at the end
00:25.05MonMothaafter those, there's the application ELF section info, just plain text with null separators
00:25.15MonMothathings like .init, .text, .bss, etc.
00:25.51MonMothahum, maybe if I ask it for .bss
00:26.09T0mWGenesis: Olimex is in Bulgaria
00:27.42Genesisho oki :)
00:27.42Genesisnot too far :)
00:28.17T0mWGenesis: they have a 40pin DIP model for USD $50
00:29.03T0mWGenesis: all things considered, I won't go back to 8051 again, not if I can help it.
00:29.53MonMothatoo stuck on ARM?
00:29.59MonMothaor AVR?
00:30.32T0mWGenesis: Keil is in Germany: http://www.keil.com/company/
00:30.52T0mWMonMotha: these LPC2000 series are really the new 8051
00:31.17MonMothasmall ARM, right?
00:31.27T0mWMonMotha: yeah, ARM7TDMI cores
00:31.39MonMothawoah...these guys mixed GCC 3.3.5 and GCC 2.96
00:31.47T0mWMonMotha: but, they have decent Flash + SRAM + peripherals on them
00:32.04T0mWMonMotha: heh, beat yourself up with that one!
00:32.21T0mWMonMotha: that is sick: 3.3.x + 2.96
00:32.47MonMothahey, I didn't do it
00:32.51MonMothalooks like only one file was 2.96
00:32.53T0mWMonMotha: I know
00:33.04MonMothahowever, they're doing C++, so that could have been VERY bad
00:33.10MonMothathe app works correct only its host environemtn
00:33.20MonMothawhich actually, I can duplicate by simply booting the HDD on another PC
00:33.39MonMothas/\ only/ly\ in/
00:33.43MonMothawow...I mess that one up
00:33.57MonMothaok, I apparently forgot how to type/speak english...
00:34.36MonMothaI've completely exhausted my knowledge of executable formats.  I normally work with stuff so much smaller that you just take your raw binary and slap it on a ROM
00:35.41MonMothado you know of a way to figure out what section of the exe a certain offset in the file is?
00:37.24MonMothaI guess so, by brute force..
00:38.24MonMothathe rodata section...
00:41.09MonMothaok...this is getting way too easy for me, especially since I don't knwo x86 asm
00:50.50chouimatT0mW: currently looking to get a phyCORE LPC2294 based board
01:01.36*** join/#elinux noclouds (n=mhfan@60.166.59.231)
01:13.54T0mWMonMotha: 1.<Run "objcopy --only-keep-debug foo foo.dbg" to>
01:13.54T0mW<PROTECTED>
01:15.48MonMothaT0mW: I found a way to make some use of some of this stuf
01:16.38MonMothayeah, all that found was the section names
01:16.46MonMothaand the GCC versions used toc ompile it
01:16.51MonMothaI got objdump to reloate some stuff for me
02:57.44*** join/#elinux weo1 (n=weo@p5499D02A.dip.t-dialin.net)
03:42.50*** join/#elinux samrobb (n=sam@dsl093-061-094.pit1.dsl.speakeasy.net)
04:05.42*** part/#elinux TOmW`tv (n=Tom@24.238.70.125.res-cmts.sth.ptd.net)
04:19.55*** join/#elinux jacques (n=username@nslu2-linux/jacques)
05:53.22*** join/#elinux prh (n=paul@212.13.203.80)
06:01.53*** part/#elinux joe_bleau (n=joe_blea@adsl-69-152-211-181.dsl.fyvlar.swbell.net)
06:26.10jbevren../sysdeps/i386/elf/start.S:115: undefined reference to `main'
06:26.13jbevrenjbevren@ibm:~/lo$ grep main blast.c
06:26.13jbevrenint main(void)
06:26.14jbevrenwtf?
06:26.22jbevrenundefined reference to a label thats clearly there?
06:26.34jbevrenthe compiler's sane (test.c with a void main function builds)
06:28.49jbevrenbah
06:28.53jbevrenmain() is inside an ifdef
08:09.59T`jbevren, you have to link start.S and blast.c's object files..
08:10.46T`jbevren, you can do use the -c gcc option to make object files and then link them two together
08:39.14*** join/#elinux vrm (n=vrm@79.23.98-84.rev.gaoland.net)
09:41.51*** join/#elinux ade|desk (n=adavey@194.200.143.249)
10:01.12*** join/#elinux CosmicPenguin (n=nobody@aus-ext-proxy01.amd.com)
10:04.06*** join/#elinux MonMotha (n=monmotha@martinbv-3.student.rose-hulman.edu)
11:24.18*** join/#elinux Genesis (n=genesis@dev.aimao.org)
11:25.41Genesisbonjour
13:00.52*** join/#elinux prpplague (n=billybob@200.50.80.24)
13:03.55*** join/#elinux vittorio (n=andreas@213.174.253.4)
13:16.54*** mode/#elinux [+o prpplague] by ChanServ
13:17.15*** join/#elinux cantona (i=proxy@unaffiliated/cantona)
13:18.59*** join/#elinux LinuxCart (n=kvirc@212.106.229.164.adsl.jazztel.es)
13:19.10LinuxCarthello
13:19.14LinuxCartthx prpplague
13:19.16LinuxCart;)
13:19.28prpplagueLinuxCart: np
13:20.27prpplagueLinuxCart: most of the folks here are professional who are at work, so if you don't get an imediate answer wait around
13:20.49prpplagueLinuxCart: might read through this first - http://linuxmafia.com/faq/Essays/smart-questions.html
13:23.45ade|deskprpplague: shame there are no smart-answers faq :(
13:24.11prpplagueade|desk: yea
13:24.45prpplagueade|desk: but generally speaking you ask the right question, you get the answers you need
13:25.54ade|deskbut more often than not you don't get the answer to the question asked, just the answer for the question thats is thought to be asked
13:29.15ade|desklike on voice mail; "please leave your name, number and a short message after the beep" and you get : 'hi there its bob here, can you fix xyz before abc blbob sjdhfkjdf kasjdhfkjsdfh aksdjfh etc, you can reach me on ########, cheers."
13:31.06ade|deskand then you have to listen to the crap over and over again as the number is at the end and spoken to quickly to note down.  
13:31.40prpplaguehehe
13:45.54*** join/#elinux eggers (n=eggers@cpe-70-112-81-8.austin.res.rr.com)
13:49.10*** join/#elinux GPSFan (n=Ken@65.121.49.208)
14:01.08LinuxCartprpplague: have you tried the diskwriter xmms output plugins¿?
14:03.04prpplagueLinuxCart: yea it doesn't appear to work very well
14:03.19LinuxCartoh! :/
14:27.56prpplagueany cvs guru's awake?
14:30.41chouimatmorning
14:47.24*** join/#elinux Soopaman (n=soopaman@209.82.37.5)
14:51.26chouimathttp://www.sky.com/skynews/article/0,,30100-13457474,00.html    
15:03.23CosmicPenguinmorning
15:03.29prpplague~lart CosmicPenguin
15:03.37prpplagueCosmicPenguin: morning
15:04.08chouimathi prpplague CosmicPenguin
15:04.27CosmicPenguinOh, yeah?
15:05.44CosmicPenguinDid you guys see the dailywtf yesterday?
15:06.06prpplaguechouimat: morning
15:06.15prpplagueCosmicPenguin: yea
15:06.48CosmicPenguinhighlarious!
15:07.46chouimatdailywtf?
15:08.00prpplaguehttp://www.thedailywtf.com
15:09.26prpplagueCosmicPenguin: great stuff
15:09.51kergothhaah
15:11.05prpplaguemakes you wonder if some of these folks didn't go into CS just for the $$
15:11.10CosmicPenguinOf course they did
15:11.12chouimatouch
15:23.45*** join/#elinux |LinuxCa| (n=kvirc@212.106.229.164.adsl.jazztel.es)
15:25.04CosmicPenguinI've always said - when they start advertising your industry on late night TV at the tech college, your bubble has already burst
15:37.19*** join/#elinux eggers (n=eggers@pixpat.austin.ibm.com)
15:52.59*** join/#elinux Crofton (n=balister@hc6521c94.dhcp.vt.edu)
16:09.05*** join/#elinux sjhill (n=sjhill@eth13.com-link.com)
16:19.39CosmicPenguinsjhill: whats the word?
16:19.46prpplagueCosmicPenguin: sleep
16:20.01prpplagueCosmicPenguin: sjhill is sleep deprived
16:20.25CosmicPenguinwork or baby?
16:20.31sjhillbaby mostly
16:20.33sjhillwork too
16:20.44sjhillTLS is....well....it's darn hard
16:21.00sjhilli just finished redesigning the TLS relocation code for uClibc
16:21.10sjhillit doesn't fix my current bug, but it's closer to how glibc does it
16:21.17prpplaguelovely
16:21.38sjhilli think i know what the problem is
16:21.41prpplaguesjhill: are the daily snapshots still borked?
16:21.49sjhilldon't get me started
16:22.00sjhilli'm not even using the new build system yet
16:22.21sjhilli'm synced up with the trunk with the exception of the new makefiles
16:23.00sjhillit's last on my todo list
16:23.07prpplaguesjhill: ahh
16:23.23prpplaguesjhill: i'm almost ready to submit some patches for my lh79520 based device
16:23.44sjhillgotta' head to the lab
16:23.46sjhilll8r
16:24.23*** join/#elinux CosmicPenguin (n=nobody@aus-ext-proxy01.amd.com)
16:24.28prpplagueCosmicPenguin: re
16:27.34CosmicPenguinI would like to beat this proxy Officespae style
16:27.50CosmicPenguinOfficespace even
16:32.57prpplagueCosmicPenguin: i despresarately need another week of code maintence time to get things organized
16:35.40CosmicPenguinSo do it
16:35.54CosmicPenguinSlip your schedule for something meaningful.. :)
16:36.12prpplagueCosmicPenguin: i'm soooo totally under pressure to keep things moving along on some products
16:36.21CosmicPenguinme too
16:36.31CosmicPenguinGet er don4e
16:36.35CosmicPenguindamn keyboard
16:36.38CosmicPenguin<PROTECTED>
16:39.27prpplagueCosmicPenguin: i'm terrified that if i start getting behind schedule they are gonna think i'm f'n around and not working down here
16:40.06CosmicPenguinYeah, well - my bosses think they are geniuses because everything just gets done
16:40.22CosmicPenguinthey don't realize how hard we work to fix our past fu*kups and avert new ones
16:40.52prpplagueCosmicPenguin: yea, i've had to deal with some really bad predicessors
16:43.09*** join/#elinux sjhill (n=sjhill@eth13.com-link.com)
16:43.50*** join/#elinux sjhill (n=sjhill@eth13.com-link.com)
16:47.37prpplagueCosmicPenguin: hey cvs question
16:47.43CosmicPenguinyesss??
16:48.50prpplagueCosmicPenguin: checked some code into cvs, check it back out, patched it, now i want to check it back in, but the patch has added several files, is there an easy way to get cvs to add those new files without having to manual go and add each one?
16:55.45CosmicPenguinno
16:55.46CosmicPenguinI wish there was
16:55.57CosmicPenguinBecause I have that problem - I tend to forget to add files
16:56.13CosmicPenguinLike in subversion, I do a subversion status - if its all good, I commit
16:56.18CosmicPenguinforget all about added files
16:56.26CosmicPenguinat least cvs shows unknown files with a ?
16:56.44prpplagueCosmicPenguin: i was thinking of writing a script
17:00.26prpplagueCosmicPenguin: run patch first on a dry run and see what files are added, then after the patch cvs add them
17:01.14CosmicPenguinheh - I've done that with Perforce before
17:02.06prpplagueCosmicPenguin: i don't know why i don't just patch it all and then check it
17:02.13prpplagueCosmicPenguin: i mean import
17:02.28prpplagueCosmicPenguin: but i like to be able to get the different tags
17:10.15kergothCosmicPenguin: ? both cvs status and svn status show files that exist locally but not in the repo with a ?
17:10.45CosmicPenguinI'm not getting a ?
17:10.50CosmicPenguinmaybe I'm doing it wrong
17:11.17kergoth/home/World of Warcraft/Interface$ svn st|grep README
17:11.17kergoth?      README.TXT
17:11.23kergothi use it constantly.
17:12.00CosmicPenguinstrange
17:12.19kergothmaybe your version of svn didnt have that? or was bugged?
17:12.29kergothi've never seen it fail to show a ?
17:12.36CosmicPenguinWe can't dismiss the possiblity that I'm a dumb ass
17:18.56chouimat|lunchmasticator is alive ...
17:21.18*** join/#elinux |LinuxCa| (n=kvirc@212.106.229.164.adsl.jazztel.es)
17:23.21kergothchouimat|lunch: perlow?
17:29.25prpplagueCosmicPenguin: ?
17:29.31prpplagueCosmicPenguin: whats going on?
17:29.34prpplagueCosmicPenguin: more politics?
17:29.35kergotheep
17:30.03CosmicPenguinJust more of the same - what we should do vs what we will do
17:30.48chouimat|lunchkergoth: yup
17:31.03chouimat|lunchkergoth: he's in #openSuSE
17:31.14kergothah, cool
17:36.09prpplagueCosmicPenguin: hehe i got an email from a salavation army rep, turns out that they are getting tons of the juicebox's as donations, hehe
17:37.05CosmicPenguinheh
17:37.11CosmicPenguintake them on consignment
17:37.50prpplagueits a shame that emsoft and mattel didn't get the big picture
17:37.51CosmicPenguinOk - I've got a problem.  My users want me to release a default kernel config with my kernel patches
17:37.54prpplaguelook at gamepark
17:38.10CosmicPenguinbah
17:38.10prpplagueCosmicPenguin: and?
17:38.12CosmicPenguinthese people suck
17:38.23prpplagueCosmicPenguin: why is that a bad thing?
17:38.39CosmicPenguinprpplague: I don't want to do it - about the time I do a default configuration, then these idiots will be logging issues because I didn't include NIC card blahwhaterver
17:38.56CosmicPenguinvery angry\
17:40.03prpplagueCosmicPenguin: the def config i always release is nothing more than enough to boot with a serial console
17:41.10CosmicPenguinsee, thats not good enough for my people
17:41.18CosmicPenguinthey want the whole enchilada
17:42.11*** join/#elinux zinosat (n=Davide@host42-146.pool872.interbusiness.it)
18:09.21chouimatCosmicPenguin: lot of time to think about the meaning of life
18:09.31CosmicPenguinand keep some sheep
18:09.33CosmicPenguinmmmm.... lamb
18:13.30CosmicPenguinmmm... veal
18:13.45jbevrenmm nodnod
18:22.24*** join/#elinux file[lap1op] (n=jcolp@mctnnbsa31w-142166116148.nb.aliant.net)
18:22.59*** join/#elinux file2 (n=jcolp@mctnnbsa31w-142166116148.nb.aliant.net)
18:23.31prpplagueCosmicPenguin: Baaaaaa means Noooooo
18:24.05*** mode/#elinux [+v file] by ChanServ
18:24.15CosmicPenguingeg
18:24.16CosmicPenguinheh
18:34.43prpplagueinteresting
18:34.54prpplagueblob build using uclibc doesn't work
18:37.08*** join/#elinux T`2 (n=total@pdpc/supporter/student/T)
18:37.38T`2moin
18:39.59*** join/#elinux GvzEvxre (n=timr@pdpc/supporter/bronze/TimRiker)
18:40.00*** mode/#elinux [+o GvzEvxre] by ChanServ
18:43.20CosmicPenguinkergoth: where does rej live/
18:43.21CosmicPenguin?
18:43.29CosmicPenguinwiggle just can't handle these patches from quilt anymore
19:08.47CosmicPenguincute
19:10.39Wingnutindeed
19:10.43WingnutBig endian
19:12.35CosmicPenguinso would little endian be naidnea_jones?
19:14.54WingnutI considered writing an irssi script to fix all that up for me
19:15.22Wingnutso that when the nick was set to big / little, all the text would be byte-swapped
19:19.08T`2Wingnut, on a milar note, http://www.president.eu.org/files/xchat-kenny.perl
19:19.22T`2Wingnut, kenny translator for xchat ;-)
19:22.25prpplagueargh blob is pissing me off
19:22.31prpplagueblob has some serious bit rot
19:28.43chouimatarrrgggg this can thing is crap
19:29.01WingnutT`2: host is down or I can't find it from here
19:30.00T`2ohh.. well, i got the link off: http://www.namesuppressed.com/kenny/downloads.html
19:31.18*** join/#elinux chouimat (n=dieu@kde/developer/chouinard)
19:31.34*** join/#elinux GvzEvxre (n=timr@pdpc/supporter/bronze/TimRiker)
19:31.35*** mode/#elinux [+o GvzEvxre] by ChanServ
19:39.24WingnutT`2: thanks...it had a link for an irssi script for the same thing
19:42.24T`2haha ok
20:13.42prpplague~lart blob
20:14.55jbevrenhehe
20:18.20CosmicPenguinwow, its not hin here
20:18.26CosmicPenguinhot in her even
20:18.30CosmicPenguinack!
20:18.31CosmicPenguinhot in here
20:18.33CosmicPenguindammit
20:19.53*** join/#elinux T0mW (n=Tom@24.238.70.125.res-cmts.sth.ptd.net)
20:20.18*** join/#elinux T`2 (n=total@pdpc/supporter/student/T)
20:22.03prpplagueug looks to be my jtag app
20:23.47prpplagueweird my jtag app is leaving nRESET active on exit
20:33.51jbevrenI win!
20:38.00prpplaguejbevren: heheh cooooool
20:38.10jbevrenprpp :)
20:38.34prpplaguenow if i can figure out why this compilier won't build a bootable blob image :(
20:40.23prpplagueT0mW: ping
20:41.09T0mWprpplague: plop
20:42.34prpplagueT0mW: hey, that compilier issue you had the other day
20:42.40prpplagueT0mW: with the -O options
20:42.48prpplagueT0mW: refresh my mem about it
20:45.32T0mWprpplague: oh, the -O0 forced an error in my code to appear which remained hidden under -Os
20:46.03T0mWprpplague: it had to do with the stack
20:46.39prpplagueinteresting
20:46.57prpplagueT0mW: -O2 seems to be producing unusable code for my bootloader
20:47.13T0mWprpplague: apparently, -Os inlined the code in such a way as to obscure the stack problem.  When I used -O0, it didn't inline the function code and the stack became important (there?).
20:47.33prpplaguehmm
20:48.11T0mW-O2 might turn on inline functions whether they are declared to be inline or not
20:48.55T0mWvoid foo (void) would be a discrete section of code under -O0 but might end up as an inline function with -Os
20:48.57prpplagueT0mW: the code works with -O0 but seems slower
20:49.14T0mW-Os seems to have a broad lattitude in what it does with your code
20:49.26prpplaguehmm
20:49.34prpplaguemight try with -Os
20:49.40T0mWprpplague: try selectively using -O0 and -Os with each object file?
20:50.48T0mWprpplague: that is what I did, each Makefile has it's own optimize level to compile the subdir objects:     $(CC) $(EXTRAINCS) $(OPTNONE) $(ALL_CFLAGS) -c $< -o $@
20:51.12T0mWothers are:    $(CC) $(EXTRAINCS) $(OPTSIZE) $(ALL_CFLAGS) -c $< -o $@
20:51.40prpplagueyea
20:51.41T0mWOPTNONE := -O0 and OPTSIZE := -Os
20:52.00T0mWprpplague: should help you drill down into the problem area
20:52.05T0mWs/area/file/
20:53.02T0mWmine had to do with an _attribute_((naked)) prototyping that I didn't realize was in the "borrowed" project framework
20:55.19prpplaguei _should_ have known
20:55.25prpplague@#%@#$%@#$% lineo code
20:57.13T0mWlol
20:57.32T0mWprpplague: obfusicated ?
20:57.46prpplagueT0mW: no just a crappy piece of cod3e
20:57.52T0mWah
20:58.06T0mWprpplague: "we'll fix this later"
20:58.12prpplagueif i had a dollar for every hour they have wasted me
20:59.30CosmicPenguinyou would be wasted
21:02.25jbevrenhttp://jbevren.net/screens/windows-xp-find-dialog.PNG
21:02.32jbevrenwindows doesnt want you to know about this
21:02.36jbevrenthe ms firewall doesnt report it
21:02.48jbevrenthis happens when you go to start / search / files
21:03.50CosmicPenguinoh, yeah, its a huge conspiracy... </sarcasm>
21:04.00jbevrenhehe
21:04.06jbevrenwell, why would find need to contact ms?
21:04.27jbevrenand why is it that now that I block that, my lan shares are fuxx0red?
21:04.32jbevrenoop. bad word. sorry :0
21:04.33jbevren<PROTECTED>
21:04.47jbevrenI'd liek to know exactly what windows is reporting
21:04.51jbevrenor requesting
21:07.16T0mWCosmicPenguin: yeah, just who is going to pay him that dollar? Lineo?  LOL
21:07.47prpplagueT0mW: hehe, just switched everything over to -Os
21:08.01prpplagueT0mW: works great, speed is good, and the code is almost 3k smaller
21:08.10T0mW:-)
21:08.36prpplague20k
21:08.37T0mWprpplague: yeah, now just you try an debug code optimized with -Os
21:08.45T0mWprpplague: it is weird!
21:09.08T0mWprpplague: esp under ARM
21:09.16prpplagueT0mW: yea i added a debug flag in the makefiles
21:09.30prpplagueT0mW: debug does -O0 and non does -Os
21:09.44T0mWheh, yeah, works for me
21:10.01prpplagueT0mW: now i just have to clean up this autoconf and automake crap thats been bit rotting in cvs
21:10.02T0mW-Os jumping around made my head spin
21:10.08T0mWmm
21:10.23prpplagueT0mW: yea i suspect that emsoft used that on their bootloader
21:10.29T0mWI haven't worked with auto{make|conf}
21:10.43prpplagueT0mW: i hate it
21:10.50prpplagueT0mW: always got problems
21:11.09T0mWdon't get me started on autoconf...
21:13.35T0mWI'm wondering on how to handle the ARM exceptions, like data_aborts and such
21:14.34T0mWwhat I'm thinking of is to store the abort frame into RAM, let the watchdog reset the program, then when the program comes up look to see if a prior abort occured (examine that RAM).
21:14.52T0mWif there was an abort, then write that into the logfile on the MMC
21:15.14*** mode/#elinux [+v CosmicPenguin] by ChanServ
21:16.11CosmicPenguin<PROTECTED>
21:16.13CosmicPenguinhehe
21:16.14*** join/#elinux CIA-5 (n=CIA@flapjack.navi.cx)
21:16.27T0mWCosmicPenguin: old man by net standards
21:17.45CosmicPenguinWow, even older then pigeon
21:17.47CosmicPenguinoops
21:17.48CosmicPenguinprpplague:
21:17.57T0mWsame thing
21:18.24T0mWpoor Dave is somebody's pigeon for work
21:19.12prpplagueCosmicPenguin: hehe yea, i didn't register for a long time
21:19.17T0mWwell, I wonder if the mmc_write_sector is gonna work ....
21:19.29prpplaguei really really would like to do a new fork of blob
21:19.32T0mWprpplague: yeah me neither, I lost TomW
21:21.06prpplagueok well i've done all the work i can do today
21:21.08prpplaguelater folks
21:21.14CosmicPenguinrum on!
21:21.22prpplagueamen
21:22.05CosmicPenguinmmm....
21:22.13CosmicPenguinI have a hankerin' for some rum
21:22.19CosmicPenguinnights like that don't often end very well
21:24.55*** join/#elinux weo1 (n=weo@p5499D02A.dip.t-dialin.net) [NETSPLIT VICTIM]
21:30.33CosmicPenguinhttp://www.ananova.com/news/story/sm_1596810.html
21:30.36CosmicPenguinThat is just excellent
21:32.53chouimatCosmicPenguin: cool =)
21:49.45*** join/#elinux sjhill (n=sjhill@eth13.com-link.com)
21:50.31*** join/#elinux T`2 (n=total@pdpc/supporter/student/T)
21:58.27*** join/#elinux Russ (i=user@ip70-190-169-222.ph.ph.cox.net)
22:03.58T0mWCosmicPenguin: you know how long that would last here in the USA?
22:04.26CosmicPenguinHeh - yeah
22:04.40sjhillwhat?
22:05.33sjhilluh
22:05.33T0mWsjhill: the news story link
22:06.10CosmicPenguinsjhill: the wall o' breasts
22:06.12T0mWCosmicPenguin: how do you find this shit?
22:06.12T0mWCosmicPenguin: do you google on "weird stories of the day" or something?  ;-)
22:06.43sjhillwhich i don't have because i just logged on
22:06.45CosmicPenguinboingboing.net had it
22:06.51CosmicPenguinYou have to assume that if it involves female body parts, then some geek has blogged it
22:07.16CosmicPenguinhttp://www.ananova.com/news/story/sm_1596810.html
22:07.17T0mWlol
22:07.43T0mWesp if it involve female body parts
22:07.54T0mWs/involve/involves/
22:08.30jbevrenno need to look for them, just read fark.
22:08.33jbevrenheh
22:08.37jbevrensilicon breasts
22:08.38jbevrento quote
22:08.38jbevren:)
22:42.22pigeonhmm...
22:58.25*** join/#elinux Soopaman_ (n=soopaman@209.82.37.5)
23:03.17*** join/#elinux Crofton (n=balister@66-207-66-26.black.dmt.ntelos.net)
23:10.52sjhillanyone ever buy wallmount brackets for TVs?
23:14.43CosmicPenguina very long time ago
23:15.27sjhilli'm hoping crutchfield is sufficient
23:17.19*** join/#elinux andersee (n=andersee@codepoet.org)
23:17.19*** mode/#elinux [+o andersee] by ChanServ
23:33.30*** join/#elinux file[laptop] (n=jcolp@mctnnbsa31w-142166116148.nb.aliant.net)
23:46.44Genesisbonne nuit
23:55.40*** join/#elinux joe_bleau (n=joe_blea@adsl-69-152-211-181.dsl.fyvlar.swbell.net)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.