![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
freebsd
tiantao2012
这个作者很懒,什么都没留下…
展开
-
freebsd的loader的代码入口
入口代码:https://github.com/freebsd/freebsd/blob/master/stand/efi/loader/arch/arm64/start.S_start: /* Save the boot params to the stack */ stp x0, x1, [sp, #-16]! adr x0, __bss_start adr x1, __bs...原创 2019-12-05 08:34:13 · 1475 阅读 · 0 评论 -
arm64下的freebsd的启动代码
freebsd的启动代码在https://github.com/freebsd/freebsd/blob/projects/arm64/sys/arm64/arm64/locore.S在入口需要关闭mmu,D-Cache 一定要关闭,I-Cache 不要求关闭。/* * We assume: * MMU off * D-Cache: off * I-Cache: ...原创 2019-12-05 08:33:26 · 2330 阅读 · 0 评论 -
freebsd的启动顺序
从下面的log中看freebsd启动的顺序是\EFI\BOOT\BOOTAA64.EFI -> /boot/loader.efi -> /boot/kernel.这里的bootaa64.efi就是grub2. 需要加添加命令行的话,需要修改/boot/loader.confBdsDxe: failed to load Boot0001 "UEFI Misc Device" fr...原创 2019-11-27 09:16:35 · 3965 阅读 · 0 评论 -
通过qemu 来起freebsd和下载freebsd代码
我host用是ubuntu的系统,有两种方法可以起qemu,本质上都是一一样的方法1:1.使用qemu安装freebsdqemu-system-aarch64 -m 4096 -cpu host -enable-kvm -machine virt,gic_version=host -nographic -drive if=pflash,format=raw,file=./QEMU_EFI....原创 2019-11-20 09:51:23 · 2468 阅读 · 0 评论 -
在linux上mount unix的分区
原创 2019-11-06 11:55:32 · 1310 阅读 · 0 评论