Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2015 17:31:25 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Oleksandr Tymoshenko <gonzo@FreeBSD.org>
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:  <3B662B61-1778-4791-A09F-A9162D3D7191@xcllnt.net>
In-Reply-To: <3741A6A7-1185-4E5A-9E98-22F5A6C730DC@freebsd.org>
References:  <C9791C97-D5B1-433A-9AC0-CA2707C6137F@freebsd.org> <72E1D87A-1CEF-4719-907E-CF8E9D720FD1@xcllnt.net> <3741A6A7-1185-4E5A-9E98-22F5A6C730DC@freebsd.org>

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

--Apple-Mail=_CC58EFB9-57C8-40EE-B75F-AA6E876116E0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> 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

I=E2=80=99m pretty sure that=E2=80=99s not possible, since I=E2=80=99ve =
never built ARM
kernels in this particular VM before :-)

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

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*

A verbose boot gives me:

ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
simplebus0: <interrupt-controller@48200000> mem 0x48200000-0x48200fff =
compat ti,aintc (no driver attached)

Ok, so this is a problem.

fbsdvm64% nm kernel.debug | grep aintc
c0681584 r __set_modmetadata_set_sym__mod_metadata_md_aintc_simplebus
c0681580 r =
__set_modmetadata_set_sym__mod_metadata_md_aintc_simplebus_on_kernel
c0680984 r __set_sysinit_set_sym_aintc_simplebusmodule_sys_init
c07306d0 d _aintc_simplebus_depend_on_kernel
c05f749c t aintc_post_filter
c06039f8 t fdt_aintc_decode_ic
c05f7334 t ti_aintc_attach
c061c874 r ti_aintc_methods
c05f72dc t ti_aintc_probe

Poking some more=E2=80=A6

--
Marcel Moolenaar
marcel@xcllnt.net




--Apple-Mail=_CC58EFB9-57C8-40EE-B75F-AA6E876116E0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVYm1eAAoJEIda8t8f0tjjviIQAOtBQONVCMZre+zaingmZPxe
L7eOTcNsQ1tRVPJmnTdbEkXoXWVJOuK/7YadvXu/3mKhWFUVkysMUU8WDg6SYkYE
7sTHJI/6XpPixk8O2hvKa8UCtJUgr+Y8vnmBzYPPBD7MEjkitlijnCLzOohTaJgB
DqrceusnBEGwARnGBtqvdR/T6jMbIm8lCvCKuRNzz/vyxDtSiFVGrTF+qYLK2VpF
m1vQ1x7p64Y4+l/pYiKLssfqMmBLwF+V4BoNnDSjIbVYlOX/b3o3o21Yp7m1KlWF
3O1f3U8whMZhXezUWrVv37zzsv5oaIY0dxyNH76ohjMcdPUcuAV5vLz0t5Ens0As
XwDHQGgXN2rDGQ9w6HhNw/rz4FZ1kihi+wVebSy8ljC+UbCvdpDJi3QGDIXY/HDc
hDpI/eDNpmhoxLvhA2isgz2zFZ3AsFwgZwi+kYR9oAAfr4QCNaz1SUclGG5gWX5+
hORxUKnJpM2Sk6LsAnkS3CLoiHkC9nM3oRLWFRcWnU8KA/OPzDIO5jSl7cO9R/MZ
s66um9cBnXOOgMl8MZuJB6kMltWqiSYYQD8aifdH/aZCnVQsTHnaZawpOpwEXwzu
2mkEHnwGAxk/+SPcBET+ewN/Hdz+l5V4d5Ham2PESppoBTO1QM0uWMCXelNPOMFs
plPSW+8VoIAdS8uZzhbX
=smwA
-----END PGP SIGNATURE-----

--Apple-Mail=_CC58EFB9-57C8-40EE-B75F-AA6E876116E0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B662B61-1778-4791-A09F-A9162D3D7191>