Page MenuHomeFreeBSD

Fix mapping SOCDEV device memory for early printf
AbandonedPublic

Authored by bsz_semihalf.com on Nov 19 2015, 12:00 PM.
Tags
Referenced Files
Unknown Object (File)
Dec 12 2024, 1:34 AM
Unknown Object (File)
Dec 5 2024, 4:16 PM
Unknown Object (File)
Dec 4 2024, 9:26 AM
Unknown Object (File)
Nov 29 2024, 5:11 PM
Unknown Object (File)
Nov 28 2024, 1:56 PM
Unknown Object (File)
Sep 23 2024, 1:06 PM
Unknown Object (File)
Sep 23 2024, 3:28 AM
Unknown Object (File)
Sep 20 2024, 12:54 AM
Subscribers

Details

Reviewers
imp
ian
Summary

SOCDEV must be mapped as device memory. Create a separate function which
maps a device memory section in L1 pagetable.

Obtained from: Semihalf
Sponsored by: Stormshield
Submitted by: Michal Stanek <mst@semihalf.com>

Test Plan

Tested on Armada 388-GP board.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bsz_semihalf.com retitled this revision from to Fix mapping SOCDEV device memory for early printf.
bsz_semihalf.com updated this object.
bsz_semihalf.com edited the test plan for this revision. (Show Details)
bsz_semihalf.com added reviewers: ian, imp.
bsz_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
bsz_semihalf.com added a project: ARM.
bsz_semihalf.com added a subscriber: zbb.
imp edited edge metadata.
This revision is now accepted and ready to land.Nov 19 2015, 2:35 PM
sys/arm/arm/locore-v6.S
406

add a label like build_pagetables_common: before this line. make build_pagetables_dev load the right value into r4 and jump to this new label, to avoid duplicating the entire function.

434

Isn't this whole change a no-op without doing this to-do?

Abandonen, as this is not required after we removed EARLY_PRINTK and doesn't work properly with ARM_NEW_PMAP.