From: Kristoffer E. <kri...@gm...> - 2007-08-08 18:20:41
|
Greetings, Jlime-current uses linus.git with lethal.git merge. I havent started bugtracking it yet, but quite obvious it has to do with IRQ updates. Feedback appreciated. Best wishes Kristoffer The big lines are of course: hp6x0_apm: IRQ 32 request failed hp680_touchscreen.c: Can't allocate irq 35 HD64461 PCMCIA socket 1: can't request irq 93 ata1: PATA max PIO0 cmd 0xb50001f0 ctl 0xb50001fe bmdma 0x00000000 irq 93 ata1.00: qc timeout (cmd 0x91) ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) ata1.00: qc timeout (cmd 0x91) ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) ata1.00: limiting speed to UDMA7:PIO5 ata1.00: qc timeout (cmd 0x91) ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) ata1: EH pending after completion, repeating EH (cnt=4) Bootlog: Linux version 2.6.23-rc1-gac42b72f-dirty (kristoffer@NightCrawler) (gcc version 3.4.5) #2 Sun Jul 29 17:28:02 PDT 2007 Booting machvec: hp6xx Node 0: start_pfn = 0xd000, low = 0xf000 Zone PFN ranges: Normal 53248 -> 61440 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 53248 -> 61440 Built 1 zonelists in Zone order. Total pages: 8128 Kernel command line: mem=32M root=/dev/sda4 console=ttySC1,115200 init=/bin/sh PID hash table entries: 128 (order: 7, 512 bytes) Using tmu for system timer Using 5.528 MHz high precision timer. Console: colour dummy device 80x25 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 29908k/32768k available (1896k kernel code, 499k data, 72k init) Mount-cache hash table entries: 512 CPU: SH7729 NET: Registered protocol family 16 SCSI subsystem initialized DMA: Registering DMA API. DMA: Registering sh_dmac handler (4 channels). Time: SuperH clocksource has been installed. NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered hp6x0_apm: IRQ 32 request failed HD64461 configured at 0xb0000000 on irq 36(mapped into 80 to 95) HD64461: enabling PCMCIA devices io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 80x30 fb0: Hitachi HD64461 frame buffer device SuperH SCI(F) driver initialized sh-sci: ttySC0 at MMIO 0xfffffe80 (irq = 25) is a sci sh-sci: ttySC1 at MMIO 0xa4000150 (irq = 59) is a scif console [ttySC1] enabled sh-sci sh-sci: Attempting to register port 3 when only 2 are available. sh-sci sh-sci: Consider bumping CONFIG_SERIAL_SH_SCI_NR_UARTS! loop: module loaded SCSI Media Changer driver v0.25 scsi0 : pata_platform ata1: PATA max PIO0 cmd 0xb50001f0 ctl 0xb50001fe bmdma 0x00000000 irq 93 ata1.00: qc timeout (cmd 0x91) ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) ata1.00: qc timeout (cmd 0x91) ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) ata1.00: limiting speed to UDMA7:PIO5 ata1.00: qc timeout (cmd 0x91) ata1.00: failed to IDENTIFY (INIT_DEV_PARAMS failed, err_mask=0x4) ata1: EH pending after completion, repeating EH (cnt=4) HD64461 PCMCIA bridge. HD64461 Initializing Socket 0, IRQ 95 HD64461 PCMCIA socket 1: can't request irq 93 mice: PS/2 mouse device common for all mice hp680_touchscreen.c: Can't allocate irq 35 sh-rtc sh-rtc: rtc core: registered sh as rtc0 TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 ieee80211: 802.11 data/management/control stack, git-1.1.13 ieee80211: Copyright (C) 2004-2005 Intel Corporation <jke...@li...> sh-rtc sh-rtc: setting the system clock to 1999-01-01 00:03:12 (915148992) VFS: Cannot open root device "sda4" or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) -- Kristoffer Ericson <Kri...@Gm...> |
From: Magnus D. <mag...@gm...> - 2007-08-15 03:15:08
|
Hi Kristoffer! On 8/9/07, Kristoffer Ericson <kri...@gm...> wrote: > Greetings, > > Jlime-current uses linus.git with lethal.git merge. I havent started bugtracking it yet, but quite obvious it has to do with IRQ updates. Which config do you use? How about local patches? If you use any local patches, maybe you can post them and we can try to include them upstream. Especially if they are bugfixes, or fixes that makes things compile. =) I'd like to help you out to get these things working, but I can't even get the sh-2.6 git tree to compile with the hp6xx_defconfig... So I'm sort of stuck. I suspect that some of the errors you see are related to the removal of pint. I'd like to re-add a new version of pint, but that should be done in the 2.6.24 tree. And we should probably work with the same tree, so the best way to do this is probably to focus on fixing 2.6.24 where all the intc stuff is included, and then maybe back port some fixes for your 2.6.23 kernel if needed later on. Thanks! / magnus |
From: Kristoffer E. <kri...@gm...> - 2007-08-15 10:02:51
|
Hey, I always work against lethals git tree and there shouldn't be any local patches applied, Ive pushed everything mainstream (aside from keyboard driver that isn't finished yet) so should be quite similiar. I got additional support for jornada 7xx and mobilepro 900c in my tree though but that is all arm related. The only local thing I got that differs from lethals tree is : inside io.h #ifdef CONFIG_CPU_SUBTYPE_SH7709 #define ioread8(a) inb(a) #define ioread16(a) inw(a) #define ioread16be(a) be16_to_cpu(inw((a))) #define ioread32(a) inl(a) #define ioread32be(v,a) be32_to_cpu(inl((a))) #define iowrite8(v,a) outb((v),(a)) #define iowrite16(v,a) outw((v),(a)) #define iowrite16be(v,a) outw(cpu_to_be16((v),(a))) #define iowrite32(v,a) outl((v),(a)) #define iowrite32be(v,a) outl(cpu_to_be32((v),(a))) #endif This change was made by Andriy when we were bugtracking pcmcia wifi problems (pcmcia ethernet worked, pcmcia wifi didn't). I never pushed this mainstream because Andriy wanted to talk to Paul before, to find a better approach. The defconf for hp6xx is totally broken and I intend to fix it, once new keyboard driver is finished. My config : # # Automatically generated make config: don't edit # Linux kernel version: 2.6.23-rc1 # Sun Jul 29 17:27:28 2007 # CONFIG_SUPERH=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_SYS_SUPPORTS_PM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # CONFIG_TASKSTATS is not set # CONFIG_USER_NS is not set # CONFIG_AUDIT is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_SYSFS_DEPRECATED=y CONFIG_RELAY=y # CONFIG_BLK_DEV_INITRD is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_EMBEDDED=y CONFIG_UID16=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_ANON_INODES=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLOB is not set CONFIG_RT_MUTEXES=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y CONFIG_BLOCK=y # CONFIG_LBD is not set # CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_LSF is not set # CONFIG_BLK_DEV_BSG is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" # # System type # CONFIG_CPU_SH3=y # CONFIG_CPU_SUBTYPE_SH7619 is not set # CONFIG_CPU_SUBTYPE_SH7206 is not set # CONFIG_CPU_SUBTYPE_SH7705 is not set # CONFIG_CPU_SUBTYPE_SH7706 is not set # CONFIG_CPU_SUBTYPE_SH7707 is not set # CONFIG_CPU_SUBTYPE_SH7708 is not set CONFIG_CPU_SUBTYPE_SH7709=y # CONFIG_CPU_SUBTYPE_SH7710 is not set # CONFIG_CPU_SUBTYPE_SH7712 is not set # CONFIG_CPU_SUBTYPE_SH7750 is not set # CONFIG_CPU_SUBTYPE_SH7091 is not set # CONFIG_CPU_SUBTYPE_SH7750R is not set # CONFIG_CPU_SUBTYPE_SH7750S is not set # CONFIG_CPU_SUBTYPE_SH7751 is not set # CONFIG_CPU_SUBTYPE_SH7751R is not set # CONFIG_CPU_SUBTYPE_SH7760 is not set # CONFIG_CPU_SUBTYPE_SH4_202 is not set # CONFIG_CPU_SUBTYPE_ST40STB1 is not set # CONFIG_CPU_SUBTYPE_ST40GX1 is not set # CONFIG_CPU_SUBTYPE_SH7770 is not set # CONFIG_CPU_SUBTYPE_SH7780 is not set # CONFIG_CPU_SUBTYPE_SH7785 is not set # CONFIG_CPU_SUBTYPE_SHX3 is not set # CONFIG_CPU_SUBTYPE_SH7343 is not set # CONFIG_CPU_SUBTYPE_SH7722 is not set # # Memory management options # CONFIG_QUICKLIST=y CONFIG_MMU=y CONFIG_PAGE_OFFSET=0x80000000 CONFIG_MEMORY_START=0x0d000000 CONFIG_MEMORY_SIZE=0x00400000 CONFIG_VSYSCALL=y CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_MAX_ACTIVE_REGIONS=1 CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_PAGE_SIZE_4KB=y # CONFIG_PAGE_SIZE_8KB is not set # CONFIG_PAGE_SIZE_64KB is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_SPARSEMEM_STATIC=y CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_RESOURCES_64BIT is not set CONFIG_ZONE_DMA_FLAG=0 CONFIG_NR_QUICK=2 # # Cache configuration # # CONFIG_SH_DIRECT_MAPPED is not set CONFIG_SH_WRITETHROUGH=y # # Processor features # CONFIG_CPU_LITTLE_ENDIAN=y # CONFIG_CPU_BIG_ENDIAN is not set # CONFIG_SH_FPU_EMU is not set CONFIG_SH_ADC=y CONFIG_CPU_HAS_INTEVT=y CONFIG_CPU_HAS_INTC_IRQ=y CONFIG_CPU_HAS_SR_RB=y # # Board support # # CONFIG_SH_SOLUTION_ENGINE is not set CONFIG_SH_HP6XX=y # # Timer and clock configuration # CONFIG_SH_TMU=y CONFIG_SH_TIMER_IRQ=16 CONFIG_SH_PCLK_FREQ=22110000 # CONFIG_TICK_ONESHOT is not set # CONFIG_NO_HZ is not set # CONFIG_HIGH_RES_TIMERS is not set # # CPU Frequency scaling # # CONFIG_CPU_FREQ is not set # # DMA support # CONFIG_SH_DMA_API=y CONFIG_SH_DMA=y CONFIG_NR_ONCHIP_DMA_CHANNELS=4 # CONFIG_NR_DMA_CHANNELS_BOOL is not set # # Companion Chips # CONFIG_HD6446X_SERIES=y CONFIG_HD64461=y # CONFIG_HD64465 is not set CONFIG_HD64461_IRQ=36 CONFIG_HD64461_IOBASE=0xb0000000 CONFIG_HD64461_ENABLER=y # # Additional SuperH Device Drivers # # CONFIG_HEARTBEAT is not set # CONFIG_PUSH_SWITCH is not set # # Kernel features # # CONFIG_HZ_100 is not set CONFIG_HZ_250=y # CONFIG_HZ_300 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=250 # CONFIG_KEXEC is not set # CONFIG_CRASH_DUMP is not set CONFIG_PREEMPT_NONE=y # CONFIG_PREEMPT_VOLUNTARY is not set # CONFIG_PREEMPT is not set # # Boot options # CONFIG_ZERO_PAGE_OFFSET=0x00001000 CONFIG_BOOT_LINK_OFFSET=0x00800000 # CONFIG_CMDLINE_BOOL is not set # # Bus options # CONFIG_ISA=y # CONFIG_ARCH_SUPPORTS_MSI is not set # # PCCARD (PCMCIA/CardBus) support # CONFIG_PCCARD=y # CONFIG_PCMCIA_DEBUG is not set CONFIG_PCMCIA=y CONFIG_PCMCIA_LOAD_CIS=y # CONFIG_PCMCIA_IOCTL is not set # # PC-card bridges # # CONFIG_I82365 is not set # CONFIG_TCIC is not set CONFIG_HD64461_PCMCIA=y CONFIG_HD64461_PCMCIA_SOCKETS=2 CONFIG_PCMCIA_PROBE=y # # Executable file formats # CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set # # Power management options (EXPERIMENTAL) # CONFIG_PM=y CONFIG_PM_LEGACY=y # CONFIG_PM_DEBUG is not set CONFIG_APM_EMULATION=y # # Networking # CONFIG_NET=y # # Networking options # CONFIG_PACKET=y CONFIG_PACKET_MMAP=y CONFIG_UNIX=y CONFIG_XFRM=y # CONFIG_XFRM_USER is not set # CONFIG_XFRM_SUB_POLICY is not set # CONFIG_XFRM_MIGRATE is not set CONFIG_NET_KEY=y # CONFIG_NET_KEY_MIGRATE is not set CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_INET_XFRM_MODE_BEET=y CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_TCP_MD5SIG is not set # CONFIG_IPV6 is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # CONFIG_IP_DCCP is not set # CONFIG_IP_SCTP is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # # QoS and/or fair queueing # # CONFIG_NET_SCHED is not set # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set CONFIG_IRDA=m # # IrDA protocols # CONFIG_IRLAN=m # CONFIG_IRNET is not set CONFIG_IRCOMM=m # CONFIG_IRDA_ULTRA is not set # # IrDA options # # CONFIG_IRDA_CACHE_LAST_LSAP is not set # CONFIG_IRDA_FAST_RR is not set CONFIG_IRDA_DEBUG=y # # Infrared-port device drivers # # # SIR device drivers # CONFIG_IRTTY_SIR=m # # Dongle support # # CONFIG_DONGLE is not set # # Old SIR device drivers # CONFIG_IRPORT_SIR=m # # Old Serial dongle support # # CONFIG_DONGLE_OLD is not set # # FIR device drivers # # CONFIG_BT is not set # CONFIG_AF_RXRPC is not set # # Wireless # # CONFIG_CFG80211 is not set CONFIG_WIRELESS_EXT=y # CONFIG_MAC80211 is not set CONFIG_IEEE80211=y # CONFIG_IEEE80211_DEBUG is not set CONFIG_IEEE80211_CRYPT_WEP=y # CONFIG_IEEE80211_CRYPT_CCMP is not set # CONFIG_IEEE80211_CRYPT_TKIP is not set # CONFIG_IEEE80211_SOFTMAC is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set # # Device Drivers # # # Generic Driver Options # CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y # CONFIG_SYS_HYPERVISOR is not set # CONFIG_CONNECTOR is not set # CONFIG_MTD is not set CONFIG_PARPORT=y # CONFIG_PARPORT_PC is not set # CONFIG_PARPORT_GSC is not set # CONFIG_PARPORT_AX88796 is not set # CONFIG_PARPORT_1284 is not set # CONFIG_PNP is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_CRYPTOLOOP is not set # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_CDROM_PKTCDVD is not set # CONFIG_ATA_OVER_ETH is not set CONFIG_MISC_DEVICES=y # CONFIG_EEPROM_93CX6 is not set # CONFIG_IDE is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y CONFIG_SCSI_DMA=y # CONFIG_SCSI_TGT is not set # CONFIG_SCSI_NETLINK is not set CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=y # CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_CHR_DEV_SG=y CONFIG_CHR_DEV_SCH=y # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_MULTI_LUN is not set CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y # CONFIG_SCSI_SCAN_ASYNC is not set CONFIG_SCSI_WAIT_SCAN=m # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set CONFIG_SCSI_LOWLEVEL=y # CONFIG_ISCSI_TCP is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GENERIC_NCR5380 is not set # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_PSI240I is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set CONFIG_ATA=y # CONFIG_ATA_NONSTANDARD is not set # CONFIG_PATA_LEGACY is not set # CONFIG_PATA_PCMCIA is not set # CONFIG_PATA_QDI is not set # CONFIG_PATA_WINBOND_VLB is not set CONFIG_PATA_PLATFORM=y # CONFIG_MD is not set CONFIG_NETDEVICES=y # CONFIG_NETDEVICES_MULTIQUEUE is not set CONFIG_DUMMY=y # CONFIG_BONDING is not set # CONFIG_MACVLAN is not set # CONFIG_EQUALIZER is not set # CONFIG_TUN is not set # CONFIG_ARCNET is not set # CONFIG_PHYLIB is not set CONFIG_NET_ETHERNET=y CONFIG_MII=y # CONFIG_STNIC is not set # CONFIG_NET_VENDOR_3COM is not set # CONFIG_NET_VENDOR_SMC is not set # CONFIG_SMC91X is not set # CONFIG_NET_VENDOR_RACAL is not set # CONFIG_AT1700 is not set # CONFIG_DEPCA is not set # CONFIG_HP100 is not set # CONFIG_NET_ISA is not set # CONFIG_NET_PCI is not set # CONFIG_NET_POCKET is not set CONFIG_NETDEV_1000=y CONFIG_NETDEV_10000=y # CONFIG_TR is not set # # Wireless LAN # # CONFIG_WLAN_PRE80211 is not set # CONFIG_WLAN_80211 is not set CONFIG_NET_PCMCIA=y CONFIG_PCMCIA_3C589=m CONFIG_PCMCIA_3C574=m CONFIG_PCMCIA_FMVJ18X=m CONFIG_PCMCIA_PCNET=m CONFIG_PCMCIA_NMCLAN=m CONFIG_PCMCIA_SMC91C92=m CONFIG_PCMCIA_XIRC2PS=m CONFIG_PCMCIA_AXNET=m # CONFIG_WAN is not set # CONFIG_PLIP is not set CONFIG_PPP=m # CONFIG_PPP_MULTILINK is not set # CONFIG_PPP_FILTER is not set CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPP_MPPE=m CONFIG_PPPOE=m # CONFIG_PPPOL2TP is not set CONFIG_SLIP=m # CONFIG_SLIP_COMPRESSED is not set CONFIG_SLHC=m # CONFIG_SLIP_SMART is not set # CONFIG_SLIP_MODE_SLIP6 is not set # CONFIG_SHAPER is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # CONFIG_ISDN is not set # CONFIG_PHONE is not set # # Input device support # CONFIG_INPUT=y # CONFIG_INPUT_FF_MEMLESS is not set # CONFIG_INPUT_POLLDEV is not set # # Userland interfaces # CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=640 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=240 # CONFIG_INPUT_JOYDEV is not set CONFIG_INPUT_TSDEV=y CONFIG_INPUT_TSDEV_SCREEN_X=640 CONFIG_INPUT_TSDEV_SCREEN_Y=240 CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y # CONFIG_KEYBOARD_ATKBD is not set CONFIG_KEYBOARD_JORNADA680=y # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_NEWTON is not set # CONFIG_KEYBOARD_STOWAWAY is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set CONFIG_INPUT_TOUCHSCREEN=y # CONFIG_TOUCHSCREEN_FUJITSU is not set # CONFIG_TOUCHSCREEN_GUNZE is not set # CONFIG_TOUCHSCREEN_ELO is not set # CONFIG_TOUCHSCREEN_MTOUCH is not set # CONFIG_TOUCHSCREEN_MK712 is not set CONFIG_TOUCHSCREEN_HP600=y # CONFIG_TOUCHSCREEN_PENMOUNT is not set # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set # CONFIG_TOUCHSCREEN_TOUCHWIN is not set # CONFIG_TOUCHSCREEN_UCB1400 is not set # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set # CONFIG_INPUT_MISC is not set # # Hardware I/O ports # # CONFIG_SERIO is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set # CONFIG_SERIAL_NONSTANDARD is not set # # Serial drivers # # CONFIG_SERIAL_8250 is not set # # Non-8250 serial port support # CONFIG_SERIAL_SH_SCI=y CONFIG_SERIAL_SH_SCI_NR_UARTS=2 CONFIG_SERIAL_SH_SCI_CONSOLE=y CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_UNIX98_PTYS=y CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=5 # CONFIG_PRINTER is not set # CONFIG_PPDEV is not set # CONFIG_TIPAR is not set # CONFIG_IPMI_HANDLER is not set # CONFIG_WATCHDOG is not set CONFIG_HW_RANDOM=m # CONFIG_DTLK is not set # CONFIG_R3964 is not set # # PCMCIA character devices # # CONFIG_SYNCLINK_CS is not set # CONFIG_CARDMAN_4000 is not set # CONFIG_CARDMAN_4040 is not set # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set CONFIG_DEVPORT=y # CONFIG_I2C is not set # # SPI support # # CONFIG_SPI is not set # CONFIG_SPI_MASTER is not set # CONFIG_W1 is not set # CONFIG_POWER_SUPPLY is not set CONFIG_HWMON=y # CONFIG_HWMON_VID is not set # CONFIG_SENSORS_ABITUGURU is not set # CONFIG_SENSORS_ABITUGURU3 is not set # CONFIG_SENSORS_F71805F is not set # CONFIG_SENSORS_IT87 is not set # CONFIG_SENSORS_PC87360 is not set # CONFIG_SENSORS_PC87427 is not set # CONFIG_SENSORS_SMSC47M1 is not set # CONFIG_SENSORS_SMSC47B397 is not set # CONFIG_SENSORS_VT1211 is not set # CONFIG_SENSORS_W83627HF is not set # CONFIG_SENSORS_W83627EHF is not set # CONFIG_HWMON_DEBUG_CHIP is not set # # Multifunction device drivers # # CONFIG_MFD_SM501 is not set # # Multimedia devices # # CONFIG_VIDEO_DEV is not set # CONFIG_DVB_CORE is not set CONFIG_DAB=y # # Graphics support # CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=y CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_HP680=y # # Display device support # # CONFIG_DISPLAY_SUPPORT is not set # CONFIG_VGASTATE is not set CONFIG_VIDEO_OUTPUT_CONTROL=m CONFIG_FB=y CONFIG_FIRMWARE_EDID=y # CONFIG_FB_DDC is not set CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_SYS_FILLRECT is not set # CONFIG_FB_SYS_COPYAREA is not set # CONFIG_FB_SYS_IMAGEBLIT is not set # CONFIG_FB_SYS_FOPS is not set CONFIG_FB_DEFERRED_IO=y # CONFIG_FB_SVGALIB is not set # CONFIG_FB_MACMODES is not set # CONFIG_FB_BACKLIGHT is not set # CONFIG_FB_MODE_HELPERS is not set # CONFIG_FB_TILEBLITTING is not set # # Frame buffer hardware drivers # # CONFIG_FB_S1D13XXX is not set CONFIG_FB_HIT=y # CONFIG_FB_VIRTUAL is not set # # Console display driver support # # CONFIG_MDA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set CONFIG_FONTS=y # CONFIG_FONT_8x8 is not set # CONFIG_FONT_8x16 is not set # CONFIG_FONT_6x11 is not set # CONFIG_FONT_7x14 is not set CONFIG_FONT_PEARL_8x8=y # CONFIG_FONT_ACORN_8x8 is not set # CONFIG_FONT_MINI_4x6 is not set # CONFIG_FONT_SUN8x16 is not set # CONFIG_FONT_SUN12x22 is not set # CONFIG_FONT_10x18 is not set CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set # CONFIG_LOGO_LINUX_VGA16 is not set # CONFIG_LOGO_LINUX_CLUT224 is not set # CONFIG_LOGO_SUPERH_MONO is not set # CONFIG_LOGO_SUPERH_VGA16 is not set # CONFIG_LOGO_SUPERH_CLUT224 is not set # CONFIG_LOGO_JLIME_VGA16 is not set # CONFIG_LOGO_JLIMEWIDE_CLUT224 is not set CONFIG_LOGO_JLIME_CLUT224=y # # Sound # # CONFIG_SOUND is not set CONFIG_HID_SUPPORT=y CONFIG_HID=y # CONFIG_HID_DEBUG is not set CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y # CONFIG_USB_ARCH_HAS_OHCI is not set # CONFIG_USB_ARCH_HAS_EHCI is not set # CONFIG_USB is not set # # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' # # # USB Gadget Support # # CONFIG_USB_GADGET is not set # CONFIG_MMC is not set # CONFIG_NEW_LEDS is not set # # Real Time Clock # CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" # CONFIG_RTC_DEBUG is not set # # RTC interfaces # CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set # CONFIG_RTC_DRV_TEST is not set # # Platform RTC drivers # # CONFIG_RTC_DRV_DS1553 is not set # CONFIG_RTC_DRV_STK17TA8 is not set # CONFIG_RTC_DRV_DS1742 is not set # CONFIG_RTC_DRV_M48T86 is not set # CONFIG_RTC_DRV_M48T59 is not set # CONFIG_RTC_DRV_V3020 is not set # # on-CPU RTC drivers # CONFIG_RTC_DRV_SH=y # # DMA Engine support # # CONFIG_DMA_ENGINE is not set # # DMA Clients # # # DMA Devices # # CONFIG_AUXDISPLAY is not set # # Userspace I/O # # CONFIG_UIO is not set # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=y CONFIG_EXT3_FS_XATTR=y # CONFIG_EXT3_FS_POSIX_ACL is not set # CONFIG_EXT3_FS_SECURITY is not set # CONFIG_EXT4DEV_FS is not set CONFIG_JBD=y # CONFIG_JBD_DEBUG is not set CONFIG_FS_MBCACHE=y # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y # CONFIG_QUOTA is not set CONFIG_DNOTIFY=y CONFIG_AUTOFS_FS=y # CONFIG_AUTOFS4_FS is not set # CONFIG_FUSE_FS is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=y # CONFIG_MSDOS_FS is not set CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_PROC_SYSCTL=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set # CONFIG_HUGETLBFS is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y # CONFIG_CONFIGFS_FS is not set # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # # Network File Systems # CONFIG_NFS_FS=m # CONFIG_NFS_V3 is not set # CONFIG_NFS_V4 is not set # CONFIG_NFS_DIRECTIO is not set CONFIG_NFSD=m # CONFIG_NFSD_V3 is not set CONFIG_NFSD_TCP=y CONFIG_LOCKD=m CONFIG_EXPORTFS=m CONFIG_NFS_COMMON=y CONFIG_SUNRPC=m # CONFIG_SUNRPC_BIND34 is not set # CONFIG_RPCSEC_GSS_KRB5 is not set # CONFIG_RPCSEC_GSS_SPKM3 is not set CONFIG_SMB_FS=m # CONFIG_SMB_NLS_DEFAULT is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_MINIX_SUBPARTITION is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_EFI_PARTITION is not set # CONFIG_SYSV68_PARTITION is not set # # Native Language Support # CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_936=m CONFIG_NLS_CODEPAGE_950=m CONFIG_NLS_CODEPAGE_932=m CONFIG_NLS_CODEPAGE_949=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_CODEPAGE_1250=m CONFIG_NLS_CODEPAGE_1251=m CONFIG_NLS_ASCII=m CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_2=m CONFIG_NLS_ISO8859_3=m CONFIG_NLS_ISO8859_4=m CONFIG_NLS_ISO8859_5=m CONFIG_NLS_ISO8859_6=m CONFIG_NLS_ISO8859_7=m CONFIG_NLS_ISO8859_9=m CONFIG_NLS_ISO8859_13=m CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_NLS_UTF8=m # # Distributed Lock Manager # # CONFIG_DLM is not set # # Profiling support # # CONFIG_PROFILING is not set # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME is not set CONFIG_ENABLE_MUST_CHECK=y # CONFIG_MAGIC_SYSRQ is not set # CONFIG_UNUSED_SYMBOLS is not set # CONFIG_DEBUG_FS is not set # CONFIG_HEADERS_CHECK is not set # CONFIG_DEBUG_KERNEL is not set # CONFIG_DEBUG_BUGVERBOSE is not set # CONFIG_SH_STANDARD_BIOS is not set # CONFIG_EARLY_SCIF_CONSOLE is not set # CONFIG_SH_KGDB is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY is not set CONFIG_CRYPTO=y CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_MANAGER=y # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_XCBC is not set # CONFIG_CRYPTO_NULL is not set CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=m CONFIG_CRYPTO_SHA1=m # CONFIG_CRYPTO_SHA256 is not set # CONFIG_CRYPTO_SHA512 is not set # CONFIG_CRYPTO_WP512 is not set # CONFIG_CRYPTO_TGR192 is not set # CONFIG_CRYPTO_GF128MUL is not set CONFIG_CRYPTO_ECB=y CONFIG_CRYPTO_CBC=m CONFIG_CRYPTO_PCBC=m # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_CRYPTD is not set # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_TWOFISH is not set # CONFIG_CRYPTO_SERPENT is not set CONFIG_CRYPTO_AES=m # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set # CONFIG_CRYPTO_TEA is not set CONFIG_CRYPTO_ARC4=y # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_ANUBIS is not set # CONFIG_CRYPTO_DEFLATE is not set CONFIG_CRYPTO_MICHAEL_MIC=m # CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_TEST is not set CONFIG_CRYPTO_HW=y # # Library routines # CONFIG_BITREVERSE=y CONFIG_CRC_CCITT=m CONFIG_CRC16=m # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y # CONFIG_CRC7 is not set CONFIG_LIBCRC32C=m CONFIG_ZLIB_INFLATE=m CONFIG_ZLIB_DEFLATE=m CONFIG_PLIST=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y On Wed, 15 Aug 2007 12:15:05 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi Kristoffer! > > On 8/9/07, Kristoffer Ericson <kri...@gm...> wrote: > > Greetings, > > > > Jlime-current uses linus.git with lethal.git merge. I havent started bugtracking it yet, but quite obvious it has to do with IRQ updates. > > Which config do you use? How about local patches? If you use any local > patches, maybe you can post them and we can try to include them > upstream. Especially if they are bugfixes, or fixes that makes things > compile. =) > > I'd like to help you out to get these things working, but I can't even > get the sh-2.6 git tree to compile with the hp6xx_defconfig... So I'm > sort of stuck. > > I suspect that some of the errors you see are related to the removal of pint. > > I'd like to re-add a new version of pint, but that should be done in > the 2.6.24 tree. And we should probably work with the same tree, so > the best way to do this is probably to focus on fixing 2.6.24 where > all the intc stuff is included, and then maybe back port some fixes > for your 2.6.23 kernel if needed later on. > > Thanks! > > / magnus -- Kristoffer Ericson <Kri...@Gm...> |
From: Kristoffer E. <kri...@gm...> - 2007-08-15 10:05:41
|
Oh I forgot to mention that JLime maintains 2 git repositories. One for configs and patches and the other is just a plain kernel source tree (LinuxSH.git + Linus.git). You could always download these tree's at: git://filip.eu.org/jlime-current.git (kernel sources) git://filip.eu.org/jlime.git (configs/documentation) If you want to do some diffing against lethals tree. Best wishes Kristoffer On Wed, 15 Aug 2007 12:15:05 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi Kristoffer! > > On 8/9/07, Kristoffer Ericson <kri...@gm...> wrote: > > Greetings, > > > > Jlime-current uses linus.git with lethal.git merge. I havent started bugtracking it yet, but quite obvious it has to do with IRQ updates. > > Which config do you use? How about local patches? If you use any local > patches, maybe you can post them and we can try to include them > upstream. Especially if they are bugfixes, or fixes that makes things > compile. =) > > I'd like to help you out to get these things working, but I can't even > get the sh-2.6 git tree to compile with the hp6xx_defconfig... So I'm > sort of stuck. > > I suspect that some of the errors you see are related to the removal of pint. > > I'd like to re-add a new version of pint, but that should be done in > the 2.6.24 tree. And we should probably work with the same tree, so > the best way to do this is probably to focus on fixing 2.6.24 where > all the intc stuff is included, and then maybe back port some fixes > for your 2.6.23 kernel if needed later on. > > Thanks! > > / magnus -- Kristoffer Ericson <Kri...@Gm...> |
From: Magnus D. <mag...@gm...> - 2007-08-15 10:38:04
|
Hi again Kristoffer! Thanks for your comments and kernel config. I'm glad to hear that you have most patches pushed upstream.I tried using your attached config with the sh git tree for 2.6.24 [1] but I still cannot compile the code... CC arch/sh/boards/hp6xx/setup.o arch/sh/boards/hp6xx/setup.c:104: error: `OFFCHIP_IRQ_BASE' undeclared here (not in a function) arch/sh/boards/hp6xx/setup.c:104: error: initializer element is not constant arch/sh/boards/hp6xx/setup.c:104: error: (near initialization for `mv_hp6xx.mv_nr_irqs') make[1]: *** [arch/sh/boards/hp6xx/setup.o] Error 1 It looks like hd64461.h defines HD64461_IRQBASE to OFFCHIP_IRQ_BASE which seems undefined... Any clues? Can you compile that tree? For 2.6.23 - is it possible that you never compile the board-specific code? That would explain some of your problems as well... Thanks! / magnus [1] http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary |
From: Kristoffer E. <kri...@gm...> - 2007-08-15 11:06:25
|
My mistake for not looking properly, as you properly state IRQBASE is mapped to OFFCHIP_IRQ_BASE. Can't find where I got it defined, since I can build without any issues. On Wed, 15 Aug 2007 19:38:02 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi again Kristoffer! > > Thanks for your comments and kernel config. I'm glad to hear that you > have most patches pushed upstream.I tried using your attached config > with the sh git tree for 2.6.24 [1] but I still cannot compile the > code... > > CC arch/sh/boards/hp6xx/setup.o > arch/sh/boards/hp6xx/setup.c:104: error: `OFFCHIP_IRQ_BASE' undeclared > here (not in a function) > arch/sh/boards/hp6xx/setup.c:104: error: initializer element is not constant > arch/sh/boards/hp6xx/setup.c:104: error: (near initialization for > `mv_hp6xx.mv_nr_irqs') > make[1]: *** [arch/sh/boards/hp6xx/setup.o] Error 1 > > It looks like hd64461.h defines HD64461_IRQBASE to OFFCHIP_IRQ_BASE > which seems undefined... Any clues? Can you compile that tree? > > For 2.6.23 - is it possible that you never compile the board-specific > code? That would explain some of your problems as well... > > Thanks! > > / magnus > > [1] http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary -- Kristoffer Ericson <Kri...@Gm...> |
From: Kristoffer E. <kri...@gm...> - 2007-08-15 11:11:12
|
Found it, jlime-current.git IRQ.H sets all my offchip_nr_irq's, must have added that when the IRQ stuff got reworked. I believe we could just set it to 256 or something, since Paul have defined the nr irq limit at that. On Wed, 15 Aug 2007 19:38:02 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi again Kristoffer! > > Thanks for your comments and kernel config. I'm glad to hear that you > have most patches pushed upstream.I tried using your attached config > with the sh git tree for 2.6.24 [1] but I still cannot compile the > code... > > CC arch/sh/boards/hp6xx/setup.o > arch/sh/boards/hp6xx/setup.c:104: error: `OFFCHIP_IRQ_BASE' undeclared > here (not in a function) > arch/sh/boards/hp6xx/setup.c:104: error: initializer element is not constant > arch/sh/boards/hp6xx/setup.c:104: error: (near initialization for > `mv_hp6xx.mv_nr_irqs') > make[1]: *** [arch/sh/boards/hp6xx/setup.o] Error 1 > > It looks like hd64461.h defines HD64461_IRQBASE to OFFCHIP_IRQ_BASE > which seems undefined... Any clues? Can you compile that tree? > > For 2.6.23 - is it possible that you never compile the board-specific > code? That would explain some of your problems as well... > > Thanks! > > / magnus > > [1] http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary -- Kristoffer Ericson <Kri...@Gm...> |
From: Magnus D. <mag...@gm...> - 2007-08-16 03:05:56
|
On 8/16/07, Kristoffer Ericson <kri...@gm...> wrote: > Found it, jlime-current.git IRQ.H sets all my offchip_nr_irq's, must have added that when the IRQ stuff got reworked. I believe we could just set it to 256 or something, since Paul have defined the nr irq limit at that. The base value for these interrupts should be set to something, that's for sure! I wonder if 256 is such a good choice though, mainly because NR_IRQS is set to 256 in include/asm-sh/irq.h. This constant seems to be the maximum number of interrupts supported by the kernel, and it is for instance used by irq_desc[] include/linux/irq.h. So I would go with a number below 256, exactly which depends on the number of interrupt sources you plan on installing - but make sure all interrupts fit in below NR_IRQS. It looks like sh770x processor is using interrupt 0-63 (maximum vector is in vectors[] seems to be 0x9e0), so from the cpu point of view you are free to use interrupt 64-255 for your board-specific or companion chip interrupts. We also probably need to squeeze in the 16 pint interrupts there later on. / magnus |
From: Kristoffer E. <kri...@gm...> - 2007-08-21 13:53:56
|
On Thu, 16 Aug 2007 12:05:50 +0900 "Magnus Damm" <mag...@gm...> wrote: > On 8/16/07, Kristoffer Ericson <kri...@gm...> wrote: > > Found it, jlime-current.git IRQ.H sets all my offchip_nr_irq's, must have added that when the IRQ stuff got reworked. I believe we could just set it to 256 or something, since Paul have defined the nr irq limit at that. > > The base value for these interrupts should be set to something, that's > for sure! I wonder if 256 is such a good choice though, mainly because > NR_IRQS is set to 256 in include/asm-sh/irq.h. This constant seems to > be the maximum number of interrupts supported by the kernel, and it is > for instance used by irq_desc[] include/linux/irq.h. So I would go > with a number below 256, exactly which depends on the number of > interrupt sources you plan on installing - but make sure all > interrupts fit in below NR_IRQS. Understandable. > > It looks like sh770x processor is using interrupt 0-63 (maximum vector > is in vectors[] seems to be 0x9e0), so from the cpu point of view you > are free to use interrupt 64-255 for your board-specific or companion > chip interrupts. We also probably need to squeeze in the 16 pint > interrupts there later on. I've set 64 but is still experiencing IRQ aquiring errors: hp6x0_apm: IRQ 32 request failed HD64461 configured at 0xb0000000 on irq 36(mapped into 70 to 85) HD64461: enabling PCMCIA devices io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 80x30 fb0: Hitachi HD64461 frame buffer device SuperH SCI(F) driver initialized sh-sci: ttySC0 at MMIO 0xfffffe80 (irq = 25) is a sci sh-sci: ttySC1 at MMIO 0xa4000150 (irq = 59) is a scif console [ttySC1] enabled sh-sci sh-sci: Attempting to register port 3 when only 2 are available. sh-sci sh-sci: Consider bumping CONFIG_SERIAL_SH_SCI_NR_UARTS! loop: module loaded SCSI Media Changer driver v0.25 pata_platform: probe of pata_platform failed with error -38 HD64461 PCMCIA bridge. HD64461 Initializing Socket 0, IRQ 85 Unable to handle kernel NULL pointer dereference at virtual address 00000004 pc = 8d145d0c *pde = 00000000 As you can see, some stuff gets setup correctly. Im basicly wondering if I'm doing it correctly. For instance HD64461, should be setup with IRQ 36 = IRQ 4 (in setup.c). How does it translate the 36 -> IRQ4? If the IRQ list in setup-770x.c is ment to be a IRQ list, IRQ4 isn't at 36 position. Same goes for the apm driver which should use 32, but 32 is no longer mapped to the correct INTC. > > / magnus -- Kristoffer Ericson <Kri...@Gm...> |
From: Kristoffer E. <kri...@gm...> - 2007-08-21 14:38:05
|
I changed the old HD64461_IRQ into what I believe is the new one (IRQ 30) and lots alot of errors and it detects the CF card properly now. Not understand what IRQ IRQ0,..1..2..3... got though?.. On Thu, 16 Aug 2007 12:05:50 +0900 "Magnus Damm" <mag...@gm...> wrote: > On 8/16/07, Kristoffer Ericson <kri...@gm...> wrote: > > Found it, jlime-current.git IRQ.H sets all my offchip_nr_irq's, must have added that when the IRQ stuff got reworked. I believe we could just set it to 256 or something, since Paul have defined the nr irq limit at that. > > The base value for these interrupts should be set to something, that's > for sure! I wonder if 256 is such a good choice though, mainly because > NR_IRQS is set to 256 in include/asm-sh/irq.h. This constant seems to > be the maximum number of interrupts supported by the kernel, and it is > for instance used by irq_desc[] include/linux/irq.h. So I would go > with a number below 256, exactly which depends on the number of > interrupt sources you plan on installing - but make sure all > interrupts fit in below NR_IRQS. > > It looks like sh770x processor is using interrupt 0-63 (maximum vector > is in vectors[] seems to be 0x9e0), so from the cpu point of view you > are free to use interrupt 64-255 for your board-specific or companion > chip interrupts. We also probably need to squeeze in the 16 pint > interrupts there later on. > > / magnus -- Kristoffer Ericson <Kri...@Gm...> |
From: Kristoffer E. <kri...@gm...> - 2007-08-15 11:18:58
|
If you got a good connection you could download our git repositories, I merged my lethal tree with jlime tree so its not always easy to spot the differences. The board specific code should be compiled I think, but need to double check. in jlime-current.git OFFCHIP_IRQ_BASE is defined as hmmm, I got same as you. Really weird, I should get exact same error. In my board/hp6xx/setup.c mv_nr_irq is set to use HD64461_IRQBASE + HD64461_IRQ_NUM, really strange that you got something else. I'll try and run a quick diff to see whats in lethals. On Wed, 15 Aug 2007 19:38:02 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi again Kristoffer! > > Thanks for your comments and kernel config. I'm glad to hear that you > have most patches pushed upstream.I tried using your attached config > with the sh git tree for 2.6.24 [1] but I still cannot compile the > code... > > CC arch/sh/boards/hp6xx/setup.o > arch/sh/boards/hp6xx/setup.c:104: error: `OFFCHIP_IRQ_BASE' undeclared > here (not in a function) > arch/sh/boards/hp6xx/setup.c:104: error: initializer element is not constant > arch/sh/boards/hp6xx/setup.c:104: error: (near initialization for > `mv_hp6xx.mv_nr_irqs') > make[1]: *** [arch/sh/boards/hp6xx/setup.o] Error 1 > > It looks like hd64461.h defines HD64461_IRQBASE to OFFCHIP_IRQ_BASE > which seems undefined... Any clues? Can you compile that tree? > > For 2.6.23 - is it possible that you never compile the board-specific > code? That would explain some of your problems as well... > > Thanks! > > / magnus > > [1] http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary -- Kristoffer Ericson <Kri...@Gm...> |
From: Kristoffer E. <kri...@gm...> - 2007-08-15 11:32:00
|
(spam-marathon) Just got me thinking, you might be on to something there. Consider mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM where IRQBASE (in my case) = 18 (as OFFCHIP_NR_IRQ) and HD64461_IRQ_NUM = 16 equal of MV_NR_IRQS = 34. On Wed, 15 Aug 2007 19:38:02 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi again Kristoffer! > > Thanks for your comments and kernel config. I'm glad to hear that you > have most patches pushed upstream.I tried using your attached config > with the sh git tree for 2.6.24 [1] but I still cannot compile the > code... > > CC arch/sh/boards/hp6xx/setup.o > arch/sh/boards/hp6xx/setup.c:104: error: `OFFCHIP_IRQ_BASE' undeclared > here (not in a function) > arch/sh/boards/hp6xx/setup.c:104: error: initializer element is not constant > arch/sh/boards/hp6xx/setup.c:104: error: (near initialization for > `mv_hp6xx.mv_nr_irqs') > make[1]: *** [arch/sh/boards/hp6xx/setup.o] Error 1 > > It looks like hd64461.h defines HD64461_IRQBASE to OFFCHIP_IRQ_BASE > which seems undefined... Any clues? Can you compile that tree? > > For 2.6.23 - is it possible that you never compile the board-specific > code? That would explain some of your problems as well... > > Thanks! > > / magnus > > [1] http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary -- Kristoffer Ericson <Kri...@Gm...> |
From: Kristoffer E. <kri...@gm...> - 2007-08-23 09:23:10
|
Greetings, Didn't get a reply on my last mail, so here goes again. Basicly how do I calculate the IRQ number using the INTC table in setup-sh770x.c. For instance I want to know where IRQ4 ends up, If I check how the RTC IRQ's are calculated and use the I end up at IRQ 30. Not sure If I understand it properly. -- Kristoffer Ericson <Kri...@Gm...> |
From: EXTERNAL B. M. (P. ST-FIR/Eng) <ext...@de...> - 2007-08-23 09:46:35
Attachments:
irqs.txt
|
Hi, > Basicly how do I calculate the IRQ number using the INTC table in setup-sh770x.c. > For instance I want to know where IRQ4 ends up, If I check how the RTC IRQ's are calculated and use the I end up at IRQ 30. > Not sure If I understand it properly. The hexadecimal numbers in the CPU setup are the intevt values of the intevt register of the interrupt controller. There is a fixed mapping from the intevt value to the irq-source in the datasheet. Thats the intc_vect struct in the CPU setup. The mapping from an intevt value to the irq-number linux uses is done with the evt2irq macro in asm-sh/irq.h. There you find also the macro which does it the other way round. See the attached table for a precomputed list. Markus |
From: Magnus D. <mag...@gm...> - 2007-08-23 09:53:46
|
Hi Kristoffer, On 8/24/07, Kristoffer Ericson <kri...@gm...> wrote: > Greetings, > > Didn't get a reply on my last mail, so here goes again. Basicly how do I calculate the IRQ number using the INTC table in setup-sh770x.c. Hehe, your email are still on my todo list. I wanted to answer your question, but I hesitated a bit because i'm still not really sure why the official tree is broken and what the state is of your tree. I wish we could work together and fix up the official 2.6.24 tree step by step. > For instance I want to know where IRQ4 ends up, If I check how the RTC IRQ's are calculated and use the I end up at IRQ 30. > Not sure If I understand it properly. There is a private set of enum_ids for each set of tables passed to the intc code using register_intc_controller(). The enum_id value zero needs to be treated as unused and all other values are used to provide mappings for the intc code between interrupts and bits or bit fields in registers. For setup-sh770x.c the first useful enum_id is IRQ0. These enum_ids are private data for the intc code and there is no point in trying to use them somewhere else. What you are looking for is hidden inside vectors[] - the information provided by INTC_VECT(). The first argument to INTC_VECT() is the private enum_id and the second one the vector number specified by the processor data sheet. This vector number is hard coded in the processor chip and the intc tables are used to describe the relationship between these vectors and certain registers. You should look at the evt2irq() macro in include/asm-sh/irq.h to figure out the relationship between the processor vector number (second argument to INTC_VECT()) and the IRQ number passed to request_irq(). The PINT07 interrupt source for example is located on vector 0x700 and using the evt2irq() macro this gives us IRQ 40. Hope this helps. I'd be happy to help out hacking up the new pint controller but I feel we need to get the upstream kernel in a better shape first. Hint: send patches! =) Happy hacking! / magnus |
From: Kristoffer E. <kri...@gm...> - 2007-08-23 10:03:02
|
Big thanks to you and Markus. I'll pull down a fresh lethal.git tree and see where it fails, and push the fix upstreams. Whats broken in general? Best wishes Kristoffer On Thu, 23 Aug 2007 18:53:40 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi Kristoffer, > > On 8/24/07, Kristoffer Ericson <kri...@gm...> wrote: > > Greetings, > > > > Didn't get a reply on my last mail, so here goes again. Basicly how do I calculate the IRQ number using the INTC table in setup-sh770x.c. > > Hehe, your email are still on my todo list. > > I wanted to answer your question, but I hesitated a bit because i'm > still not really sure why the official tree is broken and what the > state is of your tree. I wish we could work together and fix up the > official 2.6.24 tree step by step. > > > For instance I want to know where IRQ4 ends up, If I check how the RTC IRQ's are calculated and use the I end up at IRQ 30. > > Not sure If I understand it properly. > > There is a private set of enum_ids for each set of tables passed to > the intc code using register_intc_controller(). The enum_id value zero > needs to be treated as unused and all other values are used to provide > mappings for the intc code between interrupts and bits or bit fields > in registers. For setup-sh770x.c the first useful enum_id is IRQ0. > These enum_ids are private data for the intc code and there is no > point in trying to use them somewhere else. > > What you are looking for is hidden inside vectors[] - the information > provided by INTC_VECT(). The first argument to INTC_VECT() is the > private enum_id and the second one the vector number specified by the > processor data sheet. This vector number is hard coded in the > processor chip and the intc tables are used to describe the > relationship between these vectors and certain registers. > > You should look at the evt2irq() macro in include/asm-sh/irq.h to > figure out the relationship between the processor vector number > (second argument to INTC_VECT()) and the IRQ number passed to > request_irq(). The PINT07 interrupt source for example is located on > vector 0x700 and using the evt2irq() macro this gives us IRQ 40. > > Hope this helps. I'd be happy to help out hacking up the new pint > controller but I feel we need to get the upstream kernel in a better > shape first. Hint: send patches! =) > > Happy hacking! > > / magnus -- Kristoffer Ericson <Kri...@Gm...> |
From: Magnus D. <mag...@gm...> - 2007-08-23 10:18:18
|
On 8/24/07, Kristoffer Ericson <kri...@gm...> wrote: > Big thanks to you and Markus. No worries. Hope it helps. > I'll pull down a fresh lethal.git tree and see where it fails, and push the fix upstreams. > Whats broken in general? I'm not sure exactly what is broken, but the defconfig doesn't compile. Fixing that is a good start. Remember the problem with OFFCHIP_IRQ_BASE? It is kind of meaningless for me to try to fix it because I don't have any hardware to run the kernel on... And maybe the defconfig is broken itself? Please write patches against this tree (contains 2.6.24 material at the moment): http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary Cheers, / magnus |