基于arm的fast models的架构仿真和linux kernel 开发

本文介绍了基于ARM的Fast Models技术如何用于快速设计Linux内核软件,通过与硬件设计并行开发,提高了Linux内核软件开发的效率。使用Linaro组织提供的开源代码,可以在仿真环境中启动Linux系统并进行相关调试。这种方法允许开发者在硬件实际生产前就开始内核驱动和HAL代码的开发,从而提高整体项目效率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

基于arm的fast models,利用仿真方法快速设计linux kernel软件,和arm架构的硬件设计进行并行开发,是现在较为高效的linux kernel软件开发的方法,有点类似航空航天领域和汽车领域的原型仿真设计方法论。

现在,linaro组织会提供这种设计方法的linux kernel code,免费开源,总是很好的。附上采用armv8 模型和,linaro kernel的镜像,openembedded core编译出的filesystem,启动linux系统的log。


jialin@qinghe-server:~$ telnet 127.0.0.1 5000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.1.0-1-linaro-vexpress64 (buildslave@x86-64-07) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1ubuntu1~ci+150619142903 SMP PREEMPT Fri Jun 19 14:29:48 UTC 20
[    0.000000] CPU: AArch64 Processor [410fd000] revision 0
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[    0.000000] PERCPU: Embedded 18 pages/cpu @ffffffc87ff8b000 s32832 r8192 d32704 u73728
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1034240
[    0.000000] Kernel command line: console=ttyAMA0 earlyprintk=pl011,0x1c090000 consolelog=9 rw root=/dev/vda2
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] software IO TLB [mem 0xf9fff000-0xfdfff000] (64MB) mapped at [ffffffc079fff000-ffffffc07dffefff]
[    0.000000] Memory: 4019160K/4194304K available (7765K kernel code, 745K rwdata, 2696K rodata, 644K init, 459K bss, 142376K reserved, 32768K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbdffff0000   (   247 GB)
[    0.000000]     vmemmap : 0xffffffbe00000000 - 0xffffffbfc0000000   (     7 GB maximum)
[    0.000000]               0xffffffbe01c00000 - 0xffffffbe1f800000   (   476 MB actual)
[    0.000000]     fixed   : 0xffffffbffabfd000 - 0xffffffbffac00000   (    12 KB)
[    0.000000]     PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000   (    16 MB)
[    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc880000000   ( 34816 MB)
[    0.000000]       .init : 0xffffffc000aba000 - 0xffffffc000b5b000   (   644 KB)
[    0.000000]       .text : 0xffffffc000080000 - 0xffffffc000ab95e4   ( 10470 KB)
[    0.000000]       .data : 0xffffffc000b5f000 - 0xffffffc000c19600   (   746 KB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Additional per-CPU info printed with stalls.
[    0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[ &n

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值