[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-arm
Subject:    =?utf-8?Q?Trouble_starting_AP_cpu=27s_on_all_winner_R40/V40_chip?= =?utf-8?Q?=2C_help_needed=E2=80=A
From:       Søren_Schmidt <soren.schmidt () gmail ! com>
Date:       2019-10-15 11:49:15
Message-ID: 0AE907CC-0CBC-4A8A-A2D3-71EF37330503 () gmail ! com
[Download RAW message or body]

Hi all

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

I don't seem to be able to get the CPU to run at all, or (more likely) I don't have a \
way to get them startet at "mpentry" to get them going correctly.

I'm not sure I understand how those AP's gets their starting address, the only \
reference to "mpentry" 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's (more or less) but according til the R40/v40 \
docs that register doesn't exist which would explain the failure…

Any help is most welcome.


PS: Board is BananaPi M2 berry, I've gotten USB, SATA etc running, missing SMP and \
network.

-Søren

_______________________________________________
freebsd-arm@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic