这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 研究PowerPC和Linux2.6内核的来报个名吧

共4条 1/1 1 跳转至

研究PowerPC和Linux2.6内核的来报个名吧

菜鸟
2007-01-19 23:24:46     打赏
有问题好讨论啊~



关键词: 研究     PowerPC     Linux2.6     内核     报个    

菜鸟
2007-01-22 21:59:00     打赏
2楼
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)

菜鸟
2007-01-23 03:20:00     打赏
3楼

算我一个,QQ276930147


菜鸟
2007-01-23 20:17:00     打赏
4楼
???

共4条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]