Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2019 13:49:15 +0200
From:      =?utf-8?Q?S=C3=B8ren_Schmidt?= <soren.schmidt@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   =?utf-8?Q?Trouble_starting_AP_cpu=27s_on_all_winner_R40/V40_chip?= =?utf-8?Q?=2C_help_needed=E2=80=A6?=
Message-ID:  <0AE907CC-0CBC-4A8A-A2D3-71EF37330503@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all

I found some time to wrestle the allwinner R40/v40 I=E2=80=99ve sitting =
around, but I=E2=80=99m bashing my head against getting the AP=E2=80=99s =
booted properly.

I don=E2=80=99t seem to be able to get the CPU to run at all, or (more =
likely) I don=E2=80=99t have a way to get them startet at =E2=80=9Cmpentry=
=E2=80=9D to get them going correctly.

I=E2=80=99m not sure I understand how those AP=E2=80=99s gets their =
starting address, the only reference to =E2=80=9Cmpentry=E2=80=9D is =
aw_mp.c:


bus_space_write_4(fdtbus_bs_tag, cpucfg, CPUCFG_P_REG0,
            pmap_kextract((vm_offset_t)mpentry));

This is used on all all winner cpu=E2=80=99s (more or less) but =
according til the R40/v40 docs that register doesn=E2=80=99t exist which =
would explain the failure=E2=80=A6

Any help is most welcome.


PS: Board is BananaPi M2 berry, I=E2=80=99ve gotten USB, SATA etc =
running, missing SMP and network.

-S=C3=B8ren




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0AE907CC-0CBC-4A8A-A2D3-71EF37330503>