有问题好讨论啊~
共4条
1/1 1 跳转至页
研究PowerPC和Linux2.6内核的来报个名吧
Booting sequence of Linux2.6 on 32-bits PowerPC
-----------------------------------------------
_start:
__start:
Save input parameters passing from u-boot
early_init:
relocate global variables
memset_io: zero BSS section
identify_cpu: identify current CPU type. cur_cpu_spec contains index in cpu_specs[]
do_cpu_ftr_fixups: fill sections special for the CPU type
mmu_off: turn off MMU
__after_mmu_off:
clear_bats: clear BATs
flush_tlbs: Invalid all TLB entries
initial_bats: 8M for instructions and data through xBAT0 individualy (totally 16M)
reloc_offset: code relocation
call_setup_cpu:
__setup_cpu_750: Enable Data/instruction cache through HID0
relocate_kernel: Move kernel code from current running address to KERNELBASE (physical address 0)
turn_on_mmu: turn on MMU through MSR
start_here:
Save virtual address of current task structure to GPR2
Save physical address of current thread structure to SPR3
Setup stack pointer (GPR1)
machine_init:
copy command line from CONFIG_CMDLINE to cmd_line
platform_init:
parse_bootinfo: parse board information from u-boot
relocate_nodes: relocate device tree
finish_device_tree: initialize the device tree
MMU_init:
MMU_setup: looking for TLB/BAT options and maximum memory size from command line
MMU_init_hw: Setup hash table at top end of physical memory
mapin_ram: mapping all memory from KERNELBASE
mmu_context_init: initialize context management staff
load_up_mmu: initialize BATs and load settings of HW page tables into registers (E.g SDR)
-----------------------------------------------
_start:
__start:
Save input parameters passing from u-boot
early_init:
relocate global variables
memset_io: zero BSS section
identify_cpu: identify current CPU type. cur_cpu_spec contains index in cpu_specs[]
do_cpu_ftr_fixups: fill sections special for the CPU type
mmu_off: turn off MMU
__after_mmu_off:
clear_bats: clear BATs
flush_tlbs: Invalid all TLB entries
initial_bats: 8M for instructions and data through xBAT0 individualy (totally 16M)
reloc_offset: code relocation
call_setup_cpu:
__setup_cpu_750: Enable Data/instruction cache through HID0
relocate_kernel: Move kernel code from current running address to KERNELBASE (physical address 0)
turn_on_mmu: turn on MMU through MSR
start_here:
Save virtual address of current task structure to GPR2
Save physical address of current thread structure to SPR3
Setup stack pointer (GPR1)
machine_init:
copy command line from CONFIG_CMDLINE to cmd_line
platform_init:
parse_bootinfo: parse board information from u-boot
relocate_nodes: relocate device tree
finish_device_tree: initialize the device tree
MMU_init:
MMU_setup: looking for TLB/BAT options and maximum memory size from command line
MMU_init_hw: Setup hash table at top end of physical memory
mapin_ram: mapping all memory from KERNELBASE
mmu_context_init: initialize context management staff
load_up_mmu: initialize BATs and load settings of HW page tables into registers (E.g SDR)
共4条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 | |
【FRDM-MCXN947评测】核间通信MUTEX被打赏50分 |