From owner-freebsd-arm@FreeBSD.ORG Sat May 2 15:19:30 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D472106564A for ; Sat, 2 May 2009 15:19:30 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 6E9AF8FC14 for ; Sat, 2 May 2009 15:19:30 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n42FJRFo027147; Sat, 2 May 2009 09:19:28 -0600 Received: from apn-77-113-24-183.dynamic.gprs.plus.pl (apn-77-113-24-183.dynamic.gprs.plus.pl [77.113.24.183]) by mail.semihalf.com (Postfix) with ESMTP id 51A17142A6; Sat, 2 May 2009 17:19:23 +0200 (CEST) Message-Id: <8A5691CD-5E1B-4C5F-BC45-6AC8AEEEAD51@semihalf.com> From: Rafal Jaworowski To: Donald T Hayford In-Reply-To: <49FBB5F8.3090104@donhayford.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sat, 2 May 2009 17:19:16 +0200 References: <49FA5952.20800@donhayford.com> <1324A9FE-D45B-479E-9705-5FCFA2FAC9E0@semihalf.com> <49FBB5F8.3090104@donhayford.com> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-arm@freebsd.org Subject: Re: Help with Marvel kernel for 88F5512 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 15:19:30 -0000 On 2009-05-02, at 04:54, Donald T Hayford wrote: > Rafal Jaworowski wrote: >> >> On 2009-05-01, at 04:07, Donald T Hayford wrote: >>> twsi0: at mem >>> 0xf1011000-0xf101101f on mbus0 >>> iicbus0: on twsi0 >>> iicbus0: at addr 0 >>> iic0: on iicbus0 >>> pcib1: at mem >>> 0xf1030000-0xf1031fff on mbus0 >>> >>> At this point, the device hangs until I reboot it. >> >> Could you please compile out PCI support to see whether this hang >> is somehow PCI-related? >> > The Kurobox Pro appears to be booting more-or-less correctly now. > Following is the boot up message. It appears there are some problems around PCI then. Are there any peripheral devices behind the PCI bridge on the KBP device? Very likely the IRQ routing map is different on your board than the default (DB-88F5281 board). The pci_irq_map[] table (sys/arm/mv/orion/ db88f5xxx.c) needs to be verified against KBP interrupts connections and adjusted accordingly (actually a dedicated file should be provided as a final solution for your device: sys/arm/mv/orion/kuroboxpro.c or so, with with all board-specific items equivalent to what we have for DB- systems). > Note towards the end a warning about "no time-of-day clock". The > kernel is also not recognizing the attached SATA drive (because PCI > is disabled?) or USB disk. Time of day wanings are likely due to no driver for the RTC part (the default compiled in is DS133x). What RTC chip is there on the KBP device? There's no driver in the tree for the integrated SATA controller at the moment, but it's currently under work. The problems with USB device not recognized could be related to the new USB stack, which wasn't much tested on MV systems. Please switch to the legacy stack and let us know if the problem persists. Rafal