From owner-freebsd-arm@freebsd.org Thu Feb 18 19:45:15 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F24C0AAD135 for ; Thu, 18 Feb 2016 19:45:15 +0000 (UTC) (envelope-from tom@ycombinator.com) Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6CDB625 for ; Thu, 18 Feb 2016 19:45:15 +0000 (UTC) (envelope-from tom@ycombinator.com) Received: by mail-yk0-x22a.google.com with SMTP id r207so25943816ykd.2 for ; Thu, 18 Feb 2016 11:45:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ycombinator.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=29XQoHHlmXmuGIU1aoniAw1E1oRegcQEoVcn0gytqUE=; b=FHzHa6yXfvD6hebbYFNO/zZ8lP7oR4oVtZaFSxRNR/3fCBx+zA2qwN4W469QZ7vlDF bFFvlfISPuPi3Aiex73iIhETORS66hzBneKbrnHBuxPxt5vTZ/08VO2Caif0Lj0ncPb0 WYwWqyF7aRnp2G2SXMs9tfEjXNQYhzknHDduU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=29XQoHHlmXmuGIU1aoniAw1E1oRegcQEoVcn0gytqUE=; b=cONj+SZAhrnHrqsUcc8pLUeSwilmI0xl6qAHxGM6QnZkWYqqnxA7wkVor6wlLOfSBP UaTGcPdLdo74e72pCKmx/94nCLASjkkhysn41i6nv9ncs2yNi8UQRav8nHpLBFEi5Ice hHq9FJv+0zYdChYoQiQq4SvI2FHUJM18LcE0zsPoQMG9XFhB6uzRX6kUt1jM33qNN6Ho enUVkqd7tFEbb1RkmB6MXNada1e29QMoUwYbIIDh0st1Hwne4+nt8+9S6kFo0CLYSitC VomIAxnnqo6b02sIZoNmynBvm9q3jhCJHFg/wyBidApylZTe8GDKii3WCpoec7wx+sQb 2poQ== X-Gm-Message-State: AG10YOTAHddgBjFO1mWntxNGqT7rnrz3OUixgeZlx4XTw8x3bn7MbqAxbH8m9UG99iuz5Qsk5dwwS+E7LODq+jsP MIME-Version: 1.0 X-Received: by 10.37.71.3 with SMTP id u3mr5729888yba.36.1455824714643; Thu, 18 Feb 2016 11:45:14 -0800 (PST) Received: by 10.37.89.8 with HTTP; Thu, 18 Feb 2016 11:45:14 -0800 (PST) Date: Thu, 18 Feb 2016 11:45:14 -0800 Message-ID: Subject: Including ds133x driver on RPI2 hangs kernel From: Tom Sparks To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 19:45:16 -0000 I recently purchased some i2c RTCs for my RPI2, so in building a kernel to support it I discovered that just including the driver hangs the kernel on boot. It doesn't matter if the rtc is connected or not, the kernel just fails to complete the boot process. When the driver isn't in the kernel, probing the i2c bus doesn't show any devices anyways so not sure if this is an i2c problem on the RPI2 or if its just a general problem with this driver. I'm happy to test patches/etc. -- Tom Sparks Systems Engineer