有问题好讨论啊~
共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 跳转至页
回复
打赏帖 | |
---|---|
分享一种检测按键状态的方法被打赏20分 | |
周末总结一下,STM32C0系列的开发经验被打赏50分 | |
【Cortex-M】Systick Timer使用被打赏10分 | |
分享汽车防盗系统的组成与分类(一)被打赏5分 | |
VOFA+波形显示+JYD-31蓝牙发送和解析不定长数据被打赏10分 | |
【换取手持数字示波器】-STM32F4PWM控制LED灯管亮度被打赏22分 | |
【换取手持数字示波器】STM32F4驱动RPR-0521RS照度、接近一体型传感器被打赏23分 | |
宏定义和const关键字定义被打赏5分 | |
【分享开发笔记,赚取电动螺丝刀】几个单片机I2S外设的BLCK时钟对比被打赏20分 | |
【功率监测与控制系统DIY活动成果贴】DIY功率计与LabVIEW数据采集被打赏100分 |