有问题好讨论啊~
共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 跳转至页
回复
打赏帖 | |
---|---|
【STM32F769】AI之与本地deepseek对接被打赏50分 | |
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 | |
【换取手持数字示波器】树莓派PICO调试器官方固件本地化部署实践被打赏24分 | |
【换取手持数字示波器】分享一个KEIL无法识别CMSIS-DAP调试器的解决办法被打赏20分 | |
【换取手持数字示波器】分享一个自制的ArduinoNano扩展板底板被打赏23分 | |
【换取手持示波器】树莓派PICOW网页烟花被打赏18分 |