Bug 222250

Summary: GENERIC kernel panics in am335x_rtc_pmic_pwr_toggle
Product: Base System Reporter: Sylvain Garrigues <sylvain>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: Andrew, cognet
Priority: ---    
Version: CURRENT   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
Boot log none

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!