how to mapping device memory in head.S

yoma sophian sophian.yoma at gmail.com
Sun Apr 12 05:23:59 PDT 2015


hi all:
I need to map peripheral address in head.S for early usage.
And I found in arm/kernel/head.S, there is  CONFIG_DEBUG_LL for
mapping low level uart.
My questions are:
1. CONFIG_DEBUG_LL is  using short-descriptor 1st-level section
descriptor formats. Is it possible to use short-descriptor 2nd-level
small page descriptor in head.S?
2. The peripheral mapping virtual address created in head.S is need to
access even after paging_init. Is it possible to put the mapping in
the persistent mapping in head.S?

appreciate your kind help in advance,



More information about the linux-arm-kernel mailing list