00:07.31 | *** join/#elinux Tmob_ (n=total@species8472.borg.ch) |
01:00.40 | *** join/#elinux eggers (n=eggers@cpe-24-28-73-7.austin.res.rr.com) |
01:19.55 | *** join/#elinux bzzbzz (n=franco@HSE-Montreal-ppp340953.sympatico.ca) |
02:20.37 | *** join/#elinux file2 (n=file4@gateway.digium.com) |
02:20.37 | *** mode/#elinux [+v file2] by ChanServ |
02:20.38 | file2 | ha |
02:21.01 | file2 | I just found a tuxscreen in the corner of this office |
02:37.10 | *** join/#elinux Evanr00d (n=david@ip68-107-162-212.lu.dl.cox.net) |
03:04.50 | *** join/#elinux Crofton (n=balister@66-207-66-26.black.dmt.ntelos.net) |
03:08.14 | [g2] | kergoth Hey! I'm good thx |
03:08.49 | [g2] | I came here to bug riker about the zipit a little |
03:08.59 | [g2] | but he's not been doing much with it |
03:09.38 | FireEgl | [g2]: There's more ZipIt related discussion in #eDev BTW.. |
03:10.05 | [g2] | FireEgl thx |
03:14.43 | *** join/#elinux catastrop (n=catastr0@d14-69-178-65.try.wideopenwest.com) |
04:02.41 | *** join/#elinux av1co (n=av1co@TLV62-0-106-178.bb.netvision.net.il) |
05:51.00 | *** part/#elinux flyback (i=flyback@c-67-165-88-141.hsd1.pa.comcast.net) |
05:55.14 | *** join/#elinux Russ (i=foobar@ip70-190-223-46.ph.ph.cox.net) [NETSPLIT VICTIM] |
05:55.14 | *** join/#elinux catastrop (n=catastr0@d14-69-178-65.try.wideopenwest.com) |
05:55.15 | *** join/#elinux evanrude (n=david@ip68-107-162-212.lu.dl.cox.net) |
05:55.15 | *** join/#elinux chouimat (n=dieu@r2351064.cidc.net) |
05:55.15 | *** join/#elinux FireEgl (i=Atlantic@2001:5c0:84dc:0:0:0:0:0) |
05:55.15 | *** join/#elinux CIA-14 (i=cia@cia.navi.cx) [NETSPLIT VICTIM] |
05:55.15 | *** join/#elinux samrobb_ (n=samrobb_@65-117-135-105.dia.static.qwest.net) |
05:55.15 | *** join/#elinux prh (n=paul@X80.mjr.org) |
05:55.16 | *** join/#elinux [mbm] (i=mbm@openwrt.org) [NETSPLIT VICTIM] |
05:55.16 | *** mode/#elinux [+o Russ] by irc.freenode.net |
06:07.40 | *** join/#elinux noclouds (n=mhfan@60.166.47.61) |
06:36.04 | *** join/#elinux blindvt__ (n=bf@M866P024.adsl.highway.telekom.at) |
06:47.24 | T0mW | andersee: ping |
06:48.41 | T0mW | andersee: does busybox signal its intention for halt or reboot by moving runlevels or an environ param? |
06:58.43 | andersee | T0mW: nope |
06:59.04 | T0mW | no "l6:6:shutdown:<cmd>" ? |
06:59.16 | T0mW | andersee: in inittab? |
06:59.43 | andersee | T0mW: it sends a kill signal, waits a second or two, then runs the specified shutdown commands |
07:00.06 | T0mW | andersee: ok, so, busybox doesn't have runlevels, correct? |
07:00.20 | andersee | correct |
07:00.24 | andersee | http://www.busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/init/init.c?rev=15671&view=auto |
07:00.26 | T0mW | drat |
07:00.29 | T0mW | andersee: thanks |
07:01.44 | andersee | static void shutdown_system(void) |
07:01.47 | T0mW | andersee: that source work, heh |
07:01.54 | andersee | is the function you are looking for |
07:01.55 | T0mW | andersee: that source would work, heh |
07:02.14 | *** join/#elinux chouimat (n=dieu@r2351064.cidc.net) |
07:03.48 | andersee | so I lied -- |
07:04.09 | T0mW | :OP |
07:04.33 | andersee | T0mW: it runs the specified shutdown commands, then sends a kill signal, waits a second, then shutsdown |
07:04.45 | T0mW | just putting the touches on the ZipIt build, there is a util to turn power off, but I need to run it on "halt" not rcK |
07:06.28 | T0mW | andersee: what you been working at lately? |
07:07.16 | andersee | T0mW: of late, mostly on some disk backup stuff |
07:07.35 | andersee | T0mW: fairly boring stuff really, but keeps food on the table |
07:08.00 | T0mW | andersee: I've been doing mostly cleanup of recent projects. Going to meet with a customer on Thursday to talk about a 1 year commitment: 1099 |
07:08.55 | andersee | that should keep you out of trouble |
07:09.09 | T0mW | andersee: the big issue for me has been trying to figure out what to charge per hour: ARM MMU work on proprietary system, xlate 8070 assembly source over to ARM asm, design a platform to run the code on... |
07:09.34 | T0mW | andersee: the existing asm source is like 500K lines |
07:09.45 | andersee | yikes |
07:09.57 | T0mW | he has been writing this for 26 years! |
07:10.00 | andersee | $1 per LOK |
07:10.02 | andersee | :-) |
07:10.11 | T0mW | LOK ? |
07:10.20 | andersee | line of code |
07:10.25 | T0mW | lol |
07:10.26 | T0mW | yeah |
07:10.41 | T0mW | there is a one year drop-dead on the project |
07:11.17 | T0mW | andersee: maybe I can get my teeth fixed now? |
07:11.20 | andersee | probably best to write an automatic translator |
07:11.52 | andersee | doing it all manually would be a beast |
07:12.26 | T0mW | andersee: naw, been thinking about it. The old 8070 code is so bastardized that it doesn't translate well. Last time I did this for him (14years ago) I wrote a custom YACC |
07:13.10 | T0mW | this time, I am thinking of making the program C-like and make all the ASM instructions C macros |
07:14.08 | T0mW | this way, I can mix C into the code system, and be able to use a debugger on the code without having to look at the underlying asm |
07:14.23 | T0mW | do source level debug on: |
07:14.44 | T0mW | LDA (P2) |
07:14.49 | T0mW | instead of: |
07:15.08 | T0mW | ; LDA [P2] |
07:15.20 | *** join/#elinux vrm (n=vrm@106.55.101-84.rev.gaoland.net) |
07:15.23 | T0mW | mov di, P2 |
07:15.33 | T0mW | mov ax, [di] |
07:15.38 | T0mW | that sort of thing |
07:16.07 | T0mW | andersee: I treated the old code as if it were macro assembly |
07:16.41 | T0mW | now, I want to do basically the same, but hide it more |
07:17.42 | T0mW | andersee: I wish I could, I've tried to rewrite some of his 8070 code into C, he hand optimizes his code. A lot of incestuous code in there |
07:17.59 | andersee | ugh |
07:18.08 | T0mW | spaghetti city |
07:18.36 | T0mW | I gave him an estimate of 3..6 years to rewrite it all in C |
07:22.38 | andersee | even so, I personally would try to code up automatic translation to i.e. gimple |
07:23.18 | andersee | or RTL |
07:23.40 | T0mW | andersee: yeah, I've started on some perl to do the translate / mangling of the file source |
07:24.47 | T0mW | andersee: I see in your init source there, that I can patch it to insert my machine shutoff code |
07:25.09 | T0mW | loop_forever() == kill_power, heh |
07:27.28 | T0mW | nm, RB_POWER_OFF |
07:27.58 | *** join/#elinux dsaxena (n=dsaxena@c-24-20-128-133.hsd1.or.comcast.net) |
07:28.45 | andersee | T0mW: http://www.ifi.unizh.ch/~pilz/oct/ |
07:28.54 | andersee | Object Code Translation Home Page |
07:31.24 | T0mW | It would be interesting to look at. However, this guy only writes in 8070 assembly, he knows no other assembler or high level language |
07:31.26 | T0mW | :( |
07:31.39 | T0mW | so, I have to keep him in the "same source" |
07:32.13 | T0mW | andersee: but that is OK! 5 years or 10 years from now, he'll need to do this process all over again! |
07:32.55 | andersee | heh |
07:33.31 | andersee | you could probably do an auto translation from 8070 asm into java bytecode |
07:33.40 | andersee | then use something like: http://linux4u.jinr.ru/usoft/WWW/www_blackdown.org/kbs/jolt.html |
07:33.45 | andersee | to convert into C |
07:34.09 | T0mW | :P |
07:34.09 | andersee | just to make things funky |
07:34.13 | T0mW | yeah, right, |
07:34.38 | T0mW | hey! I want to walk away from this turkey after I finish the project, I don't want to work for him, again. |
07:35.16 | T0mW | so, RB_POWER_OFF is actually passed as a SYSCALL into the kernel, eh? |
07:36.29 | T0mW | maybe no |
07:37.26 | T0mW | ah, LINUX_REBOOT_CMD_POWER_OFF |
07:38.59 | T0mW | hmm, arch/alpha works with that |
07:39.07 | *** join/#elinux pmjdebruijn (n=pmjdebru@pmjdebruijn.xs4all.nl) |
07:41.35 | T0mW | ah arch/arm/kernel/process.c:machine_halt(); |
07:41.49 | T0mW | looks like a good place to stick some code in there, heh |
07:43.12 | T0mW | yupper |
09:19.04 | pmjdebruijn | is there any way to pass custom CFLAGS to buildroot, which get applied to all packages |
09:19.16 | pmjdebruijn | oh wait |
09:20.37 | pmjdebruijn | silly me |
09:20.39 | T0mW | probably when you get to the rule for $(TARGETS) |
09:20.42 | T0mW | yeah |
09:21.22 | pmjdebruijn | hm I'm still semi stuck with building a kernel |
09:21.30 | T0mW | make CFLAGS="$(CFLAGS) -I<blah>" |
09:21.33 | pmjdebruijn | how do I instruct the kernel to use i486-linux-gcc instead of gcc |
09:21.40 | T0mW | make CFLAGS="$(CFLAGS) -I<blah>" $(TARGETS) |
09:22.05 | T0mW | set the CROSS_COMPILE in the main Makefile |
09:22.30 | pmjdebruijn | $(TARGETS) should be 'i486-linux' then? |
09:22.42 | T0mW | set it for the <path>/i486-linux- |
09:22.48 | T0mW | trailing dash |
09:23.12 | pmjdebruijn | aha, I'll try that |
09:23.13 | pmjdebruijn | thanks |
09:23.17 | T0mW | see the HOSTCC variable above CROSS_COMPILE ? |
09:23.46 | T0mW | also note, the AS, LD, etc. below that |
09:24.16 | T0mW | just set CROSS_COMPILE is all |
09:25.59 | T0mW | pmjdebruijn: heh, I've been working exclusively with buildroot the past week or so |
09:27.19 | T0mW | ~gpsfan |
09:27.24 | ibot | extra, extra, read all about it, gpsfan is kenm@paonia.com |
09:29.39 | pmjdebruijn | T0mW, ah, I'm just starting out... thanks |
09:30.08 | pmjdebruijn | T0mW, ah I see, that should be easy enough, thanks |
09:30.49 | T0mW | np |
09:33.37 | *** join/#elinux casper_ (n=casper@S0106000f6630d670.gv.shawcable.net) |
09:41.11 | *** part/#elinux casper_ (n=casper@S0106000f6630d670.gv.shawcable.net) |
09:58.21 | *** join/#elinux lmanul (n=manu@dan75-4-82-239-58-38.fbx.proxad.net) |
10:30.11 | *** join/#elinux headless (n=headless@85.21.88.2) |
10:37.44 | *** join/#elinux av1co (n=av1co@TLV62-0-106-178.bb.netvision.net.il) |
10:38.23 | *** part/#elinux prh (n=paul@X80.mjr.org) |
10:47.26 | *** join/#elinux CIA-16 (i=cia@cia.navi.cx) |
11:02.39 | *** join/#elinux cantona (i=proxy@unaffiliated/cantona) |
11:26.44 | *** join/#elinux darkschneider (n=gab@213-140-6-96.ip.fastwebnet.it) |
11:40.22 | *** join/#elinux dijenerate (n=dijenera@69.73.227.178) |
11:45.08 | *** part/#elinux headless (n=headless@85.21.88.2) |
11:48.42 | *** join/#elinux beldank (n=beldank@ngw.jaluna.com) |
12:16.58 | *** join/#elinux Gerrath (n=Shane_@unaffiliated/gerrath) |
13:18.51 | *** join/#elinux tuxmaniac (n=aanjhan@unaffiliated/tuxmaniac) |
13:41.16 | chouimat | morning |
14:17.05 | *** join/#elinux CosmicPenguin (n=nobody@svl-ext-proxy02.amd.com) |
14:17.05 | *** mode/#elinux [+v CosmicPenguin] by ChanServ |
14:37.25 | *** join/#elinux blindvt__ (n=bf@M877P007.adsl.highway.telekom.at) |
14:43.31 | *** join/#elinux bbart (n=bbart@p54BDF773.dip.t-dialin.net) |
15:01.11 | *** join/#elinux eggers (n=eggers@pixpat.austin.ibm.com) |
15:04.34 | *** join/#elinux samrobb_ (n=samrobb_@65-117-135-105.dia.static.qwest.net) |
15:24.55 | *** join/#elinux TimRiker (n=timr@216.49.181.128) |
15:24.56 | *** mode/#elinux [+o TimRiker] by ChanServ |
16:21.42 | *** join/#elinux Gerrath (n=Shane_@unaffiliated/gerrath) |
16:22.36 | *** join/#elinux lyakh (n=lyakh@85.197.31.211) |
16:26.28 | *** join/#elinux toi (n=peter@d54C27365.access.telenet.be) |
18:32.37 | *** join/#elinux pikey (n=pikey@87.69.3.74.cable.012.net.il) |
18:33.34 | *** join/#elinux andersee (n=andersee@codepoet.org) |
18:33.34 | *** mode/#elinux [+o andersee] by ChanServ |
19:06.35 | *** join/#elinux casper_ (n=casper@S0106000f6630d670.gv.shawcable.net) |
19:11.01 | *** part/#elinux samrobb_ (n=samrobb_@65-117-135-105.dia.static.qwest.net) |
19:13.19 | *** join/#elinux toi (n=peter@d54C27365.access.telenet.be) |
19:27.47 | *** join/#elinux dijenerate (n=dijenera@69.73.224.164) |
19:39.19 | *** join/#elinux Crofton (n=balister@hc6521d47.dhcp.vt.edu) |
19:39.58 | *** join/#elinux samrobb_ (n=samrobb_@65-117-135-105.dia.static.qwest.net) |
20:01.06 | *** join/#elinux lyakh (n=lyakh@85.197.31.211) |
22:07.37 | *** join/#elinux GPSFan (n=kenm@12.10.255.248) |
22:16.01 | *** join/#elinux T0mW (n=Tom@24.238.68.20.res-cmts.sth.ptd.net) |
22:37.07 | *** join/#elinux lyakh (n=lyakh@85.197.31.211) |
22:38.21 | *** join/#elinux DCGrendel (n=DCGrende@ip68-1-157-197.mc.at.cox.net) |
22:38.31 | *** join/#elinux blindvt__ (n=bf@M883P004.adsl.highway.telekom.at) |
22:39.03 | DCGrendel | anyone able to get "restricted wep" working with the zipit? |
23:11.39 | *** join/#elinux Crofton_|laptop (n=balister@66-207-66-26.black.dmt.ntelos.net) |