Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2015 18:12:05 -0700
From:      Oleksandr Tymoshenko <gonzo@freebsd.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        "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:  <BC9EBC9A-F8A2-4B9F-B5C2-E041F0A49D6A@freebsd.org>
In-Reply-To: <50DD3CD3-DBA7-4DFD-A845-5502524FDFFA@xcllnt.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

> On May 24, 2015, at 5:52 PM, Marcel Moolenaar <marcel@xcllnt.net> =
wrote:
>=20
>=20
>> On May 24, 2015, at 5:44 PM, Oleksandr Tymoshenko <gonzo@freebsd.org> =
wrote:
>>=20
>>=20
>>> On May 24, 2015, at 5:31 PM, Marcel Moolenaar <marcel@xcllnt.net> =
wrote:
>>>=20
>>>=20
>>>> On May 24, 2015, at 5:12 PM, Oleksandr Tymoshenko =
<gonzo@FreeBSD.org> wrote:
>>>>=20
>>>>=20
>>>> 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
>>>=20
>>> I=E2=80=99m pretty sure that=E2=80=99s not possible, since I=E2=80=99v=
e never built ARM
>>> kernels in this particular VM before :-)
>>>=20
>>> =46rom the fdt command in the loader I can see it=E2=80=99s the =
first device
>>> mentioned, so that=E2=80=99s not it.
>>>=20
>>> loader> fdt ls
>>> Using DTB provided by U-Boot at address 0x80000100.
>>>=20
>>> /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*
>>=20
>> 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?
>>=20
>=20
> Installed from a snapshot (a while back) and then upgraded the kernel
> with make installkernel.
>=20
> So the DTB/DTS on the FAT slice is FreeBSD=E2=80=99s?

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.=20
 =20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BC9EBC9A-F8A2-4B9F-B5C2-E041F0A49D6A>