You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
(82) |
Jun
(72) |
Jul
(39) |
Aug
(104) |
Sep
(61) |
Oct
(55) |
Nov
(101) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(52) |
Feb
(67) |
Mar
(18) |
Apr
(16) |
May
(33) |
Jun
(12) |
Jul
(102) |
Aug
(168) |
Sep
(65) |
Oct
(60) |
Nov
(43) |
Dec
(121) |
2002 |
Jan
(69) |
Feb
(32) |
Mar
(90) |
Apr
(59) |
May
(45) |
Jun
(43) |
Jul
(33) |
Aug
(21) |
Sep
(11) |
Oct
(20) |
Nov
(26) |
Dec
(3) |
2003 |
Jan
(12) |
Feb
(18) |
Mar
(11) |
Apr
(11) |
May
(41) |
Jun
(76) |
Jul
(77) |
Aug
(15) |
Sep
(38) |
Oct
(56) |
Nov
(19) |
Dec
(39) |
2004 |
Jan
(17) |
Feb
(52) |
Mar
(36) |
Apr
(34) |
May
(48) |
Jun
(85) |
Jul
(38) |
Aug
(42) |
Sep
(41) |
Oct
(77) |
Nov
(27) |
Dec
(19) |
2005 |
Jan
(32) |
Feb
(35) |
Mar
(29) |
Apr
(8) |
May
(7) |
Jun
(31) |
Jul
(46) |
Aug
(93) |
Sep
(65) |
Oct
(85) |
Nov
(219) |
Dec
(47) |
2006 |
Jan
(170) |
Feb
(103) |
Mar
(49) |
Apr
(43) |
May
(45) |
Jun
(29) |
Jul
(77) |
Aug
(82) |
Sep
(43) |
Oct
(45) |
Nov
(26) |
Dec
(85) |
2007 |
Jan
(42) |
Feb
(48) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(53) |
Jul
(175) |
Aug
(212) |
Sep
(91) |
Oct
(103) |
Nov
(110) |
Dec
(5) |
2008 |
Jan
(20) |
Feb
(11) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(3) |
Oct
(12) |
Nov
|
Dec
|
From: Mitch D. <md...@po...> - 2001-02-15 07:23:58
|
Mitch Davis wrote: > > > BSC has already been initialized ?? where ? > > The job of initialising the BSC (and whatever else your board needs) > is the responsibility of the boot loader. The boot loader will do > this, then jump to the kernel. I should point out that sh-ipl+g is NOT the only bootloader in town. And you MUST use some form of bootloader - it's not possible to jump directly to the kernel start after powerup. Regardless of which bootloader is used, that bootloader will certainly need to set the BSC correctly before jumping to the kernel start. Regards, Mitch. -- mailto:mj...@al... mailto:md...@po... |
From: Mitch D. <md...@po...> - 2001-02-15 06:44:46
|
Jaswinder Singh wrote: > > Dear Niibe-san, > > from head.S :- > > /* > * Condition at the entry of _stext: > * > * BSC has already been initialized. > * INTC may or may not be initialized. > * VBR may or may not be initialized. > * MMU may or may not be initialized. > * Cache may or may not be initialized. > * Hardware (including on-chip modules) may or may > not be initialized. > * > */ > > BSC has already been initialized ?? where ? The job of initialising the BSC (and whatever else your board needs) is the responsibility of the boot loader. The boot loader will do this, then jump to the kernel. Regards, Mitch. -- mailto:mj...@al... mailto:md...@po... |
From: Jaswinder S. <jas...@ya...> - 2001-02-15 04:13:07
|
Dear Niibe-san, from head.S :- /* * Condition at the entry of _stext: * * BSC has already been initialized. * INTC may or may not be initialized. * VBR may or may not be initialized. * MMU may or may not be initialized. * Cache may or may not be initialized. * Hardware (including on-chip modules) may or may not be initialized. * */ BSC has already been initialized ?? where ? Best Regards, Jaswinder. --- NIIBE Yutaka <gn...@m1...> wrote: > Jaswinder Singh wrote: > > this is pointing to sh-console-write . > > > > Dear Niibe-san your kernel depends on gdb-stub , > is > > this right , kernel depends on stub :( > > I don't think so. If you choose to be dependent, it > depends. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: NIIBE Y. <gn...@m1...> - 2001-02-15 00:12:03
|
Jaswinder Singh wrote: > this is pointing to sh-console-write . > > Dear Niibe-san your kernel depends on gdb-stub , is > this right , kernel depends on stub :( I don't think so. If you choose to be dependent, it depends. Please check following CONFIG variables. You should not set those. CONFIG_SH_STANDARD_BIOS CONFIG_DEBUG_KERNEL_WITH_GDB_STUB -- |
From: NIIBE Y. <gn...@m1...> - 2001-02-15 00:08:08
|
Hao Tang wrote: > Is it possible to add the H-UDI support into the sh gdb , i know H-udi is > compatible with jtag , so i think it should be very good to use. > just like the Target RDI support in gdb under Arm. > i will appreciate any advise about it . I don't think it is possible, in terms of Free Software. Yes, the serial line is compatible to JTAG, but the protocol is not published. You need to contract Hitachi to get the information, and it's under NDA. I think that it's quite bad for developpers, but that's the way Hitachi does currently. Could you please express your opinion to Hitachi. That would change the situation. -- |
From: Hao T. <ta...@li...> - 2001-02-14 19:54:54
|
hey , Is it possible to add the H-UDI support into the sh gdb , i know H-udi is compatible with jtag , so i think it should be very good to use. just like the Target RDI support in gdb under Arm. i will appreciate any advise about it . Hao Tang |
From: NIIBE Y. <gn...@m1...> - 2001-02-14 09:30:24
|
M. R. Brown wrote: > I posted a question regarding this a couple days ago. From my > understanding, the -m4-nofpu switch in the arch/sh/Makefile is the > culprit, in the gcc specs it defines __sh3__ with no mention of __SH4__. I think that GCC's specs is wrong. There's no reason to define __sh3__ for SH-4. My GCC defines __SH4__ for -m4-nofpu. I'll ask GCC people. -- |
From: M. R. B. <ma...@uw...> - 2001-02-14 08:42:21
|
On Tue, 13 Feb 2001, Bryan Rittmeyer wrote: > Hello, > > Today I tried building the latest CVS kernel with a full GNU CVS > toolchain, unpatched (yes, I _am_ completely crazy). Everything built OK > except for sh-sci.c, > which expects __sh3__ to be defined only for SH3 CPUs. However, the new > toolchain seems to define __sh3__ even for the SH4 (maybe the old gcc in > LinuxSH CVS does also? I don't remember). Anyway to get vmlinux to > build, I modified the sh-sci.c pre-processor logic to use CONFIG_CPU > instead... here's the patch if anyone else is having this problem: > I posted a question regarding this a couple days ago. From my understanding, the -m4-nofpu switch in the arch/sh/Makefile is the culprit, in the gcc specs it defines __sh3__ with no mention of __SH4__. I suspect that switch could break other things semi-randomly in the future, I also remember problems with the include/asm-sh/irq.h header. My interim solution is to just change the flag in the kernel Makefile to -m4. Thanks for the patch. M. R. |
From: Bryan R. <br...@ix...> - 2001-02-14 07:15:18
|
Hello, Today I tried building the latest CVS kernel with a full GNU CVS toolchain, unpatched (yes, I _am_ completely crazy). Everything built OK except for sh-sci.c, which expects __sh3__ to be defined only for SH3 CPUs. However, the new toolchain seems to define __sh3__ even for the SH4 (maybe the old gcc in LinuxSH CVS does also? I don't remember). Anyway to get vmlinux to build, I modified the sh-sci.c pre-processor logic to use CONFIG_CPU instead... here's the patch if anyone else is having this problem: --- sh-sci-orig.c Tue Feb 13 23:12:16 2001 +++ sh-sci.c Tue Feb 13 23:05:45 2001 @@ -226,7 +226,7 @@ #endif #if defined(SCIF_ONLY) || defined(SCI_AND_SCIF) -#if defined(__sh3__) +#if !defined(CONFIG_CPU_SUBTYPE_SH7750) /* For SH7707, SH7709, SH7709A, SH7729 */ static void sci_init_pins_scif(struct sci_port* port, unsigned int cflag) { I'm not sure if this should go into main CVS or not. NIIBE-san, what do you think? Regards, Bryan -- Bryan Rittmeyer mailto:br...@ix... Ixia Communications 26601 W. Agoura Rd. Calabasas, CA 91302 |
From: Jeremy S. <js...@mv...> - 2001-02-14 02:49:44
|
Like many other folks out there, I've been playing with Linux-SH on some of Hitachi's Solution Engine boards. Although sh-ipl+g and friends are great -- many thanks to Niibe!! -- we think it'd be nice if people getting started with the Solution Engine could use it with the (shudder) native Hitachi monitor. (Until they wise up, of course.) Anyway, I didn't see a target image that seemed meant for easy download and startup that way, so instead I've been using a tweaked zImage target which (a) keeps the empty_zero_page, (b) puts the command line in it so setting up the console is easy, and (c) ends up with S-records. (What I'd really like to to is make the kernel command line configurable via menuconfig, so you can specify the default in the absence of a loader w/o editing source.) So I have these questions: 1. Is there some reason why empty_zero_page is explicitly removed, and leaving it in would be a problem? (I.e. leave it in for all targets, as the .gdbinit or whatever will overwrite it anyway if it's not what you want?) 2) Any objections to including changes like that in the tree if I submit them? (Any preferences on the target name -- I'm thinking zsImage?) 3) Am I just being dense? Did I miss something obvious? (If so, could someone elaborate -- on the second part of that question, I mean...) Thanks for any comments... --Jeremy Siegel |
From: Jaswinder S. <jas...@ya...> - 2001-02-12 08:01:07
|
Dear linux-sh and linuxsh-dev mailing list, I am facing this problem in linux-2.4.1 :- RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize RAMDISK: Compressed image found at block 0 incomplete distance tree invalid compressed format (err=1)Freeing initrd memory: 4096k freed Is any body seen this problem earlier , any hint . But this ramdisk works fine with linux-2.2.12 . Thanks , Best Regards, Jaswinder. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 07:17:50
|
Dear Niibe-san, linux-sh and linuxsh-dev mailing list, I build srec file from vmlinux by :- sh-linux-gnu-objcopy vmlinux vmlinux.srec -O srec then i tranfer this srec file to my 7750 board by hyperterminal . then i gave the command :- Ready >g 8c002000 and i got :- ---General Registers------------------------------------------------ R0 =400000F0 R1 =00000000 R2 =00000000 R3 =00000000 R4 =00000000 R5 =00000000 R6 =00000000 R7 =8C0C6000 R8 =8C0C7F56 R9 =0000000F R10=000000F0 R11=0000000E R12=8C0BD0CC R13=8C0E2A6C R14=00000000 R15=8C0C7F44 R0_BANK=00000000 R1_BANK=8C00AAE0 R2_BANK=00000004 R3_BANK=00000034 R4_BANK=8C0C7F4B R5_BANK=0000000C R6_BANK=00000000 R7_BANK=00000000 ---Control Registers------------------------------------------------ SSR=400000F0 SPC=8C00AAE8 GBR=00000000 VBR=A0000000 SR =700000F0 MD RB BL M Q I S T =1 1 1 0 0 F 0 0 ---System Registers------------------------------------------------ MACH=00000000 MACL=00000000 PR =8C0086EA PC =8C00AAE8 this is pointing to sh-console-write . Dear Niibe-san your kernel depends on gdb-stub , is this right , kernel depends on stub :( I think kernel should be independent . How can i run your kernel by hyperterminal ? Thanks , Happy Hacking , Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list, > > I say no for "CONFIG_VT" in config > > and i replace (in arch/sh/vmlinux.lds.S) :- > > OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", > "elf32-sh-linux") > > with > OUTPUT_FORMAT("elf32-sh", "elf32-sh", "elf32-sh") > > in arch/sh/vmlinux.lds.S > > i got vmlinux. > > and one more thing i also replaced (in > arch/sh/Makefile):- > > ifdef CONFIG_CPU_SH4 > CFLAGS += -m4-nofpu > AFLAGS += -m4-nofpu > endif > > with > > ifdef CONFIG_CPU_SH4 > CFLAGS += -m4 > AFLAGS += -m4 > endif > > Thanks, > > Jaswinder. > > --- Jaswinder Singh <jas...@ya...> > wrote: > > Dear niibe-san , linux-sh and linuxsh-dev mailing > > list, > > > > I made some changes in arch/sh/lib/checksum.S > > > > old errors get resolved but now i am getting new > > errors :- > > > > sh-linux-gnu-ld -EL -T arch/sh/vmlinux.lds -e > _stext > > arch/sh/kernel/head.o arch/sh/kernel/init_task.o > > init/main.o init/version.o \ > > --start-group \ > > arch/sh/kernel/kernel.o arch/sh/mm/mm.o > > kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ > > drivers/block/block.o drivers/char/char.o > > drivers/misc/misc.o drivers/net/net.o > > drivers/media/media.o drivers/video/video.o \ > > net/network.o \ > > /home/jsrsh/linux/arch/sh/lib/lib.a > > /home/jsrsh/linux/lib/lib.a > > /home/jsrsh/linux/arch/sh/lib/lib.a > > > /opt/hardhat/devkit/sh/sh4/lib/gcc-lib/sh-linux-gnu/2.95.2/libgcc.a > > \ > > --end-group \ > > -o vmlinux > > drivers/char/char.o: In function `tty_open': > > drivers/char/char.o(.text+0x19ac): undefined > > reference > > to `fg_console' > > drivers/char/char.o: In function `tty_ioctl': > > drivers/char/char.o(.text+0x27a4): undefined > > reference > > to `tioclinux' > > drivers/char/char.o: In function `vt_ioctl': > > drivers/char/char.o(.text+0xa360): undefined > > reference > > to `vc_cons_allocated' > > drivers/char/char.o(.text+0xa924): undefined > > reference > > to `fg_console' > > drivers/char/char.o(.text+0xa928): undefined > > reference > > to `unblank_screen' > > drivers/char/char.o(.text+0xa92c): undefined > > reference > > to `do_blank_screen' > > drivers/char/char.o(.text+0xabf0): undefined > > reference > > to `key_maps' > > drivers/char/char.o(.text+0xac00): undefined > > reference > > to `keymap_count' > > drivers/char/char.o(.text+0xae84): undefined > > reference > > to `func_table' > > drivers/char/char.o(.text+0xae88): undefined > > reference > > to `funcbufsize' > > drivers/char/char.o(.text+0xae8c): undefined > > reference > > to `funcbufleft' > > drivers/char/char.o(.text+0xae90): undefined > > reference > > to `funcbufptr' > > drivers/char/char.o(.text+0xb00c): undefined > > reference > > to `funcbufleft' > > drivers/char/char.o(.text+0xb014): undefined > > reference > > to `func_table' > > drivers/char/char.o(.text+0xb018): undefined > > reference > > to `funcbufsize' > > drivers/char/char.o(.text+0xb020): undefined > > reference > > to `funcbufptr' > > drivers/char/char.o(.text+0xb024): undefined > > reference > > to `func_buf' > > drivers/char/char.o(.text+0xb238): undefined > > reference > > to `accent_table_size' > > drivers/char/char.o(.text+0xb23c): undefined > > reference > > to `accent_table' > > drivers/char/char.o(.text+0xb478): undefined > > reference > > to `fg_console' > > drivers/char/char.o(.text+0xb47c): undefined > > reference > > to `console_driver' > > drivers/char/char.o(.text+0xb5d0): undefined > > reference > > to `vc_allocate' > > drivers/char/char.o(.text+0xb5d4): undefined > > reference > > to `want_console' > > drivers/char/char.o(.text+0xb5d8): undefined > > reference > > to `console_tasklet' > > drivers/char/char.o(.text+0xb6e4): undefined > > reference > > to `console_driver' > > drivers/char/char.o(.text+0xb6e8): undefined > > reference > > to `fg_console' > > drivers/char/char.o(.text+0xb6f0): undefined > > reference > > to `vc_disallocate' > > drivers/char/char.o(.text+0xb6f4): undefined > > reference > > to `vc_resize' > > drivers/char/char.o(.text+0xb9b4): undefined > > reference > > to `vc_resize' > > drivers/char/char.o(.text+0xb9c0): undefined > > reference > > to `fg_console' > > drivers/char/char.o(.text+0xb9c4): undefined > > reference > > to `con_font_op' > > drivers/char/char.o(.text+0xb9c8): undefined > > reference > > to `con_set_cmap' > > drivers/char/char.o(.text+0xb9cc): undefined > > reference > > to `con_get_cmap' > > drivers/char/char.o(.text+0xbacc): undefined > > reference > > to `fg_console' > > drivers/char/char.o(.text+0xbad0): undefined > > reference > > to `con_font_op' > > drivers/char/char.o(.text+0xbda0): undefined > > reference > > to `con_font_op' > > drivers/char/char.o(.text+0xbdb4): undefined > > reference > > to `fg_console' > > drivers/char/char.o: In function `vt_waitactive': > > drivers/char/char.o(.text+0xbeb0): undefined > > reference > > to `fg_console' > > drivers/char/char.o: In function `reset_vc': > > drivers/char/char.o(.text+0xbf20): undefined > > reference > > to `reset_palette' > > drivers/char/char.o: In function > > `complete_change_console': > > drivers/char/char.o(.text+0xbfdc): undefined > > reference > > to `last_console' > > drivers/char/char.o(.text+0xbfe0): undefined > > reference > > to `fg_console' > > drivers/char/char.o(.text+0xbfe8): undefined > > reference > > to `redraw_screen' > > drivers/char/char.o(.text+0xbff4): undefined > > reference > > to `unblank_screen' > === message truncated ===> /* > * Automatically generated C config: don't edit > */ > #define AUTOCONF_INCLUDED > #define CONFIG_SUPERH 1 > #define CONFIG_UID16 1 > > /* > * Code maturity level options > */ > #define CONFIG_EXPERIMENTAL 1 > > /* > * Loadable module support > */ > #undef CONFIG_MODULES > > /* > * Processor type and features > */ > #undef CONFIG_SH_GENERIC > #define CONFIG_SH_SOLUTION_ENGINE 1 > #undef CONFIG_SH_OVERDRIVE > #undef CONFIG_SH_HP620 > #undef CONFIG_SH_HP680 > #undef CONFIG_SH_HP690 > #undef CONFIG_SH_CQREEK > #undef CONFIG_SH_DMIDA > #undef CONFIG_SH_EC3104 > #undef CONFIG_SH_DREAMCAST > #undef CONFIG_SH_UNKNOWN > #define CONFIG_SH_RTC 1 > #undef CONFIG_CPU_SUBTYPE_SH7707 > #undef CONFIG_CPU_SUBTYPE_SH7708 > #undef CONFIG_CPU_SUBTYPE_SH7709 > #define CONFIG_CPU_SUBTYPE_SH7750 1 > #undef CONFIG_CPU_SH3 > #define CONFIG_CPU_SH4 1 > #define CONFIG_CPU_LITTLE_ENDIAN 1 > #define CONFIG_MEMORY_START 0x0c000000 > > /* > * General setup > */ > #define CONFIG_ISA 1 > #undef CONFIG_EISA > #undef CONFIG_MCA > #undef CONFIG_SBUS > #define CONFIG_NET 1 > #undef CONFIG_CF_ENABLER > #undef CONFIG_HD64461 > #undef CONFIG_HD64465 > #undef CONFIG_PCI > #undef CONFIG_HOTPLUG > #undef CONFIG_PCMCIA > #define CONFIG_SYSVIPC 1 > #undef CONFIG_BSD_PROCESS_ACCT > #define CONFIG_SYSCTL 1 > #define CONFIG_KCORE_ELF 1 > #undef CONFIG_KCORE_AOUT > #define CONFIG_BINFMT_ELF 1 > #undef CONFIG_BINFMT_MISC > > /* > * Parallel port support > */ > #undef CONFIG_PARPORT > > /* > * Memory Technology Devices (MTD) > */ > #undef CONFIG_MTD > > /* > * Block devices > */ > #undef CONFIG_BLK_DEV_FD > #undef CONFIG_BLK_DEV_XD > #undef CONFIG_PARIDE > #undef CONFIG_BLK_CPQ_DA > #undef CONFIG_BLK_CPQ_CISS_DA > #undef CONFIG_BLK_DEV_DAC960 > #undef CONFIG_BLK_DEV_LOOP > #undef CONFIG_BLK_DEV_NBD > #define CONFIG_BLK_DEV_RAM 1 > #define CONFIG_BLK_DEV_RAM_SIZE (4096) > #define CONFIG_BLK_DEV_INITRD 1 > > /* > * Multi-device support (RAID and LVM) > */ > #undef CONFIG_MD > #undef CONFIG_BLK_DEV_MD > #undef CONFIG_MD_LINEAR > #undef CONFIG_MD_RAID0 > #undef CONFIG_MD_RAID1 > #undef CONFIG_MD_RAID5 > #undef CONFIG_BLK_DEV_LVM > > /* > * Networking options > */ > #undef CONFIG_PACKET > #undef CONFIG_NETLINK > #undef CONFIG_NETFILTER > #undef CONFIG_FILTER > #define CONFIG_UNIX 1 > #define CONFIG_INET 1 > #undef CONFIG_IP_MULTICAST > #undef CONFIG_IP_ADVANCED_ROUTER > #undef CONFIG_IP_PNP > #undef CONFIG_NET_IPIP > #undef CONFIG_NET_IPGRE > #undef CONFIG_INET_ECN > #undef CONFIG_SYN_COOKIES > #undef CONFIG_IPV6 > #undef CONFIG_KHTTPD > #undef CONFIG_ATM > > /* > * > */ > #undef CONFIG_IPX > #undef CONFIG_ATALK > #undef CONFIG_DECNET > #undef CONFIG_BRIDGE > #undef CONFIG_X25 > #undef CONFIG_LAPB > #undef CONFIG_LLC > #undef CONFIG_NET_DIVERT > #undef CONFIG_ECONET > #undef CONFIG_WAN_ROUTER > #undef CONFIG_NET_FASTROUTE > #undef CONFIG_NET_HW_FLOWCONTROL > > /* > * QoS and/or fair queueing > */ > #undef CONFIG_NET_SCHED > > /* > * ATA/IDE/MFM/RLL support > */ > #undef CONFIG_IDE > #undef CONFIG_BLK_DEV_IDE_MODES > #undef CONFIG_BLK_DEV_HD > > /* > * SCSI support > */ > #undef CONFIG_SCSI > > /* > * Network device support > */ > #define CONFIG_NETDEVICES 1 > > /* > * ARCnet devices > */ > #undef CONFIG_ARCNET > #undef CONFIG_DUMMY > #undef CONFIG_BONDING > #undef CONFIG_EQUALIZER > #undef CONFIG_TUN > #undef CONFIG_NET_SB1000 > > /* > * Ethernet (10 or 100Mbit) > */ > #define CONFIG_NET_ETHERNET 1 > #define CONFIG_STNIC 1 > #undef CONFIG_NET_VENDOR_3COM > #undef CONFIG_LANCE > #undef CONFIG_NET_VENDOR_SMC > #undef CONFIG_NET_VENDOR_RACAL > #undef CONFIG_AT1700 > #undef CONFIG_DEPCA > #undef CONFIG_HP100 > #undef CONFIG_NET_ISA > #undef CONFIG_NET_PCI > #undef CONFIG_NET_POCKET > > /* > * Ethernet (1000 Mbit) > */ > #undef CONFIG_ACENIC > #undef CONFIG_HAMACHI > #undef CONFIG_YELLOWFIN > #undef CONFIG_SK98LIN > #undef CONFIG_FDDI > #undef CONFIG_HIPPI > #undef CONFIG_PPP > #undef CONFIG_SLIP > > /* > * Wireless LAN (non-hamradio) > */ > #undef CONFIG_NET_RADIO > > /* > === message truncated ===> # $Id: Makefile,v 1.6 2000/06/10 03:03:52 gniibe Exp > $ > # > # This file is subject to the terms and conditions > of the GNU General Public > # License. See the file "COPYING" in the main > directory of this archive > # for more details. > # > # Copyright (C) 1999 Kaz Kojima > # > # This file is included by the global makefile so > that you can add your own > # architecture-specific flags and dependencies. > Remember to do have actions > # for "archclean" and "archdep" for cleaning up and > making dependencies for > # this architecture > # > > # > # Select the object file format to substitute into > the linker script. > # > tool_prefix = sh-linux-gnu- > > ifdef CONFIG_CPU_LITTLE_ENDIAN > CFLAGS += -ml > AFLAGS += -ml > # LINKFLAGS += -EL > LDFLAGS := -EL > else > CFLAGS += -mb > AFLAGS += -mb > # LINKFLAGS += -EB > LDFLAGS := -EB > endif > > # ifdef CONFIG_CROSSCOMPILE > CROSS_COMPILE = $(tool_prefix) > # endif > > LD =$(CROSS_COMPILE)ld $(LDFLAGS) > OBJCOPY=$(CROSS_COMPILE)objcopy -O binary -R .note > -R .comment -R .stab -R .stabstr -S > > MODFLAGS += > > # > # > > ifdef CONFIG_CPU_SH3 > CFLAGS += -m3 > AFLAGS += -m3 > endif > ifdef CONFIG_CPU_SH4 > CFLAGS += -m4 > AFLAGS += -m4 > endif > > # > # Choosing incompatible machines durings > configuration will result in > # error messages during linking. Select a default > linkscript if > # none has been choosen above. > # > LINKSCRIPT = arch/sh/vmlinux.lds > LINKFLAGS += -T $(word 1,$(LINKSCRIPT)) -e > _stext > > ifdef LOADADDR > LINKFLAGS += -Ttext $(word 1,$(LOADADDR)) > endif > > # > CFLAGS += -pipe > > HEAD := arch/sh/kernel/head.o > arch/sh/kernel/init_task.o > > SUBDIRS := $(SUBDIRS) $(addprefix arch/sh/, kernel > mm lib) > CORE_FILES := arch/sh/kernel/kernel.o > arch/sh/mm/mm.o $(CORE_FILES) > LIBGCC := $(shell $(CC) $(CFLAGS) > -print-libgcc-file-name) > LIBS := $(TOPDIR)/arch/sh/lib/lib.a $(LIBS) > $(TOPDIR)/arch/sh/lib/lib.a \ > $(LIBGCC) > > MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot > > vmlinux: arch/sh/vmlinux.lds > > arch/sh/vmlinux.lds: arch/sh/vmlinux.lds.S FORCE > $(CPP) -traditional -C -P -I$(HPATH) -Ush > arch/sh/vmlinux.lds.S >arch/sh/vmlinux.lds > > FORCE: ; > > zImage: vmlinux > @$(MAKEBOOT) zImage > > compressed: zImage > > zdisk: vmlinux > @$(MAKEBOOT) zdisk > > archclean: > @$(MAKEBOOT) clean > $(MAKE) -C arch/$(ARCH)/kernel clean > # $(MAKE) -C arch/$(ARCH)/tools clean > > archmrproper: > rm -f arch/sh/vmlinux.lds > > archdep: > @$(MAKEBOOT) dep > > ATTACHMENT part 4 application/octet-stream name=vmlinux.lds.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 04:36:10
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I say no for "CONFIG_VT" in config and i replace (in arch/sh/vmlinux.lds.S) :- OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux") with OUTPUT_FORMAT("elf32-sh", "elf32-sh", "elf32-sh") in arch/sh/vmlinux.lds.S i got vmlinux. and one more thing i also replaced (in arch/sh/Makefile):- ifdef CONFIG_CPU_SH4 CFLAGS += -m4-nofpu AFLAGS += -m4-nofpu endif with ifdef CONFIG_CPU_SH4 CFLAGS += -m4 AFLAGS += -m4 endif Thanks, Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list, > > I made some changes in arch/sh/lib/checksum.S > > old errors get resolved but now i am getting new > errors :- > > sh-linux-gnu-ld -EL -T arch/sh/vmlinux.lds -e _stext > arch/sh/kernel/head.o arch/sh/kernel/init_task.o > init/main.o init/version.o \ > --start-group \ > arch/sh/kernel/kernel.o arch/sh/mm/mm.o > kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ > drivers/block/block.o drivers/char/char.o > drivers/misc/misc.o drivers/net/net.o > drivers/media/media.o drivers/video/video.o \ > net/network.o \ > /home/jsrsh/linux/arch/sh/lib/lib.a > /home/jsrsh/linux/lib/lib.a > /home/jsrsh/linux/arch/sh/lib/lib.a > /opt/hardhat/devkit/sh/sh4/lib/gcc-lib/sh-linux-gnu/2.95.2/libgcc.a > \ > --end-group \ > -o vmlinux > drivers/char/char.o: In function `tty_open': > drivers/char/char.o(.text+0x19ac): undefined > reference > to `fg_console' > drivers/char/char.o: In function `tty_ioctl': > drivers/char/char.o(.text+0x27a4): undefined > reference > to `tioclinux' > drivers/char/char.o: In function `vt_ioctl': > drivers/char/char.o(.text+0xa360): undefined > reference > to `vc_cons_allocated' > drivers/char/char.o(.text+0xa924): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xa928): undefined > reference > to `unblank_screen' > drivers/char/char.o(.text+0xa92c): undefined > reference > to `do_blank_screen' > drivers/char/char.o(.text+0xabf0): undefined > reference > to `key_maps' > drivers/char/char.o(.text+0xac00): undefined > reference > to `keymap_count' > drivers/char/char.o(.text+0xae84): undefined > reference > to `func_table' > drivers/char/char.o(.text+0xae88): undefined > reference > to `funcbufsize' > drivers/char/char.o(.text+0xae8c): undefined > reference > to `funcbufleft' > drivers/char/char.o(.text+0xae90): undefined > reference > to `funcbufptr' > drivers/char/char.o(.text+0xb00c): undefined > reference > to `funcbufleft' > drivers/char/char.o(.text+0xb014): undefined > reference > to `func_table' > drivers/char/char.o(.text+0xb018): undefined > reference > to `funcbufsize' > drivers/char/char.o(.text+0xb020): undefined > reference > to `funcbufptr' > drivers/char/char.o(.text+0xb024): undefined > reference > to `func_buf' > drivers/char/char.o(.text+0xb238): undefined > reference > to `accent_table_size' > drivers/char/char.o(.text+0xb23c): undefined > reference > to `accent_table' > drivers/char/char.o(.text+0xb478): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xb47c): undefined > reference > to `console_driver' > drivers/char/char.o(.text+0xb5d0): undefined > reference > to `vc_allocate' > drivers/char/char.o(.text+0xb5d4): undefined > reference > to `want_console' > drivers/char/char.o(.text+0xb5d8): undefined > reference > to `console_tasklet' > drivers/char/char.o(.text+0xb6e4): undefined > reference > to `console_driver' > drivers/char/char.o(.text+0xb6e8): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xb6f0): undefined > reference > to `vc_disallocate' > drivers/char/char.o(.text+0xb6f4): undefined > reference > to `vc_resize' > drivers/char/char.o(.text+0xb9b4): undefined > reference > to `vc_resize' > drivers/char/char.o(.text+0xb9c0): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xb9c4): undefined > reference > to `con_font_op' > drivers/char/char.o(.text+0xb9c8): undefined > reference > to `con_set_cmap' > drivers/char/char.o(.text+0xb9cc): undefined > reference > to `con_get_cmap' > drivers/char/char.o(.text+0xbacc): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xbad0): undefined > reference > to `con_font_op' > drivers/char/char.o(.text+0xbda0): undefined > reference > to `con_font_op' > drivers/char/char.o(.text+0xbdb4): undefined > reference > to `fg_console' > drivers/char/char.o: In function `vt_waitactive': > drivers/char/char.o(.text+0xbeb0): undefined > reference > to `fg_console' > drivers/char/char.o: In function `reset_vc': > drivers/char/char.o(.text+0xbf20): undefined > reference > to `reset_palette' > drivers/char/char.o: In function > `complete_change_console': > drivers/char/char.o(.text+0xbfdc): undefined > reference > to `last_console' > drivers/char/char.o(.text+0xbfe0): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xbfe8): undefined > reference > to `redraw_screen' > drivers/char/char.o(.text+0xbff4): undefined > reference > to `unblank_screen' > drivers/char/char.o(.text+0xbff8): undefined > reference > to `do_blank_screen' > drivers/char/char.o: In function `change_console': > drivers/char/char.o(.text+0xc09c): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xc0a4): undefined > reference > to `vc_cons_allocated' > drivers/char/char.o: In function `vcs_size': > drivers/char/char.o(.text+0xc118): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xc11c): undefined > reference > to `vc_cons_allocated' > drivers/char/char.o(.text+0xc120): undefined > reference > to `vc_cons' > drivers/char/char.o: In function `vcs_read': > drivers/char/char.o(.text+0xc3d4): undefined > reference > to `con_buf_sem' > drivers/char/char.o(.text+0xc3dc): undefined > reference > to `fg_console' > drivers/char/char.o(.text+0xc3e0): undefined > reference > to `vc_cons_allocated' > drivers/char/char.o(.text+0xc3e4): undefined > reference > to `con_buf' > drivers/char/char.o(.text+0xc3e8): undefined > reference > to `vc_cons' > drivers/char/char.o(.text+0xc3ec): undefined > reference > to `screen_pos' > drivers/char/char.o(.text+0xc3f4): undefined > reference > === message truncated === > ATTACHMENT part 2 application/octet-stream name=checksum.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 04:20:35
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I made some changes in arch/sh/lib/checksum.S old errors get resolved but now i am getting new errors :- sh-linux-gnu-ld -EL -T arch/sh/vmlinux.lds -e _stext arch/sh/kernel/head.o arch/sh/kernel/init_task.o init/main.o init/version.o \ --start-group \ arch/sh/kernel/kernel.o arch/sh/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/video/video.o \ net/network.o \ /home/jsrsh/linux/arch/sh/lib/lib.a /home/jsrsh/linux/lib/lib.a /home/jsrsh/linux/arch/sh/lib/lib.a /opt/hardhat/devkit/sh/sh4/lib/gcc-lib/sh-linux-gnu/2.95.2/libgcc.a \ --end-group \ -o vmlinux drivers/char/char.o: In function `tty_open': drivers/char/char.o(.text+0x19ac): undefined reference to `fg_console' drivers/char/char.o: In function `tty_ioctl': drivers/char/char.o(.text+0x27a4): undefined reference to `tioclinux' drivers/char/char.o: In function `vt_ioctl': drivers/char/char.o(.text+0xa360): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xa924): undefined reference to `fg_console' drivers/char/char.o(.text+0xa928): undefined reference to `unblank_screen' drivers/char/char.o(.text+0xa92c): undefined reference to `do_blank_screen' drivers/char/char.o(.text+0xabf0): undefined reference to `key_maps' drivers/char/char.o(.text+0xac00): undefined reference to `keymap_count' drivers/char/char.o(.text+0xae84): undefined reference to `func_table' drivers/char/char.o(.text+0xae88): undefined reference to `funcbufsize' drivers/char/char.o(.text+0xae8c): undefined reference to `funcbufleft' drivers/char/char.o(.text+0xae90): undefined reference to `funcbufptr' drivers/char/char.o(.text+0xb00c): undefined reference to `funcbufleft' drivers/char/char.o(.text+0xb014): undefined reference to `func_table' drivers/char/char.o(.text+0xb018): undefined reference to `funcbufsize' drivers/char/char.o(.text+0xb020): undefined reference to `funcbufptr' drivers/char/char.o(.text+0xb024): undefined reference to `func_buf' drivers/char/char.o(.text+0xb238): undefined reference to `accent_table_size' drivers/char/char.o(.text+0xb23c): undefined reference to `accent_table' drivers/char/char.o(.text+0xb478): undefined reference to `fg_console' drivers/char/char.o(.text+0xb47c): undefined reference to `console_driver' drivers/char/char.o(.text+0xb5d0): undefined reference to `vc_allocate' drivers/char/char.o(.text+0xb5d4): undefined reference to `want_console' drivers/char/char.o(.text+0xb5d8): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xb6e4): undefined reference to `console_driver' drivers/char/char.o(.text+0xb6e8): undefined reference to `fg_console' drivers/char/char.o(.text+0xb6f0): undefined reference to `vc_disallocate' drivers/char/char.o(.text+0xb6f4): undefined reference to `vc_resize' drivers/char/char.o(.text+0xb9b4): undefined reference to `vc_resize' drivers/char/char.o(.text+0xb9c0): undefined reference to `fg_console' drivers/char/char.o(.text+0xb9c4): undefined reference to `con_font_op' drivers/char/char.o(.text+0xb9c8): undefined reference to `con_set_cmap' drivers/char/char.o(.text+0xb9cc): undefined reference to `con_get_cmap' drivers/char/char.o(.text+0xbacc): undefined reference to `fg_console' drivers/char/char.o(.text+0xbad0): undefined reference to `con_font_op' drivers/char/char.o(.text+0xbda0): undefined reference to `con_font_op' drivers/char/char.o(.text+0xbdb4): undefined reference to `fg_console' drivers/char/char.o: In function `vt_waitactive': drivers/char/char.o(.text+0xbeb0): undefined reference to `fg_console' drivers/char/char.o: In function `reset_vc': drivers/char/char.o(.text+0xbf20): undefined reference to `reset_palette' drivers/char/char.o: In function `complete_change_console': drivers/char/char.o(.text+0xbfdc): undefined reference to `last_console' drivers/char/char.o(.text+0xbfe0): undefined reference to `fg_console' drivers/char/char.o(.text+0xbfe8): undefined reference to `redraw_screen' drivers/char/char.o(.text+0xbff4): undefined reference to `unblank_screen' drivers/char/char.o(.text+0xbff8): undefined reference to `do_blank_screen' drivers/char/char.o: In function `change_console': drivers/char/char.o(.text+0xc09c): undefined reference to `fg_console' drivers/char/char.o(.text+0xc0a4): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `vcs_size': drivers/char/char.o(.text+0xc118): undefined reference to `fg_console' drivers/char/char.o(.text+0xc11c): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xc120): undefined reference to `vc_cons' drivers/char/char.o: In function `vcs_read': drivers/char/char.o(.text+0xc3d4): undefined reference to `con_buf_sem' drivers/char/char.o(.text+0xc3dc): undefined reference to `fg_console' drivers/char/char.o(.text+0xc3e0): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xc3e4): undefined reference to `con_buf' drivers/char/char.o(.text+0xc3e8): undefined reference to `vc_cons' drivers/char/char.o(.text+0xc3ec): undefined reference to `screen_pos' drivers/char/char.o(.text+0xc3f4): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xc3f8): undefined reference to `getconsxy' drivers/char/char.o(.text+0xc5c4): undefined reference to `screen_pos' drivers/char/char.o(.text+0xc5c8): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xc5d0): undefined reference to `con_buf_sem' drivers/char/char.o: In function `vcs_write': drivers/char/char.o(.text+0xc704): undefined reference to `con_buf_sem' drivers/char/char.o(.text+0xc70c): undefined reference to `fg_console' drivers/char/char.o(.text+0xc710): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xc718): undefined reference to `con_buf' drivers/char/char.o(.text+0xc7dc): undefined reference to `vc_cons' drivers/char/char.o(.text+0xc7e0): undefined reference to `screen_pos' drivers/char/char.o(.text+0xc7e8): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xc7ec): undefined reference to `vcs_scr_writew' drivers/char/char.o(.text+0xca08): undefined reference to `getconsxy' drivers/char/char.o(.text+0xca0c): undefined reference to `putconsxy' drivers/char/char.o(.text+0xca10): undefined reference to `screen_pos' drivers/char/char.o(.text+0xca14): undefined reference to `vcs_scr_readw' drivers/char/char.o(.text+0xca18): undefined reference to `vcs_scr_writew' drivers/char/char.o(.text+0xca20): undefined reference to `update_region' drivers/char/char.o(.text+0xca24): undefined reference to `con_buf_sem' drivers/char/char.o: In function `vcs_open': drivers/char/char.o(.text+0xca64): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `update_user_maps': drivers/char/char.o(.text+0xcc3c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xcc44): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `con_get_trans_old': drivers/char/char.o(.text+0xcd3c): undefined reference to `fg_console' drivers/char/char.o(.text+0xcd48): undefined reference to `vc_cons' drivers/char/char.o: In function `con_free_unimap': drivers/char/char.o(.text+0xcefc): undefined reference to `vc_cons' drivers/char/char.o: In function `con_unify_unimap': drivers/char/char.o(.text+0xd04c): undefined reference to `vc_cons_allocated' drivers/char/char.o(.text+0xd050): undefined reference to `vc_cons' drivers/char/char.o: In function `con_clear_unimap': drivers/char/char.o(.text+0xd1c8): undefined reference to `vc_cons' drivers/char/char.o: In function `con_set_unimap': drivers/char/char.o(.text+0xd328): undefined reference to `vc_cons' drivers/char/char.o: In function `con_set_default_unimap': drivers/char/char.o(.text+0xd4dc): undefined reference to `vc_cons' drivers/char/char.o: In function `con_copy_unimap': drivers/char/char.o(.text+0xd58c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xd590): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `con_get_unimap': drivers/char/char.o(.text+0xd664): undefined reference to `vc_cons' drivers/char/char.o: In function `con_protect_unimap': drivers/char/char.o(.text+0xd69c): undefined reference to `vc_cons' drivers/char/char.o: In function `sel_pos': drivers/char/char.o(.text+0xd78c): undefined reference to `screen_glyph' drivers/char/char.o(.text+0xd790): undefined reference to `vc_cons' drivers/char/char.o: In function `clear_selection': drivers/char/char.o(.text+0xd7d8): undefined reference to `complement_pos' drivers/char/char.o(.text+0xd7e8): undefined reference to `invert_screen' drivers/char/char.o: In function `set_selection': drivers/char/char.o(.text+0xdb00): undefined reference to `unblank_screen' drivers/char/char.o(.text+0xdb04): undefined reference to `fg_console' drivers/char/char.o(.text+0xdb08): undefined reference to `poke_blanked_console' drivers/char/char.o(.text+0xdb0c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xdb14): undefined reference to `mouse_reporting' drivers/char/char.o(.text+0xdb18): undefined reference to `mouse_report' drivers/char/char.o(.text+0xdb20): undefined reference to `complement_pos' drivers/char/char.o(.text+0xde6c): undefined reference to `vc_cons' drivers/char/char.o(.text+0xde74): undefined reference to `complement_pos' drivers/char/char.o(.text+0xde88): undefined reference to `invert_screen' drivers/char/char.o: In function `paste_selection': drivers/char/char.o(.text+0xdfb4): undefined reference to `poke_blanked_console' drivers/char/char.o: In function `handle_scancode': drivers/char/char.o(.text+0xe224): undefined reference to `do_poke_blanked_console' drivers/char/char.o(.text+0xe228): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xe240): undefined reference to `fg_console' drivers/char/char.o(.text+0xe3fc): undefined reference to `key_maps' drivers/char/char.o: In function `put_queue': drivers/char/char.o(.text+0xe53c): undefined reference to `con_task_queue' drivers/char/char.o(.text+0xe540): undefined reference to `console_tasklet' drivers/char/char.o: In function `puts_queue': drivers/char/char.o(.text+0xe694): undefined reference to `con_task_queue' drivers/char/char.o(.text+0xe698): undefined reference to `console_tasklet' drivers/char/char.o: In function `lastcons': drivers/char/char.o(.text+0xe950): undefined reference to `last_console' drivers/char/char.o(.text+0xe954): undefined reference to `want_console' drivers/char/char.o(.text+0xe958): undefined reference to `console_tasklet' drivers/char/char.o: In function `decr_console': drivers/char/char.o(.text+0xea2c): undefined reference to `fg_console' drivers/char/char.o(.text+0xea30): undefined reference to `want_console' drivers/char/char.o(.text+0xea34): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xea38): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `incr_console': drivers/char/char.o(.text+0xeb0c): undefined reference to `fg_console' drivers/char/char.o(.text+0xeb10): undefined reference to `want_console' drivers/char/char.o(.text+0xeb14): undefined reference to `console_tasklet' drivers/char/char.o(.text+0xeb18): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `send_intr': drivers/char/char.o(.text+0xec44): undefined reference to `con_task_queue' drivers/char/char.o(.text+0xec48): undefined reference to `console_tasklet' drivers/char/char.o: In function `scroll_forw': drivers/char/char.o(.text+0xec70): undefined reference to `scrollfront' drivers/char/char.o: In function `scroll_back': drivers/char/char.o(.text+0xec90): undefined reference to `scrollback' drivers/char/char.o: In function `SAK': drivers/char/char.o(.text+0xed44): undefined reference to `fg_console' drivers/char/char.o: In function `handle_diacr': drivers/char/char.o(.text+0xef74): undefined reference to `accent_table_size' drivers/char/char.o(.text+0xef78): undefined reference to `accent_table' drivers/char/char.o: In function `do_cons': drivers/char/char.o(.text+0xeff4): undefined reference to `want_console' drivers/char/char.o(.text+0xeff8): undefined reference to `console_tasklet' drivers/char/char.o: In function `do_fn': drivers/char/char.o(.text+0xf040): undefined reference to `func_table' drivers/char/char.o: In function `compute_shiftstate': drivers/char/char.o(.text+0xf4c4): undefined reference to `plain_map' drivers/char/char.o: In function `do_slock': drivers/char/char.o(.text+0xf62c): undefined reference to `key_maps' drivers/char/char.o: In function `kbd_bh': drivers/char/char.o(.text+0xf808): undefined reference to `fg_console' drivers/char/char.o: In function `console_init': drivers/char/char.o(.text.init+0x84): undefined reference to `con_init' drivers/char/char.o: In function `tty_init': drivers/char/char.o(.text.init+0x1cc): undefined reference to `con_init_devfs' drivers/char/char.o: In function `console_map_init': drivers/char/char.o(.text.init+0x6ec): undefined reference to `vc_cons' drivers/char/char.o(.text.init+0x6f4): undefined reference to `vc_cons_allocated' drivers/char/char.o: In function `kbd_init': drivers/char/char.o(.text.init+0x81c): undefined reference to `console_driver' make: *** [vmlinux] Error 1 Thanks , Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list, > > I made some changes in arch/sh/lib/memmove.S > > old errors get resolved but now i am getting new > errors :- > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > -I/home/jsrsh/linux/include -ml -m4 -c -o > checksum.o > checksum.S > checksum.S:73: unterminated character constant > checksum.S:121: unterminated character constant > checksum.S:166: warning: invalid character in macro > parameter name > checksum.S:166: badly punctuated parameter list in > `#define' > checksum.S:172: warning: invalid character in macro > parameter name > checksum.S:172: badly punctuated parameter list in > `#define' > make[2]: *** [checksum.o] Error 1 > make[2]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make[1]: *** [first_rule] Error 2 > make[1]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make: *** [_dir_arch/sh/lib] Error 2 > > Thanks , > > Jaswinder. > > --- Jaswinder Singh <jas...@ya...> > wrote: > > Dear niibe-san , linux-sh and linuxsh-dev mailing > > list, > > > > I made some changes in arch/sh/lib/memset.S > > > > old errors get resolved but now i am getting new > > errors :- > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > memmove.o > > memmove.S > > memmove.S:32: unterminated character constant > > make[2]: *** [memmove.o] Error 1 > > make[2]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make[1]: *** [first_rule] Error 2 > > make[1]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make: *** [_dir_arch/sh/lib] Error 2 > > > > Thanks , > > > > Jaswinder. > > > > --- Jaswinder Singh <jas...@ya...> > > wrote: > > > Dear niibe-san , linux-sh and linuxsh-dev > mailing > > > list, > > > > > > I made some changes in arch/sh/lib/memcpy.S > > > > > > old errors get resolved but now i am getting new > > > errors :- > > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > memset.o > > > memset.S > > > memset.S:21: unterminated character constant > > > memset.S:25: unterminated character constant > > > make[2]: *** [memset.o] Error 1 > > > make[2]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/lib' > > > make[1]: *** [first_rule] Error 2 > > > make[1]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/lib' > > > make: *** [_dir_arch/sh/lib] Error 2 > > > > > > Thanks, > > > > > > Jaswinder. > > > > > > --- Jaswinder Singh <jas...@ya...> > > > wrote: > > > > Dear niibe-san , linux-sh and linuxsh-dev > > mailing > > > > list, > > > > > > > > I made some changes in include/asm-sh/rtc.h > and > > > > arch/sh/kernel/time.c > > > > > > > > old errors get resolved but now i am getting > new > > > > errors :- > > > > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > > memcpy.o > > > > memcpy.S > > > > memcpy.S:23: unterminated character constant > > > > make[2]: *** [memcpy.o] Error 1 > > > > make[2]: Leaving directory > > > > `/home/jsrsh/linux/arch/sh/lib' > > > > make[1]: *** [first_rule] Error 2 > > > > make[1]: Leaving directory > > > > `/home/jsrsh/linux/arch/sh/lib' > > > > make: *** [_dir_arch/sh/lib] Error 2 > > > > > > > > Thanks , > > > > > > > > Jaswinder. > > > > > > > > > > > > > > > > > > > > --- Jaswinder Singh > <jas...@ya...> > > > > wrote: > > > > > Dear niibe-san , linux-sh and linuxsh-dev > > > mailing > > > > > list > > > > > :) > > > > > > > > > > By commenting comments in entry.S old errors > > are > > > > > resolved ,but now i am getting new errors :- > > > > > > > > > > sh-linux-gnu-gcc -D__KERNEL__ > > > > > -I/home/jsrsh/linux/include -Wall > > > > > -Wstrict-prototypes > > > > > -O2 -fomit-frame-pointer > -fno-strict-aliasing > > > -ml > > > > > -m4 > > > > > -pipe -c -o time.o time.c > > > > > In file included from > > > > > /home/jsrsh/linux/include/linux/fs.h:632, > > > > > from > > > > > > > /home/jsrsh/linux/include/linux/capability.h:17, > > > > > from > > > > > /home/jsrsh/linux/include/linux/binfmts.h:5, > > > > > from > > > > > /home/jsrsh/linux/include/linux/sched.h:9, > > > > > from time.c:14: > > > > > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:21: > > > > > warning: ignoring pragma: pack > > > > > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:76: > > > > > warning: ignoring pragma: pack > > > > > time.c: In function `do_timer_interrupt': > > > > > time.c:194: structure has no member named > > > > > `mv_rtc_settimeofday' > > > > > time.c: In function `get_timer_frequency': > > > > > time.c:243: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > time.c:246: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > time.c:253: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > time.c: In function `time_init': > > > > > time.c:294: structure has no member named > > > > > `mv_rtc_gettimeofday' > > > > > make[1]: *** [time.o] Error 1 > > > > > make[1]: Leaving directory > > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > > > > > > > I am enclosing my changed entry.S > > > > > > > > > > Thanks for your help , > > > > > > > > > > Best Regards, > > > > > > > > > > Jaswinder. > > > > > > > > > > --- Jaswinder Singh > > <jas...@ya...> > > > > > wrote: > > > > > > Dear Niibe-san , linux-sh and linuxsh-dev, > > > > > > > > > > > > I am trying to build linux-2.4.1 kernel > with > > > > > > sh-linux-gnu toolchain . > > > > > > > > > > > > But i am getting followings errors :- > > > > > > > > > > > > make[1]: Entering directory > > > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ > -D__KERNEL__ > === message truncated === > ATTACHMENT part 2 application/octet-stream name=memmove.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 03:55:45
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I made some changes in arch/sh/lib/memmove.S old errors get resolved but now i am getting new errors :- sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/jsrsh/linux/include -ml -m4 -c -o checksum.o checksum.S checksum.S:73: unterminated character constant checksum.S:121: unterminated character constant checksum.S:166: warning: invalid character in macro parameter name checksum.S:166: badly punctuated parameter list in `#define' checksum.S:172: warning: invalid character in macro parameter name checksum.S:172: badly punctuated parameter list in `#define' make[2]: *** [checksum.o] Error 1 make[2]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make: *** [_dir_arch/sh/lib] Error 2 Thanks , Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list, > > I made some changes in arch/sh/lib/memset.S > > old errors get resolved but now i am getting new > errors :- > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > -I/home/jsrsh/linux/include -ml -m4 -c -o > memmove.o > memmove.S > memmove.S:32: unterminated character constant > make[2]: *** [memmove.o] Error 1 > make[2]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make[1]: *** [first_rule] Error 2 > make[1]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make: *** [_dir_arch/sh/lib] Error 2 > > Thanks , > > Jaswinder. > > --- Jaswinder Singh <jas...@ya...> > wrote: > > Dear niibe-san , linux-sh and linuxsh-dev mailing > > list, > > > > I made some changes in arch/sh/lib/memcpy.S > > > > old errors get resolved but now i am getting new > > errors :- > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > -I/home/jsrsh/linux/include -ml -m4 -c -o > memset.o > > memset.S > > memset.S:21: unterminated character constant > > memset.S:25: unterminated character constant > > make[2]: *** [memset.o] Error 1 > > make[2]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make[1]: *** [first_rule] Error 2 > > make[1]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make: *** [_dir_arch/sh/lib] Error 2 > > > > Thanks, > > > > Jaswinder. > > > > --- Jaswinder Singh <jas...@ya...> > > wrote: > > > Dear niibe-san , linux-sh and linuxsh-dev > mailing > > > list, > > > > > > I made some changes in include/asm-sh/rtc.h and > > > arch/sh/kernel/time.c > > > > > > old errors get resolved but now i am getting new > > > errors :- > > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > memcpy.o > > > memcpy.S > > > memcpy.S:23: unterminated character constant > > > make[2]: *** [memcpy.o] Error 1 > > > make[2]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/lib' > > > make[1]: *** [first_rule] Error 2 > > > make[1]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/lib' > > > make: *** [_dir_arch/sh/lib] Error 2 > > > > > > Thanks , > > > > > > Jaswinder. > > > > > > > > > > > > > > > --- Jaswinder Singh <jas...@ya...> > > > wrote: > > > > Dear niibe-san , linux-sh and linuxsh-dev > > mailing > > > > list > > > > :) > > > > > > > > By commenting comments in entry.S old errors > are > > > > resolved ,but now i am getting new errors :- > > > > > > > > sh-linux-gnu-gcc -D__KERNEL__ > > > > -I/home/jsrsh/linux/include -Wall > > > > -Wstrict-prototypes > > > > -O2 -fomit-frame-pointer -fno-strict-aliasing > > -ml > > > > -m4 > > > > -pipe -c -o time.o time.c > > > > In file included from > > > > /home/jsrsh/linux/include/linux/fs.h:632, > > > > from > > > > > /home/jsrsh/linux/include/linux/capability.h:17, > > > > from > > > > /home/jsrsh/linux/include/linux/binfmts.h:5, > > > > from > > > > /home/jsrsh/linux/include/linux/sched.h:9, > > > > from time.c:14: > > > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:21: > > > > warning: ignoring pragma: pack > > > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:76: > > > > warning: ignoring pragma: pack > > > > time.c: In function `do_timer_interrupt': > > > > time.c:194: structure has no member named > > > > `mv_rtc_settimeofday' > > > > time.c: In function `get_timer_frequency': > > > > time.c:243: structure has no member named > > > > `mv_rtc_gettimeofday' > > > > time.c:246: structure has no member named > > > > `mv_rtc_gettimeofday' > > > > time.c:253: structure has no member named > > > > `mv_rtc_gettimeofday' > > > > time.c: In function `time_init': > > > > time.c:294: structure has no member named > > > > `mv_rtc_gettimeofday' > > > > make[1]: *** [time.o] Error 1 > > > > make[1]: Leaving directory > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > > > > > I am enclosing my changed entry.S > > > > > > > > Thanks for your help , > > > > > > > > Best Regards, > > > > > > > > Jaswinder. > > > > > > > > --- Jaswinder Singh > <jas...@ya...> > > > > wrote: > > > > > Dear Niibe-san , linux-sh and linuxsh-dev, > > > > > > > > > > I am trying to build linux-2.4.1 kernel with > > > > > sh-linux-gnu toolchain . > > > > > > > > > > But i am getting followings errors :- > > > > > > > > > > make[1]: Entering directory > > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > > > entry.o > > > > > entry.S > > > > > entry.S:136: unterminated character constant > > > > > entry.S:138: unterminated character constant > > > > > entry.S:360: unterminated character constant > > > > > entry.S:372: unterminated character constant > > > > > entry.S:385: unterminated character constant > > > > > entry.S:390: unterminated character constant > > > > > entry.S:510: unterminated character constant > > > > > entry.S:521: unterminated character constant > > > > > entry.S:638: unterminated character constant > > > > > entry.S:744: unterminated character constant > > > > > entry.S:781: unterminated string or > character > > > > > constant > > > > > make[1]: *** [entry.o] Error 1 > > > > > make[1]: Leaving directory > > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > > > > > > > Thanks for your help. > > > > > > > > > > Best Reagards, > > > > > > > > > > Jaswinder. > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Get personalized email addresses from Yahoo! > > Mail > > > - > > > > only $35 > > > > a year! http://personal.mail.yahoo.com/ > > > > > > > ATTACHMENT part 2 application/octet-stream > > > name=entry.S > > > > > > > > > > === message truncated === > ATTACHMENT part 2 application/octet-stream name=memset.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 03:49:05
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I made some changes in arch/sh/lib/memset.S old errors get resolved but now i am getting new errors :- sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/jsrsh/linux/include -ml -m4 -c -o memmove.o memmove.S memmove.S:32: unterminated character constant make[2]: *** [memmove.o] Error 1 make[2]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make: *** [_dir_arch/sh/lib] Error 2 Thanks , Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list, > > I made some changes in arch/sh/lib/memcpy.S > > old errors get resolved but now i am getting new > errors :- > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > -I/home/jsrsh/linux/include -ml -m4 -c -o memset.o > memset.S > memset.S:21: unterminated character constant > memset.S:25: unterminated character constant > make[2]: *** [memset.o] Error 1 > make[2]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make[1]: *** [first_rule] Error 2 > make[1]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make: *** [_dir_arch/sh/lib] Error 2 > > Thanks, > > Jaswinder. > > --- Jaswinder Singh <jas...@ya...> > wrote: > > Dear niibe-san , linux-sh and linuxsh-dev mailing > > list, > > > > I made some changes in include/asm-sh/rtc.h and > > arch/sh/kernel/time.c > > > > old errors get resolved but now i am getting new > > errors :- > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > -I/home/jsrsh/linux/include -ml -m4 -c -o > memcpy.o > > memcpy.S > > memcpy.S:23: unterminated character constant > > make[2]: *** [memcpy.o] Error 1 > > make[2]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make[1]: *** [first_rule] Error 2 > > make[1]: Leaving directory > > `/home/jsrsh/linux/arch/sh/lib' > > make: *** [_dir_arch/sh/lib] Error 2 > > > > Thanks , > > > > Jaswinder. > > > > > > > > > > --- Jaswinder Singh <jas...@ya...> > > wrote: > > > Dear niibe-san , linux-sh and linuxsh-dev > mailing > > > list > > > :) > > > > > > By commenting comments in entry.S old errors are > > > resolved ,but now i am getting new errors :- > > > > > > sh-linux-gnu-gcc -D__KERNEL__ > > > -I/home/jsrsh/linux/include -Wall > > > -Wstrict-prototypes > > > -O2 -fomit-frame-pointer -fno-strict-aliasing > -ml > > > -m4 > > > -pipe -c -o time.o time.c > > > In file included from > > > /home/jsrsh/linux/include/linux/fs.h:632, > > > from > > > /home/jsrsh/linux/include/linux/capability.h:17, > > > from > > > /home/jsrsh/linux/include/linux/binfmts.h:5, > > > from > > > /home/jsrsh/linux/include/linux/sched.h:9, > > > from time.c:14: > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:21: > > > warning: ignoring pragma: pack > > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:76: > > > warning: ignoring pragma: pack > > > time.c: In function `do_timer_interrupt': > > > time.c:194: structure has no member named > > > `mv_rtc_settimeofday' > > > time.c: In function `get_timer_frequency': > > > time.c:243: structure has no member named > > > `mv_rtc_gettimeofday' > > > time.c:246: structure has no member named > > > `mv_rtc_gettimeofday' > > > time.c:253: structure has no member named > > > `mv_rtc_gettimeofday' > > > time.c: In function `time_init': > > > time.c:294: structure has no member named > > > `mv_rtc_gettimeofday' > > > make[1]: *** [time.o] Error 1 > > > make[1]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/kernel' > > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > > > I am enclosing my changed entry.S > > > > > > Thanks for your help , > > > > > > Best Regards, > > > > > > Jaswinder. > > > > > > --- Jaswinder Singh <jas...@ya...> > > > wrote: > > > > Dear Niibe-san , linux-sh and linuxsh-dev, > > > > > > > > I am trying to build linux-2.4.1 kernel with > > > > sh-linux-gnu toolchain . > > > > > > > > But i am getting followings errors :- > > > > > > > > make[1]: Entering directory > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > > entry.o > > > > entry.S > > > > entry.S:136: unterminated character constant > > > > entry.S:138: unterminated character constant > > > > entry.S:360: unterminated character constant > > > > entry.S:372: unterminated character constant > > > > entry.S:385: unterminated character constant > > > > entry.S:390: unterminated character constant > > > > entry.S:510: unterminated character constant > > > > entry.S:521: unterminated character constant > > > > entry.S:638: unterminated character constant > > > > entry.S:744: unterminated character constant > > > > entry.S:781: unterminated string or character > > > > constant > > > > make[1]: *** [entry.o] Error 1 > > > > make[1]: Leaving directory > > > > `/home/jsrsh/linux/arch/sh/kernel' > > > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > > > > > Thanks for your help. > > > > > > > > Best Reagards, > > > > > > > > Jaswinder. > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Get personalized email addresses from Yahoo! > Mail > > - > > > only $35 > > > a year! http://personal.mail.yahoo.com/ > > > > > ATTACHMENT part 2 application/octet-stream > > name=entry.S > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Get personalized email addresses from Yahoo! Mail > - > > only $35 > > a year! http://personal.mail.yahoo.com/> #ifndef > _ASM_RTC_H > > #define _ASM_RTC_H > > > > #include <asm/machvec.h> > > > > /*jsr#define rtc_gettimeofday > > sh_mv.mv_rtc_gettimeofday > > #define rtc_settimeofday sh_mv.mv_rtc_settimeofday > > */ > > #define rtc_gettimeofday sh_rtc_gettimeofday > > #define rtc_settimeofday sh_rtc_settimeofday > > > > extern void sh_rtc_gettimeofday(struct timeval > *tv); > > extern int sh_rtc_settimeofday(const struct > timeval > > *tv); > > > > #endif /* _ASM_RTC_H */ > > > /* $Id: time.c,v 1.20 2000/02/28 12:42:51 gniibe > Exp > > $ > > * > > * linux/arch/sh/kernel/time.c > > * > > * Copyright (C) 1999 Tetsuya Okada & Niibe > Yutaka > > * Copyright (C) 2000 Philipp Rumpf > > <pr...@tu...> > === message truncated === > ATTACHMENT part 2 application/octet-stream name=memcpy.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 03:42:38
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I made some changes in arch/sh/lib/memcpy.S old errors get resolved but now i am getting new errors :- sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/jsrsh/linux/include -ml -m4 -c -o memset.o memset.S memset.S:21: unterminated character constant memset.S:25: unterminated character constant make[2]: *** [memset.o] Error 1 make[2]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make: *** [_dir_arch/sh/lib] Error 2 Thanks, Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list, > > I made some changes in include/asm-sh/rtc.h and > arch/sh/kernel/time.c > > old errors get resolved but now i am getting new > errors :- > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > -I/home/jsrsh/linux/include -ml -m4 -c -o memcpy.o > memcpy.S > memcpy.S:23: unterminated character constant > make[2]: *** [memcpy.o] Error 1 > make[2]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make[1]: *** [first_rule] Error 2 > make[1]: Leaving directory > `/home/jsrsh/linux/arch/sh/lib' > make: *** [_dir_arch/sh/lib] Error 2 > > Thanks , > > Jaswinder. > > > > > --- Jaswinder Singh <jas...@ya...> > wrote: > > Dear niibe-san , linux-sh and linuxsh-dev mailing > > list > > :) > > > > By commenting comments in entry.S old errors are > > resolved ,but now i am getting new errors :- > > > > sh-linux-gnu-gcc -D__KERNEL__ > > -I/home/jsrsh/linux/include -Wall > > -Wstrict-prototypes > > -O2 -fomit-frame-pointer -fno-strict-aliasing -ml > > -m4 > > -pipe -c -o time.o time.c > > In file included from > > /home/jsrsh/linux/include/linux/fs.h:632, > > from > > /home/jsrsh/linux/include/linux/capability.h:17, > > from > > /home/jsrsh/linux/include/linux/binfmts.h:5, > > from > > /home/jsrsh/linux/include/linux/sched.h:9, > > from time.c:14: > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:21: > > warning: ignoring pragma: pack > > /home/jsrsh/linux/include/linux/udf_fs_sb.h:76: > > warning: ignoring pragma: pack > > time.c: In function `do_timer_interrupt': > > time.c:194: structure has no member named > > `mv_rtc_settimeofday' > > time.c: In function `get_timer_frequency': > > time.c:243: structure has no member named > > `mv_rtc_gettimeofday' > > time.c:246: structure has no member named > > `mv_rtc_gettimeofday' > > time.c:253: structure has no member named > > `mv_rtc_gettimeofday' > > time.c: In function `time_init': > > time.c:294: structure has no member named > > `mv_rtc_gettimeofday' > > make[1]: *** [time.o] Error 1 > > make[1]: Leaving directory > > `/home/jsrsh/linux/arch/sh/kernel' > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > I am enclosing my changed entry.S > > > > Thanks for your help , > > > > Best Regards, > > > > Jaswinder. > > > > --- Jaswinder Singh <jas...@ya...> > > wrote: > > > Dear Niibe-san , linux-sh and linuxsh-dev, > > > > > > I am trying to build linux-2.4.1 kernel with > > > sh-linux-gnu toolchain . > > > > > > But i am getting followings errors :- > > > > > > make[1]: Entering directory > > > `/home/jsrsh/linux/arch/sh/kernel' > > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > > -I/home/jsrsh/linux/include -ml -m4 -c -o > > entry.o > > > entry.S > > > entry.S:136: unterminated character constant > > > entry.S:138: unterminated character constant > > > entry.S:360: unterminated character constant > > > entry.S:372: unterminated character constant > > > entry.S:385: unterminated character constant > > > entry.S:390: unterminated character constant > > > entry.S:510: unterminated character constant > > > entry.S:521: unterminated character constant > > > entry.S:638: unterminated character constant > > > entry.S:744: unterminated character constant > > > entry.S:781: unterminated string or character > > > constant > > > make[1]: *** [entry.o] Error 1 > > > make[1]: Leaving directory > > > `/home/jsrsh/linux/arch/sh/kernel' > > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > > > Thanks for your help. > > > > > > Best Reagards, > > > > > > Jaswinder. > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Get personalized email addresses from Yahoo! Mail > - > > only $35 > > a year! http://personal.mail.yahoo.com/ > > > ATTACHMENT part 2 application/octet-stream > name=entry.S > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - > only $35 > a year! http://personal.mail.yahoo.com/> #ifndef _ASM_RTC_H > #define _ASM_RTC_H > > #include <asm/machvec.h> > > /*jsr#define rtc_gettimeofday > sh_mv.mv_rtc_gettimeofday > #define rtc_settimeofday sh_mv.mv_rtc_settimeofday > */ > #define rtc_gettimeofday sh_rtc_gettimeofday > #define rtc_settimeofday sh_rtc_settimeofday > > extern void sh_rtc_gettimeofday(struct timeval *tv); > extern int sh_rtc_settimeofday(const struct timeval > *tv); > > #endif /* _ASM_RTC_H */ > > /* $Id: time.c,v 1.20 2000/02/28 12:42:51 gniibe Exp > $ > * > * linux/arch/sh/kernel/time.c > * > * Copyright (C) 1999 Tetsuya Okada & Niibe Yutaka > * Copyright (C) 2000 Philipp Rumpf > <pr...@tu...> > * > * Some code taken from i386 version. > * Copyright (C) 1991, 1992, 1995 Linus Torvalds > */ > > #include <linux/config.h> > #include <linux/errno.h> > #include <linux/sched.h> > #include <linux/kernel.h> > #include <linux/param.h> > #include <linux/string.h> > #include <linux/mm.h> > #include <linux/interrupt.h> > #include <linux/time.h> > #include <linux/delay.h> > #include <linux/init.h> > #include <linux/smp.h> > > #include <asm/processor.h> > #include <asm/uaccess.h> > #include <asm/io.h> > #include <asm/irq.h> > #include <asm/delay.h> > #include <asm/machvec.h> > #include <asm/rtc.h> > > #include <linux/timex.h> > #include <linux/irq.h> > > #define TMU_TOCR_INIT 0x00 > #define TMU0_TCR_INIT 0x0020 > #define TMU_TSTR_INIT 1 > > #define TMU0_TCR_CALIB 0x0000 > > #if defined(__sh3__) > #define TMU_TOCR 0xfffffe90 /* Byte access */ > #define TMU_TSTR 0xfffffe92 /* Byte access */ > > #define TMU0_TCOR 0xfffffe94 /* Long access */ > #define TMU0_TCNT 0xfffffe98 /* Long access */ > #define TMU0_TCR 0xfffffe9c /* Word access */ > > #define FRQCR 0xffffff80 > #elif defined(__SH4__) > #define TMU_TOCR 0xffd80000 /* Byte access */ > #define TMU_TSTR 0xffd80004 /* Byte access */ > > #define TMU0_TCOR 0xffd80008 /* Long access */ > #define TMU0_TCNT 0xffd8000c /* Long access */ > #define TMU0_TCR 0xffd80010 /* Word access */ > > #define FRQCR 0xffc00000 > #endif > > extern rwlock_t xtime_lock; > extern unsigned long wall_jiffies; > #define TICK_SIZE tick > > static unsigned long do_gettimeoffset(void) > { > int count; > > static int count_p = 0x7fffffff; /* for the > first call after boot */ > static unsigned long jiffies_p = 0; > > /* > * cache volatile jiffies temporarily; we have IRQs > turned off. > */ > unsigned long jiffies_t; > > /* timer count may underflow right here */ > count = ctrl_inl(TMU0_TCNT); /* read the latched > count */ > > jiffies_t = jiffies; > > /* > * avoiding timer inconsistencies (they are rare, > but they happen)... > * there is one kind of problem that must be > avoided here: > * 1. the timer counter underflows > */ > > if( jiffies_t == jiffies_p ) { > if( count > count_p ) { > /* the nutcase */ > > if(ctrl_inw(TMU0_TCR) & 0x100) { /* Check UNF bit > */ > /* > * We cannot detect lost timer interrupts ... > * well, that's why we call them lost, don't we? > :) > * [hmm, on the Pentium and Alpha we can ... > sort of] > */ > count -= LATCH; > } else { > printk("do_slow_gettimeoffset(): hardware timer > problem?\n"); > } > } > } else > jiffies_p = jiffies_t; > > count_p = count; > > count = ((LATCH-1) - count) * TICK_SIZE; > count = (count + LATCH/2) / LATCH; > > return count; > } > > void do_gettimeofday(struct timeval *tv) > { > unsigned long flags; > unsigned long usec, sec; > > read_lock_irqsave(&xtime_lock, flags); > usec = do_gettimeoffset(); > { > unsigned long lost = jiffies - wall_jiffies; > if (lost) > usec += lost * (1000000 / HZ); > } > sec = xtime.tv_sec; > usec += xtime.tv_usec; > read_unlock_irqrestore(&xtime_lock, flags); > > while (usec >= 1000000) { > usec -= 1000000; > sec++; > } > > tv->tv_sec = sec; > tv->tv_usec = usec; > } > > void do_settimeofday(struct timeval *tv) > { > write_lock_irq(&xtime_lock); > /* > * This is revolting. We need to set "xtime" > correctly. However, the > * value in this location is the value at the most > recent update of > * wall time. Discover what correction > gettimeofday() would have > * made, and then undo it! > */ > tv->tv_usec -= do_gettimeoffset(); > tv->tv_usec -= (jiffies - wall_jiffies) * (1000000 > / HZ); > > while (tv->tv_usec < 0) { > tv->tv_usec += 1000000; > tv->tv_sec--; > } > > xtime = *tv; > time_adjust = 0; /* stop active adjtime() */ > time_status |= STA_UNSYNC; > time_maxerror = NTP_PHASE_LIMIT; > time_esterror = NTP_PHASE_LIMIT; > write_unlock_irq(&xtime_lock); > } > > /* last time the RTC clock got updated */ > static long last_rtc_update; > > /* > * timer_interrupt() needs to keep up the real-time > clock, > * as well as call the "do_timer()" routine every > clocktick > */ > static inline void do_timer_interrupt(int irq, void > *dev_id, struct pt_regs *regs) > { > do_timer(regs); > #if 0 > if (!user_mode(regs)) > sh_do_profile(regs->pc); > #endif > > #ifdef CONFIG_HEARTBEAT > if (sh_mv.mv_heartbeat != NULL) > sh_mv.mv_heartbeat(); > #endif > === message truncated === __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 03:35:25
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list, I made some changes in include/asm-sh/rtc.h and arch/sh/kernel/time.c old errors get resolved but now i am getting new errors :- sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/jsrsh/linux/include -ml -m4 -c -o memcpy.o memcpy.S memcpy.S:23: unterminated character constant make[2]: *** [memcpy.o] Error 1 make[2]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/home/jsrsh/linux/arch/sh/lib' make: *** [_dir_arch/sh/lib] Error 2 Thanks , Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear niibe-san , linux-sh and linuxsh-dev mailing > list > :) > > By commenting comments in entry.S old errors are > resolved ,but now i am getting new errors :- > > sh-linux-gnu-gcc -D__KERNEL__ > -I/home/jsrsh/linux/include -Wall > -Wstrict-prototypes > -O2 -fomit-frame-pointer -fno-strict-aliasing -ml > -m4 > -pipe -c -o time.o time.c > In file included from > /home/jsrsh/linux/include/linux/fs.h:632, > from > /home/jsrsh/linux/include/linux/capability.h:17, > from > /home/jsrsh/linux/include/linux/binfmts.h:5, > from > /home/jsrsh/linux/include/linux/sched.h:9, > from time.c:14: > /home/jsrsh/linux/include/linux/udf_fs_sb.h:21: > warning: ignoring pragma: pack > /home/jsrsh/linux/include/linux/udf_fs_sb.h:76: > warning: ignoring pragma: pack > time.c: In function `do_timer_interrupt': > time.c:194: structure has no member named > `mv_rtc_settimeofday' > time.c: In function `get_timer_frequency': > time.c:243: structure has no member named > `mv_rtc_gettimeofday' > time.c:246: structure has no member named > `mv_rtc_gettimeofday' > time.c:253: structure has no member named > `mv_rtc_gettimeofday' > time.c: In function `time_init': > time.c:294: structure has no member named > `mv_rtc_gettimeofday' > make[1]: *** [time.o] Error 1 > make[1]: Leaving directory > `/home/jsrsh/linux/arch/sh/kernel' > make: *** [_dir_arch/sh/kernel] Error 2 > > I am enclosing my changed entry.S > > Thanks for your help , > > Best Regards, > > Jaswinder. > > --- Jaswinder Singh <jas...@ya...> > wrote: > > Dear Niibe-san , linux-sh and linuxsh-dev, > > > > I am trying to build linux-2.4.1 kernel with > > sh-linux-gnu toolchain . > > > > But i am getting followings errors :- > > > > make[1]: Entering directory > > `/home/jsrsh/linux/arch/sh/kernel' > > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > > -I/home/jsrsh/linux/include -ml -m4 -c -o > entry.o > > entry.S > > entry.S:136: unterminated character constant > > entry.S:138: unterminated character constant > > entry.S:360: unterminated character constant > > entry.S:372: unterminated character constant > > entry.S:385: unterminated character constant > > entry.S:390: unterminated character constant > > entry.S:510: unterminated character constant > > entry.S:521: unterminated character constant > > entry.S:638: unterminated character constant > > entry.S:744: unterminated character constant > > entry.S:781: unterminated string or character > > constant > > make[1]: *** [entry.o] Error 1 > > make[1]: Leaving directory > > `/home/jsrsh/linux/arch/sh/kernel' > > make: *** [_dir_arch/sh/kernel] Error 2 > > > > Thanks for your help. > > > > Best Reagards, > > > > Jaswinder. > > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - > only $35 > a year! http://personal.mail.yahoo.com/ > ATTACHMENT part 2 application/octet-stream name=entry.S __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 02:48:12
|
Dear niibe-san , linux-sh and linuxsh-dev mailing list :) By commenting comments in entry.S old errors are resolved ,but now i am getting new errors :- sh-linux-gnu-gcc -D__KERNEL__ -I/home/jsrsh/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -ml -m4 -pipe -c -o time.o time.c In file included from /home/jsrsh/linux/include/linux/fs.h:632, from /home/jsrsh/linux/include/linux/capability.h:17, from /home/jsrsh/linux/include/linux/binfmts.h:5, from /home/jsrsh/linux/include/linux/sched.h:9, from time.c:14: /home/jsrsh/linux/include/linux/udf_fs_sb.h:21: warning: ignoring pragma: pack /home/jsrsh/linux/include/linux/udf_fs_sb.h:76: warning: ignoring pragma: pack time.c: In function `do_timer_interrupt': time.c:194: structure has no member named `mv_rtc_settimeofday' time.c: In function `get_timer_frequency': time.c:243: structure has no member named `mv_rtc_gettimeofday' time.c:246: structure has no member named `mv_rtc_gettimeofday' time.c:253: structure has no member named `mv_rtc_gettimeofday' time.c: In function `time_init': time.c:294: structure has no member named `mv_rtc_gettimeofday' make[1]: *** [time.o] Error 1 make[1]: Leaving directory `/home/jsrsh/linux/arch/sh/kernel' make: *** [_dir_arch/sh/kernel] Error 2 I am enclosing my changed entry.S Thanks for your help , Best Regards, Jaswinder. --- Jaswinder Singh <jas...@ya...> wrote: > Dear Niibe-san , linux-sh and linuxsh-dev, > > I am trying to build linux-2.4.1 kernel with > sh-linux-gnu toolchain . > > But i am getting followings errors :- > > make[1]: Entering directory > `/home/jsrsh/linux/arch/sh/kernel' > sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ > -I/home/jsrsh/linux/include -ml -m4 -c -o entry.o > entry.S > entry.S:136: unterminated character constant > entry.S:138: unterminated character constant > entry.S:360: unterminated character constant > entry.S:372: unterminated character constant > entry.S:385: unterminated character constant > entry.S:390: unterminated character constant > entry.S:510: unterminated character constant > entry.S:521: unterminated character constant > entry.S:638: unterminated character constant > entry.S:744: unterminated character constant > entry.S:781: unterminated string or character > constant > make[1]: *** [entry.o] Error 1 > make[1]: Leaving directory > `/home/jsrsh/linux/arch/sh/kernel' > make: *** [_dir_arch/sh/kernel] Error 2 > > Thanks for your help. > > Best Reagards, > > Jaswinder. > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Jaswinder S. <jas...@ya...> - 2001-02-11 02:27:36
|
Dear Niibe-san , linux-sh and linuxsh-dev, I am trying to build linux-2.4.1 kernel with sh-linux-gnu toolchain . But i am getting followings errors :- make[1]: Entering directory `/home/jsrsh/linux/arch/sh/kernel' sh-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/jsrsh/linux/include -ml -m4 -c -o entry.o entry.S entry.S:136: unterminated character constant entry.S:138: unterminated character constant entry.S:360: unterminated character constant entry.S:372: unterminated character constant entry.S:385: unterminated character constant entry.S:390: unterminated character constant entry.S:510: unterminated character constant entry.S:521: unterminated character constant entry.S:638: unterminated character constant entry.S:744: unterminated character constant entry.S:781: unterminated string or character constant make[1]: *** [entry.o] Error 1 make[1]: Leaving directory `/home/jsrsh/linux/arch/sh/kernel' make: *** [_dir_arch/sh/kernel] Error 2 Thanks for your help. Best Reagards, Jaswinder. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |
From: Studencki P. <Paw...@er...> - 2001-02-09 12:28:36
|
Hello, last days I've tried to get working a new kernel 2.4.0. Earlier I' ve worked with 2.3.99-pre7. Since the version 2.3.99-pre9 (I think) there are some changes with clock ticks - this could be a reason of my troubles with new kernel. my boot messages: Linux version 2.4.0-test11 (root@capella) (gcc version 2.97 20001120 (experimental)) #43 Fri Feb 9 11:04:47 MET 2001 On node 0 totalpages: 4096 zone(0): 4096 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: SH RTC: invalid value, resetting to 1 Jan 2000 CPU clock: 75.18MHz Bus clock: 25.06MHz Module clock: 25.06MHz Interval = 62656 Calibrating delay loop... and that's all. I looked at the code and there some differences in calculates of some time parameters: Module clock and Interval. with my old kernel (2.3.99-pre7) I got these values: CPU clock: 75.18MHz Module clock: 75.18MHz <----------------- Interval = 187965 <---------------------- Calibrating delay loop... 149.91 BogoMIPS <--------------- they are different than values for 2.4.0. is it ok? Is this a configuration problem or ...? (i'm using SH7709 chip) I would be grateful for any tips and explanation of this case, regards Pawel |
From: M. R. B. <ma...@uw...> - 2001-02-09 09:49:14
|
I remember seeing a brief thread on why -m4-nofpu was needed to compile the kernel, but I don't remember the reasoning. Regardless of the -m4... option, the default gcc macros (gcc/config/sh/linux.h) don't properly define the __SH4__ macros, etc. that would make sense with this option. I understand the code generation selection macros within gcc, but this seems like an obvious conflict of interest. With -m4-nofpu defined in arch/sh/Makefile, the kernel is forced to conditionalize for an SH3 target, which overrides target selection in `make config'. This breaks for me compiling for an SH4 target, but simply changing this to -m4 does the trick. Why is -m4-nofpu here? And how does this benefit SH4 targets? If -D__SH4__ were added to the gcc option, would this option be better suited as a kernel configuration option (e. g. CONFIG_SH_NOFPU)? M. R. |
From: Denis D. <ddo...@po...> - 2001-02-09 00:44:49
|
Hello, I was wondering if anyone is compiling C++ applications for the SH4. I have configured up gcc-20001002 with c++ support but it is putting in definitions for __builtin_vec_new and __builtin_vec_delete into libgcc.a. I this a configuration problem or is it just not supported? Regards, Denis. |
From: NIIBE Y. <gn...@m1...> - 2001-02-08 10:17:47
|
Jesper Skov wrote: > NIIBE> I believe it's needed for SH-4. SH-4 has virtually indexed and > NIIBE> physically tagged cache system with write back. For such > NIIBE> architecture the changes are required. > > Such changes should be wrapped in #ifdef/#endif to make it clear why > it differs from the main sources. Otherwise it'll just be considered a > merge bug at some time and get ditched. Let me explain clearly. It is *NOT* SH-4 specific bug. It is the bug which is hit by SH-4, but the fix is *ALWAYS* needed, always. I've commit the bug report to Bugzilla at linux-mm.org today. > Same goes for the SolutionEngine hack. For SolutionEngine hack, I agree. While IDE-timing patch will be introduced, we can clean it up. -- |
From: Jesper S. <js...@re...> - 2001-02-08 09:36:46
|
>>>>> "NIIBE" == NIIBE Yutaka <gn...@m1...> writes: NIIBE> Jeremy Siegel wrote: >> We've been considering SH support in future distributions, and I've >> noticed a couple differences between the SourceForge CVS and >> kernel.org in non-SH-specific areas. In particular: >> >> - In mm/memory.c:do_swap_page(), a pair of page/cache flush calls >> were >> >> moved out of an "if (!page)" block down toward the function end, so >> they are executed in more cases and at a different time. This >> change was apparently put into the SH CVS source at version 1.7 >> nearly 6 months ago, but isn't in kernel.org v2.4.1. I'm not that >> familiar with the memory-management internals for linux (or SH); is >> this something that SH requires, or is it a "leftover" artifact of >> earlier cache/MMU testing? If it's needed, is there some reason >> why >> >> it has been rejected by the main linux tree? NIIBE> I believe it's needed for SH-4. SH-4 has virtually indexed and NIIBE> physically tagged cache system with write back. For such NIIBE> architecture the changes are required. Such changes should be wrapped in #ifdef/#endif to make it clear why it differs from the main sources. Otherwise it'll just be considered a merge bug at some time and get ditched. Same goes for the SolutionEngine hack. IMHO, of course. Jesper |