Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2015 19:14:31 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Oleksandr Tymoshenko <gonzo@freebsd.org>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>, "freebsd-arm@freebsd.org List" <freebsd-arm@freebsd.org>
Subject:   Re: panic: arm_unmask_irq [was: Re: TI platforms code update: switching to vendor FDT data]
Message-ID:  <1432516471.1200.24.camel@freebsd.org>
In-Reply-To: <BC9EBC9A-F8A2-4B9F-B5C2-E041F0A49D6A@freebsd.org>
References:  <C9791C97-D5B1-433A-9AC0-CA2707C6137F@freebsd.org> <72E1D87A-1CEF-4719-907E-CF8E9D720FD1@xcllnt.net> <3741A6A7-1185-4E5A-9E98-22F5A6C730DC@freebsd.org> <3B662B61-1778-4791-A09F-A9162D3D7191@xcllnt.net> <5DAE0972-EB3A-45F8-A791-B72A7A793EC4@freebsd.org> <50DD3CD3-DBA7-4DFD-A845-5502524FDFFA@xcllnt.net> <BC9EBC9A-F8A2-4B9F-B5C2-E041F0A49D6A@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2015-05-24 at 18:12 -0700, Oleksandr Tymoshenko wrote:
> > On May 24, 2015, at 5:52 PM, Marcel Moolenaar <marcel@xcllnt.net> wrote:
> > 
> > 
> >> On May 24, 2015, at 5:44 PM, Oleksandr Tymoshenko <gonzo@freebsd.org> wrote:
> >> 
> >> 
> >>> On May 24, 2015, at 5:31 PM, Marcel Moolenaar <marcel@xcllnt.net> wrote:
> >>> 
> >>> 
> >>>> On May 24, 2015, at 5:12 PM, Oleksandr Tymoshenko <gonzo@FreeBSD.org> wrote:
> >>>> 
> >>>> 
> >>>> ti_scm and ti_pinmux should be detected right after simplebus.
> >>>> Could you make sure if dtb loaded by u-boot is not
> >>>> from previous builds? You can decompile it using dtc:
> >>>> dtc -I dtb -O dts beaglebone-black.dtb
> >>> 
> >>> IĒm pretty sure thatĒs not possible, since IĒve never built ARM
> >>> kernels in this particular VM before :-)
> >>> 
> >>> From the fdt command in the loader I can see itĒs the first device
> >>> mentioned, so thatĒs not it.
> >>> 
> >>> loader> fdt ls
> >>> Using DTB provided by U-Boot at address 0x80000100.
> >>> 
> >>> /am335x
> >>> /am335x/interrupt-controller@48200000
> >>> /am335x/pmu
> >>> /am335x/scm@44e10000
> >>> /am335x/prcm@44E00000
> >>> /am335x/dmtimers@44E05000
> >>> /am335x/rtc@44E3E000
> >>> /am335x/adc@44E0D000
> >>> /am335x/wdt1@44E35000
> >>> /am335x/gpio
> >>> 	*snip*
> >> 
> >> This one is definitely from previous (FreeBSD's own) version of dts,
> >> not TI provided one. There is no dmtimers node in new data.
> >> How did you create SD card image?
> >> 
> > 
> > Installed from a snapshot (a while back) and then upgraded the kernel
> > with make installkernel.
> > 
> > So the DTB/DTS on the FAT slice is FreeBSDĒs?
> 
> Yes, they're from before my commit. I tried to maintain backward compatibility
> but it just wasn't possible. You need to generate new dtb files and place them
> on FAT partition. You can also install sys/modules/dtb/am335x to SD card and
> set U-boot fdt_file env variable to beaglebone-black.dtb and loader should be
> able to find this file and load it. I've never used this approach myself, but it should work
> with recent ubldr I think. 

ubldr has been loading dtb files from the ufs filesystem for over a year
(maybe close to two years).  crochet hasn't caught up with some of the
changes.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1432516471.1200.24.camel>