irclog2html for blob on 2002.06.04

01:29:54prpplaguemorning Sammy
01:31:11Sammyhowdy prpplague :)
01:31:40Sammyprpplague: anything new ?
03:21:15prpplagueSammy: nothing new, just spending some quality time learn more c/c++
04:44:15Sammyprpplague : mandarin ? is this ? http://www.cc.nctu.edu.tw/~u8832801/forbid/King/king1.htm
04:48:28prpplagueSammy: nice, but i don't read mandarin yet
04:50:14Sammyprpplague : you can add zh-TW (BIG5) support, then you can read it ...
04:54:24prpplagueahh
05:43:30RussI can see the letters
05:43:33Russbut I surely can't read it
05:51:48SammyRuss: on it with their picture is his name and some personal info ... :)
05:54:52Sammylike name , birthday , his mother is , how long has he be the an emperor , dying at, how many child ..etc...
06:54:41Russoh I just noticed
06:54:55Russin gnome2, that mandarian webpage title shows up in my taskbar
06:54:58Russer panel
06:55:13RussSammy: do you have gnome2/gtk2 running yet?
07:03:31seletzmorning
07:05:49Sammyseletz: Good afternoon
07:08:07seletzSammy: hi :)
07:26:30mmattenmorning all
07:34:44SammyRuss: nope , I still use enlightenment.
08:45:01SammyStarting kernel ...
08:45:02SammyUncompressing Linux.................................................. done, booting the kernel.
08:45:04SammyError: a
08:45:04Sammyanyone know's what's wrong ... ?
08:46:04erikmSammy: look in the kernel source in arch/arm/*, the kernel prints 'Error: a' if something's wrong at a certain point
08:50:07Sammyerikm: K , check it out ...
09:09:07seletzwrong arch i suspect
09:09:29seletzsupply an arch number if i'm correct
09:10:26seletzSammy: if you're using blob: the arch you compile blob for must match the arch the kernel is compiled for
09:13:01Sammyseletz: can you point me at which file ?
09:13:51Sammybecaues I actually did modify some file to other platform, and it's happen ...
09:22:14seletzSammy: well, what do you want? Run a kernel on what platform? Have you blob compiled for that platform?
09:23:07seletzSammy: i.e. configure --with-board=XXXXX
09:23:24Sammyblob can run , but kernel can't
09:24:00seletzSammy: yes. Which board/device are you running blob on?
09:24:34Sammyassabet (alike)
09:24:54seletzSammy: have an architecture number for that device allocated?
09:25:07seletzSammy: BTW, most boards are assabet-like ....
09:26:05seletzSammy: you have to have an unique architecture number (or _for_testing_only_ you may simply grab an existing one [i.e. assabet]).
09:26:11Sammy125
09:26:28seletzSammy: but you have to compile both blob and the kernel for exactly that architecture.
09:27:37Sammyyes blob have , but kernel...
09:27:45seletzSammy: each ARM arch got an unique arch number by Russell King. This arch number is handed from the boot loader (blob) to the kernel startup routine.
09:27:48SammyI don't know where to add...
09:28:00seletzSammy: what did you configure the kernel for?
09:28:19seletzSammy: make menuconfig and select platform
09:28:50Sammybase always on assabet .and it's can run
09:29:05seletzSammy: BTW, you cant just select a random number. You have to get a number from Russell King.
09:29:21SammyI have ...
09:29:24seletzSammy: so: blob == assabet, kernel == assabet?
09:30:02Sammyseletz: http://www.arm.linux.org.uk/developer/machines/ at 125
09:30:23Sammybut I don't know where add this into kenrel
09:30:46Sammyso if blob==assabet and kernel==assabet it's can run...
09:30:49seletzok. There's the problem
09:31:04seletz1) port blob
09:31:04Sammybut if blob==puppy , kernel==puppy can't
09:31:21Sammydid it already ..
09:31:33seletzso you have --with-board=puppy
09:31:54seletzin blob
09:31:57Sammyyes, but still don't send the patch to erikm ... :(
09:32:06seletzok, doesnt matter
09:32:14seletzsammy, this blob runs, yes?
09:32:25Sammyyeap
09:32:37seletzand supplies number 125 as arch number?
09:32:55Sammyyes
09:33:03seletzok. now to the kernel
09:33:16seletzhave you a arch/arm/sa1100/puppy.c
09:33:21Sammyyes
09:33:25seletzok.
09:33:42seletzhave you updated the kernel makefiles for your arch?
09:34:08Sammywhich makefile ?
09:34:15seletzone moment pls
09:35:04seletzarch/arm/mach-sa1100/Makefile
09:35:38SammyAmm...
09:36:09seletzand update arch/arm/config.in so you see puppy when you do make menuconfig.
09:36:43Sammythis line : obj-$(CONFIG_SA1100_PUPPY) += puppy.o I have
09:36:59Sammyand
09:37:20seletzSammy: config.in: used by make *config to create menus and then to create those CONFIG_XXXX defines based on your selection. You must add a menu choice for CONFIG_SA1100_PUPPY
09:38:01Sammydep_bool '  Puppy' CONFIG_SA1100_PUPPY $CONFIG_ARCH_SA1100
09:38:09Sammydid it too...
09:39:10seletzdo a grep PUPPY linux/.config
09:39:11Sammyseletz: but I still don't get any info abut kernel arch number ? where to add it ?
09:39:22seletzyou dont
09:39:36seletzits automatically generated
09:39:54seletzarch/arm/tools/mach-types
09:40:19seletzgrrr
09:40:27SammyCONFIG_SA1100_PUPPY=y
09:40:37seletzyour define is CONFIG_ARCH_PUPPY _not_ COBFIG_SA1100_PUPPY
09:40:40Sammy[root@sammy src]# grep PUPPY linux/.config
09:40:41SammyCONFIG_SA1100_PUPPY=y
09:41:01seletzgrep PUPPY arch/arm/tools/mach-types
09:41:58seletzam i right
09:41:59seletz?
09:42:03Sammypuppy                   ARCH_PUPPY              PUPPY                   125
09:42:07Sammyis this ?
09:42:16seletzyup
09:42:22seletzquick hack:
09:42:33seletzchange ARCH_PUPPY to SA1100_PUPPY
09:42:40seletzand recompile your kernel
09:43:19seletz_but_beware_: dont keep it that way. Change your defines to CONFIG_ARCH_PUPPY
09:44:41Sammy?
09:44:50SammyCONFIG_ARCH_PUPPY ?
09:44:54Sammywhere ?
09:45:05seletzedit arch/arm/tools/mach-types
09:45:15Sammydoing...
09:45:26seletzchange ARCH_PUPPY to SA1100_PUPPY
09:45:34Sammyok..
09:45:35seletzdont add CONFIG_
09:45:48SammyOh, I know ...
09:46:15seletzthe makefiles in that dir auto-create a header file containing arch defines from that file.
09:46:35seletzi.e. #define CONFIG_ARCH_PUPPY (125) or similar
09:47:10seletzerm, no. sorry
09:47:19Sammyso gaa
09:47:21seletzthey #define MACH_ARCH_PUPPY (125)
09:48:16seletzthe CONGIG_ARCH_PUPPY is created from make *config. And that's why your build failed to include puppy stuff:
09:49:10seletzyou specified CONGIG_SA1100_PUPPY in config.in, but mach-types says it's called CONGIG_ARCH_PUPPY. See it?
09:50:09seletzthe machine_is*() macros are also auto-generated.
09:50:38Sammyamm....go back , two line , where is CONFIG_ARCH_PUPPY
09:52:24Sammysorry , seletz confuse at #define MACH_ARCH_PUPPY ,
09:53:27seletzso, sammy, do you understand now the error?
09:54:23Sammyseletz: sorry, still confuse at last few line , can you point me more detail
09:54:38seletzok. From start.
09:55:06seletzyour makefile in arch/arm/mach-sa1100/Makefile specifies something like:
09:55:24seletzobj-$(CONFIG_SA1100_PUPPY) += puppy.o
09:55:57seletzso, for this to work CONFIG_SA1100_PUPPY must be set to "y". This is done
09:55:59Sammy|O| I got it ....
09:56:05seletzby make config.
09:56:43seletzSammy: test: What are you gonna do now?
09:57:30Sammychange this line :
09:57:48SammyARCH_PUPPY to SA1100_PUPPY
09:57:56seletzwhere
09:58:10Sammyarch/arm/tools/mach-types
09:58:17seletzok, and then?
09:58:38Sammymake again
09:58:54seletzyes, suppose it works, what do you do next?
09:59:31Sammyyou mean setp ?
09:59:47Sammyor ?
10:00:47seletzok: you generally _must_ _not_ touch mach-types. Its only a hack to test your kernel. If it works, change it to the original state and chande your Makefiles and config.in files to CONFIG_ARCH_PUPPY. Got it?
10:01:27seletzSammy: mach-types gets autogenerated by itself from Russell Kings machine database.
10:02:07SammyOh , I know , don't change mach-type , must change config.in to match Russell Kings rule right ?
10:02:15seletzyeah
10:02:33seletzthinks sammy got it now :)
10:02:43SammyTHANKS A LOT seletz :)
10:03:14seletzSammy: last tip: grep PUPPY .config _before_ you compile & flash the kernel ...
10:03:25seletzSIGLUNCH
10:03:37seletzSammy: no problem. glad to help.
10:03:45Sammyk , I'll remember
10:15:40volandis away: I'm busy
14:11:43seletzprpplague: hi
14:38:51prpplagueseletz: morning
15:33:08seletz_homesee ya

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