Bug 222250 - GENERIC kernel panics in am335x_rtc_pmic_pwr_toggle
Summary: GENERIC kernel panics in am335x_rtc_pmic_pwr_toggle
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-12 09:23 UTC by Sylvain Garrigues
Modified: 2017-09-12 11:39 UTC (History)
2 users (show)

See Also:


Attachments
Boot log (10.12 KB, text/plain)
2017-09-12 09:23 UTC, Sylvain Garrigues
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Garrigues 2017-09-12 09:23:15 UTC
Created attachment 186290 [details]
Boot log

I'm trying to run the GENERIC kernel on a Raspberry Pi 3, boot fails with attached log. By removing the TI board support code from kernel config, the kernel boots fine.
Comment 1 Andrew Turner freebsd_committer freebsd_triage 2017-09-12 09:38:50 UTC
Olivier Houchard had a patch for this, although I'm not sure what happened to it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-09-12 10:43:38 UTC
A commit references this bug:

Author: cognet
Date: Tue Sep 12 10:43:03 UTC 2017
New revision: 323490
URL: https://svnweb.freebsd.org/changeset/base/323490

Log:
  Some devices come with the same name as TI devices, so we can't rely on the
  "probe" method of those drivers to mean we're on e TI SoC. Introduce a new
  function, ti_soc_is_supported(), and use it to be sure we're really a TI
  system.

  PR:	222250

Changes:
  head/sys/arm/ti/ti_cpuid.c
  head/sys/arm/ti/ti_cpuid.h
  head/sys/arm/ti/ti_scm.c
Comment 3 Sylvain Garrigues 2017-09-12 11:39:46 UTC
Thanks!