00:45:12 | sammy | morning all... |
00:45:30 | prpplague | morning sammy |
00:47:18 | sammy | prpplague : make rootfs ? |
00:48:34 | prpplague | sammy: ya got that part down, not the problem is with busybox init |
00:49:24 | prpplague | sammy: all i want is for init to drop me down to a ash prompt but can't seem to get it to do that |
00:51:08 | sammy | you have tuxscreen ... |
00:51:56 | prpplague | sammy: yes, but i'm working on another sa1100 platform right now |
00:53:59 | sammy | yeap , it should be ... |
00:54:01 | sammy | BZFlag : help to cal if I want to ordered 5 , how much should I pay ? |
01:03:49 | BZFlag | sammy: 2 2packs and 1 single. |
07:37:00 | erikm | morning |
07:37:04 | erikm | hey WeirdArms |
07:42:38 | WeirdArms | hey erik |
07:42:50 | WeirdArms | got his Russell harshing for the week |
07:45:11 | erikm | WeirdArms: rmk is disappointed that you followed up on l-a-k |
07:45:27 | WeirdArms | That was a mistake |
07:45:37 | WeirdArms | in judgement that is |
07:45:55 | WeirdArms | I send an email saying I was sorry |
07:46:16 | WeirdArms | it's proving tricking to impliment the idea that I was talking about though :( |
07:46:33 | WeirdArms | I really wish he hadn't used the domains like he did |
07:46:54 | erikm | ok, but he did |
07:47:23 | WeirdArms | I know |
07:47:28 | WeirdArms | I'm trying to work around it |
07:47:34 | WeirdArms | it's just not working |
07:48:53 | WeirdArms | erikm: do you really want to come to Aust? |
07:49:10 | erikm | WeirdArms: that was something koen came up with yesterday |
07:49:20 | erikm | needs coffee |
07:49:23 | WeirdArms | oh? |
07:51:27 | WeirdArms | Was my mail really bad? |
07:51:32 | WeirdArms | I didn't think it would be a problem |
07:54:15 | erikm | I don't know about your mail, I don't have access to koen's mailbox :) |
07:55:31 | WeirdArms | not that one |
07:55:36 | WeirdArms | the l-a-k one |
07:55:51 | WeirdArms | so koen wants to send you here? |
07:55:55 | WeirdArms | is confused |
07:58:09 | erikm | I think rmk isn't too upset about the mail anymore, certainly if you appologised |
07:58:26 | WeirdArms | ok |
07:58:28 | erikm | no, koen doesn't want to send me down there |
07:58:32 | WeirdArms | I don't want to annoy him |
07:58:42 | WeirdArms | then what was Koen talking about ? |
07:58:52 | sammy | hello erikm |
07:58:58 | erikm | koen was just kidding. I thought you kewn him... |
07:59:03 | erikm | knew I mean |
07:59:05 | erikm | hello sammy |
07:59:08 | WeirdArms | oh |
07:59:11 | WeirdArms | hehehe |
07:59:25 | WeirdArms | I didn't pick up on it |
07:59:35 | WeirdArms | is dense |
07:59:44 | erikm | but /me has to update his resume anyway... |
08:01:55 | erikm | thinks about putting the SA1100 manuals on the LART site |
08:03:06 | sammy | sorry I forget sent you a sa1100 manuals , and I think erikm do this is great ... |
08:03:37 | WeirdArms | erikm: could you, I can't believe they took them down |
08:03:48 | sammy | WeirdArm : still need it |
08:04:20 | erikm | reads the SA1100 manual legalese |
08:07:56 | WeirdArms | I've got copies |
08:07:57 | sammy | in here , some sales tell me that Intel want let the sa-1100 layout ... |
08:08:01 | WeirdArms | but it's just stupid to take it down |
08:08:07 | WeirdArms | even if they discontinue it |
08:11:34 | Russ | I hate how documentation gets pulled with product |
08:15:11 | sammy | Russ : 24 ... |
08:17:21 | sammy | Russ :say something ... |
08:17:32 | Russ | something |
08:18:25 | sammy | a speech about birthday ... |
08:18:35 | erikm | Russ: you found something? |
08:18:40 | Russ | you're ahead of me |
08:18:46 | Russ | its barely the ninth |
08:22:32 | Russ | almost there, and working on the girlfriend thing like you told me to |
08:24:14 | sammy | strange , why is good hanker always don't have girlfriend ? |
08:24:39 | Russ | hmm....hanker? |
08:24:58 | Russ | Hanker Han"ker, v. i. imp. & p. p. Hankered; p. pr. & vb. |
08:25:16 | Russ | "1. To long (for) with a keen appetite and uneasiness; to have a vehement desire;" etc |
08:26:15 | sammy | I mean an expert guy |
08:26:26 | erikm | hacker |
08:26:31 | Russ | ah |
08:26:33 | Russ | i see |
08:26:38 | sammy | sorry ,,,,,,,,,,,,,poor |
08:26:47 | sammy | you all know .... |
08:26:58 | Russ | its ok, you should see my spanish |
08:27:14 | erikm | or "h4x0r" as "script writing juveniles" write it :) |
08:50:39 | seletz | hi all! |
08:50:46 | erikm | hi seletz |
08:51:15 | seletz | erikm: hi. shall we continue our discussion from yesterday? |
08:51:35 | erikm | ok |
08:51:51 | erikm | though I expect a SIGLUNCH soon... |
08:52:19 | seletz | erikm: SIGLUNCH has highest priority of course :) |
08:53:30 | erikm | yeah, we have to be quick or otherwise the students will take over the lunch room ;) |
08:54:07 | seletz | erikm: everywhere the same scenario :) |
08:57:15 | erikm | SIGLUNCH! |
08:57:16 | seletz | erikm: well, nevertheless, i found the source. its drivers/mtd/maps/sa1100-flash.c |
08:57:24 | erikm | seletz: oh, that one |
08:57:25 | ed__ | SIG LUNCH CANNOT BE IGNORED |
08:57:36 | seletz | erikm: the structure is mtd_partition |
08:57:38 | erikm | seletz: LART doesn't use it |
08:57:56 | seletz | erikm_lunch: lart does not use mtd |
08:58:11 | seletz | ugh. got preemted |
08:58:15 | seletz | :) |
08:58:38 | | seletz: sorry... |
08:58:38 | seletz | ibot: whereis mtd_partition |
08:58:53 | seletz | ibot: help me! |
08:59:21 | seletz | ibot: help slashdot |
08:59:44 | | Slashdot - Updated 2001-10-09 07:57:41 | 100 Mbps Community Fiber Network: Howto | GPS Drawings | Slashback: Equivalence, Toilets, Hundredth | Matt Dillon On FreeBSD 5.0 VM System And More |
08:59:44 | seletz | ibot: slashdot |
09:00:17 | sammy | seletz : you can see http://www.linux.mtd.infradead.org / |
09:00:33 | seletz | sammy: ? |
09:00:51 | seletz | sammy: ah, the mtd source. |
09:01:26 | seletz | sammy: well, now i am in my office & The Source Is With Me. So to say. |
09:01:42 | sammy | or http://www.linux-mtd.infradead.org/list-archive/ |
09:04:13 | sammy | I am not sure, maybe it will help |
09:07:38 | sammy_ | dinner .... |
09:28:11 | seletz | doing cvs update |
09:43:50 | seletz | ibot: help insult |
09:44:21 | seletz | ibot: help main |
09:45:00 | | try http://linux-mtd.infradead.org/ |
09:45:00 | seletz | ibot: where is mtd? |
09:45:38 | | ...but ibot is an infobot owned by Tangent with some assistance from BZFlag or stupid.... |
09:45:38 | seletz | ibot: you are a intelligent little brave bot! |
09:46:40 | | i haven't a clue, seletz |
09:46:40 | seletz | ibot: where is erikm? |
09:46:54 | seletz | erikm is at lunch. |
09:46:56 | | bugger all, i dunno, seletz |
09:46:56 | seletz | ibot: where is erikm? |
09:47:17 | seletz | stop playing |
09:49:43 | | erikm was last seen on #blob 52 minutes and 5 seconds ago, saying: seletz: LART doesn't use it [Tue Oct 9 09:57:38 2001] |
09:49:43 | Russ | ibot: seen erikm? |
09:50:28 | seletz | Russ: ahh. Handy little bot, he is. |
09:50:35 | ed__ | plays the 'seen my-daddy' joke on ibot |
09:50:44 | | lxrbot was last seen on #blob 14 hours, 57 minutes and 13 seconds ago, saying: partition_map is Not used [Mon Oct 8 19:53:31 2001] |
09:50:44 | Russ | ibot: seen lxrbot? |
09:51:31 | | I haven't seen 'my-daddy', seletz |
09:51:31 | seletz | ibot: seen my-daddy? |
09:51:45 | | I haven't seen 'daddy', seletz |
09:51:45 | seletz | ibot: seen daddy? |
09:52:00 | seletz | hrmpf. got to work :)) |
09:52:05 | seletz | coding |
10:00:48 | sammy | hello lxrbot |
10:01:51 | erikm | have a botsnack |
10:01:57 | erikm | lxrbot: have a botsnack |
10:01:57 | lxrbot | thanks erikm :) |
10:02:02 | | thanks erikm :) |
10:02:02 | erikm | ibot: have a botsnack |
10:02:02 | lxrbot | thanks erikm :) |
10:03:59 | seletz | erikm: agreed to put POST routines for a platform in file PLATFORM.c, i.e. system3.c and call it in diag via initcall(), function system3_init()? |
10:07:07 | erikm | seletz: calls like what? |
10:07:22 | erikm | seletz: note that I will commit some GPIO code tonight |
10:07:30 | erikm | seletz: (it's needed for the PLEB) |
10:07:41 | seletz | erikm: well, use __initcall( system3_init, INIT_LEVEL_HTHERHARDWARE ) |
10:08:08 | erikm | ok, but what does it initialise? |
10:08:42 | seletz | erikm: nothing as of now. :) |
10:09:39 | erikm | well, don't do it in that case |
10:10:10 | seletz | erikm: i thought of calling in system3_init() a simple version of a post routine. |
10:10:10 | seletz | erikm: always to run when diag loads and inits. |
10:10:22 | erikm | seletz: I don't think that's a good idea |
10:10:47 | seletz | erikm: you rather want to have commands, do you? |
10:11:02 | seletz | erikm: and do init => only init. i see. |
10:11:17 | erikm | seletz: something might be broken in the system. with a minimal system you can manually start individual tests to see exactly what fails and why |
10:11:40 | seletz | erikm: big point. Ok, then. i add commands. |
10:11:49 | erikm | seletz: sometimes the order of tests gives you a clue *why* it is broken |
10:16:31 | erikm | hehe: http://bbspot.com/News/2000/5/amd_moron.html |
10:18:48 | seletz | looking |
10:19:19 | sammy | sorry , is that step the same with make jffs and jffs2 ? |
10:19:48 | sammy | I mean image file |
10:21:45 | erikm | sammy: jffs is obsolete, use jffs2 |
10:22:57 | sammy | but I can't make mkfs.jffs2 ? |
10:23:36 | erikm | oh? I had no problems with the latest code from CVS |
10:24:05 | sammy | in mtd/util/ is that type make mkfs.jffs2 ? |
10:24:27 | sammy | or what command should I type ? |
10:24:51 | erikm | make -k did the trick for me |
10:26:36 | seletz | coding |
10:30:32 | sammy | erikm : more detail , plz :-| |
10:34:17 | erikm | dccs mkfs.jffs2 to sammy |
10:36:14 | seletz | lxrbot: whereis SA1100_GPIOBASE? |
10:36:15 | lxrbot | SA1100_GPIOBASE is Not used |
10:38:07 | erikm | seletz: just use GPSR etc |
10:38:14 | erikm | seletz: it works from C |
10:38:26 | seletz | erikm: just found it. |
10:38:33 | erikm | seletz: and don't forget to #include <blob/sa1100.h> |
10:38:36 | sammy | is waiting receive but the transfer Rate = 0 |
10:39:06 | seletz | erikm: ugh. new? looking ... |
10:39:32 | erikm | seletz: no, not new, renamed from <sa1100.h> |
10:39:51 | erikm | seletz: it's a wrapper to include asm/arch/SA-1100.h |
10:40:22 | seletz | ahhhh. Why did i add those defines to memtest.h (was it memory.h)? |
10:40:49 | seletz | like mdcnfg etc. |
10:41:01 | erikm | because in asseembly you can't use it |
10:41:10 | erikm | for reasons I still don't know |
10:41:21 | seletz | ok, i shut up. |
10:41:23 | erikm | and I don't even care to figure out :) |
10:41:24 | seletz | :) |
10:41:26 | sammy | erikm :it's faild ? |
10:41:38 | sammy | ? |
10:41:38 | erikm | --- DCC SEND mkfs.jffs2 to sammy timed out - aborting. |
10:41:56 | sammy | is my problem ? |
10:42:01 | erikm | retries |
10:42:15 | erikm | sammy: if you are behind a firewall or a masquerading host: yes |
10:42:40 | sammy | nope |
10:48:37 | seletz | erikm: may i add a sa1110.h like the sa1100.h in blob? Separate file? |
10:48:49 | seletz | s/1110/1111/g |
10:49:02 | seletz | i.e. companion chip |
10:49:43 | sammy | continue... |
10:49:53 | erikm | seletz: ok with me |
11:06:46 | seletz | erikm: how to best include platform dep sources in configure.in for diag? |
11:07:14 | erikm | platform dependent like what? |
11:07:19 | seletz | erikm: use AC_SUBST(DIAG_PLATFORM_SOURCES) |
11:07:39 | seletz | erikm: like test functions for my lcd display |
11:07:57 | seletz | erikm: diag/system3.c, as discussed above |
11:08:08 | erikm | seletz: the LCD is not platform dependent at all, all SA11x0 systems have that |
11:08:56 | seletz | erikm: well, yes, all sa11x0 _can_ have lcd displays. |
11:09:14 | seletz | erikm: all platforms are different in _what_ lcd they use. |
11:09:22 | erikm | seletz: I think you should make something like lcd.c with generic LCD code |
11:09:27 | seletz | erikm: tft cstn, stn ... |
11:09:32 | erikm | seletz: and put the platform specific stuff in lcd.h |
11:10:01 | seletz | erikm: ugh. that big. hmmm. |
11:10:13 | erikm | seletz: no, it's not big at all |
11:10:31 | seletz | erikm: well, i think about it just now ... |
11:11:05 | erikm | seletz: enabling the LCD controller is about 20 lines of code, I guess |
11:11:36 | seletz | erikm: 14 lines, actually :) |
11:12:21 | seletz | erikm: well, then. i add a lcd.c and throw in some generic functions. |
11:12:38 | erikm | seletz: so put the init values in a header file, and your code won't need *any* ifdefs |
11:12:53 | erikm | seletz: which makes it *very* easy to read |
11:13:18 | seletz | erikm: hmmm. linux kernel philosophy. hmm. yes. |
11:14:03 | seletz | erikm: i add LCCRxxx defines for a platform in a header file, base adresses for palette and video ram. |
11:14:20 | seletz | erikm: test pattern should be quite generic. |
11:14:39 | seletz | erikm: rows and columns quite so. |
11:15:36 | seletz | erikm: what about the different platform-dependent ways to enable the lcd controller? Each platform uses different CPLDs? Macros? |
11:16:14 | erikm | seletz: there are no platforms that do that |
11:16:43 | seletz | erikm: well, actually ouer platform does. |
11:16:51 | erikm | seletz: that's sick |
11:17:02 | seletz | erikm: and assabet does, too. (BCR) |
11:17:16 | seletz | erikm: i havent designed it :( |
11:17:21 | erikm | seletz: the assabet is sick as well, even the designer admits it |
11:17:37 | erikm | seletz: (but he had to do it because marketing insisted) |
11:17:52 | erikm | seletz: see for example the hack they used to clock the UDA1341 |
11:18:29 | seletz | erikm: i know. |
11:18:51 | seletz | erikm: what does lart do? |
11:19:26 | erikm | seletz: LCD is directly connected to the correct GPIOs, sound chip uses an external oscillator |
11:20:28 | seletz | erikm: well, same as for our board (LCD thing.) but LCD has to be _enabled_ through setting a bit in a control register (CPLD). |
11:21:32 | erikm | you mean, the backlight? |
11:21:56 | seletz | erikm: no. backlight is another bit. |
11:22:18 | seletz | looking at schematics |
11:24:51 | seletz | erikm: well, we have one cpld xcr3128, which manages ethernet, irda, usb-host/slave, serial line switch, and, alas, an LCD_ON signal. |
11:26:00 | seletz | erikm: this CPLD has 4 registers, where operation is controlled. One register has a bit for this LCD_ON signal. |
11:28:34 | sammy | see you later , all |
11:28:46 | seletz | bye! |
11:29:00 | sammy | change place |
11:38:48 | seletz | download kernel |
11:38:58 | erikm | other window, please |
11:39:12 | seletz | erikm: :/ |
11:39:49 | erikm | seletz: hmm, ok, what about this: make the LCD code generic, and add a system3.c file that will be conditionally compiled on system3 |
11:40:35 | seletz | erikm: and system3.c defines some sort of lcd_enable() |
11:40:48 | erikm | yes |
11:41:04 | seletz | erikm: which is in turn called by lcd.c::lcd_test() |
11:41:06 | erikm | yes |
11:41:47 | seletz | erikm: we could also use some defines in lcd.h, say LCD_ENABLE=system3_lcd_en() |
11:42:03 | seletz | s/=/ /g |
11:42:52 | erikm | even better: |
11:43:09 | erikm | make an empty lcd_enable() and make it a weak symbol |
11:43:43 | erikm | now if you want to override it for a platform, you just redefine it in system3.c |
11:44:02 | seletz | erikm: well, this would hide nicely all platform deps. similar platforms could use same functins. yes. |
11:45:33 | seletz | erikm: i'll take a look at rmk's sa1100-fb.c, there are all low-level enable/disable functions defined. we should use the same function set IMHO. |
11:45:58 | seletz | erikm: i.e. backlicht, contrast, brightness and so forth. |
11:46:22 | erikm | yes |
11:47:19 | seletz | ok, i'll create a empty framework for evaluation :) |
11:56:00 | erikm | afk, bbl |
11:56:32 | seletz | pardon me? |
12:00:23 | erikm | Away From Keyboard, Be Back Later |
12:01:41 | seletz | :) that's nerd-speak, isnt it? :) |
12:31:25 | sammy | hello I am back ... |
12:33:44 | seletz | sammy: do you sleep at last _sometimes_ ? |
13:06:10 | prpplague | howdy howdy |
13:06:21 | seletz | hi! |
13:07:28 | prpplague | another day, another $.62 after taxes |
13:10:28 | sammy | seletz :no , I am not sleep , I just go home :-) |
13:17:43 | seletz | erikm: just discovered that our sysop has pulled the plug from our M$$ Mail server due to nimda attacks :)) |
13:18:39 | seletz | getting coffee |
13:18:39 | prpplague | wahoo, another m$ server down the drain |
13:18:52 | seletz | :^D |
13:19:05 | seletz | i'm immune, i run a decent os.... |
13:19:45 | prpplague | me too (except my wife) |
13:20:54 | seletz | 3 weeks ago i asked them wether or not to shut down this M$ crap and set up a linux box, but they said no. Well, i guess they rather agreed.... |
13:23:27 | prpplague | seletz: we've been using a linux box for email for about two years now, managment keeps asking me why these stories about large corps email going down |
13:23:52 | prpplague | seletz: they think its all hype since we've never been down |
13:32:25 | erikm | returns |
13:32:51 | erikm | in our group we've been running sendmail for as long as I remember. never a single problem |
13:37:49 | prpplague | erikm: just got a price back on that Linuette Box from HNT, they want $2300 for the dev kit |
13:38:29 | prpplague | erikm: and anothe $2k for schematics and JTAG info |
13:39:58 | erikm | yeah, I read about the price somewhere on the web site |
13:40:11 | erikm | but $2k for the schematics, that's rediculous |
13:43:00 | prpplague | erikm: it looks nice, but i think i'll order a lart for that price |
13:44:03 | seletz | back |
13:44:16 | seletz | woha! That's expensive! |
13:44:33 | seletz | what's in the package? |
13:47:08 | prpplague | seletz: hmm, gold bullion, diamonds? |
13:47:34 | seletz | :) |
13:47:44 | seletz | erikm: how much is a creditLart |
13:48:21 | erikm | no idea |
13:48:37 | erikm | protos are quite expensive, as allways |
13:49:01 | seletz | ah, prototype yet. |
13:49:31 | erikm | we do have prototypes, but jdb went ill, so they're not yet tested |
13:49:35 | prpplague | i've got 8k to to spend before jan1 |
13:49:54 | seletz | Well, i'll take it ... :) |
13:51:31 | prpplague | seletz: only a tall good looking blonde or someone with a sa based product get this dough |
13:52:25 | seletz | prpplague: what proguct has it to be? |
13:52:44 | seletz | prpplague: sa1110+sa1111 enough? |
13:53:26 | prpplague | seletz: what ya got? |
13:53:30 | erikm | detects heavy board trading :) |
13:55:06 | seletz | prpplague: custom board, sa1110+sa1111, irda, smc91x96, usb host&client conn, lcd conn, big cpld, cf slot & slot 1 of pcmcia via test points. 32 mb ram, 16 mb flash. |
13:55:29 | seletz | prpplague: and designed to be low-power. |
13:56:17 | prpplague | seletz: your design? |
13:56:39 | seletz | prpplague: well, design of my customer. |
13:57:54 | prpplague | seletz: will we be able to by the board in qty later? |
13:58:02 | seletz | prpplague: they intend to use this kind of design for data logging purposes. an analog measurement hw will be connected via pcmcia slot 1. |
13:59:02 | seletz | prpplague: yes, they plan to produce it in numbers. And they wat to sell it as OEM dev boards. |
13:59:32 | prpplague | seletz: what kinda $$ are talking for a dev board? |
14:00:17 | seletz | prpplague: no idea yet. I'm no marketeer tough. |
14:01:17 | seletz | prpplague: they pay me to bring it up running & keep it running. I will write drivers for the ad/IO hardware, for intelligent sensors and such. |
14:01:55 | prpplague | seletz: tell your sales gurus to drop me an email dave123@abcsinc.com |
14:02:14 | seletz | prpplague: yup. will do. |
14:03:59 | prpplague | seletz: sounds like you have a nice job |
14:07:16 | seletz | prpplague: well, getting paid for linux kernel hacking :^))) |
14:07:43 | seletz | prpplague: many things to learn and understand, tough. |
14:08:51 | prpplague | seletz: same here |
14:12:38 | seletz | prpplague: just wrote an EMAIL to our CTO, hope that's enough. |
14:13:04 | prpplague | seletz: thanks |
14:32:15 | seletz | erikm: when using __attribute__ ((weak)), is link-order important, yes? I.e. one sould first link the obj with weak symbols, then thoe one with "strong" ones, right? |
14:32:44 | prpplague | erikm: is there a link on the lart pages for info on the creditlart? |
14:35:59 | seletz | erikm: ah, got the error: Don't define symbol weak in header file, but in source. |
14:47:45 | erikm | prpplague: no, not yet |
14:47:52 | prpplague | erikm: np |
14:50:16 | erikm | what the heck, I just make the SA-1100 manuals available from the LART site |
14:51:23 | ed__ | you're one crazy mutha ! |
14:51:43 | erikm | ed__: hey, the legal mumble doesn't say it's forbidden |
14:52:40 | erikm | and if intel is so crazy to pull them from their website, I'll just make them available. that will teach them |
14:54:17 | ed__ | they pulled them? |
14:54:20 | ed__ | blah |
14:54:21 | erikm | yes |
14:54:40 | ed__ | hrmphf sillies |
14:55:51 | prpplague | thats silly, you'd think they'd want people to find information on their products |
14:57:26 | prpplague | lets see how many time i can flash my board in one day |
14:58:39 | seletz | erikm: Ok, I'll try to mail you the lcd stuff. Perhaps this won't work, so we have to dcc it, ok? |
15:02:19 | erikm | mail should work |
15:05:50 | seletz | erikm: mail sent. Well _your_ mail server is ok, i suppose, but is ours? |
15:08:53 | erikm | gets new mail |
15:09:44 | seletz | happy |
15:12:52 | seletz | Hmmmm. Is there a way to check wether or not i was thrown out of arm-kernel (besides bugging rmk)? |
15:13:50 | erikm | check with the mailing list archive |
15:14:02 | erikm | or better: with the GNU mailman pages |
15:16:08 | erikm | seletz: I suppose the lines with SerialOutputString("_system3_" ); in system3.c are debug messages? |
15:16:35 | seletz | erikm: sure. Its all a bit sketchy at the moment. |
15:17:03 | erikm | question why don't you make them void functions if they always return 0? |
15:17:30 | seletz | erikm: because they will return errors when i make them solid. |
15:17:48 | erikm | oh OK |
15:18:17 | seletz | on the phone |
15:22:30 | seletz | back |
15:26:43 | seletz | erikm: no complaints yet? :) |
15:27:03 | erikm | seletz: put lcd.h in blob |
15:27:05 | prpplague | erikm: what are the top 3 reasons why you'd get sig4 errors on some arm apps? |
15:27:20 | erikm | prpplague: sig4 errors? never got those |
15:27:27 | seletz | memory alignment? |
15:27:34 | prpplague | erikm: Illegal instruction |
15:28:29 | erikm | prpplague: really, never got those. |
15:28:39 | prpplague | erikm: hmm |
15:28:45 | erikm | prpplague: might be memory timing problems |
15:29:24 | seletz | erikm: isnt a user proces being killed by the kernel if it does unaligned memory acesses? |
15:29:49 | erikm | depends |
15:30:03 | erikm | you can ask the kernel to fixup the unaligned accesses |
15:30:12 | erikm | but you'd better not and fix the code |
15:30:40 | seletz | CONFIG_ALIGNMENT_TRAP=y always on newer kernels. User Space is not affected by this, IIRC |
15:31:23 | erikm | there was a trick to fixup userland as well, not sure if it is still in newer kernels or if rmk ripped it out |
15:31:55 | erikm | but anyway. instructions are always aligned |
15:31:59 | seletz | IIRC the kernel now just kills those processes. This fix was considered _bad_ i think. |
15:33:10 | seletz | erikm: nevertheless, i do add the sources to cvs. agreed? |
15:33:28 | erikm | seletz: if you put lcd.h in include/blob |
15:33:30 | seletz | erikm: lcd.h -> include/blob of course |
15:33:41 | seletz | :) |
15:33:42 | erikm | seletz: and could you also make system3.c conditionally compiled? |
15:34:19 | seletz | erikm: yes. I do that via AC_SUBST() like the clock.c example, too? |
15:34:37 | erikm | yes |
15:34:49 | seletz | all right, then. |
15:52:22 | erikm | seletz: btw, you don't have to check in empty files anymore, I upgraded syncmail |
15:52:34 | seletz | erikm: ok. |
16:46:35 | sammy | erikm : ? |
16:46:55 | erikm | hmm? |
16:47:12 | sammy | after I make image with jffs2 , how to put into LART ? |
16:47:42 | erikm | download and flash it as a ramdisk |
16:47:44 | sammy | just like ramdisk or not ? |
16:48:28 | sammy | confuse with the HOW TO ... |
16:50:03 | sammy | it say copy jffs.image /dev/mtd0 but I must turn on the lart with minicom , right ? |
16:50:30 | erikm | /dev/mtd0 == blob |
16:50:35 | erikm | you want /dev/mtd2 |
16:50:53 | erikm | but you can also download the image in blob and just flash it |
16:51:15 | sammy | like ramdisk ? |
16:51:21 | erikm | yes |
16:54:41 | sammy | is try ... |
16:55:25 | seletz | erikm: cvs commit done. |
16:55:38 | erikm | seletz: |
16:55:40 | erikm | seletz: ok |
16:56:28 | sammy | amm... should I need to compiler kernel again with my root device going to be ? |
16:58:30 | seletz | sammy: i think you should say "noinitrd" as kernel param IIRC, because the kernel treats the jffs2 image as ramdisk. |
16:58:51 | seletz | sammy: "noinitrd root=/dev/mtdblockXXX" should do it. |
16:59:15 | seletz | sammy: where XXX is the partition number the kernel detects. |
16:59:30 | seletz | sammy: 2 if you use /dev/mtd2 |
17:00:07 | erikm | boot console=ttySA0,9600 root=/dev/mtdblock2 |
17:00:21 | seletz | sammy: btw, if you have a ramdis up and running with a correct set-up network, |
17:01:03 | seletz | sammy: then its way faster to flash under linux & download the image over ethernet. |
17:02:42 | seletz | erikm: did i break something? It works for me with build_all & make .f build_Makefile |
17:03:26 | sammy | that's my really hope to , but no one help me to layout the hardwave about ethernet on KSB ... :-( |
17:04:17 | sammy | so only I can do is step by step to go... +_+ |
17:05:02 | erikm | seletz: /me cvs updates |
17:05:17 | seletz | sammy: same over here. I currently try to get basic HW things to run ... |
17:05:25 | seletz | erikm: i'll wait |
17:05:55 | erikm | sammy: next KSB design will have ethernet onboard instead of high end audio |
17:06:07 | seletz | sammy: lcd, then PS/2 keyboard, then smc91x96 ethernet chip |
17:06:40 | seletz | sammy: "high-end audio". hmmm. good for an mp3 player, eh? |
17:06:46 | erikm | sssh! |
17:06:54 | seletz | :) |
17:06:58 | prpplague | erikm: i like the idea of KSB with ethernet |
17:07:10 | erikm | seletz: you forgot to commit blob/sa1111.h |
17:08:03 | seletz | ugh. |
17:08:06 | seletz | one second ... |
17:08:11 | sammy | so I hope LART + KSB can work like some other development board ...and still work for it .. |
17:08:51 | seletz | erikm: done. sorry. |
17:09:28 | erikm | hmm, assabet breaks immediately |
17:09:46 | erikm | looks |
17:10:17 | seletz | hmmm. I testet it, tough. :^/ do something, do something wrong and break something else :( |
17:11:27 | erikm | ah, lcd.h is still empty |
17:11:39 | seletz | ???? |
17:12:15 | seletz | grng.... |
17:12:35 | sammy | add it , be better then bootldr ... |
17:12:55 | erikm | sammy: we're already better than bootldr: blob is small |
17:13:08 | seletz | committed. |
17:13:17 | erikm | sammy: FYI: a bootldr binary is about 130k |
17:13:55 | seletz | getting tired & angry |
17:14:31 | sammy | I know , do you remember someday before you tell me about blob , and at that time I am reading about bootldr ? |
17:14:44 | sammy | this is why I change to blob ... |
17:15:09 | seletz | sammy: for me it was worse: i changed from redboot. |
17:15:09 | erikm | long long time ago, in a galaxy far far way, yes :) |
17:16:07 | seletz | erikm: is assabet still broken? |
17:16:41 | erikm | yes, but I fixed it |
17:16:46 | seletz | ? |
17:17:00 | erikm | the error in lcd.h is not nice |
17:17:06 | erikm | so I made it a warning |
17:17:21 | sammy | but I really hope that blob is more smaller , but still can do as much thing's as bootldr , even more then |
17:17:47 | erikm | sammy: blob will get more features in the near future |
17:18:18 | erikm | sammy: flash partition, parameters, ethernet, bootp, tftp |
17:18:21 | seletz | erikm: hmm, why did it threw an error? did you specify enable_all_features? |
17:19:13 | seletz | erikm: IMHO this should be an error, one could ruin LCDs with wrong settings. |
17:19:36 | erikm | hmm, true |
17:19:50 | erikm | let me do it different |
17:19:55 | seletz | erikm: thats why i added a CONFIG_LCD_SUPPORT |
17:20:01 | erikm | hmm |
17:21:22 | erikm | restores the original situation |
17:21:42 | erikm | .... but forgot the correct error message |
17:21:51 | erikm | makes a new one: |
17:21:54 | erikm | Cowardly refusing to break your LCD, please supply correct LCD parameters. |
17:22:12 | seletz | erikm: Thats polite ... |
17:23:01 | sammy | is that assabet always use Angelboot ? |
17:23:03 | erikm | I think lcd_test can be a static function |
17:23:15 | seletz | ok |
17:23:25 | seletz | sammy: no. |
17:23:37 | erikm | sammy: assabet can be used with bootldr as well, but if you use assabet+neponset your only choice is Angel |
17:23:53 | seletz | not true. |
17:24:16 | seletz | assabet+neponset works fine with redboot&blob. |
17:24:32 | erikm | seletz: hmm, rmk told me that only angel works |
17:24:43 | seletz | you only have to make sure that you use the right serial. |
17:25:25 | seletz | perhaps he thinks about static memory setup, which is done wrong with all bootloaders AFAIK. |
17:26:08 | seletz | i patched redboot to support assabet & it worked fine. All i did change was the MCSXXX settings and the SMROM settings. |
17:26:24 | seletz | so blob should be no problem at all. |
17:26:48 | sammy | can you sent the patch to me seletz ? |
17:27:09 | erikm | hmm, I tried blob on assabet last weekend and it hangs just after the memory configuration |
17:27:22 | erikm | so apparently there is something wrong over there |
17:28:27 | seletz | erikm: hmmm. I have to dig my settings out, if you're interested. |
17:28:33 | erikm | sure |
17:28:47 | sammy | some of my friend have a board just alike assabat , I think I can try porting on it ... |
17:28:58 | seletz | erikm: i switched to our board 4 weeks ago. |
17:29:15 | seletz | erikm: before i used assabet for development. |
17:29:21 | erikm | sammy: problem is: almost all sa1110 boards look like assabet :) |
17:30:19 | sammy | yeah , this is also right ... |
17:30:33 | seletz | erikm: the problem with assabet is that there are number of versions of it. |
17:30:49 | erikm | yeah |
17:30:49 | seletz | every version has its own quirks. |
17:31:13 | erikm | I have two of them, an early version and a recent version (january 2001) |
17:31:23 | seletz | i had to re-solder a wire on neponset to make it work. |
17:31:42 | erikm | oh, yeah, that bug |
17:32:01 | seletz | looking for redboot patch |
17:33:01 | erikm | TimRiker: TimRiker has quit (Killed (services1.openprojects.net (Too many invalid passwords)) :))) |
17:33:36 | erikm | seletz: I got it |
17:33:50 | erikm | seletz: I'll define a couple of dummy LCD parameters |
17:34:01 | erikm | seletz: and I'll also define DONT_USE_LCD |
17:34:17 | TimRiker | erikm: someone changed my password apparently. |
17:34:34 | erikm | seletz: the LCD test function will refuse to start when that's set |
17:35:01 | seletz | erikm: well, ok. kindof inversed my logic, eh? Well, thats ok too. |
17:35:21 | erikm | seletz: the idea of --enable-all-features is that it enables all features and still compiles |
17:35:37 | seletz | sammy: could send you a correctly configured tarball of ecos+redboot |
17:35:43 | erikm | seletz: hmm, wait |
17:35:49 | erikm | seletz: I'll do it in configure.in |
17:36:10 | seletz | erikm: well, i did it there .... |
17:36:33 | seletz | sammy: but it's 10MB files |
17:36:44 | seletz | sammy: tar gz. |
17:37:02 | erikm | seletz: yes, but I test for system3 over there, just like the the clock scaling will not be compiled for sa1110 |
17:38:02 | seletz | erikm: wait a minute, i dont understand: lcd.c should be generic, right? so all platforms, right? |
17:38:32 | erikm | seletz: it's generic for platforms that have an LCD |
17:39:03 | erikm | seletz: but unfortunately lart doesn't it fails to compile with --enable-all-features |
17:39:08 | seletz | erikm: all platforms that --enable-lcd should add their defs in lcd.h all others not. and for those who dont, there is no error. Am i wrong? |
17:39:12 | sammy | seletz : ftp://211.75.21.252/ username:test password:test |
17:39:21 | erikm | warez! |
17:39:25 | seletz | erikm: ok. remove it from --enable-all-features |
17:39:33 | erikm | nah, I already fixed it |
17:39:43 | seletz | erikm: ok. |
17:40:12 | seletz | tries ftp |
17:40:31 | seletz | bye |
17:40:38 | seletz | wrong window |
17:41:47 | TimRiker | sammy: in other words: ftp://test:test@211.75.21.252/ |
17:42:13 | seletz | sammy: ok 20 kb/s. |
17:42:46 | seletz | well guys. i'm late already & my girlfriend is waiting :( |
17:42:54 | sammy | thanx seletz |
17:43:00 | seletz | preparing to go home |
17:43:08 | erikm | seletz: it builds |
17:43:24 | seletz | erikm: ok, at last. :( |
17:44:06 | seletz | sammy: kick me out from ftp when trasfer is done, ok? |
17:44:07 | sammy | Tim : how can you know which way Iwant to got my tux ? |
17:44:42 | seletz | bye all! |
17:44:45 | erikm | bye |
17:44:49 | sammy | bye. |
17:44:59 | TimRiker | global express mail is preferred, but airmail parcel post is cheaper. |
18:08:33 | sammy | erikm : about LCD device , what I should change is all in sa1100fb.c right ? |
18:12:58 | sammy | if that so , after I change , that I do is compiler the kernel again , and load it again ? |
18:13:20 | erikm | yes |
18:13:53 | sammy | but it's waste a lot of time in download and remake kernel ... |
18:14:23 | sammy | don't have another way ? |
18:14:36 | erikm | there is no other way |
18:14:53 | erikm | the memory for the framebuffer can only be allocated on boot time |
18:15:19 | sammy | yes , it have add the driver into blob :=) |
18:17:29 | erikm | slaps sammy |
18:34:35 | sammy | will go to bed after say night. |
18:34:45 | sammy | night all... |
18:35:07 | prpplague | night |
19:15:57 | erikm | goes home |
19:16:07 | prpplague | later |
19:16:10 | erikm | later |